[INFO] fetching crate libp2p-observed-address 0.12.0... [INFO] checking libp2p-observed-address-0.12.0 against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] extracting crate libp2p-observed-address 0.12.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate libp2p-observed-address 0.12.0 on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libp2p-observed-address 0.12.0 [INFO] finished tweaking crates.io crate libp2p-observed-address 0.12.0 [INFO] tweaked toml for crates.io crate libp2p-observed-address 0.12.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", 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] 5db5f9381f715e2259e952b80e72fde5bcd623538623c35a44e4ca25f1e9fe46 [INFO] running `Command { std: "docker" "start" "-a" "5db5f9381f715e2259e952b80e72fde5bcd623538623c35a44e4ca25f1e9fe46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5db5f9381f715e2259e952b80e72fde5bcd623538623c35a44e4ca25f1e9fe46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5db5f9381f715e2259e952b80e72fde5bcd623538623c35a44e4ca25f1e9fe46", kill_on_drop: false }` [INFO] [stdout] 5db5f9381f715e2259e952b80e72fde5bcd623538623c35a44e4ca25f1e9fe46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f298eb852bc8906be14cb45617ed804d0e26e1a32b3a66583dbdc63ed94edf6 [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" "6f298eb852bc8906be14cb45617ed804d0e26e1a32b3a66583dbdc63ed94edf6", kill_on_drop: false }` [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking libsecp256k1 v0.2.2 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking parity-multihash v0.1.3 [INFO] [stderr] Checking parking_lot_core v0.5.0 [INFO] [stderr] Checking parity-multiaddr v0.5.0 [INFO] [stderr] Checking parking_lot v0.8.0 [INFO] [stderr] Checking libp2p-core v0.12.0 [INFO] [stdout] error[E0277]: the trait bound `rand::prelude::ThreadRng: rand_core::CryptoRng` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-core-0.12.0/src/identity/ed25519.rs:34:44 [INFO] [stdout] | [INFO] [stdout] 34 | Keypair(ed25519::Keypair::generate(&mut rand::thread_rng())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `rand_core::CryptoRng` is not implemented for `rand::prelude::ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ed25519-dalek-1.0.1/src/keypair.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | R: CryptoRng + RngCore, [INFO] [stdout] | --------- required by this bound in `ed25519_dalek::Keypair::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::prelude::ThreadRng: rand_core::RngCore` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-core-0.12.0/src/identity/ed25519.rs:34:44 [INFO] [stdout] | [INFO] [stdout] 34 | Keypair(ed25519::Keypair::generate(&mut rand::thread_rng())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `rand_core::RngCore` is not implemented for `rand::prelude::ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ed25519-dalek-1.0.1/src/keypair.rs:129:24 [INFO] [stdout] | [INFO] [stdout] 129 | R: CryptoRng + RngCore, [INFO] [stdout] | ------- required by this bound in `ed25519_dalek::Keypair::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sign` found for struct `ed25519_dalek::Keypair` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-core-0.12.0/src/identity/ed25519.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | self.0.sign(msg).to_bytes().to_vec() [INFO] [stdout] | ^^^^ method not found in `ed25519_dalek::Keypair` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use ed25519_dalek::Signer;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `ed25519_dalek::Signature` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-core-0.12.0/src/identity/ed25519.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | ed25519::Signature::from_bytes(sig).and_then(|s| self.0.verify(msg, &s)).is_ok() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `ed25519_dalek::Signature` [INFO] [stdout] | help: there is an associated function with a similar name: `to_bytes` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use ed25519_dalek::ed25519::signature::Signature;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `verify` found for struct `ed25519_dalek::PublicKey` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-core-0.12.0/src/identity/ed25519.rs:103:65 [INFO] [stdout] | [INFO] [stdout] 103 | ed25519::Signature::from_bytes(sig).and_then(|s| self.0.verify(msg, &s)).is_ok() [INFO] [stdout] | ^^^^^^ method not found in `ed25519_dalek::PublicKey` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use ed25519_dalek::Verifier;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::prelude::ThreadRng: rand_core::CryptoRng` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-core-0.12.0/src/identity/ed25519.rs:141:48 [INFO] [stdout] | [INFO] [stdout] 141 | SecretKey(ed25519::SecretKey::generate(&mut rand::thread_rng())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `rand_core::CryptoRng` is not implemented for `rand::prelude::ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ed25519-dalek-1.0.1/src/secret.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | T: CryptoRng + RngCore, [INFO] [stdout] | --------- required by this bound in `ed25519_dalek::SecretKey::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::prelude::ThreadRng: rand_core::RngCore` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-core-0.12.0/src/identity/ed25519.rs:141:48 [INFO] [stdout] | [INFO] [stdout] 141 | SecretKey(ed25519::SecretKey::generate(&mut rand::thread_rng())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `rand_core::RngCore` is not implemented for `rand::prelude::ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ed25519-dalek-1.0.1/src/secret.rs:169:24 [INFO] [stdout] | [INFO] [stdout] 169 | T: CryptoRng + RngCore, [INFO] [stdout] | ------- required by this bound in `ed25519_dalek::SecretKey::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 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: could not compile `libp2p-core` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "6f298eb852bc8906be14cb45617ed804d0e26e1a32b3a66583dbdc63ed94edf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f298eb852bc8906be14cb45617ed804d0e26e1a32b3a66583dbdc63ed94edf6", kill_on_drop: false }` [INFO] [stdout] 6f298eb852bc8906be14cb45617ed804d0e26e1a32b3a66583dbdc63ed94edf6