[INFO] cloning repository https://github.com/samdemorest/rsa_keygen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/samdemorest/rsa_keygen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamdemorest%2Frsa_keygen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamdemorest%2Frsa_keygen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e3894cc9568c39a6276d0626e8eb4b280ea8134 [INFO] checking samdemorest/rsa_keygen against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamdemorest%2Frsa_keygen" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/samdemorest/rsa_keygen on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-5/source/Cargo.toml [INFO] crate git repo https://github.com/samdemorest/rsa_keygen already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-5/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34c1b9848d73265c94c21f33ac41479cd4369aac6a74078852b0d8574189c709 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "34c1b9848d73265c94c21f33ac41479cd4369aac6a74078852b0d8574189c709", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34c1b9848d73265c94c21f33ac41479cd4369aac6a74078852b0d8574189c709", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34c1b9848d73265c94c21f33ac41479cd4369aac6a74078852b0d8574189c709", kill_on_drop: false }` [INFO] [stdout] 34c1b9848d73265c94c21f33ac41479cd4369aac6a74078852b0d8574189c709 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0db4c024a96e0d9c2fc6f0dd707b024b1e1351c8e55b8bbb3f226dd7afe1d7d1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0db4c024a96e0d9c2fc6f0dd707b024b1e1351c8e55b8bbb3f226dd7afe1d7d1", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.3.0 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num-complex v0.3.0 [INFO] [stderr] Checking num v0.3.0 [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] [stdout] error[E0432]: unresolved import `num::bigint::RandBigInt` [INFO] [stdout] --> src/prime.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | use num::bigint::{BigUint, RandBigInt}; [INFO] [stdout] | ^^^^^^^^^^ no `RandBigInt` in `bigint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::check_primality`, `super::mod_exp` [INFO] [stdout] --> src/prime.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | use super::{bigint_exp, check_primality, mod_exp}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^ no `mod_exp` in the root [INFO] [stdout] | | [INFO] [stdout] | no `check_primality` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `num::bigint::RandBigInt` [INFO] [stdout] --> src/prime.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | use num::bigint::{BigUint, RandBigInt}; [INFO] [stdout] | ^^^^^^^^^^ no `RandBigInt` in `bigint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `OsRng` in `rand` [INFO] [stdout] --> src/prime.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | let mut rnjesus = rand::OsRng::new().unwrap(); [INFO] [stdout] | ^^^^^ not found in `rand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use rand::rngs::OsRng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `OsRng` in `rand` [INFO] [stdout] --> src/prime.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let mut rnjesus = rand::OsRng::new().unwrap(); [INFO] [stdout] | ^^^^^ not found in `rand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use rand::rngs::OsRng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `OsRng` in `rand` [INFO] [stdout] --> src/prime.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | let mut rnjesus = rand::OsRng::new().unwrap(); [INFO] [stdout] | ^^^^^ not found in `rand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use rand::rngs::OsRng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `OsRng` in `rand` [INFO] [stdout] --> src/prime.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let mut rnjesus = rand::OsRng::new().unwrap(); [INFO] [stdout] | ^^^^^ not found in `rand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use rand::rngs::OsRng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `schneier_mod_exp` in this scope [INFO] [stdout] --> src/prime.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | assert_eq!(schneier_mod_exp(BigUint::from_usize(5).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 147 | use schneier_mod_exp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [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] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0db4c024a96e0d9c2fc6f0dd707b024b1e1351c8e55b8bbb3f226dd7afe1d7d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0db4c024a96e0d9c2fc6f0dd707b024b1e1351c8e55b8bbb3f226dd7afe1d7d1", kill_on_drop: false }` [INFO] [stdout] 0db4c024a96e0d9c2fc6f0dd707b024b1e1351c8e55b8bbb3f226dd7afe1d7d1