[INFO] fetching crate libsecp256k1 0.3.5... [INFO] checking libsecp256k1-0.3.5 against try#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] extracting crate libsecp256k1 0.3.5 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate libsecp256k1 0.3.5 on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hmac-drbg v0.2.0 [INFO] running `Command { std: "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" "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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e52be2e9f2e4cfa94d08fcf7db842c7f454ea9a7bcbcc103f63f6e4bef330f8f [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" "e52be2e9f2e4cfa94d08fcf7db842c7f454ea9a7bcbcc103f63f6e4bef330f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e52be2e9f2e4cfa94d08fcf7db842c7f454ea9a7bcbcc103f63f6e4bef330f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e52be2e9f2e4cfa94d08fcf7db842c7f454ea9a7bcbcc103f63f6e4bef330f8f", kill_on_drop: false }` [INFO] [stdout] e52be2e9f2e4cfa94d08fcf7db842c7f454ea9a7bcbcc103f63f6e4bef330f8f [INFO] running `Command { std: "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" "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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c55d096dfb07a467bbdc28d4beb279639930c2b2d57961daa9cebf9fb986e72 [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" "0c55d096dfb07a467bbdc28d4beb279639930c2b2d57961daa9cebf9fb986e72", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking odds v0.2.26 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking subtle v2.2.3 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking arrayvec v0.3.25 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling secp256k1-test v0.7.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling clear_on_drop v0.2.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling hex-literal-impl v0.2.2 [INFO] [stderr] Checking hex-literal v0.2.1 [INFO] [stderr] Checking generic-array v0.12.3 [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 sha2 v0.8.2 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking libsecp256k1 v0.3.5 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_json v1.0.57 [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] [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] [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/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[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: 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[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" "0c55d096dfb07a467bbdc28d4beb279639930c2b2d57961daa9cebf9fb986e72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c55d096dfb07a467bbdc28d4beb279639930c2b2d57961daa9cebf9fb986e72", kill_on_drop: false }` [INFO] [stdout] 0c55d096dfb07a467bbdc28d4beb279639930c2b2d57961daa9cebf9fb986e72