[INFO] crate libp2p-ratelimit 0.12.0 is already in cache [INFO] testing libp2p-ratelimit-0.12.0 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate libp2p-ratelimit 0.12.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate libp2p-ratelimit 0.12.0 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d42696ae37ca01c2b053a300d6c5a6a3d82036fda417e651bc10a192bbefe7bf [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" "d42696ae37ca01c2b053a300d6c5a6a3d82036fda417e651bc10a192bbefe7bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d42696ae37ca01c2b053a300d6c5a6a3d82036fda417e651bc10a192bbefe7bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d42696ae37ca01c2b053a300d6c5a6a3d82036fda417e651bc10a192bbefe7bf", kill_on_drop: false }` [INFO] [stdout] d42696ae37ca01c2b053a300d6c5a6a3d82036fda417e651bc10a192bbefe7bf [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 280088fe5f31e7c82b43e67498ba160f115f23bccae5ff74b67311b40b3e8904 [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" "280088fe5f31e7c82b43e67498ba160f115f23bccae5ff74b67311b40b3e8904", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling unsigned-varint v0.2.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling protobuf v2.16.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling bs58 v0.2.5 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [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 rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling generic-array v0.8.3 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling blake2 v0.8.1 [INFO] [stderr] Compiling rand v0.7.3 [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 hmac v0.4.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling hmac-drbg v0.1.2 [INFO] [stderr] Compiling sha2 v0.6.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling libsecp256k1 v0.2.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling parity-multihash v0.1.3 [INFO] [stderr] Compiling rw-stream-sink v0.1.2 [INFO] [stderr] Compiling multistream-select v0.5.1 [INFO] [stderr] Compiling wasm-timer v0.1.3 [INFO] [stderr] Compiling aio-limited v0.1.1 [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.0 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling asn1_der v0.6.3 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling curve25519-dalek v2.1.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.0-pre.4 [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.0-pre.4/src/keypair.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | 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.0-pre.4/src/keypair.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | 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.0-pre.4/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.0-pre.4/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" "280088fe5f31e7c82b43e67498ba160f115f23bccae5ff74b67311b40b3e8904", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "280088fe5f31e7c82b43e67498ba160f115f23bccae5ff74b67311b40b3e8904", kill_on_drop: false }` [INFO] [stdout] 280088fe5f31e7c82b43e67498ba160f115f23bccae5ff74b67311b40b3e8904