[INFO] crate libsecp256k1 0.3.2 is already in cache [INFO] checking libsecp256k1-0.3.2 against try#e922e6444795ab795fab1943288aee3d543699b8 for pr-66852 [INFO] extracting crate libsecp256k1 0.3.2 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate libsecp256k1 0.3.2 on toolchain e922e6444795ab795fab1943288aee3d543699b8 [INFO] running `"/workspace/cargo-home/bin/cargo" "+e922e6444795ab795fab1943288aee3d543699b8" "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-6/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+e922e6444795ab795fab1943288aee3d543699b8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+e922e6444795ab795fab1943288aee3d543699b8" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+e922e6444795ab795fab1943288aee3d543699b8" "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] 48b6d3952d42fb63a6892513e6b86676ce9c227ed18986a36d2cc70d7d5584d9 [INFO] running `"docker" "start" "-a" "48b6d3952d42fb63a6892513e6b86676ce9c227ed18986a36d2cc70d7d5584d9"` [INFO] [stderr] Checking odds v0.2.26 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling secp256k1-test v0.7.2 [INFO] [stderr] Checking sha2 v0.8.0 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking libsecp256k1 v0.3.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking arrayvec v0.3.25 [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/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: aborting due to 2 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[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[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[E0599]: no method named `unwrap` found for type `(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] 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: build failed [INFO] running `"docker" "inspect" "48b6d3952d42fb63a6892513e6b86676ce9c227ed18986a36d2cc70d7d5584d9"` [INFO] running `"docker" "rm" "-f" "48b6d3952d42fb63a6892513e6b86676ce9c227ed18986a36d2cc70d7d5584d9"` [INFO] [stdout] 48b6d3952d42fb63a6892513e6b86676ce9c227ed18986a36d2cc70d7d5584d9