[INFO] cloning repository https://github.com/chenyuanrun/nbdsrv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chenyuanrun/nbdsrv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchenyuanrun%2Fnbdsrv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchenyuanrun%2Fnbdsrv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 61bbb5557335ad06a2923b7738e715f00cb043b2 [INFO] checking chenyuanrun/nbdsrv/61bbb5557335ad06a2923b7738e715f00cb043b2 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%2Fchenyuanrun%2Fnbdsrv" "/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/chenyuanrun/nbdsrv 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/chenyuanrun/nbdsrv [INFO] finished tweaking git repo https://github.com/chenyuanrun/nbdsrv [INFO] tweaked toml for git repo https://github.com/chenyuanrun/nbdsrv written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/chenyuanrun/nbdsrv 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] 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] 52459fba3ab2a04cba66c84084c89e912823f814902f0f84de36f6cf61eb5df7 [INFO] running `Command { std: "docker" "start" "-a" "52459fba3ab2a04cba66c84084c89e912823f814902f0f84de36f6cf61eb5df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52459fba3ab2a04cba66c84084c89e912823f814902f0f84de36f6cf61eb5df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52459fba3ab2a04cba66c84084c89e912823f814902f0f84de36f6cf61eb5df7", kill_on_drop: false }` [INFO] [stdout] 52459fba3ab2a04cba66c84084c89e912823f814902f0f84de36f6cf61eb5df7 [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] 3fc080efcfe8dd9dee5551fa387853c6a1e3c9673ad96e8526893b6f8930c607 [INFO] running `Command { std: "docker" "start" "-a" "3fc080efcfe8dd9dee5551fa387853c6a1e3c9673ad96e8526893b6f8930c607", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling ctor v0.2.7 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking nbdsrv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/server.rs:264:40 [INFO] [stdout] | [INFO] [stdout] 264 | async fn handle_request(&mut self, req: Request, sock: &mut TcpStream) -> IoResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sock` [INFO] [stdout] --> src/server.rs:264:54 [INFO] [stdout] | [INFO] [stdout] 264 | async fn handle_request(&mut self, req: Request, sock: &mut TcpStream) -> IoResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/server.rs:264:40 [INFO] [stdout] | [INFO] [stdout] 264 | async fn handle_request(&mut self, req: Request, sock: &mut TcpStream) -> IoResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sock` [INFO] [stdout] --> src/server.rs:264:54 [INFO] [stdout] | [INFO] [stdout] 264 | async fn handle_request(&mut self, req: Request, sock: &mut TcpStream) -> IoResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt` [INFO] [stdout] --> src/server.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | opt: NbdOpt, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_opt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/server.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | data: Vec, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sock` [INFO] [stdout] --> src/server.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | sock: &mut TcpStream, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt` [INFO] [stdout] --> src/server.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | opt: NbdOpt, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_opt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/server.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | data: Vec, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sock` [INFO] [stdout] --> src/server.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | sock: &mut TcpStream, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sock` [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/driver/mod.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn register_driver(&mut self, constructor: T) { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | self.driver_constructors.push(Box::new(constructor)) [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/driver/mod.rs:52:50 [INFO] [stdout] | [INFO] [stdout] 52 | .map(|constructor| Driver::from_impl(constructor.construct(config))) [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/server.rs:139:54 [INFO] [stdout] | [INFO] [stdout] 139 | .flat_map(|(k, v)| v.iter().map(|image| (k.clone(), image.clone()))) [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/driver/mod.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn register_driver(&mut self, constructor: T) { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | self.driver_constructors.push(Box::new(constructor)) [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/driver/mod.rs:52:50 [INFO] [stdout] | [INFO] [stdout] 52 | .map(|constructor| Driver::from_impl(constructor.construct(config))) [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/server.rs:139:54 [INFO] [stdout] | [INFO] [stdout] 139 | .flat_map(|(k, v)| v.iter().map(|image| (k.clone(), image.clone()))) [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; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nbdsrv` (lib) due to 4 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `nbdsrv` (lib test) due to 4 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3fc080efcfe8dd9dee5551fa387853c6a1e3c9673ad96e8526893b6f8930c607", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fc080efcfe8dd9dee5551fa387853c6a1e3c9673ad96e8526893b6f8930c607", kill_on_drop: false }` [INFO] [stdout] 3fc080efcfe8dd9dee5551fa387853c6a1e3c9673ad96e8526893b6f8930c607