Common issues
Problem: rand with nightly feature has been broken for some time, since slice_partition_at_index had been removed.
Quick solution: Don't use nightly feature or remove slice_partition_at_index.
Details: slice_partition_at_index was removed recently, thus the nightly breaks the build at https://github.com/rust-random/rand/blob/master/src/lib.rs#L53.