[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] checking samdemorest/rsa_keygen against master#bd0bacc694d7d8175804bb6f690cb846bfa4a9ee for pr-71665 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamdemorest%2Frsa_keygen" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/samdemorest/rsa_keygen on toolchain bd0bacc694d7d8175804bb6f690cb846bfa4a9ee [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "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-9/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" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-9/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" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 092a3a32f9ee41c071e58b2e024072f3c976915a7ecf9e5d510502232c481464 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "092a3a32f9ee41c071e58b2e024072f3c976915a7ecf9e5d510502232c481464"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking rand_core v0.5.1 [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-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling syn v1.0.20 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Checking 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[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[E0432]: unresolved imports `super::check_primality`, `super::mod_exp` [INFO] [stderr] --> src/prime.rs:147:29 [INFO] [stderr] | [INFO] [stderr] 147 | use super::{bigint_exp, check_primality, mod_exp}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^ no `mod_exp` in the root [INFO] [stderr] | | [INFO] [stderr] | no `check_primality` in the root [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0425]: cannot find function `schneier_mod_exp` in this scope [INFO] [stderr] --> src/prime.rs:165:20 [INFO] [stderr] | [INFO] [stderr] 165 | assert_eq!(schneier_mod_exp(BigUint::from_usize(5).unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 147 | use schneier_mod_exp; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [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" "092a3a32f9ee41c071e58b2e024072f3c976915a7ecf9e5d510502232c481464"` [INFO] running `"docker" "rm" "-f" "092a3a32f9ee41c071e58b2e024072f3c976915a7ecf9e5d510502232c481464"` [INFO] [stdout] 092a3a32f9ee41c071e58b2e024072f3c976915a7ecf9e5d510502232c481464