[INFO] updating cached repository https://github.com/samdemorest/rsa_keygen [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 7e3894cc9568c39a6276d0626e8eb4b280ea8134 [INFO] testing samdemorest/rsa_keygen against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamdemorest%2Frsa_keygen" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/samdemorest/rsa_keygen on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/samdemorest/rsa_keygen [INFO] finished tweaking git repo https://github.com/samdemorest/rsa_keygen [INFO] tweaked toml for git repo https://github.com/samdemorest/rsa_keygen written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/samdemorest/rsa_keygen already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-8/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7d4eff76873939253d10f96e4af8e71814e30ccb2cc6945071ceab6ca8447fa9 [INFO] running `"docker" "start" "-a" "7d4eff76873939253d10f96e4af8e71814e30ccb2cc6945071ceab6ca8447fa9"` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling standback v0.2.7 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling time v0.2.10 [INFO] [stderr] Compiling rsa_keygen v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `num::bigint::RandBigInt` [INFO] [stderr] --> src/prime.rs:8:28 [INFO] [stderr] | [INFO] [stderr] 8 | use num::bigint::{BigUint, RandBigInt}; [INFO] [stderr] | ^^^^^^^^^^ no `RandBigInt` in `bigint` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `OsRng` in `rand` [INFO] [stderr] --> src/prime.rs:15:29 [INFO] [stderr] | [INFO] [stderr] 15 | let mut rnjesus = rand::OsRng::new().unwrap(); [INFO] [stderr] | ^^^^^ could not find `OsRng` in `rand` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `OsRng` in `rand` [INFO] [stderr] --> src/prime.rs:43:29 [INFO] [stderr] | [INFO] [stderr] 43 | let mut rnjesus = rand::OsRng::new().unwrap(); [INFO] [stderr] | ^^^^^ could not find `OsRng` in `rand` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `rsa_keygen`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "7d4eff76873939253d10f96e4af8e71814e30ccb2cc6945071ceab6ca8447fa9"` [INFO] running `"docker" "rm" "-f" "7d4eff76873939253d10f96e4af8e71814e30ccb2cc6945071ceab6ca8447fa9"` [INFO] [stdout] 7d4eff76873939253d10f96e4af8e71814e30ccb2cc6945071ceab6ca8447fa9