[INFO] fetching crate gree 0.1.1... [INFO] checking gree-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate gree 0.1.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate gree 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 gree 0.1.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate gree 0.1.1 [INFO] tweaked toml for crates.io crate gree 0.1.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate gree 0.1.1 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-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] 55f28215bde43bef477da43b85d32095ced54bf665ce509dc018bbf846d4ef47 [INFO] running `Command { std: "docker" "start" "-a" "55f28215bde43bef477da43b85d32095ced54bf665ce509dc018bbf846d4ef47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55f28215bde43bef477da43b85d32095ced54bf665ce509dc018bbf846d4ef47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55f28215bde43bef477da43b85d32095ced54bf665ce509dc018bbf846d4ef47", kill_on_drop: false }` [INFO] [stdout] 55f28215bde43bef477da43b85d32095ced54bf665ce509dc018bbf846d4ef47 [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] 8ce1a438c0d53331036c3d47efef8b6e044694816d9432de4e6a9c2617f6c8a4 [INFO] running `Command { std: "docker" "start" "-a" "8ce1a438c0d53331036c3d47efef8b6e044694816d9432de4e6a9c2617f6c8a4", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking cpufeatures v0.2.8 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking regex-syntax v0.7.2 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking rustls-pemfile v1.0.2 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking chunked_transfer v1.4.1 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking tiny_http v0.12.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking regex v1.8.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking aes v0.8.2 [INFO] [stderr] Checking headers v0.3.8 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Checking pin-project v1.1.0 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking gree v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking h2 v0.3.19 [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/sync_client.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 69 | let s = UdpSocket::bind(cfg.bind_addr)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | let sr = s.try_clone()?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | let (send, r) = std::sync::mpsc::channel(); [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] 74 | std::thread::spawn(move || if let Err(e) = Self::recv_loop(sr, send, cfg.buffer_size) { error!("Recv: {e}") }); [INFO] [stdout] 75 | Ok(Self { s, r, cfg }) [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] | 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] = 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/sync_client.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 227 | fn with_device(&self, target: &str, f: impl FnOnce(&Device) -> R) -> Result { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 230 | Ok(f(dev)) [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/sync_client.rs:263:12 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn with_state(&mut self, f: impl Fn(&GreeState) -> R) -> Result { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 262 | self.g.scan(false)?; [INFO] [stdout] 263 | Ok(f(&self.g.s)) [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/async_client.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 214 | fn with_device(&self, target: &str, f: impl FnOnce(&Device) -> R) -> Result { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 217 | Ok(f(dev)) [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: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gree` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "8ce1a438c0d53331036c3d47efef8b6e044694816d9432de4e6a9c2617f6c8a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ce1a438c0d53331036c3d47efef8b6e044694816d9432de4e6a9c2617f6c8a4", kill_on_drop: false }` [INFO] [stdout] 8ce1a438c0d53331036c3d47efef8b6e044694816d9432de4e6a9c2617f6c8a4