[INFO] fetching crate susyp2p-secio 0.7.0... [INFO] checking susyp2p-secio-0.7.0 against master#c724b67e1b474262917a5154d74e7072267593fe for pr-74315 [INFO] extracting crate susyp2p-secio 0.7.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate susyp2p-secio 0.7.0 on toolchain c724b67e1b474262917a5154d74e7072267593fe [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate susyp2p-secio 0.7.0 [INFO] finished tweaking crates.io crate susyp2p-secio 0.7.0 [INFO] tweaked toml for crates.io crate susyp2p-secio 0.7.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 178339a824343c551598d45034d13894362651644f2aa3200f9861e283ba6357 [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" "178339a824343c551598d45034d13894362651644f2aa3200f9861e283ba6357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "178339a824343c551598d45034d13894362651644f2aa3200f9861e283ba6357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "178339a824343c551598d45034d13894362651644f2aa3200f9861e283ba6357", kill_on_drop: false }` [INFO] [stdout] 178339a824343c551598d45034d13894362651644f2aa3200f9861e283ba6357 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bf5ee1b32c967cc8f11faf2172e87073b2e84ed820b4f07d4a2b45dfda31b54 [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" "4bf5ee1b32c967cc8f11faf2172e87073b2e84ed820b4f07d4a2b45dfda31b54", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking get_if_addrs v0.5.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking stream-cipher v0.3.2 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking aes-soft v0.3.3 [INFO] [stderr] Checking twofish v0.2.0 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking ctr v0.3.2 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking aes-ctr v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tk-listen v0.2.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Checking asn1_der v0.6.3 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking curve25519-dalek v2.1.0 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.4 [INFO] [stderr] Checking susyp2p-core v0.7.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/susyp2p-core-0.7.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/susyp2p-core-0.7.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/susyp2p-core-0.7.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/susyp2p-core-0.7.0/src/identity/ed25519.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | ed25519::Signature::from_bytes(sig).map(|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/susyp2p-core-0.7.0/src/identity/ed25519.rs:103:60 [INFO] [stdout] | [INFO] [stdout] 103 | ed25519::Signature::from_bytes(sig).map(|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/susyp2p-core-0.7.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/susyp2p-core-0.7.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 `susyp2p-core`. [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4bf5ee1b32c967cc8f11faf2172e87073b2e84ed820b4f07d4a2b45dfda31b54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bf5ee1b32c967cc8f11faf2172e87073b2e84ed820b4f07d4a2b45dfda31b54", kill_on_drop: false }` [INFO] [stdout] 4bf5ee1b32c967cc8f11faf2172e87073b2e84ed820b4f07d4a2b45dfda31b54