[INFO] crate libsecp256k1 0.3.2 is already in cache [INFO] checking libsecp256k1-0.3.2 against try#d27c6c6a469a28343396a8f3ac1c9d403aabda69 for pr-66037 [INFO] extracting crate libsecp256k1 0.3.2 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate libsecp256k1 0.3.2 on toolchain d27c6c6a469a28343396a8f3ac1c9d403aabda69 [INFO] running `"/workspace/cargo-home/bin/cargo" "+d27c6c6a469a28343396a8f3ac1c9d403aabda69" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate libsecp256k1 0.3.2 [INFO] finished tweaking crates.io crate libsecp256k1 0.3.2 [INFO] tweaked toml for crates.io crate libsecp256k1 0.3.2 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+d27c6c6a469a28343396a8f3ac1c9d403aabda69" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+d27c6c6a469a28343396a8f3ac1c9d403aabda69" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+d27c6c6a469a28343396a8f3ac1c9d403aabda69" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 92fe93f3e2542a358c929e86209aca5749c1eb525986b6bc20424b1a02fd3267 [INFO] running `"docker" "start" "-a" "92fe93f3e2542a358c929e86209aca5749c1eb525986b6bc20424b1a02fd3267"` [INFO] [stderr] Compiling secp256k1-test v0.7.2 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking sha2 v0.8.1 [INFO] [stderr] Checking libsecp256k1 v0.3.2 (/opt/rustwide/workdir) [INFO] [stderr] error[E0277]: the trait bound `rand::prelude::ThreadRng: rand::Rng` is not satisfied [INFO] [stderr] --> benches/signature.rs:17:51 [INFO] [stderr] | [INFO] [stderr] 17 | let (privkey, _) = secp256k1.generate_keypair(&mut thread_rng()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ the trait `rand::Rng` is not implemented for `rand::prelude::ThreadRng` [INFO] [stderr] | [INFO] [stderr] help: trait impl with same name found [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/lib.rs:443:1 [INFO] [stderr] | [INFO] [stderr] 443 | impl Rng for R {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: Perhaps two different versions of crate `rand` are being used? [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `rand::prelude::ThreadRng: rand::Rng` is not satisfied [INFO] [stderr] --> benches/sign.rs:19:56 [INFO] [stderr] | [INFO] [stderr] 19 | let (secp_privkey, _) = secp256k1.generate_keypair(&mut thread_rng()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ the trait `rand::Rng` is not implemented for `rand::prelude::ThreadRng` [INFO] [stderr] | [INFO] [stderr] help: trait impl with same name found [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/lib.rs:443:1 [INFO] [stderr] | [INFO] [stderr] 443 | impl Rng for R {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: Perhaps two different versions of crate `rand` are being used? [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `rand::prelude::ThreadRng: rand::Rng` is not satisfied [INFO] [stderr] --> benches/signature.rs:34:51 [INFO] [stderr] | [INFO] [stderr] 34 | let (privkey, _) = secp256k1.generate_keypair(&mut thread_rng()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ the trait `rand::Rng` is not implemented for `rand::prelude::ThreadRng` [INFO] [stderr] | [INFO] [stderr] help: trait impl with same name found [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/lib.rs:443:1 [INFO] [stderr] | [INFO] [stderr] 443 | impl Rng for R {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: Perhaps two different versions of crate `rand` are being used? [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap` found for tuple `(secp256k1::Signature, secp256k1::RecoveryId)` in the current scope [INFO] [stderr] --> benches/sign.rs:23:41 [INFO] [stderr] | [INFO] [stderr] 23 | let _ = sign(&message, &seckey).unwrap(); [INFO] [stderr] | ^^^^^^ method not found in `(secp256k1::Signature, secp256k1::RecoveryId)` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `libsecp256k1`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `libsecp256k1`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0277]: the trait bound `rand::prelude::ThreadRng: rand::Rng` is not satisfied [INFO] [stderr] --> benches/public_key.rs:16:55 [INFO] [stderr] | [INFO] [stderr] 16 | let (_, secp_pubkey) = secp256k1.generate_keypair(&mut thread_rng()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ the trait `rand::Rng` is not implemented for `rand::prelude::ThreadRng` [INFO] [stderr] | [INFO] [stderr] help: trait impl with same name found [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/lib.rs:443:1 [INFO] [stderr] | [INFO] [stderr] 443 | impl Rng for R {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: Perhaps two different versions of crate `rand` are being used? [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `rand::prelude::ThreadRng: rand::Rng` is not satisfied [INFO] [stderr] --> benches/public_key.rs:29:55 [INFO] [stderr] | [INFO] [stderr] 29 | let (_, secp_pubkey) = secp256k1.generate_keypair(&mut thread_rng()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ the trait `rand::Rng` is not implemented for `rand::prelude::ThreadRng` [INFO] [stderr] | [INFO] [stderr] help: trait impl with same name found [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/lib.rs:443:1 [INFO] [stderr] | [INFO] [stderr] 443 | impl Rng for R {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: Perhaps two different versions of crate `rand` are being used? [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `rand::prelude::ThreadRng: rand::Rng` is not satisfied [INFO] [stderr] --> benches/public_key.rs:43:55 [INFO] [stderr] | [INFO] [stderr] 43 | let (_, secp_pubkey) = secp256k1.generate_keypair(&mut thread_rng()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ the trait `rand::Rng` is not implemented for `rand::prelude::ThreadRng` [INFO] [stderr] | [INFO] [stderr] help: trait impl with same name found [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/lib.rs:443:1 [INFO] [stderr] | [INFO] [stderr] 443 | impl Rng for R {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: Perhaps two different versions of crate `rand` are being used? [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `libsecp256k1`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "92fe93f3e2542a358c929e86209aca5749c1eb525986b6bc20424b1a02fd3267"` [INFO] running `"docker" "rm" "-f" "92fe93f3e2542a358c929e86209aca5749c1eb525986b6bc20424b1a02fd3267"` [INFO] [stdout] 92fe93f3e2542a358c929e86209aca5749c1eb525986b6bc20424b1a02fd3267