[INFO] crate network-endian 0.1.5 is already in cache [INFO] testing network-endian-0.1.5 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate network-endian 0.1.5 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate network-endian 0.1.5 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", 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-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 36280426174fca9be2b99a0cfb977ec61ae1f659c010ed5ec95ed2aacfbcd2b2 [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" "36280426174fca9be2b99a0cfb977ec61ae1f659c010ed5ec95ed2aacfbcd2b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36280426174fca9be2b99a0cfb977ec61ae1f659c010ed5ec95ed2aacfbcd2b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36280426174fca9be2b99a0cfb977ec61ae1f659c010ed5ec95ed2aacfbcd2b2", kill_on_drop: false }` [INFO] [stdout] 36280426174fca9be2b99a0cfb977ec61ae1f659c010ed5ec95ed2aacfbcd2b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d59b672a22cd3583f63bb91cd4d526957cd6d34516d892f392e556a8dc5d640e [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" "d59b672a22cd3583f63bb91cd4d526957cd6d34516d892f392e556a8dc5d640e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling network-endian v0.1.5 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `u16` [INFO] [stdout] | help: there is an associated function with a similar name: `from_be` [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] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `u16` [INFO] [stdout] | help: there is an associated function with a similar name: `from_be` [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] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `u16` [INFO] [stdout] | help: there is an associated function with a similar name: `from_be` [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] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `u16` [INFO] [stdout] | help: there is an associated function with a similar name: `from_be` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for type `u16` in the current scope [INFO] [stdout] --> src/NetworkEndianU16.rs:113:42 [INFO] [stdout] | [INFO] [stdout] 113 | NetworkEndianU16(native_endian.to_be().to_bytes()) [INFO] [stdout] | ^^^^^^^^ method not found in `u16` [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `u16` [INFO] [stdout] | help: there is an associated function with a similar name: `from_be` [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] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `u32` [INFO] [stdout] | help: there is an associated function with a similar name: `from_be` [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] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `u32` [INFO] [stdout] | help: there is an associated function with a similar name: `from_be` [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] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `u32` [INFO] [stdout] | help: there is an associated function with a similar name: `from_be` [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] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `u32` [INFO] [stdout] | help: there is an associated function with a similar name: `from_be` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for type `u32` in the current scope [INFO] [stdout] --> src/NetworkEndianU32.rs:116:42 [INFO] [stdout] | [INFO] [stdout] 116 | NetworkEndianU32(native_endian.to_be().to_bytes()) [INFO] [stdout] | ^^^^^^^^ method not found in `u32` [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `u32` [INFO] [stdout] | help: there is an associated function with a similar name: `from_be` [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] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `u128` [INFO] [stdout] | help: there is an associated function with a similar name: `from_be` [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] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `u128` [INFO] [stdout] | help: there is an associated function with a similar name: `from_be` [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] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `u128` [INFO] [stdout] | help: there is an associated function with a similar name: `from_be` [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] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `u128` [INFO] [stdout] | help: there is an associated function with a similar name: `from_be` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for type `u128` in the current scope [INFO] [stdout] --> src/NetworkEndianU128.rs:113:43 [INFO] [stdout] | [INFO] [stdout] 113 | NetworkEndianU128(native_endian.to_be().to_bytes()) [INFO] [stdout] | ^^^^^^^^ method not found in `u128` [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `u128` [INFO] [stdout] | help: there is an associated function with a similar name: `from_be` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `network-endian`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "d59b672a22cd3583f63bb91cd4d526957cd6d34516d892f392e556a8dc5d640e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d59b672a22cd3583f63bb91cd4d526957cd6d34516d892f392e556a8dc5d640e", kill_on_drop: false }` [INFO] [stdout] d59b672a22cd3583f63bb91cd4d526957cd6d34516d892f392e556a8dc5d640e