[INFO] fetching crate sled 1.0.0-alpha.122... [INFO] checking sled-1.0.0-alpha.122 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate sled 1.0.0-alpha.122 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate sled 1.0.0-alpha.122 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 sled 1.0.0-alpha.122 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate sled 1.0.0-alpha.122 [INFO] tweaked toml for crates.io crate sled 1.0.0-alpha.122 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate sled 1.0.0-alpha.122 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] [stderr] warning: `panic` setting is ignored for `test` profile [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] be2b53f998e7e6fc9615d75592c196d4041c01ae2a887c31248aba32dcd9eb0f [INFO] running `Command { std: "docker" "start" "-a" "be2b53f998e7e6fc9615d75592c196d4041c01ae2a887c31248aba32dcd9eb0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be2b53f998e7e6fc9615d75592c196d4041c01ae2a887c31248aba32dcd9eb0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be2b53f998e7e6fc9615d75592c196d4041c01ae2a887c31248aba32dcd9eb0f", kill_on_drop: false }` [INFO] [stdout] be2b53f998e7e6fc9615d75592c196d4041c01ae2a887c31248aba32dcd9eb0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] b307da5185d657be3dccff85ec3a58bdac2071e06284ba715c9429cea210e272 [INFO] running `Command { std: "docker" "start" "-a" "b307da5185d657be3dccff85ec3a58bdac2071e06284ba715c9429cea210e272", kill_on_drop: false }` [INFO] [stderr] warning: `panic` setting is ignored for `test` profile [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking pagetable v0.4.6 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking fault-injection v1.0.10 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking cache-advisor v1.0.16 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Checking shared-local-state v0.1.4 [INFO] [stderr] Checking ebr v0.2.13 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking zstd v0.12.4 [INFO] [stderr] Checking stack-map v1.0.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking concurrent-map v5.0.36 [INFO] [stderr] Checking inline-array v0.1.12 [INFO] [stderr] Checking sled v1.0.0-alpha.122 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `testing_shred_allocator` [INFO] [stdout] --> src/lib.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | feature = "testing_shred_allocator", [INFO] [stdout] | ^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"testing-shred-allocator"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `for-internal-testing-only`, `monotonic-behavior`, `testing-count-allocator`, and `testing-shred-allocator` [INFO] [stdout] = help: consider adding `testing_shred_allocator` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing_count_allocator` [INFO] [stdout] --> src/lib.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | feature = "testing_count_allocator" [INFO] [stdout] | ^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"testing-count-allocator"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `for-internal-testing-only`, `monotonic-behavior`, `testing-count-allocator`, and `testing-shred-allocator` [INFO] [stdout] = help: consider adding `testing_count_allocator` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing_shred_allocator` [INFO] [stdout] --> src/lib.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | feature = "testing_shred_allocator", [INFO] [stdout] | ^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"testing-shred-allocator"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `for-internal-testing-only`, `monotonic-behavior`, `testing-count-allocator`, and `testing-shred-allocator` [INFO] [stdout] = help: consider adding `testing_shred_allocator` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing_count_allocator` [INFO] [stdout] --> src/lib.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | feature = "testing_count_allocator" [INFO] [stdout] | ^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"testing-count-allocator"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `for-internal-testing-only`, `monotonic-behavior`, `testing-count-allocator`, and `testing-shred-allocator` [INFO] [stdout] = help: consider adding `testing_count_allocator` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/db.rs:458:12 [INFO] [stdout] | [INFO] [stdout] 457 | pub fn contains_tree>(&self, name: V) -> io::Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 458 | Ok(self.collection_name_mapping.get(name.as_ref())?.is_some()) [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 `flush_epoch::FlushEpochGuard<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/flush_epoch.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 291 | let epoch_tracker = FlushEpochTracker::default(); [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 294 | let g1 = epoch_tracker.check_in(); [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 `inline_array::InlineArray` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/heap.rs:899:55 [INFO] [stdout] | [INFO] [stdout] 898 | let map_closure = |update: Update| match update { [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] 899 | Update::Store { object_id, collection_id, low_key, data } => { [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, std::option::Option>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/metadata_store.rs:120:15 [INFO] [stdout] | [INFO] [stdout] 104 | mut rx: Receiver, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | mut last_snapshot_lsn: u64, [INFO] [stdout] 106 | inner: Inner, [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | match get_compactions(&mut rx) { [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 `object_cache::Dirty` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object_cache.rs:383:21 [INFO] [stdout] | [INFO] [stdout] 381 | let last_dirty_opt = self.dirty.insert((flush_epoch, object_id), dirty); [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] 382 | [INFO] [stdout] 383 | if let Some(last_dirty) = last_dirty_opt { [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 `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/db.rs:458:12 [INFO] [stdout] | [INFO] [stdout] 457 | pub fn contains_tree>(&self, name: V) -> io::Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 458 | Ok(self.collection_name_mapping.get(name.as_ref())?.is_some()) [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 `inline_array::InlineArray` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/heap.rs:899:55 [INFO] [stdout] | [INFO] [stdout] 898 | let map_closure = |update: Update| match update { [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] 899 | Update::Store { object_id, collection_id, low_key, data } => { [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, std::option::Option>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/metadata_store.rs:120:15 [INFO] [stdout] | [INFO] [stdout] 104 | mut rx: Receiver, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | mut last_snapshot_lsn: u64, [INFO] [stdout] 106 | inner: Inner, [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | match get_compactions(&mut rx) { [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 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sled` (lib test) due to 6 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `object_cache::Dirty` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object_cache.rs:383:21 [INFO] [stdout] | [INFO] [stdout] 381 | let last_dirty_opt = self.dirty.insert((flush_epoch, object_id), dirty); [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] 382 | [INFO] [stdout] 383 | if let Some(last_dirty) = last_dirty_opt { [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 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sled` (lib) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b307da5185d657be3dccff85ec3a58bdac2071e06284ba715c9429cea210e272", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b307da5185d657be3dccff85ec3a58bdac2071e06284ba715c9429cea210e272", kill_on_drop: false }` [INFO] [stdout] b307da5185d657be3dccff85ec3a58bdac2071e06284ba715c9429cea210e272