[INFO] fetching crate unbounded-spsc 0.1.9... [INFO] checking unbounded-spsc-0.1.9 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate unbounded-spsc 0.1.9 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate unbounded-spsc 0.1.9 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 unbounded-spsc 0.1.9 [INFO] finished tweaking crates.io crate unbounded-spsc 0.1.9 [INFO] tweaked toml for crates.io crate unbounded-spsc 0.1.9 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate unbounded-spsc 0.1.9 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 61025e2994ec33d97e7e52dbc88c73b3a6433813426c5c0855eae37aeb64a355 [INFO] running `Command { std: "docker" "start" "-a" "61025e2994ec33d97e7e52dbc88c73b3a6433813426c5c0855eae37aeb64a355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61025e2994ec33d97e7e52dbc88c73b3a6433813426c5c0855eae37aeb64a355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61025e2994ec33d97e7e52dbc88c73b3a6433813426c5c0855eae37aeb64a355", kill_on_drop: false }` [INFO] [stdout] 61025e2994ec33d97e7e52dbc88c73b3a6433813426c5c0855eae37aeb64a355 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ab3ffecae119e5d4d933a834d3f6b4ac709e52d409f0f655d6c4e1ee88a8fd0b [INFO] running `Command { std: "docker" "start" "-a" "ab3ffecae119e5d4d933a834d3f6b4ac709e52d409f0f655d6c4e1ee88a8fd0b", kill_on_drop: false }` [INFO] [stderr] Checking bounded-spsc-queue v0.4.0 [INFO] [stderr] Checking unbounded-spsc v0.1.9 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `select::Select` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/select.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | let sel = Select::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | let (tx1, rx1) = channel::(); [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] 286 | let (tx2, rx2) = channel::(); [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] 287 | tx1.send (1).unwrap(); [INFO] [stdout] 288 | / select! { [INFO] [stdout] 289 | | foo = rx1.recv() => { assert_eq!(foo.unwrap(), 1); }, [INFO] [stdout] 290 | | _bar = rx2.recv() => panic!() [INFO] [stdout] 291 | | } [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `select` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `select::Select` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/select.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | let sel = Select::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | let (_tx1, rx1) = channel::(); [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] 311 | let (_tx2, rx2) = channel::(); [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] 312 | let (_tx3, rx3) = channel::(); [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] 313 | let (_tx4, rx4) = channel::(); [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] 314 | let (tx5, rx5) = channel::(); [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] 315 | tx5.send (4).unwrap(); [INFO] [stdout] 316 | / select! { [INFO] [stdout] 317 | | _foo = rx1.recv() => panic!("1"), [INFO] [stdout] 318 | | _foo = rx2.recv() => panic!("2"), [INFO] [stdout] 319 | | _foo = rx3.recv() => panic!("3"), [INFO] [stdout] 320 | | _foo = rx4.recv() => panic!("4"), [INFO] [stdout] 321 | | foo = rx5.recv() => { assert_eq!(foo.unwrap(), 4); } [INFO] [stdout] 322 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `select` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `select::Select` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/select.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | let sel = Select::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | let (_tx1, rx1) = channel::(); [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] 328 | let (tx2, rx2) = channel::(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 331 | / select! { [INFO] [stdout] 332 | | _a1 = rx1.recv() => panic!(), [INFO] [stdout] 333 | | a2 = rx2.recv() => { assert!(a2.is_err()); } [INFO] [stdout] 334 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `select` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `select::Select` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/select.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | let sel = Select::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | let (tx1, rx1) = channel::(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 340 | let (_tx2, rx2) = channel::(); [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] 341 | let (tx3, rx3) = channel::(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 342 | [INFO] [stdout] 343 | let _t = std::thread::spawn(move|| { [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 350 | / select! { [INFO] [stdout] 351 | | a = rx1.recv() => { assert_eq!(a.unwrap(), 1); }, [INFO] [stdout] 352 | | _b = rx2.recv() => panic!() [INFO] [stdout] 353 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `select` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:140:11 [INFO] [stdout] | [INFO] [stdout] 136 | let (wait_token, signal_token) = blocking::tokens(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 140 | match self.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] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:213:11 [INFO] [stdout] | [INFO] [stdout] 205 | let (wait_token, signal_token) = blocking::tokens(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 213 | match self.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] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:140:11 [INFO] [stdout] | [INFO] [stdout] 136 | let (wait_token, signal_token) = blocking::tokens(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 140 | match self.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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:213:11 [INFO] [stdout] | [INFO] [stdout] 205 | let (wait_token, signal_token) = blocking::tokens(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 213 | match self.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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `unbounded-spsc` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `unbounded-spsc` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "ab3ffecae119e5d4d933a834d3f6b4ac709e52d409f0f655d6c4e1ee88a8fd0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab3ffecae119e5d4d933a834d3f6b4ac709e52d409f0f655d6c4e1ee88a8fd0b", kill_on_drop: false }` [INFO] [stdout] ab3ffecae119e5d4d933a834d3f6b4ac709e52d409f0f655d6c4e1ee88a8fd0b