[INFO] fetching crate taskstats 0.1.1... [INFO] checking taskstats-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate taskstats 0.1.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate taskstats 0.1.1 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate taskstats 0.1.1 [INFO] finished tweaking crates.io crate taskstats 0.1.1 [INFO] tweaked toml for crates.io crate taskstats 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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] Locking 17 packages to latest compatible versions [INFO] [stderr] Adding netlink-sys v0.2.0 (latest: v0.8.6) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding synstructure v0.12.6 (latest: v0.13.1) [INFO] [stderr] Adding zerocopy v0.3.2 (latest: v0.7.35) [INFO] [stderr] Adding zerocopy-derive v0.2.0 (latest: v0.7.35) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e33bfe09e7e4210be06ec4928ae0ffe7a2c0f03b090cfe00386965aae6a7287 [INFO] running `Command { std: "docker" "start" "-a" "1e33bfe09e7e4210be06ec4928ae0ffe7a2c0f03b090cfe00386965aae6a7287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e33bfe09e7e4210be06ec4928ae0ffe7a2c0f03b090cfe00386965aae6a7287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e33bfe09e7e4210be06ec4928ae0ffe7a2c0f03b090cfe00386965aae6a7287", kill_on_drop: false }` [INFO] [stdout] 1e33bfe09e7e4210be06ec4928ae0ffe7a2c0f03b090cfe00386965aae6a7287 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 338e6848a2ba57fcf8e5472a80ba73325659c3a0030d84ca6e0379bea3836d78 [INFO] running `Command { std: "docker" "start" "-a" "338e6848a2ba57fcf8e5472a80ba73325659c3a0030d84ca6e0379bea3836d78", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking netlink-sys v0.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling zerocopy-derive v0.2.0 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking zerocopy v0.3.2 [INFO] [stderr] Checking taskstats v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/conn.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 34 | let mut socket = Socket::new(Protocol::Generic)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 38 | | socket, [INFO] [stdout] 39 | | pid: addr.port_number(), [INFO] [stdout] 40 | | seq: 0, [INFO] [stdout] 41 | | buffer: Box::new(Buffer([0; BUFFER_SIZE])), [INFO] [stdout] 42 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/conn.rs:116:29 [INFO] [stdout] | [INFO] [stdout] 116 | family_id.ok_or(Error::Unavailable) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/listener.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn register(mut conn: TaskstatsConnection, cpu_mask: Box) -> Result { [INFO] [stdout] | ----------------------------- ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | do_register(&mut conn, &cpu_mask)?; [INFO] [stdout] 24 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 25 | | conn: Some(conn), [INFO] [stdout] 26 | | cpu_mask, [INFO] [stdout] 27 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `taskstats` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/conn.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 34 | let mut socket = Socket::new(Protocol::Generic)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 38 | | socket, [INFO] [stdout] 39 | | pid: addr.port_number(), [INFO] [stdout] 40 | | seq: 0, [INFO] [stdout] 41 | | buffer: Box::new(Buffer([0; BUFFER_SIZE])), [INFO] [stdout] 42 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/conn.rs:116:29 [INFO] [stdout] | [INFO] [stdout] 116 | family_id.ok_or(Error::Unavailable) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/genetlink/raw.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | unsafe { &(*(null::())).cmd as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/genetlink/raw.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | unsafe { &(*(null::())).version as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/genetlink/raw.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | unsafe { &(*(null::())).reserved as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/listener.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn register(mut conn: TaskstatsConnection, cpu_mask: Box) -> Result { [INFO] [stdout] | ----------------------------- ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | do_register(&mut conn, &cpu_mask)?; [INFO] [stdout] 24 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 25 | | conn: Some(conn), [INFO] [stdout] 26 | | cpu_mask, [INFO] [stdout] 27 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/netlink/raw.rs:206:23 [INFO] [stdout] | [INFO] [stdout] 206 | unsafe { &(*(null::())).nl_family as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/netlink/raw.rs:211:23 [INFO] [stdout] | [INFO] [stdout] 211 | unsafe { &(*(null::())).nl_pad as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/netlink/raw.rs:216:23 [INFO] [stdout] | [INFO] [stdout] 216 | unsafe { &(*(null::())).nl_pid as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/netlink/raw.rs:221:23 [INFO] [stdout] | [INFO] [stdout] 221 | unsafe { &(*(null::())).nl_groups as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/netlink/raw.rs:232:23 [INFO] [stdout] | [INFO] [stdout] 232 | unsafe { &(*(null::())).nlmsg_len as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/netlink/raw.rs:237:23 [INFO] [stdout] | [INFO] [stdout] 237 | unsafe { &(*(null::())).nlmsg_type as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/netlink/raw.rs:242:23 [INFO] [stdout] | [INFO] [stdout] 242 | unsafe { &(*(null::())).nlmsg_flags as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/netlink/raw.rs:247:23 [INFO] [stdout] | [INFO] [stdout] 247 | unsafe { &(*(null::())).nlmsg_seq as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/netlink/raw.rs:252:23 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe { &(*(null::())).nlmsg_pid as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/netlink/raw.rs:263:23 [INFO] [stdout] | [INFO] [stdout] 263 | unsafe { &(*(null::())).error as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/netlink/raw.rs:268:23 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe { &(*(null::())).msg as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/netlink/raw.rs:279:23 [INFO] [stdout] | [INFO] [stdout] 279 | unsafe { &(*(null::())).group as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/netlink/raw.rs:294:23 [INFO] [stdout] | [INFO] [stdout] 294 | unsafe { &(*(null::())).nm_block_size as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/netlink/raw.rs:299:23 [INFO] [stdout] | [INFO] [stdout] 299 | unsafe { &(*(null::())).nm_block_nr as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/netlink/raw.rs:304:23 [INFO] [stdout] | [INFO] [stdout] 304 | unsafe { &(*(null::())).nm_frame_size as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/netlink/raw.rs:309:23 [INFO] [stdout] | [INFO] [stdout] 309 | unsafe { &(*(null::())).nm_frame_nr as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/netlink/raw.rs:324:23 [INFO] [stdout] | [INFO] [stdout] 324 | unsafe { &(*(null::())).nm_status as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/netlink/raw.rs:329:23 [INFO] [stdout] | [INFO] [stdout] 329 | unsafe { &(*(null::())).nm_len as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/netlink/raw.rs:334:23 [INFO] [stdout] | [INFO] [stdout] 334 | unsafe { &(*(null::())).nm_group as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/netlink/raw.rs:339:23 [INFO] [stdout] | [INFO] [stdout] 339 | unsafe { &(*(null::())).nm_pid as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/netlink/raw.rs:344:23 [INFO] [stdout] | [INFO] [stdout] 344 | unsafe { &(*(null::())).nm_uid as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/netlink/raw.rs:349:23 [INFO] [stdout] | [INFO] [stdout] 349 | unsafe { &(*(null::())).nm_gid as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/netlink/raw.rs:360:23 [INFO] [stdout] | [INFO] [stdout] 360 | unsafe { &(*(null::())).nla_len as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/netlink/raw.rs:365:23 [INFO] [stdout] | [INFO] [stdout] 365 | unsafe { &(*(null::())).nla_type as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/netlink/raw.rs:384:23 [INFO] [stdout] | [INFO] [stdout] 384 | unsafe { &(*(null::())).value as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/netlink/raw.rs:389:23 [INFO] [stdout] | [INFO] [stdout] 389 | unsafe { &(*(null::())).selector as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | unsafe { &(*(null::())).version as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 108 | unsafe { &(*(null::())).ac_exitcode as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:113:23 [INFO] [stdout] | [INFO] [stdout] 113 | unsafe { &(*(null::())).ac_flag as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 118 | unsafe { &(*(null::())).ac_nice as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | unsafe { &(*(null::())).cpu_count as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:128:23 [INFO] [stdout] | [INFO] [stdout] 128 | unsafe { &(*(null::())).cpu_delay_total as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 133 | unsafe { &(*(null::())).blkio_count as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | unsafe { &(*(null::())).blkio_delay_total as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:143:23 [INFO] [stdout] | [INFO] [stdout] 143 | unsafe { &(*(null::())).swapin_count as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:148:23 [INFO] [stdout] | [INFO] [stdout] 148 | unsafe { &(*(null::())).swapin_delay_total as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | unsafe { &(*(null::())).cpu_run_real_total as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:158:23 [INFO] [stdout] | [INFO] [stdout] 158 | unsafe { &(*(null::())).cpu_run_virtual_total as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:163:23 [INFO] [stdout] | [INFO] [stdout] 163 | unsafe { &(*(null::())).ac_comm as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | unsafe { &(*(null::())).ac_sched as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:173:23 [INFO] [stdout] | [INFO] [stdout] 173 | unsafe { &(*(null::())).ac_pad as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:178:23 [INFO] [stdout] | [INFO] [stdout] 178 | unsafe { &(*(null::())).ac_uid as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:183:23 [INFO] [stdout] | [INFO] [stdout] 183 | unsafe { &(*(null::())).ac_gid as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:188:23 [INFO] [stdout] | [INFO] [stdout] 188 | unsafe { &(*(null::())).ac_pid as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:193:23 [INFO] [stdout] | [INFO] [stdout] 193 | unsafe { &(*(null::())).ac_ppid as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:198:23 [INFO] [stdout] | [INFO] [stdout] 198 | unsafe { &(*(null::())).ac_btime as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:203:23 [INFO] [stdout] | [INFO] [stdout] 203 | unsafe { &(*(null::())).ac_etime as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:208:23 [INFO] [stdout] | [INFO] [stdout] 208 | unsafe { &(*(null::())).ac_utime as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:213:23 [INFO] [stdout] | [INFO] [stdout] 213 | unsafe { &(*(null::())).ac_stime as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:218:23 [INFO] [stdout] | [INFO] [stdout] 218 | unsafe { &(*(null::())).ac_minflt as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:223:23 [INFO] [stdout] | [INFO] [stdout] 223 | unsafe { &(*(null::())).ac_majflt as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | unsafe { &(*(null::())).coremem as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:233:23 [INFO] [stdout] | [INFO] [stdout] 233 | unsafe { &(*(null::())).virtmem as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:238:23 [INFO] [stdout] | [INFO] [stdout] 238 | unsafe { &(*(null::())).hiwater_rss as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:243:23 [INFO] [stdout] | [INFO] [stdout] 243 | unsafe { &(*(null::())).hiwater_vm as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:248:23 [INFO] [stdout] | [INFO] [stdout] 248 | unsafe { &(*(null::())).read_char as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:253:23 [INFO] [stdout] | [INFO] [stdout] 253 | unsafe { &(*(null::())).write_char as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:258:23 [INFO] [stdout] | [INFO] [stdout] 258 | unsafe { &(*(null::())).read_syscalls as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:263:23 [INFO] [stdout] | [INFO] [stdout] 263 | unsafe { &(*(null::())).write_syscalls as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:268:23 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe { &(*(null::())).read_bytes as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:273:23 [INFO] [stdout] | [INFO] [stdout] 273 | unsafe { &(*(null::())).write_bytes as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:278:23 [INFO] [stdout] | [INFO] [stdout] 278 | unsafe { &(*(null::())).cancelled_write_bytes as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:283:23 [INFO] [stdout] | [INFO] [stdout] 283 | unsafe { &(*(null::())).nvcsw as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:288:23 [INFO] [stdout] | [INFO] [stdout] 288 | unsafe { &(*(null::())).nivcsw as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:293:23 [INFO] [stdout] | [INFO] [stdout] 293 | unsafe { &(*(null::())).ac_utimescaled as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:298:23 [INFO] [stdout] | [INFO] [stdout] 298 | unsafe { &(*(null::())).ac_stimescaled as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:303:23 [INFO] [stdout] | [INFO] [stdout] 303 | unsafe { &(*(null::())).cpu_scaled_run_real_total as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:308:23 [INFO] [stdout] | [INFO] [stdout] 308 | unsafe { &(*(null::())).freepages_count as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:313:23 [INFO] [stdout] | [INFO] [stdout] 313 | unsafe { &(*(null::())).freepages_delay_total as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:318:23 [INFO] [stdout] | [INFO] [stdout] 318 | unsafe { &(*(null::())).thrashing_count as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/raw.rs:323:23 [INFO] [stdout] | [INFO] [stdout] 323 | unsafe { &(*(null::())).thrashing_delay_total as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 74 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `taskstats` (lib test) due to 4 previous errors; 74 warnings emitted [INFO] running `Command { std: "docker" "inspect" "338e6848a2ba57fcf8e5472a80ba73325659c3a0030d84ca6e0379bea3836d78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "338e6848a2ba57fcf8e5472a80ba73325659c3a0030d84ca6e0379bea3836d78", kill_on_drop: false }` [INFO] [stdout] 338e6848a2ba57fcf8e5472a80ba73325659c3a0030d84ca6e0379bea3836d78