[INFO] fetching crate libsecp256k1 0.3.5... [INFO] checking libsecp256k1-0.3.5 against try#d990716b6a1fdde1300748828a9c9e79dfd0b898 for pr-74846 [INFO] extracting crate libsecp256k1 0.3.5 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate libsecp256k1 0.3.5 on toolchain d990716b6a1fdde1300748828a9c9e79dfd0b898 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hex-literal-impl v0.2.2 [INFO] running `Command { std: "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" "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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef65685c7f65aedd9315ff37d0812e8537c5e2e14cd9fe0d8a33d6f165f5d164 [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" "ef65685c7f65aedd9315ff37d0812e8537c5e2e14cd9fe0d8a33d6f165f5d164", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef65685c7f65aedd9315ff37d0812e8537c5e2e14cd9fe0d8a33d6f165f5d164", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef65685c7f65aedd9315ff37d0812e8537c5e2e14cd9fe0d8a33d6f165f5d164", kill_on_drop: false }` [INFO] [stdout] ef65685c7f65aedd9315ff37d0812e8537c5e2e14cd9fe0d8a33d6f165f5d164 [INFO] running `Command { std: "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" "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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51d42ea485ca111a58e68ffbe76c1c37c7b2d9d8a83e4f89e9528d0b503f055e [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" "51d42ea485ca111a58e68ffbe76c1c37c7b2d9d8a83e4f89e9528d0b503f055e", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking odds v0.2.26 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Compiling clear_on_drop v0.2.4 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling hex-literal-impl v0.2.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking arrayvec v0.3.25 [INFO] [stderr] Checking hex-literal v0.2.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling secp256k1-test v0.7.2 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking rand v0.7.3 [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/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/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[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/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] [stderr] error: could not compile `libsecp256k1`. [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] [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[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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [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" "51d42ea485ca111a58e68ffbe76c1c37c7b2d9d8a83e4f89e9528d0b503f055e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51d42ea485ca111a58e68ffbe76c1c37c7b2d9d8a83e4f89e9528d0b503f055e", kill_on_drop: false }` [INFO] [stdout] 51d42ea485ca111a58e68ffbe76c1c37c7b2d9d8a83e4f89e9528d0b503f055e