[INFO] fetching crate xaynet-mobile 0.1.0... [INFO] checking xaynet-mobile-0.1.0 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate xaynet-mobile 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate xaynet-mobile 0.1.0 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate xaynet-mobile 0.1.0 [INFO] finished tweaking crates.io crate xaynet-mobile 0.1.0 [INFO] tweaked toml for crates.io crate xaynet-mobile 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 176 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.10.10 (available: v0.12.9) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.3) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.41.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xaynet-sdk v0.1.0 [INFO] [stderr] Downloaded ffi-support v0.4.4 [INFO] [stderr] Downloaded xaynet-core v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8e7b6451b3c607a63e5a72ef36aa0a9eeaece727fa920df84d6ca03bfd8f1d7 [INFO] running `Command { std: "docker" "start" "-a" "f8e7b6451b3c607a63e5a72ef36aa0a9eeaece727fa920df84d6ca03bfd8f1d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8e7b6451b3c607a63e5a72ef36aa0a9eeaece727fa920df84d6ca03bfd8f1d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8e7b6451b3c607a63e5a72ef36aa0a9eeaece727fa920df84d6ca03bfd8f1d7", kill_on_drop: false }` [INFO] [stdout] f8e7b6451b3c607a63e5a72ef36aa0a9eeaece727fa920df84d6ca03bfd8f1d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c6514ecd498f589ae97494be9d7871d204803ba794e69ab5e7668cc2c61f55d [INFO] running `Command { std: "docker" "start" "-a" "5c6514ecd498f589ae97494be9d7871d204803ba794e69ab5e7668cc2c61f55d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling libsodium-sys v0.2.7 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking ffi-support v0.4.4 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking pin-project v1.1.7 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde v1.0.215 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Checking webpki-roots v0.20.0 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking tokio-rustls v0.14.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking hyper-rustls v0.21.0 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking sodiumoxide v0.2.7 [INFO] [stderr] Checking xaynet-core v0.2.0 [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/xaynet-core-0.2.0/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/index.crates.io-6f17d22bba15001f/ed25519-1.5.3/src/lib.rs:284:22 [INFO] [stdout] | [INFO] [stdout] 284 | pub struct Signature([u8; Signature::BYTE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ private field [INFO] [stdout] help: you might have meant to use the `new` associated function [INFO] [stdout] | [INFO] [stdout] 145 | Self(sign::Signature::new([0_u8; sign::SIGNATUREBYTES])) [INFO] [stdout] | +++++ [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/index.crates.io-6f17d22bba15001f/xaynet-core-0.2.0/src/crypto/sign.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | Serialize, [INFO] [stdout] | ^^^^^^^^^ the trait `Serialize` is not implemented for `sodiumoxide::crypto::sign::Signature` [INFO] [stdout] ... [INFO] [stdout] 139 | pub struct Signature(sign::Signature); [INFO] [stdout] | --------------- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `sodiumoxide::crypto::sign::Signature` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 218 others [INFO] [stdout] note: required by a bound in `serialize_newtype_struct` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.215/src/ser/mod.rs:907:21 [INFO] [stdout] | [INFO] [stdout] 901 | fn serialize_newtype_struct( [INFO] [stdout] | ------------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 907 | T: ?Sized + Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Serializer::serialize_newtype_struct` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (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: Deserialize<'_>` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/xaynet-core-0.2.0/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: for local types consider adding `#[derive(serde::Deserialize)]` to your `sodiumoxide::crypto::sign::Signature` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 230 others [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/index.crates.io-6f17d22bba15001f/xaynet-core-0.2.0/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: for local types consider adding `#[derive(serde::Deserialize)]` to your `sodiumoxide::crypto::sign::Signature` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 230 others [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.215/src/de/mod.rs:1732:12 [INFO] [stdout] | [INFO] [stdout] 1730 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1731 | where [INFO] [stdout] 1732 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::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/index.crates.io-6f17d22bba15001f/xaynet-core-0.2.0/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: 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/index.crates.io-6f17d22bba15001f/xaynet-core-0.2.0/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: 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/index.crates.io-6f17d22bba15001f/xaynet-core-0.2.0/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: 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/index.crates.io-6f17d22bba15001f/xaynet-core-0.2.0/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 `Signature` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `sodiumoxide::crypto::sign::Signature` consider using one of the following associated functions: [INFO] [stdout] sodiumoxide::crypto::sign::Signature::from_bytes [INFO] [stdout] sodiumoxide::crypto::sign::Signature::new [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ed25519-1.5.3/src/lib.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 291 | pub fn from_bytes(bytes: &[u8]) -> signature::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | pub fn new(bytes: [u8; Self::BYTE_SIZE]) -> Self { [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/index.crates.io-6f17d22bba15001f/xaynet-core-0.2.0/src/crypto/mod.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait ByteObject: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `from_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 153 | sign::Signature::from_str(bytes).map(Self) [INFO] [stdout] | ~~~~~~~~ [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` (lib) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "5c6514ecd498f589ae97494be9d7871d204803ba794e69ab5e7668cc2c61f55d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c6514ecd498f589ae97494be9d7871d204803ba794e69ab5e7668cc2c61f55d", kill_on_drop: false }` [INFO] [stdout] 5c6514ecd498f589ae97494be9d7871d204803ba794e69ab5e7668cc2c61f55d