[INFO] fetching crate slmp_client 0.2.1... [INFO] checking slmp_client-0.2.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate slmp_client 0.2.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate slmp_client 0.2.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 slmp_client 0.2.1 [INFO] finished tweaking crates.io crate slmp_client 0.2.1 [INFO] tweaked toml for crates.io crate slmp_client 0.2.1 written to /workspace/builds/worker-3-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] Updating crates.io index [INFO] [stderr] Locking 24 packages to latest compatible versions [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 97186315c333f9545b8abbaf65795226aeb2d4f0de12a68e34ec960ce8775d32 [INFO] running `Command { std: "docker" "start" "-a" "97186315c333f9545b8abbaf65795226aeb2d4f0de12a68e34ec960ce8775d32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97186315c333f9545b8abbaf65795226aeb2d4f0de12a68e34ec960ce8775d32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97186315c333f9545b8abbaf65795226aeb2d4f0de12a68e34ec960ce8775d32", kill_on_drop: false }` [INFO] [stdout] 97186315c333f9545b8abbaf65795226aeb2d4f0de12a68e34ec960ce8775d32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 38632485290e121929423684efa21106deafe41aa4394aa93cb2c2e964394309 [INFO] running `Command { std: "docker" "start" "-a" "38632485290e121929423684efa21106deafe41aa4394aa93cb2c2e964394309", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking slmp_client v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `f_type` and `reserved2` are never read [INFO] [stdout] --> src/structs/headers.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct SlmpMTHeader { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 3 | /// フレームタイプ [INFO] [stdout] 4 | pub f_type: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | pub reserved2: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reserved1` is never read [INFO] [stdout] --> src/structs/headers.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct SlmpSubHeaderRes { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | pub reserved1: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/structs/headers.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl SlmpSubHeaderReq { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn from(buf: [u8; 9]) -> SlmpSubHeaderReq { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SlmpSubHeaderOd` is never constructed [INFO] [stdout] --> src/structs/headers.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct SlmpSubHeaderOd { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/structs/headers.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl SlmpSubHeaderOd { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn from(buf: &[u8]) -> SlmpSubHeaderOd { [INFO] [stdout] | ^^^^ [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/structs/mod.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 89 | let stream = TcpStream::connect(addr).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | SLMPConnectionInfo { [INFO] [stdout] 91 | socket: Some(TCPorUDP::TCP(stream)), [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/structs/mod.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 89 | let stream = TcpStream::connect(addr).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | ..SLMPConnectionInfo::default() [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structs/mod.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 101 | let socket = UdpSocket::bind("0.0.0.0:0").unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 102 | SLMPConnectionInfo { [INFO] [stdout] 103 | socket: Some(TCPorUDP::UDP(socket, addr)), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structs/mod.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 101 | let socket = UdpSocket::bind("0.0.0.0:0").unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | ..SLMPConnectionInfo::default() [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 4 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `slmp_client` (lib) due to 5 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `f_type` and `reserved2` are never read [INFO] [stdout] --> src/structs/headers.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct SlmpMTHeader { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 3 | /// フレームタイプ [INFO] [stdout] 4 | pub f_type: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | pub reserved2: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reserved1` is never read [INFO] [stdout] --> src/structs/headers.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct SlmpSubHeaderRes { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | pub reserved1: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/structs/headers.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl SlmpSubHeaderReq { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn from(buf: [u8; 9]) -> SlmpSubHeaderReq { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SlmpSubHeaderOd` is never constructed [INFO] [stdout] --> src/structs/headers.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct SlmpSubHeaderOd { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/structs/headers.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl SlmpSubHeaderOd { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn from(buf: &[u8]) -> SlmpSubHeaderOd { [INFO] [stdout] | ^^^^ [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/structs/mod.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 89 | let stream = TcpStream::connect(addr).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | SLMPConnectionInfo { [INFO] [stdout] 91 | socket: Some(TCPorUDP::TCP(stream)), [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/structs/mod.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 89 | let stream = TcpStream::connect(addr).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | ..SLMPConnectionInfo::default() [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structs/mod.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 101 | let socket = UdpSocket::bind("0.0.0.0:0").unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 102 | SLMPConnectionInfo { [INFO] [stdout] 103 | socket: Some(TCPorUDP::UDP(socket, addr)), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structs/mod.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 101 | let socket = UdpSocket::bind("0.0.0.0:0").unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | ..SLMPConnectionInfo::default() [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 4 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `slmp_client` (lib test) due to 5 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "38632485290e121929423684efa21106deafe41aa4394aa93cb2c2e964394309", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38632485290e121929423684efa21106deafe41aa4394aa93cb2c2e964394309", kill_on_drop: false }` [INFO] [stdout] 38632485290e121929423684efa21106deafe41aa4394aa93cb2c2e964394309