[INFO] fetching crate network-endian 0.1.5... [INFO] checking network-endian-0.1.5 against try#306c6aded24f02440063be828ebe601fe5eb8323 for pr-133502-3 [INFO] extracting crate network-endian 0.1.5 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate network-endian 0.1.5 on toolchain 306c6aded24f02440063be828ebe601fe5eb8323 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate network-endian 0.1.5 [INFO] finished tweaking crates.io crate network-endian 0.1.5 [INFO] tweaked toml for crates.io crate network-endian 0.1.5 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8fd0b7de41359031b16825706da2a9b22a22b3680375a18905b214ac763107b2 [INFO] running `Command { std: "docker" "start" "-a" "8fd0b7de41359031b16825706da2a9b22a22b3680375a18905b214ac763107b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8fd0b7de41359031b16825706da2a9b22a22b3680375a18905b214ac763107b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fd0b7de41359031b16825706da2a9b22a22b3680375a18905b214ac763107b2", kill_on_drop: false }` [INFO] [stdout] 8fd0b7de41359031b16825706da2a9b22a22b3680375a18905b214ac763107b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e03c469e84951a639226c3128f9e72f61d7be69a3f042f7eb996adba8565d31 [INFO] running `Command { std: "docker" "start" "-a" "5e03c469e84951a639226c3128f9e72f61d7be69a3f042f7eb996adba8565d31", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking network-endian v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/NetworkEndian.rs:15:2 [INFO] [stdout] | [INFO] [stdout] 15 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/NetworkEndian.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 19 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/NetworkEndian.rs:23:2 [INFO] [stdout] | [INFO] [stdout] 23 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/NetworkEndian.rs:15:2 [INFO] [stdout] | [INFO] [stdout] 15 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/NetworkEndian.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 19 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/NetworkEndian.rs:23:2 [INFO] [stdout] | [INFO] [stdout] 23 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u16` in the current scope [INFO] [stdout] --> src/NetworkEndianU16.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | u16::from_be(u16::from_bytes(self.0)).partial_cmp(&u16::from_be(u16::from_bytes(other.0))) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 16 - u16::from_be(u16::from_bytes(self.0)).partial_cmp(&u16::from_be(u16::from_bytes(other.0))) [INFO] [stdout] 16 + u16::from_be(u16::from_be(self.0)).partial_cmp(&u16::from_be(u16::from_bytes(other.0))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u16` in the current scope [INFO] [stdout] --> src/NetworkEndianU16.rs:16:72 [INFO] [stdout] | [INFO] [stdout] 16 | u16::from_be(u16::from_bytes(self.0)).partial_cmp(&u16::from_be(u16::from_bytes(other.0))) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 16 - u16::from_be(u16::from_bytes(self.0)).partial_cmp(&u16::from_be(u16::from_bytes(other.0))) [INFO] [stdout] 16 + u16::from_be(u16::from_bytes(self.0)).partial_cmp(&u16::from_be(u16::from_be(other.0))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u16` in the current scope [INFO] [stdout] --> src/NetworkEndianU16.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | u16::from_be(u16::from_bytes(self.0)).cmp(&u16::from_be(u16::from_bytes(other.0))) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 25 - u16::from_be(u16::from_bytes(self.0)).cmp(&u16::from_be(u16::from_bytes(other.0))) [INFO] [stdout] 25 + u16::from_be(u16::from_be(self.0)).cmp(&u16::from_be(u16::from_bytes(other.0))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u16` in the current scope [INFO] [stdout] --> src/NetworkEndianU16.rs:25:64 [INFO] [stdout] | [INFO] [stdout] 25 | u16::from_be(u16::from_bytes(self.0)).cmp(&u16::from_be(u16::from_bytes(other.0))) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 25 - u16::from_be(u16::from_bytes(self.0)).cmp(&u16::from_be(u16::from_bytes(other.0))) [INFO] [stdout] 25 + u16::from_be(u16::from_bytes(self.0)).cmp(&u16::from_be(u16::from_be(other.0))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_bytes` exists for type `u16`, but its trait bounds were not satisfied [INFO] [stdout] --> src/NetworkEndianU16.rs:113:42 [INFO] [stdout] | [INFO] [stdout] 113 | NetworkEndianU16(native_endian.to_be().to_bytes()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] `&mut u16: Default` [INFO] [stdout] `&u16: Default` [INFO] [stdout] --> src/NetworkEndian.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait NetworkEndian: Sized + Default + Debug + Copy + Clone + PartialOrd + Ord + PartialEq + Eq + Hash + Display + Serialize + Deseri... [INFO] [stdout] | ------------- ^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `NetworkEndian` defines an item `to_bytes`, perhaps you need to implement it [INFO] [stdout] --> src/NetworkEndian.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait NetworkEndian: Sized + Default + Debug + Copy + Clone + PartialOrd + Ord + PartialEq + Eq + Hash + Display + Serialize + DeserializeOwned [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u16` in the current scope [INFO] [stdout] --> src/NetworkEndianU16.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | u16::from_bytes(self.0) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 126 - u16::from_bytes(self.0) [INFO] [stdout] 126 + u16::from_be(self.0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u32` in the current scope [INFO] [stdout] --> src/NetworkEndianU32.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | u32::from_be(u32::from_bytes(self.0)).partial_cmp(&u32::from_be(u32::from_bytes(other.0))) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u32` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 16 - u32::from_be(u32::from_bytes(self.0)).partial_cmp(&u32::from_be(u32::from_bytes(other.0))) [INFO] [stdout] 16 + u32::from_be(u32::from_be(self.0)).partial_cmp(&u32::from_be(u32::from_bytes(other.0))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u32` in the current scope [INFO] [stdout] --> src/NetworkEndianU32.rs:16:72 [INFO] [stdout] | [INFO] [stdout] 16 | u32::from_be(u32::from_bytes(self.0)).partial_cmp(&u32::from_be(u32::from_bytes(other.0))) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u32` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 16 - u32::from_be(u32::from_bytes(self.0)).partial_cmp(&u32::from_be(u32::from_bytes(other.0))) [INFO] [stdout] 16 + u32::from_be(u32::from_bytes(self.0)).partial_cmp(&u32::from_be(u32::from_be(other.0))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u16` in the current scope [INFO] [stdout] --> src/NetworkEndianU16.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | u16::from_be(u16::from_bytes(self.0)).partial_cmp(&u16::from_be(u16::from_bytes(other.0))) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 16 - u16::from_be(u16::from_bytes(self.0)).partial_cmp(&u16::from_be(u16::from_bytes(other.0))) [INFO] [stdout] 16 + u16::from_be(u16::from_be(self.0)).partial_cmp(&u16::from_be(u16::from_bytes(other.0))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u32` in the current scope [INFO] [stdout] --> src/NetworkEndianU32.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | u32::from_be(u32::from_bytes(self.0)).cmp(&u32::from_be(u32::from_bytes(other.0))) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u32` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 25 - u32::from_be(u32::from_bytes(self.0)).cmp(&u32::from_be(u32::from_bytes(other.0))) [INFO] [stdout] 25 + u32::from_be(u32::from_be(self.0)).cmp(&u32::from_be(u32::from_bytes(other.0))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u16` in the current scope [INFO] [stdout] --> src/NetworkEndianU16.rs:16:72 [INFO] [stdout] | [INFO] [stdout] 16 | u16::from_be(u16::from_bytes(self.0)).partial_cmp(&u16::from_be(u16::from_bytes(other.0))) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 16 - u16::from_be(u16::from_bytes(self.0)).partial_cmp(&u16::from_be(u16::from_bytes(other.0))) [INFO] [stdout] 16 + u16::from_be(u16::from_bytes(self.0)).partial_cmp(&u16::from_be(u16::from_be(other.0))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u32` in the current scope [INFO] [stdout] --> src/NetworkEndianU32.rs:25:64 [INFO] [stdout] | [INFO] [stdout] 25 | u32::from_be(u32::from_bytes(self.0)).cmp(&u32::from_be(u32::from_bytes(other.0))) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u32` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 25 - u32::from_be(u32::from_bytes(self.0)).cmp(&u32::from_be(u32::from_bytes(other.0))) [INFO] [stdout] 25 + u32::from_be(u32::from_bytes(self.0)).cmp(&u32::from_be(u32::from_be(other.0))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_bytes` exists for type `u32`, but its trait bounds were not satisfied [INFO] [stdout] --> src/NetworkEndianU32.rs:116:42 [INFO] [stdout] | [INFO] [stdout] 116 | NetworkEndianU32(native_endian.to_be().to_bytes()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] `&mut u32: Default` [INFO] [stdout] `&u32: Default` [INFO] [stdout] --> src/NetworkEndian.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait NetworkEndian: Sized + Default + Debug + Copy + Clone + PartialOrd + Ord + PartialEq + Eq + Hash + Display + Serialize + Deseri... [INFO] [stdout] | ------------- ^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `NetworkEndian` defines an item `to_bytes`, perhaps you need to implement it [INFO] [stdout] --> src/NetworkEndian.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait NetworkEndian: Sized + Default + Debug + Copy + Clone + PartialOrd + Ord + PartialEq + Eq + Hash + Display + Serialize + DeserializeOwned [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u16` in the current scope [INFO] [stdout] --> src/NetworkEndianU16.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | u16::from_be(u16::from_bytes(self.0)).cmp(&u16::from_be(u16::from_bytes(other.0))) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 25 - u16::from_be(u16::from_bytes(self.0)).cmp(&u16::from_be(u16::from_bytes(other.0))) [INFO] [stdout] 25 + u16::from_be(u16::from_be(self.0)).cmp(&u16::from_be(u16::from_bytes(other.0))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u32` in the current scope [INFO] [stdout] --> src/NetworkEndianU32.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | u32::from_bytes(self.0) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u32` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 129 - u32::from_bytes(self.0) [INFO] [stdout] 129 + u32::from_be(self.0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u16` in the current scope [INFO] [stdout] --> src/NetworkEndianU16.rs:25:64 [INFO] [stdout] | [INFO] [stdout] 25 | u16::from_be(u16::from_bytes(self.0)).cmp(&u16::from_be(u16::from_bytes(other.0))) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 25 - u16::from_be(u16::from_bytes(self.0)).cmp(&u16::from_be(u16::from_bytes(other.0))) [INFO] [stdout] 25 + u16::from_be(u16::from_bytes(self.0)).cmp(&u16::from_be(u16::from_be(other.0))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u128` in the current scope [INFO] [stdout] --> src/NetworkEndianU128.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | u128::from_be(u128::from_bytes(self.0)).partial_cmp(&u128::from_be(u128::from_bytes(other.0))) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u128` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 16 - u128::from_be(u128::from_bytes(self.0)).partial_cmp(&u128::from_be(u128::from_bytes(other.0))) [INFO] [stdout] 16 + u128::from_be(u128::from_be(self.0)).partial_cmp(&u128::from_be(u128::from_bytes(other.0))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u128` in the current scope [INFO] [stdout] --> src/NetworkEndianU128.rs:16:76 [INFO] [stdout] | [INFO] [stdout] 16 | u128::from_be(u128::from_bytes(self.0)).partial_cmp(&u128::from_be(u128::from_bytes(other.0))) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u128` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 16 - u128::from_be(u128::from_bytes(self.0)).partial_cmp(&u128::from_be(u128::from_bytes(other.0))) [INFO] [stdout] 16 + u128::from_be(u128::from_bytes(self.0)).partial_cmp(&u128::from_be(u128::from_be(other.0))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u128` in the current scope [INFO] [stdout] --> src/NetworkEndianU128.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | u128::from_be(u128::from_bytes(self.0)).cmp(&u128::from_be(u128::from_bytes(other.0))) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u128` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 25 - u128::from_be(u128::from_bytes(self.0)).cmp(&u128::from_be(u128::from_bytes(other.0))) [INFO] [stdout] 25 + u128::from_be(u128::from_be(self.0)).cmp(&u128::from_be(u128::from_bytes(other.0))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_bytes` exists for type `u16`, but its trait bounds were not satisfied [INFO] [stdout] --> src/NetworkEndianU16.rs:113:42 [INFO] [stdout] | [INFO] [stdout] 113 | NetworkEndianU16(native_endian.to_be().to_bytes()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] `&mut u16: Default` [INFO] [stdout] `&u16: Default` [INFO] [stdout] --> src/NetworkEndian.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait NetworkEndian: Sized + Default + Debug + Copy + Clone + PartialOrd + Ord + PartialEq + Eq + Hash + Display + Serialize + Deseri... [INFO] [stdout] | ------------- ^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `NetworkEndian` defines an item `to_bytes`, perhaps you need to implement it [INFO] [stdout] --> src/NetworkEndian.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait NetworkEndian: Sized + Default + Debug + Copy + Clone + PartialOrd + Ord + PartialEq + Eq + Hash + Display + Serialize + DeserializeOwned [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u128` in the current scope [INFO] [stdout] --> src/NetworkEndianU128.rs:25:68 [INFO] [stdout] | [INFO] [stdout] 25 | u128::from_be(u128::from_bytes(self.0)).cmp(&u128::from_be(u128::from_bytes(other.0))) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u128` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 25 - u128::from_be(u128::from_bytes(self.0)).cmp(&u128::from_be(u128::from_bytes(other.0))) [INFO] [stdout] 25 + u128::from_be(u128::from_bytes(self.0)).cmp(&u128::from_be(u128::from_be(other.0))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_bytes` exists for type `u128`, but its trait bounds were not satisfied [INFO] [stdout] --> src/NetworkEndianU128.rs:113:43 [INFO] [stdout] | [INFO] [stdout] 113 | NetworkEndianU128(native_endian.to_be().to_bytes()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] `&mut u128: Default` [INFO] [stdout] `&u128: Default` [INFO] [stdout] --> src/NetworkEndian.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait NetworkEndian: Sized + Default + Debug + Copy + Clone + PartialOrd + Ord + PartialEq + Eq + Hash + Display + Serialize + Deseri... [INFO] [stdout] | ------------- ^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `NetworkEndian` defines an item `to_bytes`, perhaps you need to implement it [INFO] [stdout] --> src/NetworkEndian.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait NetworkEndian: Sized + Default + Debug + Copy + Clone + PartialOrd + Ord + PartialEq + Eq + Hash + Display + Serialize + DeserializeOwned [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u16` in the current scope [INFO] [stdout] --> src/NetworkEndianU16.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | u16::from_bytes(self.0) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u16` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 126 - u16::from_bytes(self.0) [INFO] [stdout] 126 + u16::from_be(self.0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u128` in the current scope [INFO] [stdout] --> src/NetworkEndianU128.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | u128::from_bytes(self.0) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u128` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 126 - u128::from_bytes(self.0) [INFO] [stdout] 126 + u128::from_be(self.0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u32` in the current scope [INFO] [stdout] --> src/NetworkEndianU32.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | u32::from_be(u32::from_bytes(self.0)).partial_cmp(&u32::from_be(u32::from_bytes(other.0))) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u32` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 16 - u32::from_be(u32::from_bytes(self.0)).partial_cmp(&u32::from_be(u32::from_bytes(other.0))) [INFO] [stdout] 16 + u32::from_be(u32::from_be(self.0)).partial_cmp(&u32::from_be(u32::from_bytes(other.0))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u32` in the current scope [INFO] [stdout] --> src/NetworkEndianU32.rs:16:72 [INFO] [stdout] | [INFO] [stdout] 16 | u32::from_be(u32::from_bytes(self.0)).partial_cmp(&u32::from_be(u32::from_bytes(other.0))) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u32` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 16 - u32::from_be(u32::from_bytes(self.0)).partial_cmp(&u32::from_be(u32::from_bytes(other.0))) [INFO] [stdout] 16 + u32::from_be(u32::from_bytes(self.0)).partial_cmp(&u32::from_be(u32::from_be(other.0))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `network-endian` (lib) due to 19 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u32` in the current scope [INFO] [stdout] --> src/NetworkEndianU32.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | u32::from_be(u32::from_bytes(self.0)).cmp(&u32::from_be(u32::from_bytes(other.0))) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u32` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 25 - u32::from_be(u32::from_bytes(self.0)).cmp(&u32::from_be(u32::from_bytes(other.0))) [INFO] [stdout] 25 + u32::from_be(u32::from_be(self.0)).cmp(&u32::from_be(u32::from_bytes(other.0))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u32` in the current scope [INFO] [stdout] --> src/NetworkEndianU32.rs:25:64 [INFO] [stdout] | [INFO] [stdout] 25 | u32::from_be(u32::from_bytes(self.0)).cmp(&u32::from_be(u32::from_bytes(other.0))) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u32` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 25 - u32::from_be(u32::from_bytes(self.0)).cmp(&u32::from_be(u32::from_bytes(other.0))) [INFO] [stdout] 25 + u32::from_be(u32::from_bytes(self.0)).cmp(&u32::from_be(u32::from_be(other.0))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_bytes` exists for type `u32`, but its trait bounds were not satisfied [INFO] [stdout] --> src/NetworkEndianU32.rs:116:42 [INFO] [stdout] | [INFO] [stdout] 116 | NetworkEndianU32(native_endian.to_be().to_bytes()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] `&mut u32: Default` [INFO] [stdout] `&u32: Default` [INFO] [stdout] --> src/NetworkEndian.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait NetworkEndian: Sized + Default + Debug + Copy + Clone + PartialOrd + Ord + PartialEq + Eq + Hash + Display + Serialize + Deseri... [INFO] [stdout] | ------------- ^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `NetworkEndian` defines an item `to_bytes`, perhaps you need to implement it [INFO] [stdout] --> src/NetworkEndian.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait NetworkEndian: Sized + Default + Debug + Copy + Clone + PartialOrd + Ord + PartialEq + Eq + Hash + Display + Serialize + DeserializeOwned [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u32` in the current scope [INFO] [stdout] --> src/NetworkEndianU32.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | u32::from_bytes(self.0) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u32` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 129 - u32::from_bytes(self.0) [INFO] [stdout] 129 + u32::from_be(self.0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u128` in the current scope [INFO] [stdout] --> src/NetworkEndianU128.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | u128::from_be(u128::from_bytes(self.0)).partial_cmp(&u128::from_be(u128::from_bytes(other.0))) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u128` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 16 - u128::from_be(u128::from_bytes(self.0)).partial_cmp(&u128::from_be(u128::from_bytes(other.0))) [INFO] [stdout] 16 + u128::from_be(u128::from_be(self.0)).partial_cmp(&u128::from_be(u128::from_bytes(other.0))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u128` in the current scope [INFO] [stdout] --> src/NetworkEndianU128.rs:16:76 [INFO] [stdout] | [INFO] [stdout] 16 | u128::from_be(u128::from_bytes(self.0)).partial_cmp(&u128::from_be(u128::from_bytes(other.0))) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u128` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 16 - u128::from_be(u128::from_bytes(self.0)).partial_cmp(&u128::from_be(u128::from_bytes(other.0))) [INFO] [stdout] 16 + u128::from_be(u128::from_bytes(self.0)).partial_cmp(&u128::from_be(u128::from_be(other.0))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u128` in the current scope [INFO] [stdout] --> src/NetworkEndianU128.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | u128::from_be(u128::from_bytes(self.0)).cmp(&u128::from_be(u128::from_bytes(other.0))) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u128` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 25 - u128::from_be(u128::from_bytes(self.0)).cmp(&u128::from_be(u128::from_bytes(other.0))) [INFO] [stdout] 25 + u128::from_be(u128::from_be(self.0)).cmp(&u128::from_be(u128::from_bytes(other.0))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u128` in the current scope [INFO] [stdout] --> src/NetworkEndianU128.rs:25:68 [INFO] [stdout] | [INFO] [stdout] 25 | u128::from_be(u128::from_bytes(self.0)).cmp(&u128::from_be(u128::from_bytes(other.0))) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u128` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 25 - u128::from_be(u128::from_bytes(self.0)).cmp(&u128::from_be(u128::from_bytes(other.0))) [INFO] [stdout] 25 + u128::from_be(u128::from_bytes(self.0)).cmp(&u128::from_be(u128::from_be(other.0))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_bytes` exists for type `u128`, but its trait bounds were not satisfied [INFO] [stdout] --> src/NetworkEndianU128.rs:113:43 [INFO] [stdout] | [INFO] [stdout] 113 | NetworkEndianU128(native_endian.to_be().to_bytes()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] `&mut u128: Default` [INFO] [stdout] `&u128: Default` [INFO] [stdout] --> src/NetworkEndian.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait NetworkEndian: Sized + Default + Debug + Copy + Clone + PartialOrd + Ord + PartialEq + Eq + Hash + Display + Serialize + Deseri... [INFO] [stdout] | ------------- ^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `NetworkEndian` defines an item `to_bytes`, perhaps you need to implement it [INFO] [stdout] --> src/NetworkEndian.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait NetworkEndian: Sized + Default + Debug + Copy + Clone + PartialOrd + Ord + PartialEq + Eq + Hash + Display + Serialize + DeserializeOwned [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u128` in the current scope [INFO] [stdout] --> src/NetworkEndianU128.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | u128::from_bytes(self.0) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u128` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 126 - u128::from_bytes(self.0) [INFO] [stdout] 126 + u128::from_be(self.0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `network-endian` (lib test) due to 19 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5e03c469e84951a639226c3128f9e72f61d7be69a3f042f7eb996adba8565d31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e03c469e84951a639226c3128f9e72f61d7be69a3f042f7eb996adba8565d31", kill_on_drop: false }` [INFO] [stdout] 5e03c469e84951a639226c3128f9e72f61d7be69a3f042f7eb996adba8565d31