[INFO] fetching crate xaynet-client 0.1.0... [INFO] checking xaynet-client-0.1.0 against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] extracting crate xaynet-client 0.1.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate xaynet-client 0.1.0 on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate xaynet-client 0.1.0 [INFO] finished tweaking crates.io crate xaynet-client 0.1.0 [INFO] tweaked toml for crates.io crate xaynet-client 0.1.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb1111055053e30b28ca22283849ff8249d304d5ec232ab02db7c13d26688c61 [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" "bb1111055053e30b28ca22283849ff8249d304d5ec232ab02db7c13d26688c61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb1111055053e30b28ca22283849ff8249d304d5ec232ab02db7c13d26688c61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb1111055053e30b28ca22283849ff8249d304d5ec232ab02db7c13d26688c61", kill_on_drop: false }` [INFO] [stdout] bb1111055053e30b28ca22283849ff8249d304d5ec232ab02db7c13d26688c61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7211aa662938b66c4d724dbd07013c6807e421df20911a04f3a7262cb03ec023 [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" "7211aa662938b66c4d724dbd07013c6807e421df20911a04f3a7262cb03ec023", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Checking signature v1.3.1 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking tinyvec v1.3.0 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking ed25519 v1.1.1 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Checking futures-channel v0.3.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling libsodium-sys v0.2.7 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-test v0.2.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking pin-project v0.4.28 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking tower-test v0.3.0 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking sodiumoxide v0.2.7 [INFO] [stderr] Checking xaynet-core v0.1.0 [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/xaynet-core-0.1.0/src/crypto/sign.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | Self(sign::Signature([0_u8; sign::SIGNATUREBYTES])) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ed25519-1.1.1/src/lib.rs:275:22 [INFO] [stdout] | [INFO] [stdout] 275 | pub struct Signature([u8; SIGNATURE_LENGTH]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sodiumoxide::crypto::sign::Signature: Serialize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/xaynet-core-0.1.0/src/crypto/sign.rs:130:22 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct Signature(sign::Signature); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `sodiumoxide::crypto::sign::Signature` [INFO] [stdout] | [INFO] [stdout] = note: required by `serialize_newtype_struct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sodiumoxide::crypto::sign::Signature: Deserialize<'_>` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/xaynet-core-0.1.0/src/crypto/sign.rs:130:22 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct Signature(sign::Signature); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `sodiumoxide::crypto::sign::Signature` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.126/src/de/mod.rs:539:12 [INFO] [stdout] | [INFO] [stdout] 539 | D: Deserializer<'de>; [INFO] [stdout] | ----------------- required by this bound in `serde::Deserialize::deserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sodiumoxide::crypto::sign::Signature: Deserialize<'_>` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/xaynet-core-0.1.0/src/crypto/sign.rs:130:22 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct Signature(sign::Signature); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `sodiumoxide::crypto::sign::Signature` [INFO] [stdout] | [INFO] [stdout] = note: required by `next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sodiumoxide::crypto::sign::Signature: Hash` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/xaynet-core-0.1.0/src/crypto/sign.rs:130:22 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct Signature(sign::Signature); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `sodiumoxide::crypto::sign::Signature` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sodiumoxide::crypto::sign::Signature: Ord` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/xaynet-core-0.1.0/src/crypto/sign.rs:130:22 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct Signature(sign::Signature); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Ord` is not implemented for `sodiumoxide::crypto::sign::Signature` [INFO] [stdout] | [INFO] [stdout] = note: required by `std::cmp::Ord::cmp` [INFO] [stdout] = note: this error originates in the derive macro `Ord` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `sodiumoxide::crypto::sign::Signature` with `sodiumoxide::crypto::sign::Signature` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/xaynet-core-0.1.0/src/crypto/sign.rs:130:22 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct Signature(sign::Signature); [INFO] [stdout] | ^^^^^^^^^^^^^^^ no implementation for `sodiumoxide::crypto::sign::Signature < sodiumoxide::crypto::sign::Signature` and `sodiumoxide::crypto::sign::Signature > sodiumoxide::crypto::sign::Signature` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialOrd` is not implemented for `sodiumoxide::crypto::sign::Signature` [INFO] [stdout] = note: required by `std::cmp::PartialOrd::partial_cmp` [INFO] [stdout] = note: this error originates in the derive macro `PartialOrd` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_slice` found for struct `sodiumoxide::crypto::sign::Signature` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/xaynet-core-0.1.0/src/crypto/sign.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 144 | sign::Signature::from_slice(bytes).map(Self) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `sodiumoxide::crypto::sign::Signature` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `crypto::ByteObject` defines an item `from_slice`, perhaps you need to implement it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/xaynet-core-0.1.0/src/crypto/mod.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait ByteObject: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0423, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xaynet-core` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "7211aa662938b66c4d724dbd07013c6807e421df20911a04f3a7262cb03ec023", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7211aa662938b66c4d724dbd07013c6807e421df20911a04f3a7262cb03ec023", kill_on_drop: false }` [INFO] [stdout] 7211aa662938b66c4d724dbd07013c6807e421df20911a04f3a7262cb03ec023