[INFO] fetching crate indradb-sled 0.1.0... [INFO] checking indradb-sled-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate indradb-sled 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate indradb-sled 0.1.0 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 indradb-sled 0.1.0 [INFO] finished tweaking crates.io crate indradb-sled 0.1.0 [INFO] tweaked toml for crates.io crate indradb-sled 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 76 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding indradb-lib v2.2.0 (latest: v4.0.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding parking_lot v0.11.2 (latest: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.8.6 (latest: v0.9.10) [INFO] [stderr] Adding redox_syscall v0.2.16 (latest: v0.5.3) [INFO] [stderr] Adding uuid v0.8.2 (latest: v1.10.0) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding zstd v0.9.2+zstd.1.5.1 (latest: v0.13.2) [INFO] [stderr] Adding zstd-safe v4.1.3+zstd.1.5.1 (latest: v7.2.1) [INFO] [stderr] Adding zstd-sys v1.6.2+zstd.1.5.1 (latest: v2.0.13+zstd.1.5.6) [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] [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-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] 036d6201858bb7509de470f85bbf84378741414e7c54744a25f2c8ab0f908e34 [INFO] running `Command { std: "docker" "start" "-a" "036d6201858bb7509de470f85bbf84378741414e7c54744a25f2c8ab0f908e34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "036d6201858bb7509de470f85bbf84378741414e7c54744a25f2c8ab0f908e34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "036d6201858bb7509de470f85bbf84378741414e7c54744a25f2c8ab0f908e34", kill_on_drop: false }` [INFO] [stdout] 036d6201858bb7509de470f85bbf84378741414e7c54744a25f2c8ab0f908e34 [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] 68111baacdd1d02bfe9187a5c8874a6ce1ff66f889b90fe9e651a791b0d4cf07 [INFO] running `Command { std: "docker" "start" "-a" "68111baacdd1d02bfe9187a5c8874a6ce1ff66f889b90fe9e651a791b0d4cf07", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling zstd-safe v4.1.3+zstd.1.5.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling zstd-sys v1.6.2+zstd.1.5.1 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking indradb-lib v2.2.0 [INFO] [stderr] Checking zstd v0.9.2+zstd.1.5.1 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking indradb-sled v0.1.0 (/opt/rustwide/workdir) [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/datastore.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn open>(self, path: P) -> Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | Ok(SledDatastore { [INFO] [stdout] | ____________^ [INFO] [stdout] 41 | | holder: Arc::new(SledHolder::new(path, self)?), [INFO] [stdout] 42 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/datastore.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new>(path: P, opts: SledConfig) -> Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let mut config = Config::default().path(path); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | let db = map_err(config.open())?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | [INFO] [stdout] 75 | Ok(SledHolder { [INFO] [stdout] | ____________^ [INFO] [stdout] 76 | | edges: map_err(db.open_tree("edges"))?, [INFO] [stdout] 77 | | edge_ranges: map_err(db.open_tree("edge_ranges"))?, [INFO] [stdout] 78 | | reversed_edge_ranges: map_err(db.open_tree("reversed_edge_ranges"))?, [INFO] [stdout] ... | [INFO] [stdout] 81 | | db: Arc::new(db), [INFO] [stdout] 82 | | }) [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] | [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/datastore.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn new>(path: P) -> Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | Ok(SledDatastore { [INFO] [stdout] | ____________^ [INFO] [stdout] 98 | | holder: Arc::new(SledHolder::new(path, SledConfig::default())?), [INFO] [stdout] 99 | | }) [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/errors.rs:5:57 [INFO] [stdout] | [INFO] [stdout] 5 | result.map_err(|err| IndraError::Datastore { inner: Box::new(err) }) [INFO] [stdout] | --- ^^^^^^^^^^^^^ [INFO] [stdout] | | [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/managers.rs:333:12 [INFO] [stdout] | [INFO] [stdout] 331 | let iterator = self.tree.scan_prefix(&prefix); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 332 | [INFO] [stdout] 333 | Ok(iterator.map(move |item| -> Result { [INFO] [stdout] | ____________^ [INFO] [stdout] 334 | | let (k, v) = map_err(item)?; [INFO] [stdout] 335 | | let mut cursor = Cursor::new(k); [INFO] [stdout] 336 | | let owner_id = util::read_uuid(&mut cursor); [INFO] [stdout] ... | [INFO] [stdout] 340 | | Ok(((owner_id, name), value)) [INFO] [stdout] 341 | | })) [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/managers.rs:425:12 [INFO] [stdout] | [INFO] [stdout] 396 | let iterator = self.tree.scan_prefix(&prefix); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 397 | [INFO] [stdout] 398 | let mapped = iterator.map(move |item| -> Result { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 425 | Ok(Box::new(mapped)) [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `indradb-sled` (lib test) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/datastore.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn open>(self, path: P) -> Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | Ok(SledDatastore { [INFO] [stdout] | ____________^ [INFO] [stdout] 41 | | holder: Arc::new(SledHolder::new(path, self)?), [INFO] [stdout] 42 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/datastore.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new>(path: P, opts: SledConfig) -> Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let mut config = Config::default().path(path); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | let db = map_err(config.open())?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | [INFO] [stdout] 75 | Ok(SledHolder { [INFO] [stdout] | ____________^ [INFO] [stdout] 76 | | edges: map_err(db.open_tree("edges"))?, [INFO] [stdout] 77 | | edge_ranges: map_err(db.open_tree("edge_ranges"))?, [INFO] [stdout] 78 | | reversed_edge_ranges: map_err(db.open_tree("reversed_edge_ranges"))?, [INFO] [stdout] ... | [INFO] [stdout] 81 | | db: Arc::new(db), [INFO] [stdout] 82 | | }) [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] | [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/datastore.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn new>(path: P) -> Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | Ok(SledDatastore { [INFO] [stdout] | ____________^ [INFO] [stdout] 98 | | holder: Arc::new(SledHolder::new(path, SledConfig::default())?), [INFO] [stdout] 99 | | }) [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/errors.rs:5:57 [INFO] [stdout] | [INFO] [stdout] 5 | result.map_err(|err| IndraError::Datastore { inner: Box::new(err) }) [INFO] [stdout] | --- ^^^^^^^^^^^^^ [INFO] [stdout] | | [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/managers.rs:333:12 [INFO] [stdout] | [INFO] [stdout] 331 | let iterator = self.tree.scan_prefix(&prefix); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 332 | [INFO] [stdout] 333 | Ok(iterator.map(move |item| -> Result { [INFO] [stdout] | ____________^ [INFO] [stdout] 334 | | let (k, v) = map_err(item)?; [INFO] [stdout] 335 | | let mut cursor = Cursor::new(k); [INFO] [stdout] 336 | | let owner_id = util::read_uuid(&mut cursor); [INFO] [stdout] ... | [INFO] [stdout] 340 | | Ok(((owner_id, name), value)) [INFO] [stdout] 341 | | })) [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/managers.rs:425:12 [INFO] [stdout] | [INFO] [stdout] 396 | let iterator = self.tree.scan_prefix(&prefix); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 397 | [INFO] [stdout] 398 | let mapped = iterator.map(move |item| -> Result { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 425 | Ok(Box::new(mapped)) [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `indradb-sled` (lib) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "68111baacdd1d02bfe9187a5c8874a6ce1ff66f889b90fe9e651a791b0d4cf07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68111baacdd1d02bfe9187a5c8874a6ce1ff66f889b90fe9e651a791b0d4cf07", kill_on_drop: false }` [INFO] [stdout] 68111baacdd1d02bfe9187a5c8874a6ce1ff66f889b90fe9e651a791b0d4cf07