[INFO] fetching crate sos-vfs 0.2.2... [INFO] checking sos-vfs-0.2.2 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate sos-vfs 0.2.2 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate sos-vfs 0.2.2 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sos-vfs 0.2.2 [INFO] finished tweaking crates.io crate sos-vfs 0.2.2 [INFO] tweaked toml for crates.io crate sos-vfs 0.2.2 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 50 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e7fa5eac0a74ac5d477fdf900d67c195aba046b54ac2af29d4a97346540e475 [INFO] running `Command { std: "docker" "start" "-a" "6e7fa5eac0a74ac5d477fdf900d67c195aba046b54ac2af29d4a97346540e475", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e7fa5eac0a74ac5d477fdf900d67c195aba046b54ac2af29d4a97346540e475", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e7fa5eac0a74ac5d477fdf900d67c195aba046b54ac2af29d4a97346540e475", kill_on_drop: false }` [INFO] [stdout] 6e7fa5eac0a74ac5d477fdf900d67c195aba046b54ac2af29d4a97346540e475 [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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5616d225c6523605be9899858cb79f83da918040192ef3421316d25a1ae6b3ec [INFO] running `Command { std: "docker" "start" "-a" "5616d225c6523605be9899858cb79f83da918040192ef3421316d25a1ae6b3ec", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking sos-vfs v0.2.2 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `sos_vfs` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/memory/file.rs [INFO] [stderr] * src/memory/fs.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/memory/file.rs:511:6 [INFO] [stderr] | [INFO] [stderr] 511 | ($e:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/memory/fs.rs:62:14 [INFO] [stderr] | [INFO] [stderr] 62 | unsafe { &mut ROOT_DIR } [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 62 | unsafe { addr_of_mut!(ROOT_DIR) } [INFO] [stderr] | ~~~~~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/memory/file.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | ($e:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 511 | ($e:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DirBuilder` [INFO] [stdout] --> src/memory/mod.rs:10:51 [INFO] [stdout] | [INFO] [stdout] 10 | pub use dir_builder::{create_dir, create_dir_all, DirBuilder}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DirEntry` [INFO] [stdout] --> src/memory/mod.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | pub use read_dir::{read_dir, DirEntry}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/memory/fs.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe { &mut ROOT_DIR } [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 62 | unsafe { addr_of_mut!(ROOT_DIR) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory/dir_builder.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | if let Some(target) = resolve(&buf).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory/dir_builder.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 75 ~ match resolve(&buf).await { Some(target) => { [INFO] [stdout] 76 | match target { [INFO] [stdout] ... [INFO] [stdout] 96 | } [INFO] [stdout] 97 ~ } _ => { [INFO] [stdout] 98 | let fd = current.mkdir(file_name).await?; [INFO] [stdout] 99 | current = Parent::Folder(fd); [INFO] [stdout] 100~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory/dir_builder.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | if let Some(target) = resolve_parent(path.as_ref()).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory/dir_builder.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 112 ~ match resolve_parent(path.as_ref()).await { Some(target) => { [INFO] [stdout] 113 | match target { [INFO] [stdout] ... [INFO] [stdout] 135 | Ok(()) [INFO] [stdout] 136 ~ } _ => { [INFO] [stdout] 137 | Err(ErrorKind::NotFound.into()) [INFO] [stdout] 138 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory/file.rs:593:12 [INFO] [stdout] | [INFO] [stdout] 593 | if let Ok(n) = res { [INFO] [stdout] | ^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory/file.rs:595:9 [INFO] [stdout] | [INFO] [stdout] 595 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 593 ~ match res { Ok(n) => { [INFO] [stdout] 594 | self.buf.truncate(n); [INFO] [stdout] 595 ~ } _ => { [INFO] [stdout] 596 | self.buf.clear(); [INFO] [stdout] 597 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 239 | if let Some(name) = path.as_ref().file_name() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 239 ~ match path.as_ref().file_name() { Some(name) => { [INFO] [stdout] 240 | self.files.remove(name) [INFO] [stdout] 241 ~ } _ => { [INFO] [stdout] 242 | None [INFO] [stdout] 243 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 254 | if let Some(child) = self.files.get(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 254 ~ match self.files.get(name) { Some(child) => { [INFO] [stdout] 255 | let is_dir = { [INFO] [stdout] ... [INFO] [stdout] 263 | } [INFO] [stdout] 264 ~ } _ => { [INFO] [stdout] 265 | None [INFO] [stdout] 266 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:356:15 [INFO] [stdout] | [INFO] [stdout] 356 | while let Some(fd) = parent { [INFO] [stdout] | ^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:430:8 [INFO] [stdout] | [INFO] [stdout] 430 | if let Some(target) = resolve(from.as_ref()).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:472:5 [INFO] [stdout] | [INFO] [stdout] 472 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 430 ~ match resolve(from.as_ref()).await { Some(target) => { [INFO] [stdout] 431 | match target { [INFO] [stdout] ... [INFO] [stdout] 471 | } [INFO] [stdout] 472 ~ } _ => { [INFO] [stdout] 473 | Err(ErrorKind::NotFound.into()) [INFO] [stdout] 474 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:452:24 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(target) = resolve(to.as_ref()).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:462:21 [INFO] [stdout] | [INFO] [stdout] 462 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 452 ~ match resolve(to.as_ref()).await { Some(target) => { [INFO] [stdout] 453 | match target { [INFO] [stdout] ... [INFO] [stdout] 461 | // Try to create in the parent [INFO] [stdout] 462 ~ } _ => { [INFO] [stdout] 463 | let fd = create_file(to, false).await?; [INFO] [stdout] 464 | copy_fd(fd, buffer, permissions).await [INFO] [stdout] 465 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:501:8 [INFO] [stdout] | [INFO] [stdout] 501 | if let Some(parent) = fd.parent_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:504:5 [INFO] [stdout] | [INFO] [stdout] 504 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 501 ~ match fd.parent_mut() { Some(parent) => { [INFO] [stdout] 502 | parent.unlink(path).await?; [INFO] [stdout] 503 | Ok(()) [INFO] [stdout] 504 ~ } _ => { [INFO] [stdout] 505 | Err(ErrorKind::PermissionDenied.into()) [INFO] [stdout] 506 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:533:8 [INFO] [stdout] | [INFO] [stdout] 533 | if let Some(parent) = fd.parent_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:536:5 [INFO] [stdout] | [INFO] [stdout] 536 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 533 ~ match fd.parent_mut() { Some(parent) => { [INFO] [stdout] 534 | parent.unlink(path).await?; [INFO] [stdout] 535 | Ok(()) [INFO] [stdout] 536 ~ } _ => { [INFO] [stdout] 537 | Err(ErrorKind::PermissionDenied.into()) [INFO] [stdout] 538 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:577:8 [INFO] [stdout] | [INFO] [stdout] 577 | if let Some(source) = source { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:628:5 [INFO] [stdout] | [INFO] [stdout] 628 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 577 ~ match source { Some(source) => { [INFO] [stdout] 578 | if let Some(target) = resolve(to.as_ref()).await { [INFO] [stdout] ... [INFO] [stdout] 627 | } [INFO] [stdout] 628 ~ } _ => { [INFO] [stdout] 629 | Err(ErrorKind::NotFound.into()) [INFO] [stdout] 630 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:578:12 [INFO] [stdout] | [INFO] [stdout] 578 | if let Some(target) = resolve(to.as_ref()).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:597:9 [INFO] [stdout] | [INFO] [stdout] 597 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 578 ~ match resolve(to.as_ref()).await { Some(target) => { [INFO] [stdout] 579 | match target { [INFO] [stdout] ... [INFO] [stdout] 596 | } [INFO] [stdout] 597 ~ } _ => { [INFO] [stdout] 598 | let has_parent = has_parent(to.as_ref()); [INFO] [stdout] ... [INFO] [stdout] 626 | } [INFO] [stdout] 627 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:601:20 [INFO] [stdout] | [INFO] [stdout] 601 | if let Some(target) = resolve_parent(to.as_ref()).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 618 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 601 ~ match resolve_parent(to.as_ref()).await { Some(target) => { [INFO] [stdout] 602 | match target { [INFO] [stdout] ... [INFO] [stdout] 617 | Ok(()) [INFO] [stdout] 618 ~ } _ => { [INFO] [stdout] 619 | Err(ErrorKind::NotFound.into()) [INFO] [stdout] 620 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:645:8 [INFO] [stdout] | [INFO] [stdout] 645 | if let Some(target) = resolve(path.as_ref().to_path_buf()).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:665:5 [INFO] [stdout] | [INFO] [stdout] 665 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 645 ~ match resolve(path.as_ref().to_path_buf()).await { Some(target) => { [INFO] [stdout] 646 | match target { [INFO] [stdout] ... [INFO] [stdout] 664 | } [INFO] [stdout] 665 ~ } _ => { [INFO] [stdout] 666 | Err(ErrorKind::NotFound.into()) [INFO] [stdout] 667 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:692:8 [INFO] [stdout] | [INFO] [stdout] 692 | if let Some(target) = resolve(path.as_ref()).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:701:5 [INFO] [stdout] | [INFO] [stdout] 701 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 692 ~ match resolve(path.as_ref()).await { Some(target) => { [INFO] [stdout] 693 | match target { [INFO] [stdout] ... [INFO] [stdout] 700 | } [INFO] [stdout] 701 ~ } _ => { [INFO] [stdout] 702 | Err(ErrorKind::NotFound.into()) [INFO] [stdout] 703 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:714:8 [INFO] [stdout] | [INFO] [stdout] 714 | if let Some(target) = resolve(path.as_ref()).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:724:5 [INFO] [stdout] | [INFO] [stdout] 724 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 714 ~ match resolve(path.as_ref()).await { Some(target) => { [INFO] [stdout] 715 | match target { [INFO] [stdout] ... [INFO] [stdout] 723 | } [INFO] [stdout] 724 ~ } _ => { [INFO] [stdout] 725 | Err(ErrorKind::NotFound.into()) [INFO] [stdout] 726 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:742:8 [INFO] [stdout] | [INFO] [stdout] 742 | if let Some(target) = resolve(path.as_ref()).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:765:5 [INFO] [stdout] | [INFO] [stdout] 765 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 742 ~ match resolve(path.as_ref()).await { Some(target) => { [INFO] [stdout] 743 | match target { [INFO] [stdout] ... [INFO] [stdout] 764 | // Try to create in parent [INFO] [stdout] 765 ~ } _ => { [INFO] [stdout] 766 | if let Some(target) = resolve_parent(path.as_ref()).await { [INFO] [stdout] ... [INFO] [stdout] 805 | } [INFO] [stdout] 806 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:746:20 [INFO] [stdout] | [INFO] [stdout] 746 | if let Some(_) = file_fd.parent() { [INFO] [stdout] | ^^^^^^^^^^^^^^-------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:758:17 [INFO] [stdout] | [INFO] [stdout] 758 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 746 ~ match file_fd.parent() { Some(_) => { [INFO] [stdout] 747 | match &mut *file_fd { [INFO] [stdout] ... [INFO] [stdout] 757 | } [INFO] [stdout] 758 ~ } _ => { [INFO] [stdout] 759 | Err(ErrorKind::PermissionDenied.into()) [INFO] [stdout] 760 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:766:12 [INFO] [stdout] | [INFO] [stdout] 766 | if let Some(target) = resolve_parent(path.as_ref()).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:796:9 [INFO] [stdout] | [INFO] [stdout] 796 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 766 ~ match resolve_parent(path.as_ref()).await { Some(target) => { [INFO] [stdout] 767 | match target { [INFO] [stdout] ... [INFO] [stdout] 795 | // Create at the root [INFO] [stdout] 796 ~ } _ => { [INFO] [stdout] 797 | let dir = root_fs_mut(); [INFO] [stdout] ... [INFO] [stdout] 804 | Ok(dir.files().get(file_name).map(Arc::clone).unwrap()) [INFO] [stdout] 805 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:811:8 [INFO] [stdout] | [INFO] [stdout] 811 | if let Some(target) = resolve(path.as_ref().to_path_buf()).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:826:5 [INFO] [stdout] | [INFO] [stdout] 826 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 811 ~ match resolve(path.as_ref().to_path_buf()).await { Some(target) => { [INFO] [stdout] 812 | match target { [INFO] [stdout] ... [INFO] [stdout] 825 | } [INFO] [stdout] 826 ~ } _ => { [INFO] [stdout] 827 | Err(ErrorKind::NotFound.into()) [INFO] [stdout] 828 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:833:8 [INFO] [stdout] | [INFO] [stdout] 833 | if let Some(target) = resolve(path.as_ref().to_path_buf()).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:848:5 [INFO] [stdout] | [INFO] [stdout] 848 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 833 ~ match resolve(path.as_ref().to_path_buf()).await { Some(target) => { [INFO] [stdout] 834 | match target { [INFO] [stdout] ... [INFO] [stdout] 847 | } [INFO] [stdout] 848 ~ } _ => { [INFO] [stdout] 849 | Err(ErrorKind::NotFound.into()) [INFO] [stdout] 850 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:855:8 [INFO] [stdout] | [INFO] [stdout] 855 | if let Some(parent) = path.as_ref().parent() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:857:5 [INFO] [stdout] | [INFO] [stdout] 857 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 855 ~ match path.as_ref().parent() { Some(parent) => { [INFO] [stdout] 856 | !parent.as_os_str().is_empty() [INFO] [stdout] 857 ~ } _ => { [INFO] [stdout] 858 | false [INFO] [stdout] 859 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:890:20 [INFO] [stdout] | [INFO] [stdout] 890 | if let Some(_) = parents.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:903:17 [INFO] [stdout] | [INFO] [stdout] 903 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 890 ~ match parents.pop() { Some(_) => { [INFO] [stdout] 891 | if index == length - 1 { [INFO] [stdout] ... [INFO] [stdout] 902 | } [INFO] [stdout] 903 ~ } _ => { [INFO] [stdout] 904 | return None; [INFO] [stdout] 905 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:892:28 [INFO] [stdout] | [INFO] [stdout] 892 | if let Some(target) = parents.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:894:25 [INFO] [stdout] | [INFO] [stdout] 894 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 892 ~ match parents.pop() { Some(target) => { [INFO] [stdout] 893 | return Some(target.into()); [INFO] [stdout] 894 ~ } _ => { [INFO] [stdout] 895 | return None; [INFO] [stdout] 896 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:927:24 [INFO] [stdout] | [INFO] [stdout] 927 | if let Some(child) = target.find_dir(name).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:936:21 [INFO] [stdout] | [INFO] [stdout] 936 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 927 ~ match target.find_dir(name).await { Some(child) => { [INFO] [stdout] 928 | parents.push(Parent::Folder(Arc::clone(&child))); [INFO] [stdout] ... [INFO] [stdout] 935 | .await; [INFO] [stdout] 936 ~ } _ => { [INFO] [stdout] 937 | return None; [INFO] [stdout] 938 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:967:8 [INFO] [stdout] | [INFO] [stdout] 967 | if let Some(parent) = path.as_ref().parent() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory/fs.rs:969:5 [INFO] [stdout] | [INFO] [stdout] 969 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 967 ~ match path.as_ref().parent() { Some(parent) => { [INFO] [stdout] 968 | resolve(parent).await [INFO] [stdout] 969 ~ } _ => { [INFO] [stdout] 970 | None [INFO] [stdout] 971 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory/open_options.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(target) = resolve(path.as_ref().to_path_buf()).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory/open_options.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 71 ~ match resolve(path.as_ref().to_path_buf()).await { Some(target) => { [INFO] [stdout] 72 | match target { [INFO] [stdout] ... [INFO] [stdout] 94 | } [INFO] [stdout] 95 ~ } _ => { [INFO] [stdout] 96 | if self.0.contains(OpenFlags::CREATE) { [INFO] [stdout] ... [INFO] [stdout] 101| } [INFO] [stdout] 102~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory/open_options.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 76 | if let MemoryFd::File(file) = &mut *fd { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory/open_options.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 76 ~ match &mut *fd { MemoryFd::File(file) => { [INFO] [stdout] 77 | file.truncate(); [INFO] [stdout] 78 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.36s [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory/read_dir.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | if let Some(target) = resolve(path.as_ref()).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory/read_dir.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 14 ~ match resolve(path.as_ref()).await { Some(target) => { [INFO] [stdout] 15 | let children = match target { [INFO] [stdout] ... [INFO] [stdout] 36 | }) [INFO] [stdout] 37 ~ } _ => { [INFO] [stdout] 38 | Err(ErrorKind::NotFound.into()) [INFO] [stdout] 39 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory/read_dir.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | if let Some((name, path, _fd)) = self.iter.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory/read_dir.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 65 ~ match self.iter.next() { Some((name, path, _fd)) => { [INFO] [stdout] 66 | let entry = DirEntry { path, name }; [INFO] [stdout] 67 | Poll::Ready(Ok(Some(entry))) [INFO] [stdout] 68 ~ } _ => { [INFO] [stdout] 69 | Poll::Ready(Ok(None)) [INFO] [stdout] 70 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking sos-vfs v0.2.2 (/tmp/fixit) [INFO] [stdout] warning: unused import: `DirBuilder` [INFO] [stdout] --> src/memory/mod.rs:10:51 [INFO] [stdout] | [INFO] [stdout] 10 | pub use dir_builder::{create_dir, create_dir_all, DirBuilder}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DirEntry` [INFO] [stdout] --> src/memory/mod.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | pub use read_dir::{read_dir, DirEntry}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/memory/fs.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe { &mut ROOT_DIR } [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 62 | unsafe { addr_of_mut!(ROOT_DIR) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0796`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sos-vfs` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "5616d225c6523605be9899858cb79f83da918040192ef3421316d25a1ae6b3ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5616d225c6523605be9899858cb79f83da918040192ef3421316d25a1ae6b3ec", kill_on_drop: false }` [INFO] [stdout] 5616d225c6523605be9899858cb79f83da918040192ef3421316d25a1ae6b3ec