Fix randd induced build breakage due to a missing crate dependency
Created by: raw-bin
Hi.
I hit these when doing a clean build when following the instructions here.
There is apparently a missing dependency to the rand crate. In the process I thought it best to fix up an unused variable warning from the compiler.
Please verify if appropriate and pull in the 2 commits in this PR.
Thanks.