[INFO] fetching crate thincollections 0.5.4... [INFO] checking thincollections-0.5.4 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate thincollections 0.5.4 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate thincollections 0.5.4 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 thincollections 0.5.4 [INFO] finished tweaking crates.io crate thincollections 0.5.4 [INFO] tweaked toml for crates.io crate thincollections 0.5.4 written to /workspace/builds/worker-4-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] Updating crates.io index [INFO] [stderr] Locking 22 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding cloudabi v0.0.3 (available: v0.1.0) [INFO] [stderr] Adding num v0.2.1 (available: v0.4.3) [INFO] [stderr] Adding num-bigint v0.2.6 (available: v0.4.6) [INFO] [stderr] Adding num-complex v0.2.4 (available: v0.4.6) [INFO] [stderr] Adding num-rational v0.2.4 (available: v0.4.2) [INFO] [stderr] Adding ordered-float v1.1.1 (available: v4.3.0) [INFO] [stderr] Adding rand v0.5.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.2.2 (available: v0.6.4) [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 xoshiro v0.0.4 (available: v0.0.5) [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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 713d64041c4ca029e582db2a510bbeae17c0eb82eed68b6ea182c4890ba17efd [INFO] running `Command { std: "docker" "start" "-a" "713d64041c4ca029e582db2a510bbeae17c0eb82eed68b6ea182c4890ba17efd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "713d64041c4ca029e582db2a510bbeae17c0eb82eed68b6ea182c4890ba17efd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "713d64041c4ca029e582db2a510bbeae17c0eb82eed68b6ea182c4890ba17efd", kill_on_drop: false }` [INFO] [stdout] 713d64041c4ca029e582db2a510bbeae17c0eb82eed68b6ea182c4890ba17efd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 873c1f017e64065a610e3616eb6b664137d913503a947fb4dbe46858ab29f84c [INFO] running `Command { std: "docker" "start" "-a" "873c1f017e64065a610e3616eb6b664137d913503a947fb4dbe46858ab29f84c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking thincollections v0.5.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking xoshiro v0.0.4 [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/thin_sentinel.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/thin_sentinel.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | #[inline(always)] [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/thin_hasher.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | SEED.compare_and_swap(x as usize, y as usize, Ordering::Release); // we don't care if it fails [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/thin_vec.rs:1244:29 [INFO] [stdout] | [INFO] [stdout] 1244 | pub fn into_boxed_slice(mut self) -> Box<[T]> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num v0.2.1 [INFO] [stdout] warning: unused import: `super::ThinSentinel` [INFO] [stdout] --> src/thin_map.rs:2135:9 [INFO] [stdout] | [INFO] [stdout] 2135 | use super::ThinSentinel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/thin_sentinel.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/thin_sentinel.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | #[inline(always)] [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/thin_hasher.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | SEED.compare_and_swap(x as usize, y as usize, Ordering::Release); // we don't care if it fails [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `thin_set::Drain<'_, i32>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/thin_set.rs:1529:21 [INFO] [stdout] | [INFO] [stdout] 1521 | let mut s: ThinSet<_> = (1..100).collect(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1529 | let mut d = s.drain(); [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] warning: variable does not need to be mutable [INFO] [stdout] --> src/thin_vec.rs:1244:29 [INFO] [stdout] | [INFO] [stdout] 1244 | pub fn into_boxed_slice(mut self) -> Box<[T]> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `thincollections` (lib test) due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "873c1f017e64065a610e3616eb6b664137d913503a947fb4dbe46858ab29f84c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "873c1f017e64065a610e3616eb6b664137d913503a947fb4dbe46858ab29f84c", kill_on_drop: false }` [INFO] [stdout] 873c1f017e64065a610e3616eb6b664137d913503a947fb4dbe46858ab29f84c