[INFO] fetching crate usb-gadget 0.7.2... [INFO] checking usb-gadget-0.7.2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate usb-gadget 0.7.2 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate usb-gadget 0.7.2 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate usb-gadget 0.7.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate usb-gadget 0.7.2 [INFO] tweaked toml for crates.io crate usb-gadget 0.7.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate usb-gadget 0.7.2 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75b5e5246831dfae1f8ff84a30214ddb2e492f8c3369dd537623f2d2ba0c5ed3 [INFO] running `Command { std: "docker" "start" "-a" "75b5e5246831dfae1f8ff84a30214ddb2e492f8c3369dd537623f2d2ba0c5ed3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75b5e5246831dfae1f8ff84a30214ddb2e492f8c3369dd537623f2d2ba0c5ed3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75b5e5246831dfae1f8ff84a30214ddb2e492f8c3369dd537623f2d2ba0c5ed3", kill_on_drop: false }` [INFO] [stdout] 75b5e5246831dfae1f8ff84a30214ddb2e492f8c3369dd537623f2d2ba0c5ed3 [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 -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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dab346b299e4c33ba09130348e76ef9665e389c4cbfee89b5cf22c4c321e173f [INFO] running `Command { std: "docker" "start" "-a" "dab346b299e4c33ba09130348e76ef9665e389c4cbfee89b5cf22c4c321e173f", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cc v1.0.100 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling rusb v0.9.4 [INFO] [stderr] Checking uuid v1.9.1 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking macaddr v1.0.1 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling libusb1-sys v0.7.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking partition-identity v0.3.0 [INFO] [stderr] Checking proc-mounts v0.3.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking usb-gadget v0.7.2 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/function/custom/aio/mod.rs:462:23 [INFO] [stdout] | [INFO] [stdout] 447 | aio: Arc, eventfd: EventFd, cmd_rx: mpsc::Receiver, done_tx: mpsc::Sender, [INFO] [stdout] | --- ------- ------ ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | [INFO] [stdout] | | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 453 | let mut active: HashMap = HashMap::new(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 462 | match cmd_rx.try_recv() { [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: this value of type `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/function/custom/aio/mod.rs:462:23 [INFO] [stdout] | [INFO] [stdout] 447 | aio: Arc, eventfd: EventFd, cmd_rx: mpsc::Receiver, done_tx: mpsc::Sender, [INFO] [stdout] | --- ------- ------ ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | [INFO] [stdout] | | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 453 | let mut active: HashMap = HashMap::new(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 462 | match cmd_rx.try_recv() { [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: this value of type `Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/function/util.rs:337:19 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn send(&self, value: T) -> Result<(), AlreadySentError> { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 337 | match self.0.lock().unwrap().take() { [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `usb-gadget` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/function/util.rs:337:19 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn send(&self, value: T) -> Result<(), AlreadySentError> { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 337 | match self.0.lock().unwrap().take() { [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `usb-gadget` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "dab346b299e4c33ba09130348e76ef9665e389c4cbfee89b5cf22c4c321e173f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dab346b299e4c33ba09130348e76ef9665e389c4cbfee89b5cf22c4c321e173f", kill_on_drop: false }` [INFO] [stdout] dab346b299e4c33ba09130348e76ef9665e389c4cbfee89b5cf22c4c321e173f