[INFO] fetching crate rencfs 0.13.75... [INFO] checking rencfs-0.13.75 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate rencfs 0.13.75 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate rencfs 0.13.75 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] removed /workspace/builds/worker-5-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate rencfs 0.13.75 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rencfs 0.13.75 [INFO] tweaked toml for crates.io crate rencfs 0.13.75 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate rencfs 0.13.75 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" "+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] f4eada1a75e8d046fa2f776a7671b0c3083023204f3d8c3c05c58944d80563cb [INFO] running `Command { std: "docker" "start" "-a" "f4eada1a75e8d046fa2f776a7671b0c3083023204f3d8c3c05c58944d80563cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4eada1a75e8d046fa2f776a7671b0c3083023204f3d8c3c05c58944d80563cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4eada1a75e8d046fa2f776a7671b0c3083023204f3d8c3c05c58944d80563cb", kill_on_drop: false }` [INFO] [stdout] f4eada1a75e8d046fa2f776a7671b0c3083023204f3d8c3c05c58944d80563cb [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] ce404270f1d448a89c85c968a45a61e0a7461c3ce13873b972aab12ad1842c8f [INFO] running `Command { std: "docker" "start" "-a" "ce404270f1d448a89c85c968a45a61e0a7461c3ce13873b972aab12ad1842c8f", 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 autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking piper v0.2.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling zbus_macros v3.15.2 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Compiling crc32c v0.6.8 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking async-executor v1.12.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking xdg-home v1.2.0 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling blake3 v0.1.3 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking which v6.0.1 [INFO] [stderr] Checking clap_builder v4.5.7 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking async-notify v0.3.0 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Checking enumflags2 v0.7.10 [INFO] [stderr] Checking zvariant v3.15.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling tracing-test-macro v0.2.5 [INFO] [stderr] Compiling trait-make v0.1.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking async-timer v0.7.4 [INFO] [stderr] Checking linux-keyutils v0.2.4 [INFO] [stderr] Checking rtoolbox v0.0.2 [INFO] [stderr] Compiling cstr v0.2.12 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking rpassword v7.3.1 [INFO] [stderr] Checking zbus_names v2.6.1 [INFO] [stderr] Checking retainer v0.3.0 [INFO] [stderr] Checking tracing-appender v0.2.3 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking tracing-test v0.2.5 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking zbus v3.15.2 [INFO] [stderr] Checking lru v0.12.3 [INFO] [stderr] Checking okaywal v0.3.1 [INFO] [stderr] Checking atomic-write-file v0.1.4 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking clap v4.5.7 [INFO] [stderr] Checking fuse3 v0.7.2 [INFO] [stderr] Checking ctrlc v3.4.4 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking secret-service v3.1.0 [INFO] [stderr] Checking keyring v2.3.3 [INFO] [stderr] Checking rencfs v0.13.75 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/crypto/read.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | ($block_index:expr, $buf:expr, $input:expr, $last_nonce:expr, $opening_key: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] 29 | ($block_index:expr_2021, $buf:expr, $input:expr, $last_nonce:expr, $opening_key:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `rencfs` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/crypto/read.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | ($block_index:expr, $buf:expr, $input:expr, $last_nonce:expr, $opening_key: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] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 29 | ($block_index:expr, $buf:expr_2021, $input:expr, $last_nonce:expr, $opening_key:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/crypto/read.rs:29:43 [INFO] [stdout] | [INFO] [stdout] 29 | ($block_index:expr, $buf:expr, $input:expr, $last_nonce:expr, $opening_key: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] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 29 | ($block_index:expr, $buf:expr, $input:expr_2021, $last_nonce:expr, $opening_key:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/crypto/read.rs:29:61 [INFO] [stdout] | [INFO] [stdout] 29 | ($block_index:expr, $buf:expr, $input:expr, $last_nonce:expr, $opening_key: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] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 29 | ($block_index:expr, $buf:expr, $input:expr, $last_nonce:expr_2021, $opening_key:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/crypto/read.rs:29:80 [INFO] [stdout] | [INFO] [stdout] 29 | ($block_index:expr, $buf:expr, $input:expr, $last_nonce:expr, $opening_key: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] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 29 | ($block_index:expr, $buf:expr, $input:expr, $last_nonce:expr, $opening_key:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/crypto/read.rs [INFO] [stdout] warning: the feature `const_refs_to_cell` has been stable since 1.83.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(const_refs_to_cell)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/lib.rs [INFO] [stdout] warning: `impl CryptoWrite` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/crypto.rs:117:6 [INFO] [stdout] | [INFO] [stdout] 117 | ) -> impl CryptoWrite { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/crypto.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | key: &SecretVec, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 117 | ) -> impl CryptoWrite + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [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/crypto/read.rs:29:6 [INFO] [stdout] warning: `impl CryptoWriteSeek` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/crypto.rs:126:6 [INFO] [stdout] | [INFO] [stdout] 126 | ) -> impl CryptoWriteSeek { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/crypto.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | key: &SecretVec, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 126 | ) -> impl CryptoWriteSeek + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 29 | ($block_index:expr_2021, $buf:expr_2021, $input:expr_2021, $last_nonce:expr_2021, $opening_key: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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/crypto/read.rs:29:30 [INFO] [stderr] | [INFO] [stderr] 29 | ($block_index:expr_2021, $buf:expr_2021, $input:expr_2021, $last_nonce:expr_2021, $opening_key: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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/crypto/read.rs:29:46 [INFO] [stderr] | [INFO] [stderr] 29 | ($block_index:expr_2021, $buf:expr_2021, $input:expr_2021, $last_nonce:expr_2021, $opening_key: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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/crypto/read.rs:29:64 [INFO] [stderr] | [INFO] [stderr] 29 | ($block_index:expr_2021, $buf:expr_2021, $input:expr_2021, $last_nonce:expr_2021, $opening_key: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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/crypto/read.rs:29:87 [INFO] [stderr] | [INFO] [stderr] 29 | ($block_index:expr_2021, $buf:expr_2021, $input:expr_2021, $last_nonce:expr_2021, $opening_key: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: the feature `const_refs_to_cell` has been stable since 1.83.0-nightly and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | #![feature(const_refs_to_cell)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors; 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: `impl CryptoRead` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/crypto.rs:183:6 [INFO] [stdout] | [INFO] [stdout] 183 | ) -> impl CryptoRead { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/crypto.rs:182:10 [INFO] [stdout] | [INFO] [stdout] 182 | key: &SecretVec, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 183 | ) -> impl CryptoRead + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CryptoReadSeek` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/crypto.rs:192:6 [INFO] [stdout] | [INFO] [stdout] 192 | ) -> impl CryptoReadSeek { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/crypto.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | key: &SecretVec, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 192 | ) -> impl CryptoReadSeek + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/encryptedfs.rs:798:23 [INFO] [stdout] | [INFO] [stdout] 798 | while let Some(res) = join_set.join_next().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/encryptedfs.rs:800:17 [INFO] [stdout] | [INFO] [stdout] 800 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/encryptedfs.rs:1133:20 [INFO] [stdout] | [INFO] [stdout] 1133 | if let Some(name_cached) = cache.get(&name).cloned() { [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/encryptedfs.rs:1135:17 [INFO] [stdout] | [INFO] [stdout] 1135 | } 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] 1133 ~ match cache.get(&name).cloned() { Some(name_cached) => { [INFO] [stdout] 1134 | name_cached [INFO] [stdout] 1135 ~ } _ => { [INFO] [stdout] 1136 | drop(cache); [INFO] [stdout] ... [INFO] [stdout] 1148 | } [INFO] [stdout] 1149 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/encryptedfs.rs:1137:24 [INFO] [stdout] | [INFO] [stdout] 1137 | if let Ok(decrypted_name) = [INFO] [stdout] | _________________________^ [INFO] [stdout] 1138 | |/ crypto::decrypt_file_name(&name, self.cipher, &*self.key.get().await?) [INFO] [stdout] 1139 | || .map_err(|err| { [INFO] [stdout] 1140 | || error!(err = %err, "decrypting file name"); [INFO] [stdout] 1141 | || err [INFO] [stdout] 1142 | || }) [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/encryptedfs.rs:1146:21 [INFO] [stdout] | [INFO] [stdout] 1146 | } 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] 1137 ~ match crypto::decrypt_file_name(&name, self.cipher, &*self.key.get().await?) [INFO] [stdout] 1138 | .map_err(|err| { [INFO] [stdout] ... [INFO] [stdout] 1141 | }) [INFO] [stdout] 1142 ~ { Ok(decrypted_name) => { [INFO] [stdout] 1143 | lock.lock().await.put(name.clone(), decrypted_name.clone()); [INFO] [stdout] 1144 | decrypted_name [INFO] [stdout] 1145 ~ } _ => { [INFO] [stdout] 1146 | return Err(FsError::InvalidInput("invalid file name")); [INFO] [stdout] 1147 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/encryptedfs.rs:1268:16 [INFO] [stdout] | [INFO] [stdout] 1268 | if let Some(fhs) = fhs { [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/encryptedfs.rs:1276:13 [INFO] [stdout] | [INFO] [stdout] 1276 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1268 ~ match fhs { Some(fhs) => { [INFO] [stdout] 1269 | for fh in fhs { [INFO] [stdout] ... [INFO] [stdout] 1275 | } [INFO] [stdout] 1276 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/encryptedfs.rs:1271:24 [INFO] [stdout] | [INFO] [stdout] 1271 | if let Some(ctx) = lock.get(&fh) { [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/encryptedfs.rs:1274:21 [INFO] [stdout] | [INFO] [stdout] 1274 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1271 ~ match lock.get(&fh) { Some(ctx) => { [INFO] [stdout] 1272 | let set_atr: SetFileAttr = ctx.lock().await.attr.clone().into(); [INFO] [stdout] 1273 | merge_attr(&mut attr, &set_atr, false); [INFO] [stdout] 1274 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/encryptedfs.rs:1285:20 [INFO] [stdout] | [INFO] [stdout] 1285 | if let Some(ctx) = lock.get(&fh) { [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/encryptedfs.rs:1288:17 [INFO] [stdout] | [INFO] [stdout] 1288 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1285 ~ match lock.get(&fh) { Some(ctx) => { [INFO] [stdout] 1286 | let ctx = ctx.lock().await; [INFO] [stdout] 1287 | merge_attr(&mut attr, &ctx.attr.clone().into(), false); [INFO] [stdout] 1288 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/encryptedfs.rs:2183:16 [INFO] [stdout] | [INFO] [stdout] 2183 | if let Some(lock) = lock.get(fh) { [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/encryptedfs.rs:2205:13 [INFO] [stdout] | [INFO] [stdout] 2205 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2183 ~ match lock.get(fh) { Some(lock) => { [INFO] [stdout] 2184 | let mut ctx = lock.lock().await; [INFO] [stdout] ... [INFO] [stdout] 2204 | ctx.attr = attr.into(); [INFO] [stdout] 2205 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/expire_value.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | if let Some(v) = self.cache.get(&KEY.to_string()).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/expire_value.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 77 ~ match self.cache.get(&KEY.to_string()).await { Some(v) => { [INFO] [stdout] 78 | return Some(v.clone()); [INFO] [stdout] 79 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/expire_value.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | if let Some(ref monitor) = self.monitor { [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/expire_value.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 93 ~ match self.monitor { Some(ref monitor) => { [INFO] [stdout] 94 | monitor.abort(); [INFO] [stdout] 95 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl MountPoint` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/mount.rs:87:6 [INFO] [stdout] | [INFO] [stdout] 87 | ) -> impl MountPoint { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/mount.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | mountpoint: &Path, [INFO] [stdout] | ^ [INFO] [stdout] 81 | data_dir: &Path, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 87 | ) -> impl MountPoint + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/mount/linux.rs:832:16 [INFO] [stdout] | [INFO] [stdout] 832 | if let Ok(Some(new_attrs)) = self [INFO] [stdout] | ________________^ - [INFO] [stdout] | |__________________________________________| [INFO] [stdout] 833 | || .get_fs() [INFO] [stdout] 834 | || .find_by_name( [INFO] [stdout] 835 | || new_parent, [INFO] [stdout] 836 | || &SecretString::from_str(new_name.to_str().unwrap()).unwrap(), [INFO] [stdout] 837 | || ) [INFO] [stdout] 838 | || .await [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] | [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/mount/linux.rs:843:13 [INFO] [stdout] | [INFO] [stdout] 843 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 832 ~ match self [INFO] [stdout] 833 | .get_fs() [INFO] [stdout] ... [INFO] [stdout] 838 | .await [INFO] [stdout] 839 ~ { Ok(Some(new_attrs)) => { [INFO] [stdout] 840 | if req.uid != 0 && req.uid != new_parent_attr.uid && req.uid != new_attrs.uid { [INFO] [stdout] 841 | return Err(EACCES.into()); [INFO] [stdout] 842 | } [INFO] [stdout] 843 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/mount/linux.rs:1004:16 [INFO] [stdout] | [INFO] [stdout] 1004 | if let Err(err) = fs.flush(fh).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/mount/linux.rs:1007:13 [INFO] [stdout] | [INFO] [stdout] 1007 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1004 ~ match fs.flush(fh).await { Err(err) => { [INFO] [stdout] 1005 | error!(err = %err); [INFO] [stdout] 1006 | return Err(EIO.into()); [INFO] [stdout] 1007 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/change_password.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `rencfs` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/crypto/read.rs [INFO] [stderr] * src/lib.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/crypto/read.rs:29:6 [INFO] [stderr] | [INFO] [stderr] 29 | ($block_index:expr_2021, $buf:expr_2021, $input:expr_2021, $last_nonce:expr_2021, $opening_key: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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/crypto/read.rs:29:30 [INFO] [stderr] | [INFO] [stderr] 29 | ($block_index:expr_2021, $buf:expr_2021, $input:expr_2021, $last_nonce:expr_2021, $opening_key:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/crypto/read.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | ($block_index:expr, $buf:expr, $input:expr, $last_nonce:expr, $opening_key: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] 29 | ($block_index:expr_2021, $buf:expr, $input:expr, $last_nonce:expr, $opening_key:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/crypto/read.rs:29:46 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/crypto/read.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | ($block_index:expr, $buf:expr, $input:expr, $last_nonce:expr, $opening_key: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] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 29 | ($block_index:expr, $buf:expr_2021, $input:expr, $last_nonce:expr, $opening_key:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/crypto/read.rs:29:43 [INFO] [stdout] | [INFO] [stdout] 29 | ($block_index:expr, $buf:expr, $input:expr, $last_nonce:expr, $opening_key: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] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 29 | ($block_index:expr, $buf:expr, $input:expr_2021, $last_nonce:expr, $opening_key:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 29 | ($block_index:expr_2021, $buf:expr_2021, $input:expr_2021, $last_nonce:expr_2021, $opening_key:expr_2021) => {{ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/crypto/read.rs:29:61 [INFO] [stdout] | [INFO] [stdout] 29 | ($block_index:expr, $buf:expr, $input:expr, $last_nonce:expr, $opening_key: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] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 29 | ($block_index:expr, $buf:expr, $input:expr, $last_nonce:expr_2021, $opening_key:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/crypto/read.rs:29:80 [INFO] [stdout] | [INFO] [stdout] 29 | ($block_index:expr, $buf:expr, $input:expr, $last_nonce:expr, $opening_key: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] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 29 | ($block_index:expr, $buf:expr, $input:expr, $last_nonce:expr, $opening_key:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the feature `const_refs_to_cell` has been stable since 1.83.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(const_refs_to_cell)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: `impl crypto::write::CryptoWrite` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/crypto.rs:117:6 [INFO] [stdout] | [INFO] [stdout] 117 | ) -> impl CryptoWrite { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/crypto.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | key: &SecretVec, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 117 | ) -> impl CryptoWrite + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/crypto/read.rs:29:64 [INFO] [stderr] | [INFO] [stderr] 29 | ($block_index:expr_2021, $buf:expr_2021, $input:expr_2021, $last_nonce:expr_2021, $opening_key: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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/crypto/read.rs:29:87 [INFO] [stderr] | [INFO] [stderr] 29 | ($block_index:expr_2021, $buf:expr_2021, $input:expr_2021, $last_nonce:expr_2021, $opening_key: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: the feature `const_refs_to_cell` has been stable since 1.83.0-nightly and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | #![feature(const_refs_to_cell)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors; 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: `impl CryptoWriteSeek` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/crypto.rs:126:6 [INFO] [stdout] | [INFO] [stdout] 126 | ) -> impl CryptoWriteSeek { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/crypto.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | key: &SecretVec, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 126 | ) -> impl CryptoWriteSeek + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CryptoRead` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/crypto.rs:183:6 [INFO] [stdout] | [INFO] [stdout] 183 | ) -> impl CryptoRead { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/crypto.rs:182:10 [INFO] [stdout] | [INFO] [stdout] 182 | key: &SecretVec, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 183 | ) -> impl CryptoRead + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CryptoReadSeek` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/crypto.rs:192:6 [INFO] [stdout] | [INFO] [stdout] 192 | ) -> impl CryptoReadSeek { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/crypto.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | key: &SecretVec, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 192 | ) -> impl CryptoReadSeek + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/encryptedfs.rs:798:23 [INFO] [stdout] | [INFO] [stdout] 798 | while let Some(res) = join_set.join_next().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/encryptedfs.rs:800:17 [INFO] [stdout] | [INFO] [stdout] 800 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/encryptedfs.rs:1133:20 [INFO] [stdout] | [INFO] [stdout] 1133 | if let Some(name_cached) = cache.get(&name).cloned() { [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/encryptedfs.rs:1135:17 [INFO] [stdout] | [INFO] [stdout] 1135 | } 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] 1133 ~ match cache.get(&name).cloned() { Some(name_cached) => { [INFO] [stdout] 1134 | name_cached [INFO] [stdout] 1135 ~ } _ => { [INFO] [stdout] 1136 | drop(cache); [INFO] [stdout] ... [INFO] [stdout] 1148 | } [INFO] [stdout] 1149 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/encryptedfs.rs:1137:24 [INFO] [stdout] | [INFO] [stdout] 1137 | if let Ok(decrypted_name) = [INFO] [stdout] | _________________________^ [INFO] [stdout] 1138 | |/ crypto::decrypt_file_name(&name, self.cipher, &*self.key.get().await?) [INFO] [stdout] 1139 | || .map_err(|err| { [INFO] [stdout] 1140 | || error!(err = %err, "decrypting file name"); [INFO] [stdout] 1141 | || err [INFO] [stdout] 1142 | || }) [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/encryptedfs.rs:1146:21 [INFO] [stdout] | [INFO] [stdout] 1146 | } 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] 1137 ~ match crypto::decrypt_file_name(&name, self.cipher, &*self.key.get().await?) [INFO] [stdout] 1138 | .map_err(|err| { [INFO] [stdout] ... [INFO] [stdout] 1141 | }) [INFO] [stdout] 1142 ~ { Ok(decrypted_name) => { [INFO] [stdout] 1143 | lock.lock().await.put(name.clone(), decrypted_name.clone()); [INFO] [stdout] 1144 | decrypted_name [INFO] [stdout] 1145 ~ } _ => { [INFO] [stdout] 1146 | return Err(FsError::InvalidInput("invalid file name")); [INFO] [stdout] 1147 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/encryptedfs.rs:1268:16 [INFO] [stdout] | [INFO] [stdout] 1268 | if let Some(fhs) = fhs { [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/encryptedfs.rs:1276:13 [INFO] [stdout] | [INFO] [stdout] 1276 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1268 ~ match fhs { Some(fhs) => { [INFO] [stdout] 1269 | for fh in fhs { [INFO] [stdout] ... [INFO] [stdout] 1275 | } [INFO] [stdout] 1276 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/encryptedfs.rs:1271:24 [INFO] [stdout] | [INFO] [stdout] 1271 | if let Some(ctx) = lock.get(&fh) { [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/encryptedfs.rs:1274:21 [INFO] [stdout] | [INFO] [stdout] 1274 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1271 ~ match lock.get(&fh) { Some(ctx) => { [INFO] [stdout] 1272 | let set_atr: SetFileAttr = ctx.lock().await.attr.clone().into(); [INFO] [stdout] 1273 | merge_attr(&mut attr, &set_atr, false); [INFO] [stdout] 1274 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/encryptedfs.rs:1285:20 [INFO] [stdout] | [INFO] [stdout] 1285 | if let Some(ctx) = lock.get(&fh) { [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/encryptedfs.rs:1288:17 [INFO] [stdout] | [INFO] [stdout] 1288 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1285 ~ match lock.get(&fh) { Some(ctx) => { [INFO] [stdout] 1286 | let ctx = ctx.lock().await; [INFO] [stdout] 1287 | merge_attr(&mut attr, &ctx.attr.clone().into(), false); [INFO] [stdout] 1288 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/encryptedfs.rs:2183:16 [INFO] [stdout] | [INFO] [stdout] 2183 | if let Some(lock) = lock.get(fh) { [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/encryptedfs.rs:2205:13 [INFO] [stdout] | [INFO] [stdout] 2205 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2183 ~ match lock.get(fh) { Some(lock) => { [INFO] [stdout] 2184 | let mut ctx = lock.lock().await; [INFO] [stdout] ... [INFO] [stdout] 2204 | ctx.attr = attr.into(); [INFO] [stdout] 2205 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/expire_value.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | if let Some(v) = self.cache.get(&KEY.to_string()).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/expire_value.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 77 ~ match self.cache.get(&KEY.to_string()).await { Some(v) => { [INFO] [stdout] 78 | return Some(v.clone()); [INFO] [stdout] 79 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/expire_value.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | if let Some(ref monitor) = self.monitor { [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/expire_value.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 93 ~ match self.monitor { Some(ref monitor) => { [INFO] [stdout] 94 | monitor.abort(); [INFO] [stdout] 95 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl MountPoint` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/mount.rs:87:6 [INFO] [stdout] | [INFO] [stdout] 87 | ) -> impl MountPoint { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/mount.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | mountpoint: &Path, [INFO] [stdout] | ^ [INFO] [stdout] 81 | data_dir: &Path, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 87 | ) -> impl MountPoint + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/mount/linux.rs:832:16 [INFO] [stdout] | [INFO] [stdout] 832 | if let Ok(Some(new_attrs)) = self [INFO] [stdout] | ________________^ - [INFO] [stdout] | |__________________________________________| [INFO] [stdout] 833 | || .get_fs() [INFO] [stdout] 834 | || .find_by_name( [INFO] [stdout] 835 | || new_parent, [INFO] [stdout] 836 | || &SecretString::from_str(new_name.to_str().unwrap()).unwrap(), [INFO] [stdout] 837 | || ) [INFO] [stdout] 838 | || .await [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] | [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/mount/linux.rs:843:13 [INFO] [stdout] | [INFO] [stdout] 843 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 832 ~ match self [INFO] [stdout] 833 | .get_fs() [INFO] [stdout] ... [INFO] [stdout] 838 | .await [INFO] [stdout] 839 ~ { Ok(Some(new_attrs)) => { [INFO] [stdout] 840 | if req.uid != 0 && req.uid != new_parent_attr.uid && req.uid != new_attrs.uid { [INFO] [stdout] 841 | return Err(EACCES.into()); [INFO] [stdout] 842 | } [INFO] [stdout] 843 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/mount/linux.rs:1004:16 [INFO] [stdout] | [INFO] [stdout] 1004 | if let Err(err) = fs.flush(fh).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/mount/linux.rs:1007:13 [INFO] [stdout] | [INFO] [stdout] 1007 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1004 ~ match fs.flush(fh).await { Err(err) => { [INFO] [stdout] 1005 | error!(err = %err); [INFO] [stdout] 1006 | return Err(EIO.into()); [INFO] [stdout] 1007 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/crypto_write_read.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/encryptedfs.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/change_password_cli.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/mount.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/crypto_speed.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/internal_ring_speed.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/internal_ring.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.33s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking rencfs v0.13.75 (/tmp/fixit) [INFO] [stdout] warning: the feature `const_refs_to_cell` has been stable since 1.83.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(const_refs_to_cell)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/encryptedfs.rs:2226:34 [INFO] [stdout] | [INFO] [stdout] 2212 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 2226 | reader: Some(Box::new(reader)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/encryptedfs.rs:2259:34 [INFO] [stdout] | [INFO] [stdout] 2244 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 2259 | writer: Some(Box::new(writer)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_refs_to_cell` has been stable since 1.83.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(const_refs_to_cell)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/encryptedfs.rs:2226:34 [INFO] [stdout] | [INFO] [stdout] 2212 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 2226 | reader: Some(Box::new(reader)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/encryptedfs.rs:2259:34 [INFO] [stdout] | [INFO] [stdout] 2244 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 2259 | writer: Some(Box::new(writer)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/encryptedfs.rs:2169:35 [INFO] [stdout] | [INFO] [stdout] 2147 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 2169 | ctx.reader = Some(Box::new(reader)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/encryptedfs.rs:1956:35 [INFO] [stdout] | [INFO] [stdout] 1923 | async fn flush_and_reset_writers(&self, ino: u64) -> FsResult<()> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 1956 | ctx.writer = Some(Box::new(writer)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/encryptedfs.rs:2085:9 [INFO] [stdout] | [INFO] [stdout] 2085 | / Ok(crypto::create_read( [INFO] [stdout] 2086 | | reader, [INFO] [stdout] 2087 | | self.cipher, [INFO] [stdout] 2088 | | &*self.key.get().await?, [INFO] [stdout] | | --------------------- temporary value created here [INFO] [stdout] 2089 | | )) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/encryptedfs.rs:2061:9 [INFO] [stdout] | [INFO] [stdout] 2061 | / Ok(crypto::create_write( [INFO] [stdout] 2062 | | file, [INFO] [stdout] 2063 | | self.cipher, [INFO] [stdout] 2064 | | &*self.key.get().await?, [INFO] [stdout] | | --------------------- temporary value created here [INFO] [stdout] 2065 | | )) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/encryptedfs.rs:2073:9 [INFO] [stdout] | [INFO] [stdout] 2073 | / Ok(crypto::create_write_seek( [INFO] [stdout] 2074 | | file, [INFO] [stdout] 2075 | | self.cipher, [INFO] [stdout] 2076 | | &*self.key.get().await?, [INFO] [stdout] | | --------------------- temporary value created here [INFO] [stdout] 2077 | | )) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/encryptedfs.rs:2097:9 [INFO] [stdout] | [INFO] [stdout] 2097 | / Ok(crypto::create_read_seek( [INFO] [stdout] 2098 | | reader, [INFO] [stdout] 2099 | | self.cipher, [INFO] [stdout] 2100 | | &*self.key.get().await?, [INFO] [stdout] | | --------------------- temporary value created here [INFO] [stdout] 2101 | | )) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/encryptedfs.rs:2169:35 [INFO] [stdout] | [INFO] [stdout] 2147 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 2169 | ctx.reader = Some(Box::new(reader)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/encryptedfs.rs:1956:35 [INFO] [stdout] | [INFO] [stdout] 1923 | async fn flush_and_reset_writers(&self, ino: u64) -> FsResult<()> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 1956 | ctx.writer = Some(Box::new(writer)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/encryptedfs.rs:2085:9 [INFO] [stdout] | [INFO] [stdout] 2085 | / Ok(crypto::create_read( [INFO] [stdout] 2086 | | reader, [INFO] [stdout] 2087 | | self.cipher, [INFO] [stdout] 2088 | | &*self.key.get().await?, [INFO] [stdout] | | --------------------- temporary value created here [INFO] [stdout] 2089 | | )) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/encryptedfs.rs:2061:9 [INFO] [stdout] | [INFO] [stdout] 2061 | / Ok(crypto::create_write( [INFO] [stdout] 2062 | | file, [INFO] [stdout] 2063 | | self.cipher, [INFO] [stdout] 2064 | | &*self.key.get().await?, [INFO] [stdout] | | --------------------- temporary value created here [INFO] [stdout] 2065 | | )) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/encryptedfs.rs:2073:9 [INFO] [stdout] | [INFO] [stdout] 2073 | / Ok(crypto::create_write_seek( [INFO] [stdout] 2074 | | file, [INFO] [stdout] 2075 | | self.cipher, [INFO] [stdout] 2076 | | &*self.key.get().await?, [INFO] [stdout] | | --------------------- temporary value created here [INFO] [stdout] 2077 | | )) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/encryptedfs.rs:2097:9 [INFO] [stdout] | [INFO] [stdout] 2097 | / Ok(crypto::create_read_seek( [INFO] [stdout] 2098 | | reader, [INFO] [stdout] 2099 | | self.cipher, [INFO] [stdout] 2100 | | &*self.key.get().await?, [INFO] [stdout] | | --------------------- temporary value created here [INFO] [stdout] 2101 | | )) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rencfs` (lib) due to 9 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rencfs` (lib test) due to 9 previous errors; 1 warning 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" "ce404270f1d448a89c85c968a45a61e0a7461c3ce13873b972aab12ad1842c8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce404270f1d448a89c85c968a45a61e0a7461c3ce13873b972aab12ad1842c8f", kill_on_drop: false }` [INFO] [stdout] ce404270f1d448a89c85c968a45a61e0a7461c3ce13873b972aab12ad1842c8f