[INFO] fetching crate xdbm 0.2.1... [INFO] checking xdbm-0.2.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate xdbm 0.2.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate xdbm 0.2.1 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 xdbm 0.2.1 [INFO] finished tweaking crates.io crate xdbm 0.2.1 [INFO] tweaked toml for crates.io crate xdbm 0.2.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate xdbm 0.2.1 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] f2052990b263c13560f797d19c4f77196ad8739fe1144f6f386da6f7d7dc7fdb [INFO] running `Command { std: "docker" "start" "-a" "f2052990b263c13560f797d19c4f77196ad8739fe1144f6f386da6f7d7dc7fdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2052990b263c13560f797d19c4f77196ad8739fe1144f6f386da6f7d7dc7fdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2052990b263c13560f797d19c4f77196ad8739fe1144f6f386da6f7d7dc7fdb", kill_on_drop: false }` [INFO] [stdout] f2052990b263c13560f797d19c4f77196ad8739fe1144f6f386da6f7d7dc7fdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 655e34550762092f712918c89c62c9178db9d6d5f28c9eaf1b205213f36456b1 [INFO] running `Command { std: "docker" "start" "-a" "655e34550762092f712918c89c62c9178db9d6d5f28c9eaf1b205213f36456b1", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking clap_builder v4.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Checking newline-converter v0.3.0 [INFO] [stderr] Checking rustix v0.38.34 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling libz-sys v1.1.18 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking byte-unit v5.1.4 [INFO] [stderr] Checking inquire v0.7.5 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking dunce v1.0.4 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking predicates v3.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Checking assert_cmd v2.0.14 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking assert_fs v1.1.1 [INFO] [stderr] Checking clap v4.5.7 [INFO] [stderr] Checking clap_complete v4.5.5 [INFO] [stderr] Checking clap-verbosity-flag v2.2.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking sysinfo v0.30.12 [INFO] [stderr] Checking git2 v0.19.0 [INFO] [stderr] Checking xdbm v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `bare_repo` [INFO] [stdout] --> tests/cli.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let bare_repo = Repository::init_bare(&bare_repo_dir)?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bare_repo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bare_repo` [INFO] [stdout] --> tests/cli.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let bare_repo = Repository::init_bare(&bare_repo_dir)?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bare_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `disk_name` is never read [INFO] [stdout] --> src/cmd_storage.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | let mut disk_name = String::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/backups.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 208 | impl Backups { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn get(&self, name: &String) -> Option<&Backup> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ask_unique_name` is never used [INFO] [stdout] --> src/cmd_storage.rs:299:4 [INFO] [stdout] | [INFO] [stdout] 299 | fn ask_unique_name(storages: &Storages, target: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_alias` is never used [INFO] [stdout] --> src/storages.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub trait StorageExt { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 130 | fn has_alias(&self, device: &devices::Device) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove` is never used [INFO] [stdout] --> src/storages.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 163 | impl Storages { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn remove(mut self, storage: Storage) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_note` and `mount_path` are never used [INFO] [stdout] --> src/storages/directory.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Directory { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn update_note(self, notes: String) -> Directory { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn mount_path(&self, device: &devices::Device, storages: &Storages) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bind_device` is never used [INFO] [stdout] --> src/storages/physical_drive_partition.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl PhysicalDrivePartition { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn bind_device(&mut self, disk: &sysinfo::Disk, config_dir: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [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/backups.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 256 | let f = fs::File::create(config_dir.join(backups_file(device))) [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 257 | .context("Failed to open backups file")?; [INFO] [stdout] 258 | let writer = io::BufWriter::new(f); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 259 | serde_yaml::to_writer(writer, &self).context(format!( [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] = 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/cmd_init.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 31 | let mut callbacks = RemoteCallbacks::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | let mut fo = git2::FetchOptions::new(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | let mut builder = git2::build::RepoBuilder::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | Ok(builder.clone(repo_url, config_dir)?) [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/devices.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 89 | let f = OpenOptions::new() [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let writer = BufWriter::new(f); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | serde_yaml::to_writer(writer, &devices).map_err(|e| anyhow!(e)) [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] = 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/storages.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 226 | let f = fs::File::create(config_dir.join(STORAGESFILE)) [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 227 | .context("Failed to open storages file")?; [INFO] [stdout] 228 | let writer = io::BufWriter::new(f); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 229 | serde_yaml::to_writer(writer, &self) [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] = 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; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xdbm` (bin "xdbm" test) due to 5 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: value assigned to `disk_name` is never read [INFO] [stdout] --> src/cmd_storage.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | let mut disk_name = String::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/backups.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 208 | impl Backups { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn get(&self, name: &String) -> Option<&Backup> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ask_unique_name` is never used [INFO] [stdout] --> src/cmd_storage.rs:299:4 [INFO] [stdout] | [INFO] [stdout] 299 | fn ask_unique_name(storages: &Storages, target: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_alias` is never used [INFO] [stdout] --> src/storages.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub trait StorageExt { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 130 | fn has_alias(&self, device: &devices::Device) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove` is never used [INFO] [stdout] --> src/storages.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 163 | impl Storages { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn remove(mut self, storage: Storage) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_note` and `mount_path` are never used [INFO] [stdout] --> src/storages/directory.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Directory { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn update_note(self, notes: String) -> Directory { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn mount_path(&self, device: &devices::Device, storages: &Storages) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bind_device` is never used [INFO] [stdout] --> src/storages/physical_drive_partition.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl PhysicalDrivePartition { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn bind_device(&mut self, disk: &sysinfo::Disk, config_dir: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [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/backups.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 256 | let f = fs::File::create(config_dir.join(backups_file(device))) [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 257 | .context("Failed to open backups file")?; [INFO] [stdout] 258 | let writer = io::BufWriter::new(f); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 259 | serde_yaml::to_writer(writer, &self).context(format!( [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] = 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/cmd_init.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 31 | let mut callbacks = RemoteCallbacks::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | let mut fo = git2::FetchOptions::new(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | let mut builder = git2::build::RepoBuilder::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | Ok(builder.clone(repo_url, config_dir)?) [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/devices.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 89 | let f = OpenOptions::new() [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let writer = BufWriter::new(f); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | serde_yaml::to_writer(writer, &devices).map_err(|e| anyhow!(e)) [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] = 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/storages.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 226 | let f = fs::File::create(config_dir.join(STORAGESFILE)) [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 227 | .context("Failed to open storages file")?; [INFO] [stdout] 228 | let writer = io::BufWriter::new(f); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 229 | serde_yaml::to_writer(writer, &self) [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] = 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; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xdbm` (bin "xdbm") due to 5 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "655e34550762092f712918c89c62c9178db9d6d5f28c9eaf1b205213f36456b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "655e34550762092f712918c89c62c9178db9d6d5f28c9eaf1b205213f36456b1", kill_on_drop: false }` [INFO] [stdout] 655e34550762092f712918c89c62c9178db9d6d5f28c9eaf1b205213f36456b1