[INFO] fetching crate rips-packets 0.1.0... [INFO] checking rips-packets-0.1.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate rips-packets 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate rips-packets 0.1.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rips-packets 0.1.0 [INFO] finished tweaking crates.io crate rips-packets 0.1.0 [INFO] tweaked toml for crates.io crate rips-packets 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1ac9c8fd0b78d295049d635f137ae6042162ca13f763560b2e3ea7b6bc72b8f [INFO] running `Command { std: "docker" "start" "-a" "c1ac9c8fd0b78d295049d635f137ae6042162ca13f763560b2e3ea7b6bc72b8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1ac9c8fd0b78d295049d635f137ae6042162ca13f763560b2e3ea7b6bc72b8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1ac9c8fd0b78d295049d635f137ae6042162ca13f763560b2e3ea7b6bc72b8f", kill_on_drop: false }` [INFO] [stdout] c1ac9c8fd0b78d295049d635f137ae6042162ca13f763560b2e3ea7b6bc72b8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4898f111625457e2a0f5539df77bb46c81cb92417506502a225b4495d6f82b4 [INFO] running `Command { std: "docker" "start" "-a" "e4898f111625457e2a0f5539df77bb46c81cb92417506502a225b4495d6f82b4", kill_on_drop: false }` [INFO] [stderr] Checking rips-packets v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ethernet/macaddr.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ethernet/macaddr.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | (self as &fmt::Display).fmt(f) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 | (self as &dyn fmt::Display).fmt(f) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ethernet/macaddr.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ethernet/macaddr.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | (self as &fmt::Display).fmt(f) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 | (self as &dyn fmt::Display).fmt(f) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/macros.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type; [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | backing allocation comes from here [INFO] [stdout] | casting happend here [INFO] [stdout] 154 | unsafe { *ptr = $value }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ethernet/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | write_offset!(self.0, 12, ether_type.value(), u16, to_be) [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: casting from `u8` (1 bytes) to `u16` (2 bytes) [INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/macros.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type; [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | backing allocation comes from here [INFO] [stdout] | casting happend here [INFO] [stdout] 154 | unsafe { *ptr = $value }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/arp.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | write_offset!(self.0, 0, hardware_type.value(), u16, to_be) [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: casting from `u8` (1 bytes) to `u16` (2 bytes) [INFO] [stdout] = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/macros.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type; [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | backing allocation comes from here [INFO] [stdout] | casting happend here [INFO] [stdout] 154 | unsafe { *ptr = $value }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/arp.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | write_offset!(self.0, 2, protocol_type.value(), u16, to_be) [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: casting from `u8` (1 bytes) to `u16` (2 bytes) [INFO] [stdout] = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/macros.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type; [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | backing allocation comes from here [INFO] [stdout] | casting happend here [INFO] [stdout] 154 | unsafe { *ptr = $value }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/arp.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | write_offset!(self.0, 6, operation.value(), u16, to_be) [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: casting from `u8` (1 bytes) to `u16` (2 bytes) [INFO] [stdout] = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/macros.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type; [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | backing allocation comes from here [INFO] [stdout] | casting happend here [INFO] [stdout] 154 | unsafe { *ptr = $value }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ipv4.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | write_offset!(self.0, 2, total_length, u16, to_be); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: casting from `u8` (1 bytes) to `u16` (2 bytes) [INFO] [stdout] = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/macros.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type; [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | backing allocation comes from here [INFO] [stdout] | casting happend here [INFO] [stdout] 154 | unsafe { *ptr = $value }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ipv4.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | write_offset!(self.0, 4, identification, u16, to_be); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: casting from `u8` (1 bytes) to `u16` (2 bytes) [INFO] [stdout] = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/macros.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type; [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | backing allocation comes from here [INFO] [stdout] | casting happend here [INFO] [stdout] 154 | unsafe { *ptr = $value }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ipv4.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | write_offset!(self.0, 6, new_byte, u16, to_be); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: casting from `u8` (1 bytes) to `u16` (2 bytes) [INFO] [stdout] = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/macros.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type; [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | backing allocation comes from here [INFO] [stdout] | casting happend here [INFO] [stdout] 154 | unsafe { *ptr = $value }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ipv4.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | write_offset!(self.0, 10, checksum, u16, to_be); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: casting from `u8` (1 bytes) to `u16` (2 bytes) [INFO] [stdout] = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/macros.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type; [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | backing allocation comes from here [INFO] [stdout] | casting happend here [INFO] [stdout] 154 | unsafe { *ptr = $value }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ipv4.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | write_offset!(self.0, 12, source.octets(), [u8; 4]); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: casting from `u8` (1 bytes) to `[u8; 4]` (4 bytes) [INFO] [stdout] = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/macros.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type; [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | backing allocation comes from here [INFO] [stdout] | casting happend here [INFO] [stdout] 154 | unsafe { *ptr = $value }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ipv4.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | write_offset!(self.0, 16, destination.octets(), [u8; 4]); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: casting from `u8` (1 bytes) to `[u8; 4]` (4 bytes) [INFO] [stdout] = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/macros.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type; [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | backing allocation comes from here [INFO] [stdout] | casting happend here [INFO] [stdout] 154 | unsafe { *ptr = $value }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ipv6.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | write_offset!(self.0, 4, payload_length, u16, to_be); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: casting from `u8` (1 bytes) to `u16` (2 bytes) [INFO] [stdout] = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/macros.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type; [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | backing allocation comes from here [INFO] [stdout] | casting happend here [INFO] [stdout] 154 | unsafe { *ptr = $value }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ipv6.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | write_offset!(self.0, 8, source.octets(), [u8; 16]); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: casting from `u8` (1 bytes) to `[u8; 16]` (16 bytes) [INFO] [stdout] = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/macros.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type; [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | backing allocation comes from here [INFO] [stdout] | casting happend here [INFO] [stdout] 154 | unsafe { *ptr = $value }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ipv6.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | write_offset!(self.0, 24, destination.octets(), [u8; 16]); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: casting from `u8` (1 bytes) to `[u8; 16]` (16 bytes) [INFO] [stdout] = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rips-packets` (lib) due to 14 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/macros.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type; [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | backing allocation comes from here [INFO] [stdout] | casting happend here [INFO] [stdout] 154 | unsafe { *ptr = $value }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ethernet/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | write_offset!(self.0, 12, ether_type.value(), u16, to_be) [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: casting from `u8` (1 bytes) to `u16` (2 bytes) [INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/macros.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type; [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | backing allocation comes from here [INFO] [stdout] | casting happend here [INFO] [stdout] 154 | unsafe { *ptr = $value }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/arp.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | write_offset!(self.0, 0, hardware_type.value(), u16, to_be) [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: casting from `u8` (1 bytes) to `u16` (2 bytes) [INFO] [stdout] = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/macros.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type; [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | backing allocation comes from here [INFO] [stdout] | casting happend here [INFO] [stdout] 154 | unsafe { *ptr = $value }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/arp.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | write_offset!(self.0, 2, protocol_type.value(), u16, to_be) [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: casting from `u8` (1 bytes) to `u16` (2 bytes) [INFO] [stdout] = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/macros.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type; [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | backing allocation comes from here [INFO] [stdout] | casting happend here [INFO] [stdout] 154 | unsafe { *ptr = $value }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/arp.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | write_offset!(self.0, 6, operation.value(), u16, to_be) [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: casting from `u8` (1 bytes) to `u16` (2 bytes) [INFO] [stdout] = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/macros.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type; [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | backing allocation comes from here [INFO] [stdout] | casting happend here [INFO] [stdout] 154 | unsafe { *ptr = $value }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ipv4.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | write_offset!(self.0, 2, total_length, u16, to_be); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: casting from `u8` (1 bytes) to `u16` (2 bytes) [INFO] [stdout] = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/macros.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type; [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | backing allocation comes from here [INFO] [stdout] | casting happend here [INFO] [stdout] 154 | unsafe { *ptr = $value }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ipv4.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | write_offset!(self.0, 4, identification, u16, to_be); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: casting from `u8` (1 bytes) to `u16` (2 bytes) [INFO] [stdout] = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/macros.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type; [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | backing allocation comes from here [INFO] [stdout] | casting happend here [INFO] [stdout] 154 | unsafe { *ptr = $value }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ipv4.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | write_offset!(self.0, 6, new_byte, u16, to_be); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: casting from `u8` (1 bytes) to `u16` (2 bytes) [INFO] [stdout] = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/macros.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type; [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | backing allocation comes from here [INFO] [stdout] | casting happend here [INFO] [stdout] 154 | unsafe { *ptr = $value }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ipv4.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | write_offset!(self.0, 10, checksum, u16, to_be); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: casting from `u8` (1 bytes) to `u16` (2 bytes) [INFO] [stdout] = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/macros.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type; [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | backing allocation comes from here [INFO] [stdout] | casting happend here [INFO] [stdout] 154 | unsafe { *ptr = $value }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ipv4.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | write_offset!(self.0, 12, source.octets(), [u8; 4]); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: casting from `u8` (1 bytes) to `[u8; 4]` (4 bytes) [INFO] [stdout] = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/macros.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type; [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | backing allocation comes from here [INFO] [stdout] | casting happend here [INFO] [stdout] 154 | unsafe { *ptr = $value }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ipv4.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | write_offset!(self.0, 16, destination.octets(), [u8; 4]); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: casting from `u8` (1 bytes) to `[u8; 4]` (4 bytes) [INFO] [stdout] = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/macros.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type; [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | backing allocation comes from here [INFO] [stdout] | casting happend here [INFO] [stdout] 154 | unsafe { *ptr = $value }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ipv6.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | write_offset!(self.0, 4, payload_length, u16, to_be); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: casting from `u8` (1 bytes) to `u16` (2 bytes) [INFO] [stdout] = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/macros.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type; [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | backing allocation comes from here [INFO] [stdout] | casting happend here [INFO] [stdout] 154 | unsafe { *ptr = $value }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ipv6.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | write_offset!(self.0, 8, source.octets(), [u8; 16]); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: casting from `u8` (1 bytes) to `[u8; 16]` (16 bytes) [INFO] [stdout] = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/macros.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type; [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | backing allocation comes from here [INFO] [stdout] | casting happend here [INFO] [stdout] 154 | unsafe { *ptr = $value }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ipv6.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | write_offset!(self.0, 24, destination.octets(), [u8; 16]); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: casting from `u8` (1 bytes) to `[u8; 16]` (16 bytes) [INFO] [stdout] = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rips-packets` (lib test) due to 14 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e4898f111625457e2a0f5539df77bb46c81cb92417506502a225b4495d6f82b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4898f111625457e2a0f5539df77bb46c81cb92417506502a225b4495d6f82b4", kill_on_drop: false }` [INFO] [stdout] e4898f111625457e2a0f5539df77bb46c81cb92417506502a225b4495d6f82b4 [INFO] checking rips-packets-0.1.0 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] extracting crate rips-packets 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate rips-packets 0.1.0 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rips-packets 0.1.0 [INFO] finished tweaking crates.io crate rips-packets 0.1.0 [INFO] tweaked toml for crates.io crate rips-packets 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6891596951b57d17f0d71f1b9fde246fec04343a8d8680d60dcfdf2477b3ea9 [INFO] running `Command { std: "docker" "start" "-a" "f6891596951b57d17f0d71f1b9fde246fec04343a8d8680d60dcfdf2477b3ea9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6891596951b57d17f0d71f1b9fde246fec04343a8d8680d60dcfdf2477b3ea9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6891596951b57d17f0d71f1b9fde246fec04343a8d8680d60dcfdf2477b3ea9", kill_on_drop: false }` [INFO] [stdout] f6891596951b57d17f0d71f1b9fde246fec04343a8d8680d60dcfdf2477b3ea9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83098793eefb35f41a47e8287ee97906c1273bd9ce89998a82d555617b7fb275 [INFO] running `Command { std: "docker" "start" "-a" "83098793eefb35f41a47e8287ee97906c1273bd9ce89998a82d555617b7fb275", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "83098793eefb35f41a47e8287ee97906c1273bd9ce89998a82d555617b7fb275", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83098793eefb35f41a47e8287ee97906c1273bd9ce89998a82d555617b7fb275", kill_on_drop: false }` [INFO] [stdout] 83098793eefb35f41a47e8287ee97906c1273bd9ce89998a82d555617b7fb275