[INFO] fetching crate libp2p-ratelimit 0.12.0... [INFO] testing libp2p-ratelimit-0.12.0 against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] extracting crate libp2p-ratelimit 0.12.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate libp2p-ratelimit 0.12.0 on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate libp2p-ratelimit 0.12.0 [INFO] finished tweaking crates.io crate libp2p-ratelimit 0.12.0 [INFO] tweaked toml for crates.io crate libp2p-ratelimit 0.12.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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] d454b5b8fe6b4f7670e06e11eb0cae459762230fc95217aef9b61212e655a45a [INFO] running `Command { std: "docker" "start" "-a" "d454b5b8fe6b4f7670e06e11eb0cae459762230fc95217aef9b61212e655a45a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d454b5b8fe6b4f7670e06e11eb0cae459762230fc95217aef9b61212e655a45a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d454b5b8fe6b4f7670e06e11eb0cae459762230fc95217aef9b61212e655a45a", kill_on_drop: false }` [INFO] [stdout] d454b5b8fe6b4f7670e06e11eb0cae459762230fc95217aef9b61212e655a45a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3bcfac036b24aec8011252a6bba1c87a3b6802053789a42d6ac3a5faa60edd5 [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" "b3bcfac036b24aec8011252a6bba1c87a3b6802053789a42d6ac3a5faa60edd5", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling unsigned-varint v0.2.3 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling protobuf v2.18.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling lock_api v0.2.0 [INFO] [stderr] Compiling generic-array v0.8.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling blake2 v0.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling digest v0.6.2 [INFO] [stderr] Compiling crypto-mac v0.4.0 [INFO] [stderr] Compiling block-buffer v0.2.0 [INFO] [stderr] Compiling sha2 v0.9.2 [INFO] [stderr] Compiling hmac v0.4.2 [INFO] [stderr] Compiling wasm-timer v0.1.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling sha2 v0.6.0 [INFO] [stderr] Compiling hmac-drbg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling libsecp256k1 v0.2.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling multistream-select v0.5.1 [INFO] [stderr] Compiling rw-stream-sink v0.1.2 [INFO] [stderr] Compiling aio-limited v0.1.1 [INFO] [stderr] Compiling parity-multihash v0.1.3 [INFO] [stderr] Compiling parity-multiaddr v0.5.0 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling zeroize_derive v0.9.3 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling zeroize v0.9.3 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling asn1_der v0.6.3 [INFO] [stderr] Compiling zeroize v1.1.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling curve25519-dalek v3.0.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling 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" "b3bcfac036b24aec8011252a6bba1c87a3b6802053789a42d6ac3a5faa60edd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3bcfac036b24aec8011252a6bba1c87a3b6802053789a42d6ac3a5faa60edd5", kill_on_drop: false }` [INFO] [stdout] b3bcfac036b24aec8011252a6bba1c87a3b6802053789a42d6ac3a5faa60edd5