[INFO] cloning repository https://github.com/Etto48/Cactus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Etto48/Cactus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEtto48%2FCactus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEtto48%2FCactus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9442d4cb09224f1195e9556b552372b1c604d120 [INFO] checking Etto48/Cactus/9442d4cb09224f1195e9556b552372b1c604d120 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEtto48%2FCactus" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Etto48/Cactus 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 git repo https://github.com/Etto48/Cactus [INFO] finished tweaking git repo https://github.com/Etto48/Cactus [INFO] tweaked toml for git repo https://github.com/Etto48/Cactus written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Etto48/Cactus already has a lockfile, it will not be regenerated [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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] bef0ebf91c204c115132d3f35daa4487d4482fa9be82e2289d02d1eec83cf869 [INFO] running `Command { std: "docker" "start" "-a" "bef0ebf91c204c115132d3f35daa4487d4482fa9be82e2289d02d1eec83cf869", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bef0ebf91c204c115132d3f35daa4487d4482fa9be82e2289d02d1eec83cf869", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bef0ebf91c204c115132d3f35daa4487d4482fa9be82e2289d02d1eec83cf869", kill_on_drop: false }` [INFO] [stdout] bef0ebf91c204c115132d3f35daa4487d4482fa9be82e2289d02d1eec83cf869 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 99ee2cd0249669b63defa0a3e880ca4f89e1909874e926284d50706cfdbe724b [INFO] running `Command { std: "docker" "start" "-a" "99ee2cd0249669b63defa0a3e880ca4f89e1909874e926284d50706cfdbe724b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking cactus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `nonce` [INFO] [stdout] --> src/network/framework.rs:80:28 [INFO] [stdout] | [INFO] [stdout] 80 | Packet::Pong { nonce } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `nonce: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/network/framework.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | if let Err(e) = Self::handle_packet(network.clone(), packet, addr) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/network/network.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Network { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Network` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/network/network.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 27 | let socket = UdpSocket::bind(config.bind_addr)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 31 | | socket, [INFO] [stdout] 32 | | routing_table: None, [INFO] [stdout] 33 | | config, [INFO] [stdout] 34 | | }) [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] | [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: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cactus` (lib) due to 2 previous errors; 3 warnings emitted [INFO] [stdout] warning: unused variable: `nonce` [INFO] [stdout] --> src/network/framework.rs:80:28 [INFO] [stdout] | [INFO] [stdout] 80 | Packet::Pong { nonce } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `nonce: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/network/framework.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | if let Err(e) = Self::handle_packet(network.clone(), packet, addr) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/network/network.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Network { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Network` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/network/network.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 27 | let socket = UdpSocket::bind(config.bind_addr)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 31 | | socket, [INFO] [stdout] 32 | | routing_table: None, [INFO] [stdout] 33 | | config, [INFO] [stdout] 34 | | }) [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] | [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: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cactus` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "99ee2cd0249669b63defa0a3e880ca4f89e1909874e926284d50706cfdbe724b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99ee2cd0249669b63defa0a3e880ca4f89e1909874e926284d50706cfdbe724b", kill_on_drop: false }` [INFO] [stdout] 99ee2cd0249669b63defa0a3e880ca4f89e1909874e926284d50706cfdbe724b