[INFO] fetching crate xaynet-core 0.2.0... [INFO] building xaynet-core-0.2.0 against master#d5c88c22807925c189328ef9d923c5d2b11a95b8 for pr-87066-3 [INFO] extracting crate xaynet-core 0.2.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate xaynet-core 0.2.0 on toolchain d5c88c22807925c189328ef9d923c5d2b11a95b8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate xaynet-core 0.2.0 [INFO] finished tweaking crates.io crate xaynet-core 0.2.0 [INFO] tweaked toml for crates.io crate xaynet-core 0.2.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "fetch" "--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d40645ea18660906b5c6f40d684a59bbb612e074e632e3f9f8b74ed7d87b056c [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" "d40645ea18660906b5c6f40d684a59bbb612e074e632e3f9f8b74ed7d87b056c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d40645ea18660906b5c6f40d684a59bbb612e074e632e3f9f8b74ed7d87b056c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d40645ea18660906b5c6f40d684a59bbb612e074e632e3f9f8b74ed7d87b056c", kill_on_drop: false }` [INFO] [stdout] d40645ea18660906b5c6f40d684a59bbb612e074e632e3f9f8b74ed7d87b056c [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e80332ccf9091512da06ad59c302fac1f1cb27db36a050aca4f01396922a91e [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" "4e80332ccf9091512da06ad59c302fac1f1cb27db36a050aca4f01396922a91e", kill_on_drop: false }` [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling signature v1.3.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling ed25519 v1.2.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling libsodium-sys v0.2.7 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling sodiumoxide v0.2.7 [INFO] [stderr] Compiling xaynet-core v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/crypto/sign.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | 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.2.0/src/lib.rs:297:22 [INFO] [stdout] | [INFO] [stdout] 297 | 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] --> src/crypto/sign.rs:139:22 [INFO] [stdout] | [INFO] [stdout] 139 | 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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.127/src/ser/mod.rs:898:5 [INFO] [stdout] | [INFO] [stdout] 898 | / fn serialize_newtype_struct( [INFO] [stdout] 899 | | self, [INFO] [stdout] 900 | | name: &'static str, [INFO] [stdout] 901 | | value: &T, [INFO] [stdout] 902 | | ) -> Result [INFO] [stdout] 903 | | where [INFO] [stdout] 904 | | T: Serialize; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sodiumoxide::crypto::sign::Signature: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/crypto/sign.rs:139:22 [INFO] [stdout] | [INFO] [stdout] 139 | 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 a bound in `common::_::_serde::Deserialize::deserialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.127/src/de/mod.rs:539:12 [INFO] [stdout] | [INFO] [stdout] 539 | D: Deserializer<'de>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `common::_::_serde::Deserialize::deserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sodiumoxide::crypto::sign::Signature: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/crypto/sign.rs:139:22 [INFO] [stdout] | [INFO] [stdout] 139 | 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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.127/src/de/mod.rs:1703:5 [INFO] [stdout] | [INFO] [stdout] 1703 | / fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] 1704 | | where [INFO] [stdout] 1705 | | T: Deserialize<'de>, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sodiumoxide::crypto::sign::Signature: Hash` is not satisfied [INFO] [stdout] --> src/crypto/sign.rs:139:22 [INFO] [stdout] | [INFO] [stdout] 129 | Hash, [INFO] [stdout] | ---- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 139 | pub struct Signature(sign::Signature); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `sodiumoxide::crypto::sign::Signature` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `std::hash::Hash::hash` [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] --> src/crypto/sign.rs:139:22 [INFO] [stdout] | [INFO] [stdout] 131 | Ord, [INFO] [stdout] | --- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 139 | 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] --> src/crypto/sign.rs:139:22 [INFO] [stdout] | [INFO] [stdout] 135 | PartialOrd, [INFO] [stdout] | ---------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 139 | 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] --> src/crypto/sign.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 153 | 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] --> 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` due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "4e80332ccf9091512da06ad59c302fac1f1cb27db36a050aca4f01396922a91e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e80332ccf9091512da06ad59c302fac1f1cb27db36a050aca4f01396922a91e", kill_on_drop: false }` [INFO] [stdout] 4e80332ccf9091512da06ad59c302fac1f1cb27db36a050aca4f01396922a91e