Skip to content

Updating to rand 0.6.2 breaks build #675

@dignifiedquire

Description

@dignifiedquire

I just ran cargo update which updated from rand 0.6.1 to 0.6.2 and now my build is failing with

error[E0432]: unresolved import `rand_os`
   --> /Users/dignifiedquire/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.2/src/rngs/mod.rs:182:9
    |
182 | pub use rand_os::OsRng;
    |         ^^^^^^^ maybe a missing `extern crate rand_os;`?

both with nightly and stable

$ rustc --version
rustc 1.32.0-nightly (14997d56a 2018-12-05)
$ rustc +stable --version
rustc 1.31.0 (abe02cefd 2018-12-04)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions