[INFO] fetching crate libsecp256k1 0.3.5... [INFO] checking libsecp256k1-0.3.5 against master#da897dfb6daa268a965d2d73620316ba56020a19 for pr-76219 [INFO] extracting crate libsecp256k1 0.3.5 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate libsecp256k1 0.3.5 on toolchain da897dfb6daa268a965d2d73620316ba56020a19 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+da897dfb6daa268a965d2d73620316ba56020a19" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate libsecp256k1 0.3.5 [INFO] finished tweaking crates.io crate libsecp256k1 0.3.5 [INFO] tweaked toml for crates.io crate libsecp256k1 0.3.5 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+da897dfb6daa268a965d2d73620316ba56020a19" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+da897dfb6daa268a965d2d73620316ba56020a19" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+da897dfb6daa268a965d2d73620316ba56020a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d05713586763c4cfc07827fb3c6750d54e3d60845b8165a1669476dc5ae86a70 [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" "d05713586763c4cfc07827fb3c6750d54e3d60845b8165a1669476dc5ae86a70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d05713586763c4cfc07827fb3c6750d54e3d60845b8165a1669476dc5ae86a70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d05713586763c4cfc07827fb3c6750d54e3d60845b8165a1669476dc5ae86a70", kill_on_drop: false }` [INFO] [stdout] d05713586763c4cfc07827fb3c6750d54e3d60845b8165a1669476dc5ae86a70 [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+da897dfb6daa268a965d2d73620316ba56020a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6277042d3817af2a6c78443270686b01b2578ef423abe8b1bef56e6ca66c3f8c [INFO] running `Command { std: "docker" "start" "-a" "6277042d3817af2a6c78443270686b01b2578ef423abe8b1bef56e6ca66c3f8c", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking subtle v2.3.0 [INFO] [stderr] Compiling clear_on_drop v0.2.4 [INFO] [stderr] Compiling secp256k1-test v0.7.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking serde_json v1.0.57 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling hex-literal-impl v0.2.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking hex-literal v0.2.1 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking libsecp256k1 v0.3.5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `rand::prelude::ThreadRng: rand::Rng` is not satisfied [INFO] [stdout] --> benches/public_key.rs:16:55 [INFO] [stdout] | [INFO] [stdout] 16 | let (_, secp_pubkey) = secp256k1.generate_keypair(&mut thread_rng()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `rand::Rng` is not implemented for `rand::prelude::ThreadRng` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.7.3/src/lib.rs:394:1 [INFO] [stdout] | [INFO] [stdout] 394 | impl Rng for R {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `rand` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::prelude::ThreadRng: rand::Rng` is not satisfied [INFO] [stdout] --> benches/public_key.rs:29:55 [INFO] [stdout] | [INFO] [stdout] 29 | let (_, secp_pubkey) = secp256k1.generate_keypair(&mut thread_rng()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `rand::Rng` is not implemented for `rand::prelude::ThreadRng` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.7.3/src/lib.rs:394:1 [INFO] [stdout] | [INFO] [stdout] 394 | impl Rng for R {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `rand` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::prelude::ThreadRng: rand::Rng` is not satisfied [INFO] [stdout] --> benches/public_key.rs:43:55 [INFO] [stdout] | [INFO] [stdout] 43 | let (_, secp_pubkey) = secp256k1.generate_keypair(&mut thread_rng()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `rand::Rng` is not implemented for `rand::prelude::ThreadRng` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.7.3/src/lib.rs:394:1 [INFO] [stdout] | [INFO] [stdout] 394 | impl Rng for R {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `rand` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::prelude::ThreadRng: rand::Rng` is not satisfied [INFO] [stdout] --> benches/signature.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | let (privkey, _) = secp256k1.generate_keypair(&mut thread_rng()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `rand::Rng` is not implemented for `rand::prelude::ThreadRng` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.7.3/src/lib.rs:394:1 [INFO] [stdout] | [INFO] [stdout] 394 | impl Rng for R {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `rand` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libsecp256k1`. [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[E0277]: the trait bound `rand::prelude::ThreadRng: rand::Rng` is not satisfied [INFO] [stdout] --> benches/signature.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | let (privkey, _) = secp256k1.generate_keypair(&mut thread_rng()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `rand::Rng` is not implemented for `rand::prelude::ThreadRng` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.7.3/src/lib.rs:394:1 [INFO] [stdout] | [INFO] [stdout] 394 | impl Rng for R {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `rand` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::prelude::ThreadRng: rand::Rng` is not satisfied [INFO] [stdout] --> benches/sign.rs:19:56 [INFO] [stdout] | [INFO] [stdout] 19 | let (secp_privkey, _) = secp256k1.generate_keypair(&mut thread_rng()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `rand::Rng` is not implemented for `rand::prelude::ThreadRng` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.7.3/src/lib.rs:394:1 [INFO] [stdout] | [INFO] [stdout] 394 | impl Rng for R {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `rand` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for tuple `(secp256k1::Signature, secp256k1::RecoveryId)` in the current scope [INFO] [stdout] --> benches/sign.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | let _ = sign(&message, &seckey).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `(secp256k1::Signature, secp256k1::RecoveryId)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6277042d3817af2a6c78443270686b01b2578ef423abe8b1bef56e6ca66c3f8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6277042d3817af2a6c78443270686b01b2578ef423abe8b1bef56e6ca66c3f8c", kill_on_drop: false }` [INFO] [stdout] 6277042d3817af2a6c78443270686b01b2578ef423abe8b1bef56e6ca66c3f8c