[INFO] fetching crate parking_lot_mpsc 0.1.5... [INFO] checking parking_lot_mpsc-0.1.5 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate parking_lot_mpsc 0.1.5 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate parking_lot_mpsc 0.1.5 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 parking_lot_mpsc 0.1.5 [INFO] finished tweaking crates.io crate parking_lot_mpsc 0.1.5 [INFO] tweaked toml for crates.io crate parking_lot_mpsc 0.1.5 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 15 packages to latest compatible versions [INFO] [stderr] Adding owning_ref v0.3.3 (available: v0.4.1) [INFO] [stderr] Adding parking_lot v0.4.8 (available: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.2.14 (available: v0.9.10) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] [stderr] Adding smallvec v0.6.14 (available: v1.13.2) [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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2ffa21ee87f580d1e5958cc4a4adb3904926fe665358b5dbf6371a790f904c4 [INFO] running `Command { std: "docker" "start" "-a" "b2ffa21ee87f580d1e5958cc4a4adb3904926fe665358b5dbf6371a790f904c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2ffa21ee87f580d1e5958cc4a4adb3904926fe665358b5dbf6371a790f904c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2ffa21ee87f580d1e5958cc4a4adb3904926fe665358b5dbf6371a790f904c4", kill_on_drop: false }` [INFO] [stdout] b2ffa21ee87f580d1e5958cc4a4adb3904926fe665358b5dbf6371a790f904c4 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3da47e4b95aa2892778829f53759f6b3d4ca5ca2b0f4e30866bd50ab253e06e8 [INFO] running `Command { std: "docker" "start" "-a" "3da47e4b95aa2892778829f53759f6b3d4ca5ca2b0f4e30866bd50ab253e06e8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking parking_lot v0.4.8 [INFO] [stderr] Checking parking_lot_mpsc v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/select.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | packet: &'rx (Packet+'rx), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 108 | packet: &'rx (dyn Packet+'rx), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1538:32 [INFO] [stdout] | [INFO] [stdout] 1538 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1538 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1578:32 [INFO] [stdout] | [INFO] [stdout] 1578 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1578 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/select.rs:390:34 [INFO] [stdout] | [INFO] [stdout] 390 | _bar = rx2.recv() => { panic!() } [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 390 - _bar = rx2.recv() => { panic!() } [INFO] [stdout] 390 + _bar = rx2.recv() => panic!() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/select.rs:394:34 [INFO] [stdout] | [INFO] [stdout] 394 | _foo = rx1.recv() => { panic!() }, [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 394 - _foo = rx1.recv() => { panic!() }, [INFO] [stdout] 394 + _foo = rx1.recv() => panic!(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/select.rs:395:33 [INFO] [stdout] | [INFO] [stdout] 395 | bar = rx2.recv() => { assert_eq!(bar.unwrap(), 2) } [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 395 - bar = rx2.recv() => { assert_eq!(bar.unwrap(), 2) } [INFO] [stdout] 395 + bar = rx2.recv() => assert_eq!(bar.unwrap(), 2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/select.rs:400:34 [INFO] [stdout] | [INFO] [stdout] 400 | _bar = rx2.recv() => { panic!() } [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 400 - _bar = rx2.recv() => { panic!() } [INFO] [stdout] 400 + _bar = rx2.recv() => panic!() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/select.rs:417:34 [INFO] [stdout] | [INFO] [stdout] 417 | _foo = rx1.recv() => { panic!("1") }, [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 417 - _foo = rx1.recv() => { panic!("1") }, [INFO] [stdout] 417 + _foo = rx1.recv() => panic!("1"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/select.rs:418:34 [INFO] [stdout] | [INFO] [stdout] 418 | _foo = rx2.recv() => { panic!("2") }, [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 418 - _foo = rx2.recv() => { panic!("2") }, [INFO] [stdout] 418 + _foo = rx2.recv() => panic!("2"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/select.rs:419:34 [INFO] [stdout] | [INFO] [stdout] 419 | _foo = rx3.recv() => { panic!("3") }, [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 419 - _foo = rx3.recv() => { panic!("3") }, [INFO] [stdout] 419 + _foo = rx3.recv() => panic!("3"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/select.rs:420:34 [INFO] [stdout] | [INFO] [stdout] 420 | _foo = rx4.recv() => { panic!("4") }, [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 420 - _foo = rx4.recv() => { panic!("4") }, [INFO] [stdout] 420 + _foo = rx4.recv() => panic!("4"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/select.rs:432:33 [INFO] [stdout] | [INFO] [stdout] 432 | _a1 = rx1.recv() => { panic!() }, [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 432 - _a1 = rx1.recv() => { panic!() }, [INFO] [stdout] 432 + _a1 = rx1.recv() => panic!(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/select.rs:452:32 [INFO] [stdout] | [INFO] [stdout] 452 | _b = rx2.recv() => { panic!() } [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 452 - _b = rx2.recv() => { panic!() } [INFO] [stdout] 452 + _b = rx2.recv() => panic!() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/select.rs:456:31 [INFO] [stdout] | [INFO] [stdout] 456 | a = rx1.recv() => { assert!(a.is_err()) }, [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 456 - a = rx1.recv() => { assert!(a.is_err()) }, [INFO] [stdout] 456 + a = rx1.recv() => assert!(a.is_err()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/select.rs:457:32 [INFO] [stdout] | [INFO] [stdout] 457 | _b = rx2.recv() => { panic!() } [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 457 - _b = rx2.recv() => { panic!() } [INFO] [stdout] 457 + _b = rx2.recv() => panic!() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1595:32 [INFO] [stdout] | [INFO] [stdout] 1595 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1595 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1626:32 [INFO] [stdout] | [INFO] [stdout] 1626 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1626 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1656:32 [INFO] [stdout] | [INFO] [stdout] 1656 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1656 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/select.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | packet: &'rx (Packet+'rx), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 108 | packet: &'rx (dyn Packet+'rx), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/oneshot.rs:155:27 [INFO] [stdout] | [INFO] [stdout] 155 | if self.state.compare_and_swap(EMPTY, ptr, Ordering::SeqCst) == EMPTY { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/oneshot.rs:187:32 [INFO] [stdout] | [INFO] [stdout] 187 | self.state.compare_and_swap(DATA, EMPTY, Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/oneshot.rs:308:30 [INFO] [stdout] | [INFO] [stdout] 308 | match self.state.compare_and_swap(EMPTY, ptr, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/oneshot.rs:356:31 [INFO] [stdout] | [INFO] [stdout] 356 | ptr => self.state.compare_and_swap(ptr, EMPTY, Ordering::SeqCst) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1538:32 [INFO] [stdout] | [INFO] [stdout] 1538 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1538 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1578:32 [INFO] [stdout] | [INFO] [stdout] 1578 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1578 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicIsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/shared.rs:377:32 [INFO] [stdout] | [INFO] [stdout] 377 | let cnt = self.cnt.compare_and_swap(steals, DISCONNECTED, Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1595:32 [INFO] [stdout] | [INFO] [stdout] 1595 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1595 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1626:32 [INFO] [stdout] | [INFO] [stdout] 1626 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1626 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1656:32 [INFO] [stdout] | [INFO] [stdout] 1656 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1656 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicIsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/stream.rs:315:32 [INFO] [stdout] | [INFO] [stdout] 315 | let cnt = self.cnt.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `PopResult` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shared.rs:331:31 [INFO] [stdout] | [INFO] [stdout] 274 | let ret = match self.queue.pop() { [INFO] [stdout] | --- [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] 331 | match self.queue.pop() { [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; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/oneshot.rs:155:27 [INFO] [stdout] | [INFO] [stdout] 155 | if self.state.compare_and_swap(EMPTY, ptr, Ordering::SeqCst) == EMPTY { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/oneshot.rs:187:32 [INFO] [stdout] | [INFO] [stdout] 187 | self.state.compare_and_swap(DATA, EMPTY, Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/oneshot.rs:308:30 [INFO] [stdout] | [INFO] [stdout] 308 | match self.state.compare_and_swap(EMPTY, ptr, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/oneshot.rs:356:31 [INFO] [stdout] | [INFO] [stdout] 356 | ptr => self.state.compare_and_swap(ptr, EMPTY, Ordering::SeqCst) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `parking_lot_mpsc` (lib) due to 2 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicIsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/shared.rs:377:32 [INFO] [stdout] | [INFO] [stdout] 377 | let cnt = self.cnt.compare_and_swap(steals, DISCONNECTED, Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicIsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/stream.rs:315:32 [INFO] [stdout] | [INFO] [stdout] 315 | let cnt = self.cnt.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Select` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/select.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let sel = Select::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 385 | 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] 386 | 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] 387 | tx1.send(1).unwrap(); [INFO] [stdout] 388 | / parking_lot_mpsc_select! { [INFO] [stdout] 389 | | foo = rx1.recv() => { assert_eq!(foo.unwrap(), 1); }, [INFO] [stdout] 390 | | _bar = rx2.recv() => { panic!() } [INFO] [stdout] 391 | | } [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 `parking_lot_mpsc_select` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Select` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/select.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let sel = Select::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 410 | 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] 411 | 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] 412 | 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] 413 | 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] 414 | 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] 415 | tx5.send(4).unwrap(); [INFO] [stdout] 416 | / parking_lot_mpsc_select! { [INFO] [stdout] 417 | | _foo = rx1.recv() => { panic!("1") }, [INFO] [stdout] 418 | | _foo = rx2.recv() => { panic!("2") }, [INFO] [stdout] 419 | | _foo = rx3.recv() => { panic!("3") }, [INFO] [stdout] 420 | | _foo = rx4.recv() => { panic!("4") }, [INFO] [stdout] 421 | | foo = rx5.recv() => { assert_eq!(foo.unwrap(), 4); } [INFO] [stdout] 422 | | } [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 `parking_lot_mpsc_select` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Select` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/select.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let sel = Select::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 427 | 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] 428 | 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] 431 | / parking_lot_mpsc_select! { [INFO] [stdout] 432 | | _a1 = rx1.recv() => { panic!() }, [INFO] [stdout] 433 | | a2 = rx2.recv() => { assert!(a2.is_err()); } [INFO] [stdout] 434 | | } [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 `parking_lot_mpsc_select` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Select` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/select.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let sel = Select::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 439 | let (tx1, rx1) = channel::(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 440 | 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] 441 | let (tx3, rx3) = channel::(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 442 | [INFO] [stdout] 443 | let _t = 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] 450 | / parking_lot_mpsc_select! { [INFO] [stdout] 451 | | a = rx1.recv() => { assert_eq!(a.unwrap(), 1); }, [INFO] [stdout] 452 | | _b = rx2.recv() => { panic!() } [INFO] [stdout] 453 | | } [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 `parking_lot_mpsc_select` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Select` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/select.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let sel = Select::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 732 | let (tx, rx) = sync_channel::(1); [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] 733 | tx.send(1).unwrap(); [INFO] [stdout] 734 | / parking_lot_mpsc_select! { [INFO] [stdout] 735 | | n = rx.recv() => { assert_eq!(n.unwrap(), 1); } [INFO] [stdout] 736 | | } [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 `parking_lot_mpsc_select` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Select` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/select.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let sel = Select::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 741 | let (tx, rx) = sync_channel::(0); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 742 | let _t = 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] 746 | / parking_lot_mpsc_select! { [INFO] [stdout] 747 | | n = rx.recv() => { assert_eq!(n.unwrap(), 1); } [INFO] [stdout] 748 | | } [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 `parking_lot_mpsc_select` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Select` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/select.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let sel = Select::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 753 | let (tx1, rx1) = sync_channel::(0); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 754 | let (tx2, rx2): (Sender, Receiver) = channel(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 755 | let _t = thread::spawn(move|| { tx1.send(1).unwrap(); }); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 756 | let _t = thread::spawn(move|| { tx2.send(2).unwrap(); }); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 757 | / parking_lot_mpsc_select! { [INFO] [stdout] 758 | | n = rx1.recv() => { [INFO] [stdout] 759 | | let n = n.unwrap(); [INFO] [stdout] 760 | | assert_eq!(n, 1); [INFO] [stdout] ... | [INFO] [stdout] 767 | | } [INFO] [stdout] 768 | | } [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 `parking_lot_mpsc_select` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `PopResult` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shared.rs:331:31 [INFO] [stdout] | [INFO] [stdout] 274 | let ret = match self.queue.pop() { [INFO] [stdout] | --- [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] 331 | match self.queue.pop() { [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] warning: unused return value of `clone` that must be used [INFO] [stdout] --> src/select.rs:522:13 [INFO] [stdout] | [INFO] [stdout] 522 | tx1.clone(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: cloning is often expensive and is not expected to have side effects [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 522 | let _ = tx1.clone(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `clone` that must be used [INFO] [stdout] --> src/select.rs:544:13 [INFO] [stdout] | [INFO] [stdout] 544 | tx1.clone(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: cloning is often expensive and is not expected to have side effects [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 544 | let _ = tx1.clone(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `parking_lot_mpsc` (lib test) due to 9 previous errors; 26 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3da47e4b95aa2892778829f53759f6b3d4ca5ca2b0f4e30866bd50ab253e06e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3da47e4b95aa2892778829f53759f6b3d4ca5ca2b0f4e30866bd50ab253e06e8", kill_on_drop: false }` [INFO] [stdout] 3da47e4b95aa2892778829f53759f6b3d4ca5ca2b0f4e30866bd50ab253e06e8