[INFO] crate sos 0.15.0 is already in cache [INFO] checking sos-0.15.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate sos 0.15.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate sos 0.15.0 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 0.15.0 [INFO] finished tweaking crates.io crate sos 0.15.0 [INFO] tweaked toml for crates.io crate sos 0.15.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate sos 0.15.0 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 3ee37abf8b15fb9d70538874e097797d59ed1c4feacafd65d305f27cd2e8f870 [INFO] running `Command { std: "docker" "start" "-a" "3ee37abf8b15fb9d70538874e097797d59ed1c4feacafd65d305f27cd2e8f870", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ee37abf8b15fb9d70538874e097797d59ed1c4feacafd65d305f27cd2e8f870", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ee37abf8b15fb9d70538874e097797d59ed1c4feacafd65d305f27cd2e8f870", kill_on_drop: false }` [INFO] [stdout] 3ee37abf8b15fb9d70538874e097797d59ed1c4feacafd65d305f27cd2e8f870 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 7c179cfe8a89e558b1f3f93e6eb6e6b0713745de9cc4c845940551dcd07f00b7 [INFO] running `Command { std: "docker" "start" "-a" "7c179cfe8a89e558b1f3f93e6eb6e6b0713745de9cc4c845940551dcd07f00b7", 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 libc v0.2.158 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling cc v1.1.13 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking flate2 v1.0.32 [INFO] [stderr] Compiling type-map v0.5.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling self_cell v1.0.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling self_cell v0.10.3 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rust-embed-utils v8.5.0 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking rlp v0.5.2 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking bytemuck v1.17.0 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking image v0.25.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling binary-stream v9.1.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking nonzero_ext v0.1.5 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking io_tee v0.1.1 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Checking qrcodegen v1.8.0 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking qrcodegen-image v1.5.0 [INFO] [stderr] Checking async-compression v0.4.12 [INFO] [stderr] Compiling sos-sdk v0.15.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling logos-codegen v0.14.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Compiling protoc-bin-vendored-macos-x86_64 v3.0.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-ppcle_64 v3.0.0 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-x86_32 v3.0.0 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Compiling protoc-bin-vendored-win32 v3.0.0 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-aarch_64 v3.0.0 [INFO] [stderr] Checking constant_time_eq v0.2.6 [INFO] [stderr] Compiling protoc-bin-vendored-linux-x86_64 v3.0.0 [INFO] [stderr] Checking app_dirs2 v2.5.5 [INFO] [stderr] Compiling protoc-bin-vendored v3.0.0 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Checking sanitize-filename v0.5.0 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Checking file-guard v0.2.0 [INFO] [stderr] Checking filetime v0.2.24 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Checking rev_buf_reader v0.3.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking async-once-cell v0.5.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking whoami v1.5.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Compiling snow v0.9.6 [INFO] [stderr] Compiling sos-account-extras v0.15.0 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Compiling terminal-banner v0.4.1 [INFO] [stderr] Compiling sos-net v0.15.0 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking human_bytes v0.4.3 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling rust-embed-impl v8.5.0 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling prost-derive v0.13.1 [INFO] [stderr] Compiling derive_builder_core v0.10.2 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Checking tokio v1.39.3 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking unic-langid-impl v0.9.5 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking unic-langid v0.9.5 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking intl_pluralrules v7.0.2 [INFO] [stderr] Checking fluent-syntax v0.11.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking intl-memoizer v0.5.2 [INFO] [stderr] Checking fluent-langneg v0.13.0 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking fluent-bundle v0.15.3 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Compiling rust-embed v8.5.0 [INFO] [stderr] Compiling derive_builder_core v0.20.0 [INFO] [stderr] Compiling prost v0.13.1 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking fluent v0.16.1 [INFO] [stderr] Compiling derive_builder_macro v0.10.2 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Compiling logos-derive v0.14.1 [INFO] [stderr] Checking rustls-webpki v0.102.6 [INFO] [stderr] Checking scrypt v0.11.0 [INFO] [stderr] Compiling prost-types v0.13.1 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking typed-generational-arena v0.2.5 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking derive_builder v0.10.2 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking cookie-factory v0.3.3 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Checking chbs v0.1.1 [INFO] [stderr] Checking probly-search v2.0.1 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking logos v0.14.1 [INFO] [stderr] Checking rs_merkle v1.4.2 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking terminal_size v0.2.6 [INFO] [stderr] Compiling derive_builder_macro v0.20.0 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking balloon-hash v0.4.0 [INFO] [stderr] Compiling kdam_derive v0.1.0 [INFO] [stderr] Compiling rustyline-derive v0.10.0 [INFO] [stderr] Compiling prost-build v0.13.1 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking derive_builder v0.20.0 [INFO] [stderr] Checking enum-iterator v2.1.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking sos-vfs v0.2.2 [INFO] [stderr] Checking k256 v0.13.3 [INFO] [stderr] Checking async_zip v0.0.17 [INFO] [stderr] Compiling sos-protocol v0.15.0 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking tungstenite v0.23.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking uriparse v0.6.4 [INFO] [stderr] Checking urn v0.7.0 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking csv-async v1.3.0 [INFO] [stderr] Checking serde_with v3.9.0 [INFO] [stderr] Checking ethbloom v0.13.0 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking age-core v0.10.0 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking tokio-tungstenite v0.23.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling basic-toml v0.1.9 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking totp-rs v5.6.0 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling i18n-config v0.4.7 [INFO] [stderr] Compiling find-crate v0.6.3 [INFO] [stderr] Checking ethereum-types v0.14.1 [INFO] [stderr] Compiling i18n-embed-impl v0.8.3 [INFO] [stderr] Checking ctrlc v3.4.5 [INFO] [stderr] Compiling i18n-embed v0.14.1 [INFO] [stderr] Checking zxcvbn v3.1.0 [INFO] [stderr] Checking tracing-appender v0.2.3 [INFO] [stderr] Checking vcard4 v0.5.2 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Compiling i18n-embed-fl v0.7.0 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking fd-lock v4.0.2 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking rustyline v14.0.0 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking kdam v0.5.2 [INFO] [stderr] Checking age v0.10.0 [INFO] [stderr] Checking arboard v3.4.0 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking sos-cli-helpers v0.1.0 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking hyper-rustls v0.27.2 [INFO] [stderr] Checking axum-server v0.7.1 [INFO] [stderr] Checking reqwest v0.12.7 [INFO] [stderr] Checking sos v0.15.0 (/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` [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/cli/sos.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | std::env::set_var("SOS_PASSWORD", password); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 145 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 146 ~ unsafe { std::env::set_var("SOS_PASSWORD", password) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cli/sos.rs:126:16 [INFO] [stdout] | [INFO] [stdout] 126 | if let Some(tx) = &*tx { [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/cli/sos.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | } 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] 126 ~ match &*tx { Some(tx) => { [INFO] [stdout] 127 | let _ = tx.send(()); [INFO] [stdout] 128 ~ } _ => { [INFO] [stdout] 129 | std::process::exit(1); [INFO] [stdout] 130 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/account.rs:212:16 [INFO] [stdout] | [INFO] [stdout] 212 | if let Some(account) = account_restore(input).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/commands/account.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 212 ~ match account_restore(input).await? { Some(account) => { [INFO] [stdout] 213 | success(format!("Account restored {}", account.label())); [INFO] [stdout] 214 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/account.rs:423:22 [INFO] [stdout] | [INFO] [stdout] 423 | let account = if let Some((mut owner, password)) = owner.take() { [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/commands/account.rs:433:5 [INFO] [stdout] | [INFO] [stdout] 433 | } 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] 423 ~ let account = match owner.take() { Some((mut owner, password)) => { [INFO] [stdout] 424 | let paths = owner.paths(); [INFO] [stdout] ... [INFO] [stdout] 432 | .await? [INFO] [stdout] 433 ~ } _ => { [INFO] [stdout] 434 | let address = inventory.manifest.address.to_string(); [INFO] [stdout] ... [INFO] [stdout] 441 | NetworkAccount::import_backup_archive(&input, options, None).await? [INFO] [stdout] 442 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/cli/sos.rs [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/device.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(device) = [INFO] [stdout] | ________________^ [INFO] [stdout] 72 | | resolve_device(Arc::clone(&user), &id).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/commands/device.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | } 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_device(Arc::clone(&user), &id).await? [INFO] [stdout] 72 ~ { Some(device) => { [INFO] [stdout] 73 | let prompt = format!(r#"Revoke device "{}" (y/n)? "#, &id); [INFO] [stdout] ... [INFO] [stdout] 78 | } [INFO] [stdout] 79 ~ } _ => { [INFO] [stdout] 80 | return Err(Error::DeviceNotFound(id)); [INFO] [stdout] 81 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/commands/tools/audit.rs [INFO] [stderr] * src/commands/tools/check.rs [INFO] [stderr] * src/commands/tools/events.rs [INFO] [stderr] * src/helpers/account.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: usage of an `unsafe` block [INFO] [stderr] --> src/cli/sos.rs:146:9 [INFO] [stderr] | [INFO] [stderr] 146 | unsafe { std::env::set_var("SOS_PASSWORD", password) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | #![forbid(unsafe_code)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stderr] --> src/commands/tools/audit.rs:99:19 [INFO] [stderr] | [INFO] [stderr] 99 | while let Some(record) = it.next().await? { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stderr] | | [INFO] [stderr] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stderr] = note: for more information, see issue #124085 [INFO] [stderr] help: the value is now dropped here in Edition 2024 [INFO] [stderr] --> src/commands/tools/audit.rs:106:13 [INFO] [stderr] | [INFO] [stderr] 106 | } [INFO] [stderr] | ^ [INFO] [stderr] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stderr] [INFO] [stderr] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stderr] --> src/commands/tools/audit.rs:138:11 [INFO] [stderr] | [INFO] [stderr] 138 | while let Some(record) = it.next().await? { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stderr] | | [INFO] [stderr] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stderr] = note: for more information, see issue #124085 [INFO] [stderr] help: the value is now dropped here in Edition 2024 [INFO] [stderr] --> src/commands/tools/audit.rs:149:5 [INFO] [stderr] | [INFO] [stderr] 149 | } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stderr] --> src/commands/tools/check.rs:74:11 [INFO] [stderr] | [INFO] [stderr] 74 | while let Some(event) = stream.next().await { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^------------------- [INFO] [stderr] | | [INFO] [stderr] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stderr] = note: for more information, see issue #124085 [INFO] [stderr] help: the value is now dropped here in Edition 2024 [INFO] [stderr] --> src/commands/tools/check.rs:79:5 [INFO] [stderr] | [INFO] [stderr] 79 | } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stderr] --> src/commands/tools/check.rs:98:11 [INFO] [stderr] | [INFO] [stderr] 98 | while let Some(event) = stream.next().await { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^------------------- [INFO] [stderr] | | [INFO] [stderr] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stderr] = note: for more information, see issue #124085 [INFO] [stderr] help: the value is now dropped here in Edition 2024 [INFO] [stderr] --> src/commands/tools/check.rs:104:5 [INFO] [stderr] | [INFO] [stderr] 104 | } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stderr] --> src/commands/tools/events.rs:109:11 [INFO] [stderr] | [INFO] [stderr] 109 | while let Some(event) = stream.next().await { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^------------------- [INFO] [stderr] | | [INFO] [stderr] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stderr] = note: for more information, see issue #124085 [INFO] [stderr] help: the value is now dropped here in Edition 2024 [INFO] [stderr] --> src/commands/tools/events.rs:126:5 [INFO] [stderr] | [INFO] [stderr] 126 | } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stderr] --> src/helpers/account.rs:281:15 [INFO] [stderr] | [INFO] [stderr] 281 | while let Some(_) = rx.recv().await { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stderr] | | [INFO] [stderr] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stderr] = note: for more information, see issue #124085 [INFO] [stderr] help: the value is now dropped here in Edition 2024 [INFO] [stderr] --> src/helpers/account.rs:293:9 [INFO] [stderr] | [INFO] [stderr] 293 | } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/folder.rs:190:20 [INFO] [stdout] | [INFO] [stdout] 190 | if let Some(current) = reader.current_folder() { [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/commands/folder.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | } 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] 190 ~ match reader.current_folder() { Some(current) => { [INFO] [stdout] 191 | current.id() == summary.id() [INFO] [stdout] 192 ~ } _ => { [INFO] [stdout] 193 | false [INFO] [stdout] 194 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/folder.rs:266:16 [INFO] [stdout] | [INFO] [stdout] 266 | if let Some(folder) = reader.cache().get(summary.id()) { [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/commands/folder.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 266 ~ match reader.cache().get(summary.id()) { Some(folder) => { [INFO] [stdout] 267 | let event_log = folder.event_log(); [INFO] [stdout] ... [INFO] [stdout] 278 | } [INFO] [stdout] 279 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/secret.rs:736:16 [INFO] [stdout] | [INFO] [stdout] 736 | if let Some((meta, secret)) = result { [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/commands/secret.rs:741:13 [INFO] [stdout] | [INFO] [stdout] 741 | } 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] 736 ~ match result { Some((meta, secret)) => { [INFO] [stdout] 737 | owner.create_secret(meta, secret, options).await?; [INFO] [stdout] ... [INFO] [stdout] 740 | success("Secret created"); [INFO] [stdout] 741 ~ } _ => { [INFO] [stdout] 742 | let _ = shutdown_tx.send(()).await; [INFO] [stdout] 743 | let _ = closed_rx.await; [INFO] [stdout] 744 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/secret.rs:923:24 [INFO] [stdout] | [INFO] [stdout] 923 | if let Secret::File { content, .. } = data.secret() { [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/commands/secret.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] 923 ~ match data.secret() { Secret::File { content, .. } => { [INFO] [stdout] 924 | if content.mime().starts_with("text/") { [INFO] [stdout] ... [INFO] [stdout] 935 | } [INFO] [stdout] 936 ~ } _ => { [INFO] [stdout] 937 | editor::edit(data.secret()).await? [INFO] [stdout] 938 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/secret.rs:940:20 [INFO] [stdout] | [INFO] [stdout] 940 | if let Cow::Owned(edited_secret) = result { [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/commands/secret.rs:956:17 [INFO] [stdout] | [INFO] [stdout] 956 | } 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] 940 ~ match result { Cow::Owned(edited_secret) => { [INFO] [stdout] 941 | let (options, shutdown_tx, closed_rx) = access_options(); [INFO] [stdout] ... [INFO] [stdout] 955 | // it indicates that no changes were made [INFO] [stdout] 956 ~ } _ => { [INFO] [stdout] 957 | println!("No changes detected"); [INFO] [stdout] 958 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/secret.rs:1338:24 [INFO] [stdout] | [INFO] [stdout] 1338 | if let Some((meta, secret)) = add_note(Some(name), None)? [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/commands/secret.rs:1344:21 [INFO] [stdout] | [INFO] [stdout] 1344 | } 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] 1338 ~ match add_note(Some(name), None)? [INFO] [stdout] 1339 ~ { Some((meta, secret)) => { [INFO] [stdout] 1340 | let attachment = [INFO] [stdout] ... [INFO] [stdout] 1343 | Some(data.into()) [INFO] [stdout] 1344 ~ } _ => { [INFO] [stdout] 1345 | None [INFO] [stdout] 1346 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/secret.rs:1354:24 [INFO] [stdout] | [INFO] [stdout] 1354 | if let Some((meta, secret)) = add_link(Some(name), None)? [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/commands/secret.rs:1360:21 [INFO] [stdout] | [INFO] [stdout] 1360 | } 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] 1354 ~ match add_link(Some(name), None)? [INFO] [stdout] 1355 ~ { Some((meta, secret)) => { [INFO] [stdout] 1356 | let attachment = [INFO] [stdout] ... [INFO] [stdout] 1359 | Some(data.into()) [INFO] [stdout] 1360 ~ } _ => { [INFO] [stdout] 1361 | None [INFO] [stdout] 1362 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/secret.rs:1370:24 [INFO] [stdout] | [INFO] [stdout] 1370 | if let Some((meta, secret)) = [INFO] [stdout] | ________________________^ [INFO] [stdout] 1371 | | add_password(Some(name), None)? [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/commands/secret.rs:1377:21 [INFO] [stdout] | [INFO] [stdout] 1377 | } 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] 1370 ~ match add_password(Some(name), None)? [INFO] [stdout] 1371 ~ { Some((meta, secret)) => { [INFO] [stdout] 1372 | let attachment = [INFO] [stdout] ... [INFO] [stdout] 1375 | Some(data.into()) [INFO] [stdout] 1376 ~ } _ => { [INFO] [stdout] 1377 | None [INFO] [stdout] 1378 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/secret.rs:1403:20 [INFO] [stdout] | [INFO] [stdout] 1403 | if let Some(existing) = existing { [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/commands/secret.rs:1407:17 [INFO] [stdout] | [INFO] [stdout] 1407 | } 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] 1403 ~ match existing { Some(existing) => { [INFO] [stdout] 1404 | download_file_secret(&resolved, file, existing.into()) [INFO] [stdout] 1405 | .await?; [INFO] [stdout] 1406 | None [INFO] [stdout] 1407 ~ } _ => { [INFO] [stdout] 1408 | return Err(Error::FieldNotFound(attachment)); [INFO] [stdout] 1409 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/secret.rs:1414:20 [INFO] [stdout] | [INFO] [stdout] 1414 | if let Some(existing) = existing { [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/commands/secret.rs:1417:17 [INFO] [stdout] | [INFO] [stdout] 1417 | } 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] 1414 ~ match existing { Some(existing) => { [INFO] [stdout] 1415 | data.secret_mut().remove_field(existing.id()); [INFO] [stdout] 1416 | Some(data.into()) [INFO] [stdout] 1417 ~ } _ => { [INFO] [stdout] 1418 | return Err(Error::FieldNotFound(attachment)); [INFO] [stdout] 1419 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/secret.rs:1423:12 [INFO] [stdout] | [INFO] [stdout] 1423 | if let Some(new_secret) = new_secret { [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/commands/secret.rs:1438:9 [INFO] [stdout] | [INFO] [stdout] 1438 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1423 ~ match new_secret { Some(new_secret) => { [INFO] [stdout] 1424 | let mut owner = resolved.user.write().await; [INFO] [stdout] ... [INFO] [stdout] 1437 | success("Secret updated"); [INFO] [stdout] 1438 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/server.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | if let Some(err) = sync_result.first_error() { [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/commands/server.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | } 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] 57 ~ match sync_result.first_error() { Some(err) => { [INFO] [stdout] 58 | owner.remove_server(&origin).await?; [INFO] [stdout] 59 | return Err(Error::InitialSync(err)); [INFO] [stdout] 60 ~ } _ => { [INFO] [stdout] 61 | success(format!("Added {}", origin.url())); [INFO] [stdout] 62 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/shell/cli.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | if let Some(current) = reader.current_folder() { [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/commands/shell/cli.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | } 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] 96 ~ match reader.current_folder() { Some(current) => { [INFO] [stdout] 97 | format!("{}@{}> ", account_name, current.name()) [INFO] [stdout] 98 ~ } _ => { [INFO] [stdout] 99 | format!("{}> ", account_name) [INFO] [stdout] 100~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/shell/cli.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | if let Err(e) = exec(&line, provider).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/commands/shell/cli.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 109 ~ match exec(&line, provider).await { Err(e) => { [INFO] [stdout] 110 | fail(e.to_string()); [INFO] [stdout] 111 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/sync.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 209 | if let (Some(local_folder), Some(remote_folder)) = [INFO] [stdout] | ____________^ [INFO] [stdout] 210 | | (local.folders.get(id), remote.folders.get(id)) [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/commands/sync.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 209 ~ match (local.folders.get(id), remote.folders.get(id)) [INFO] [stdout] 210 ~ { (Some(local_folder), Some(remote_folder)) => { [INFO] [stdout] 211 | let title = format!("📁 {}", folder.name()); [INFO] [stdout] ... [INFO] [stdout] 217 | )?; [INFO] [stdout] 218 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/tools/audit.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | while let Some(record) = it.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/commands/tools/audit.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/tools/audit.rs:138:11 [INFO] [stdout] | [INFO] [stdout] 138 | while let Some(record) = it.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/commands/tools/audit.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/tools/authenticator.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | let folder = if let Some(authenticator) = [INFO] [stdout] | _____________________________^ [INFO] [stdout] 74 | | owner.authenticator_folder().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/commands/tools/authenticator.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | } 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] 73 ~ let folder = match owner.authenticator_folder().await [INFO] [stdout] 74 ~ { Some(authenticator) => { [INFO] [stdout] 75 | let prompt = format!( [INFO] [stdout] ... [INFO] [stdout] 84 | } [INFO] [stdout] 85 ~ } _ => { [INFO] [stdout] 86 | let options = NewFolderOptions { [INFO] [stdout] ... [INFO] [stdout] 98 | Some(folder) [INFO] [stdout] 99 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/tools/check.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | while let Some(event) = stream.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/commands/tools/check.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/tools/check.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | while let Some(event) = stream.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/commands/tools/check.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/tools/events.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | while let Some(event) = stream.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/commands/tools/events.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/helpers/mod.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | if let Some(clipboard) = clipboard.as_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/helpers/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | } 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] 30 ~ match clipboard.as_mut() { Some(clipboard) => { [INFO] [stdout] 31 | clipboard.set_text(text)?; [INFO] [stdout] 32 | Ok(true) [INFO] [stdout] 33 ~ } _ => { [INFO] [stdout] 34 | Ok(false) [INFO] [stdout] 35 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/helpers/account.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | if let Ok(mut accounts) = Identity::list_accounts(None).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/helpers/account.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 138 ~ match Identity::list_accounts(None).await { Ok(mut accounts) => { [INFO] [stdout] 139 | if accounts.len() == 1 { [INFO] [stdout] 140 | return Some(accounts.remove(0).into()); [INFO] [stdout] 141 | } [INFO] [stdout] 142 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/helpers/account.rs:186:15 [INFO] [stdout] | [INFO] [stdout] 186 | } else if let Some(owner) = USER.get() { [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/helpers/account.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | } 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] 186 ~ } else { match USER.get() { Some(owner) => { [INFO] [stdout] 187 | let owner = owner.read().await; [INFO] [stdout] ... [INFO] [stdout] 192 | Ok(Some(summary.clone())) [INFO] [stdout] 193 ~ } _ => { [INFO] [stdout] 194 | let storage = owner.storage().await?; [INFO] [stdout] 195 | let reader = storage.read().await; [INFO] [stdout] 196 | Ok(reader.find(|s| s.flags().is_default()).cloned()) [INFO] [stdout] 197 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/helpers/account.rs:281:15 [INFO] [stdout] | [INFO] [stdout] 281 | while let Some(_) = rx.recv().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/helpers/account.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/helpers/secret.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | if let Some(Document { [INFO] [stdout] | ________^ [INFO] [stdout] 54 | | secret_id, meta, .. [INFO] [stdout] 55 | | }) = index_reader.find_by_uuid_or_label(summary.id(), secret) [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/helpers/secret.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | } 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] 53 ~ match index_reader.find_by_uuid_or_label(summary.id(), secret) [INFO] [stdout] 54 ~ { Some(Document { [INFO] [stdout] 55 + secret_id, meta, .. [INFO] [stdout] 56 ~ }) => { [INFO] [stdout] 57 | Ok(Some((*secret_id, meta.clone()))) [INFO] [stdout] 58 ~ } _ => { [INFO] [stdout] 59 | Ok(None) [INFO] [stdout] 60 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/helpers/secret.rs:450:8 [INFO] [stdout] | [INFO] [stdout] 450 | if let Secret::File { content, .. } = secret { [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/helpers/secret.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | } 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] 450 ~ match secret { Secret::File { content, .. } => { [INFO] [stdout] 451 | match content { [INFO] [stdout] ... [INFO] [stdout] 468 | Ok(()) [INFO] [stdout] 469 ~ } _ => { [INFO] [stdout] 470 | Err(Error::NotFileContent) [INFO] [stdout] 471 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `sos` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/cli/sos.rs [INFO] [stderr] * src/commands/tools/audit.rs [INFO] [stderr] * src/commands/tools/check.rs [INFO] [stderr] * src/commands/tools/events.rs [INFO] [stderr] * src/helpers/account.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: usage of an `unsafe` block [INFO] [stderr] --> src/cli/sos.rs:146:9 [INFO] [stderr] | [INFO] [stderr] 146 | unsafe { std::env::set_var("SOS_PASSWORD", password) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | #![forbid(unsafe_code)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stderr] --> src/commands/tools/audit.rs:99:19 [INFO] [stderr] | [INFO] [stderr] 99 | while let Some(record) = it.next().await? { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stderr] | | [INFO] [stderr] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stderr] = note: for more information, see issue #124085 [INFO] [stderr] help: the value is now dropped here in Edition 2024 [INFO] [stderr] --> src/commands/tools/audit.rs:106:13 [INFO] [stderr] | [INFO] [stderr] 106 | } [INFO] [stderr] | ^ [INFO] [stderr] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stderr] [INFO] [stderr] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stderr] --> src/commands/tools/audit.rs:138:11 [INFO] [stderr] | [INFO] [stderr] 138 | while let Some(record) = it.next().await? { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stderr] | | [INFO] [stderr] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stderr] = note: for more information, see issue #124085 [INFO] [stderr] help: the value is now dropped here in Edition 2024 [INFO] [stderr] --> src/commands/tools/audit.rs:149:5 [INFO] [stderr] | [INFO] [stderr] 149 | } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stderr] --> src/commands/tools/check.rs:74:11 [INFO] [stderr] | [INFO] [stderr] 74 | while let Some(event) = stream.next().await { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^------------------- [INFO] [stderr] | | [INFO] [stderr] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stderr] = note: for more information, see issue #124085 [INFO] [stderr] help: the value is now dropped here in Edition 2024 [INFO] [stderr] --> src/commands/tools/check.rs:79:5 [INFO] [stderr] | [INFO] [stderr] 79 | } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stderr] --> src/commands/tools/check.rs:98:11 [INFO] [stderr] | [INFO] [stderr] 98 | while let Some(event) = stream.next().await { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^------------------- [INFO] [stderr] | | [INFO] [stderr] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stderr] = note: for more information, see issue #124085 [INFO] [stderr] help: the value is now dropped here in Edition 2024 [INFO] [stderr] --> src/commands/tools/check.rs:104:5 [INFO] [stderr] | [INFO] [stderr] 104 | } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stderr] --> src/commands/tools/events.rs:109:11 [INFO] [stderr] | [INFO] [stderr] 109 | while let Some(event) = stream.next().await { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^------------------- [INFO] [stderr] | | [INFO] [stderr] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stderr] = note: for more information, see issue #124085 [INFO] [stderr] help: the value is now dropped here in Edition 2024 [INFO] [stderr] --> src/commands/tools/events.rs:126:5 [INFO] [stderr] | [INFO] [stderr] 126 | } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stderr] --> src/helpers/account.rs:281:15 [INFO] [stderr] | [INFO] [stderr] 281 | while let Some(_) = rx.recv().await { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stderr] | | [INFO] [stderr] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stderr] = note: for more information, see issue #124085 [INFO] [stderr] help: the value is now dropped here in Edition 2024 [INFO] [stderr] --> src/helpers/account.rs:293:9 [INFO] [stderr] | [INFO] [stderr] 293 | } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/cli/sos.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | std::env::set_var("SOS_PASSWORD", password); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 145 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 146 ~ unsafe { std::env::set_var("SOS_PASSWORD", password) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cli/sos.rs:126:16 [INFO] [stdout] | [INFO] [stdout] 126 | if let Some(tx) = &*tx { [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/cli/sos.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | } 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] 126 ~ match &*tx { Some(tx) => { [INFO] [stdout] 127 | let _ = tx.send(()); [INFO] [stdout] 128 ~ } _ => { [INFO] [stdout] 129 | std::process::exit(1); [INFO] [stdout] 130 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/account.rs:212:16 [INFO] [stdout] | [INFO] [stdout] 212 | if let Some(account) = account_restore(input).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/commands/account.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 212 ~ match account_restore(input).await? { Some(account) => { [INFO] [stdout] 213 | success(format!("Account restored {}", account.label())); [INFO] [stdout] 214 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/account.rs:423:22 [INFO] [stdout] | [INFO] [stdout] 423 | let account = if let Some((mut owner, password)) = owner.take() { [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/commands/account.rs:433:5 [INFO] [stdout] | [INFO] [stdout] 433 | } 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] 423 ~ let account = match owner.take() { Some((mut owner, password)) => { [INFO] [stdout] 424 | let paths = owner.paths(); [INFO] [stdout] ... [INFO] [stdout] 432 | .await? [INFO] [stdout] 433 ~ } _ => { [INFO] [stdout] 434 | let address = inventory.manifest.address.to_string(); [INFO] [stdout] ... [INFO] [stdout] 441 | NetworkAccount::import_backup_archive(&input, options, None).await? [INFO] [stdout] 442 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/device.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(device) = [INFO] [stdout] | ________________^ [INFO] [stdout] 72 | | resolve_device(Arc::clone(&user), &id).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/commands/device.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | } 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_device(Arc::clone(&user), &id).await? [INFO] [stdout] 72 ~ { Some(device) => { [INFO] [stdout] 73 | let prompt = format!(r#"Revoke device "{}" (y/n)? "#, &id); [INFO] [stdout] ... [INFO] [stdout] 78 | } [INFO] [stdout] 79 ~ } _ => { [INFO] [stdout] 80 | return Err(Error::DeviceNotFound(id)); [INFO] [stdout] 81 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/folder.rs:190:20 [INFO] [stdout] | [INFO] [stdout] 190 | if let Some(current) = reader.current_folder() { [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/commands/folder.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | } 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] 190 ~ match reader.current_folder() { Some(current) => { [INFO] [stdout] 191 | current.id() == summary.id() [INFO] [stdout] 192 ~ } _ => { [INFO] [stdout] 193 | false [INFO] [stdout] 194 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/folder.rs:266:16 [INFO] [stdout] | [INFO] [stdout] 266 | if let Some(folder) = reader.cache().get(summary.id()) { [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/commands/folder.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 266 ~ match reader.cache().get(summary.id()) { Some(folder) => { [INFO] [stdout] 267 | let event_log = folder.event_log(); [INFO] [stdout] ... [INFO] [stdout] 278 | } [INFO] [stdout] 279 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/secret.rs:736:16 [INFO] [stdout] | [INFO] [stdout] 736 | if let Some((meta, secret)) = result { [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/commands/secret.rs:741:13 [INFO] [stdout] | [INFO] [stdout] 741 | } 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] 736 ~ match result { Some((meta, secret)) => { [INFO] [stdout] 737 | owner.create_secret(meta, secret, options).await?; [INFO] [stdout] ... [INFO] [stdout] 740 | success("Secret created"); [INFO] [stdout] 741 ~ } _ => { [INFO] [stdout] 742 | let _ = shutdown_tx.send(()).await; [INFO] [stdout] 743 | let _ = closed_rx.await; [INFO] [stdout] 744 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/secret.rs:923:24 [INFO] [stdout] | [INFO] [stdout] 923 | if let Secret::File { content, .. } = data.secret() { [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/commands/secret.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] 923 ~ match data.secret() { Secret::File { content, .. } => { [INFO] [stdout] 924 | if content.mime().starts_with("text/") { [INFO] [stdout] ... [INFO] [stdout] 935 | } [INFO] [stdout] 936 ~ } _ => { [INFO] [stdout] 937 | editor::edit(data.secret()).await? [INFO] [stdout] 938 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/secret.rs:940:20 [INFO] [stdout] | [INFO] [stdout] 940 | if let Cow::Owned(edited_secret) = result { [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/commands/secret.rs:956:17 [INFO] [stdout] | [INFO] [stdout] 956 | } 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] 940 ~ match result { Cow::Owned(edited_secret) => { [INFO] [stdout] 941 | let (options, shutdown_tx, closed_rx) = access_options(); [INFO] [stdout] ... [INFO] [stdout] 955 | // it indicates that no changes were made [INFO] [stdout] 956 ~ } _ => { [INFO] [stdout] 957 | println!("No changes detected"); [INFO] [stdout] 958 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/secret.rs:1338:24 [INFO] [stdout] | [INFO] [stdout] 1338 | if let Some((meta, secret)) = add_note(Some(name), None)? [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/commands/secret.rs:1344:21 [INFO] [stdout] | [INFO] [stdout] 1344 | } 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] 1338 ~ match add_note(Some(name), None)? [INFO] [stdout] 1339 ~ { Some((meta, secret)) => { [INFO] [stdout] 1340 | let attachment = [INFO] [stdout] ... [INFO] [stdout] 1343 | Some(data.into()) [INFO] [stdout] 1344 ~ } _ => { [INFO] [stdout] 1345 | None [INFO] [stdout] 1346 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/secret.rs:1354:24 [INFO] [stdout] | [INFO] [stdout] 1354 | if let Some((meta, secret)) = add_link(Some(name), None)? [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/commands/secret.rs:1360:21 [INFO] [stdout] | [INFO] [stdout] 1360 | } 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] 1354 ~ match add_link(Some(name), None)? [INFO] [stdout] 1355 ~ { Some((meta, secret)) => { [INFO] [stdout] 1356 | let attachment = [INFO] [stdout] ... [INFO] [stdout] 1359 | Some(data.into()) [INFO] [stdout] 1360 ~ } _ => { [INFO] [stdout] 1361 | None [INFO] [stdout] 1362 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/secret.rs:1370:24 [INFO] [stdout] | [INFO] [stdout] 1370 | if let Some((meta, secret)) = [INFO] [stdout] | ________________________^ [INFO] [stdout] 1371 | | add_password(Some(name), None)? [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/commands/secret.rs:1377:21 [INFO] [stdout] | [INFO] [stdout] 1377 | } 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] 1370 ~ match add_password(Some(name), None)? [INFO] [stdout] 1371 ~ { Some((meta, secret)) => { [INFO] [stdout] 1372 | let attachment = [INFO] [stdout] ... [INFO] [stdout] 1375 | Some(data.into()) [INFO] [stdout] 1376 ~ } _ => { [INFO] [stdout] 1377 | None [INFO] [stdout] 1378 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/secret.rs:1403:20 [INFO] [stdout] | [INFO] [stdout] 1403 | if let Some(existing) = existing { [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/commands/secret.rs:1407:17 [INFO] [stdout] | [INFO] [stdout] 1407 | } 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] 1403 ~ match existing { Some(existing) => { [INFO] [stdout] 1404 | download_file_secret(&resolved, file, existing.into()) [INFO] [stdout] 1405 | .await?; [INFO] [stdout] 1406 | None [INFO] [stdout] 1407 ~ } _ => { [INFO] [stdout] 1408 | return Err(Error::FieldNotFound(attachment)); [INFO] [stdout] 1409 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/secret.rs:1414:20 [INFO] [stdout] | [INFO] [stdout] 1414 | if let Some(existing) = existing { [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/commands/secret.rs:1417:17 [INFO] [stdout] | [INFO] [stdout] 1417 | } 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] 1414 ~ match existing { Some(existing) => { [INFO] [stdout] 1415 | data.secret_mut().remove_field(existing.id()); [INFO] [stdout] 1416 | Some(data.into()) [INFO] [stdout] 1417 ~ } _ => { [INFO] [stdout] 1418 | return Err(Error::FieldNotFound(attachment)); [INFO] [stdout] 1419 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/secret.rs:1423:12 [INFO] [stdout] | [INFO] [stdout] 1423 | if let Some(new_secret) = new_secret { [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/commands/secret.rs:1438:9 [INFO] [stdout] | [INFO] [stdout] 1438 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1423 ~ match new_secret { Some(new_secret) => { [INFO] [stdout] 1424 | let mut owner = resolved.user.write().await; [INFO] [stdout] ... [INFO] [stdout] 1437 | success("Secret updated"); [INFO] [stdout] 1438 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/server.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | if let Some(err) = sync_result.first_error() { [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/commands/server.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | } 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] 57 ~ match sync_result.first_error() { Some(err) => { [INFO] [stdout] 58 | owner.remove_server(&origin).await?; [INFO] [stdout] 59 | return Err(Error::InitialSync(err)); [INFO] [stdout] 60 ~ } _ => { [INFO] [stdout] 61 | success(format!("Added {}", origin.url())); [INFO] [stdout] 62 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/shell/cli.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | if let Some(current) = reader.current_folder() { [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/commands/shell/cli.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | } 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] 96 ~ match reader.current_folder() { Some(current) => { [INFO] [stdout] 97 | format!("{}@{}> ", account_name, current.name()) [INFO] [stdout] 98 ~ } _ => { [INFO] [stdout] 99 | format!("{}> ", account_name) [INFO] [stdout] 100~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/shell/cli.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | if let Err(e) = exec(&line, provider).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/commands/shell/cli.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 109 ~ match exec(&line, provider).await { Err(e) => { [INFO] [stdout] 110 | fail(e.to_string()); [INFO] [stdout] 111 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/sync.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 209 | if let (Some(local_folder), Some(remote_folder)) = [INFO] [stdout] | ____________^ [INFO] [stdout] 210 | | (local.folders.get(id), remote.folders.get(id)) [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/commands/sync.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 209 ~ match (local.folders.get(id), remote.folders.get(id)) [INFO] [stdout] 210 ~ { (Some(local_folder), Some(remote_folder)) => { [INFO] [stdout] 211 | let title = format!("📁 {}", folder.name()); [INFO] [stdout] ... [INFO] [stdout] 217 | )?; [INFO] [stdout] 218 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/tools/audit.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | while let Some(record) = it.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/commands/tools/audit.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/tools/audit.rs:138:11 [INFO] [stdout] | [INFO] [stdout] 138 | while let Some(record) = it.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/commands/tools/audit.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/tools/authenticator.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | let folder = if let Some(authenticator) = [INFO] [stdout] | _____________________________^ [INFO] [stdout] 74 | | owner.authenticator_folder().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/commands/tools/authenticator.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | } 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] 73 ~ let folder = match owner.authenticator_folder().await [INFO] [stdout] 74 ~ { Some(authenticator) => { [INFO] [stdout] 75 | let prompt = format!( [INFO] [stdout] ... [INFO] [stdout] 84 | } [INFO] [stdout] 85 ~ } _ => { [INFO] [stdout] 86 | let options = NewFolderOptions { [INFO] [stdout] ... [INFO] [stdout] 98 | Some(folder) [INFO] [stdout] 99 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/tools/check.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | while let Some(event) = stream.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/commands/tools/check.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/tools/check.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | while let Some(event) = stream.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/commands/tools/check.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/tools/events.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | while let Some(event) = stream.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/commands/tools/events.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/helpers/mod.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | if let Some(clipboard) = clipboard.as_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/helpers/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | } 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] 30 ~ match clipboard.as_mut() { Some(clipboard) => { [INFO] [stdout] 31 | clipboard.set_text(text)?; [INFO] [stdout] 32 | Ok(true) [INFO] [stdout] 33 ~ } _ => { [INFO] [stdout] 34 | Ok(false) [INFO] [stdout] 35 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/helpers/account.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | if let Ok(mut accounts) = Identity::list_accounts(None).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/helpers/account.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 138 ~ match Identity::list_accounts(None).await { Ok(mut accounts) => { [INFO] [stdout] 139 | if accounts.len() == 1 { [INFO] [stdout] 140 | return Some(accounts.remove(0).into()); [INFO] [stdout] 141 | } [INFO] [stdout] 142 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/helpers/account.rs:186:15 [INFO] [stdout] | [INFO] [stdout] 186 | } else if let Some(owner) = USER.get() { [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/helpers/account.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | } 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] 186 ~ } else { match USER.get() { Some(owner) => { [INFO] [stdout] 187 | let owner = owner.read().await; [INFO] [stdout] ... [INFO] [stdout] 192 | Ok(Some(summary.clone())) [INFO] [stdout] 193 ~ } _ => { [INFO] [stdout] 194 | let storage = owner.storage().await?; [INFO] [stdout] 195 | let reader = storage.read().await; [INFO] [stdout] 196 | Ok(reader.find(|s| s.flags().is_default()).cloned()) [INFO] [stdout] 197 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/helpers/account.rs:281:15 [INFO] [stdout] | [INFO] [stdout] 281 | while let Some(_) = rx.recv().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/helpers/account.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/helpers/secret.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | if let Some(Document { [INFO] [stdout] | ________^ [INFO] [stdout] 54 | | secret_id, meta, .. [INFO] [stdout] 55 | | }) = index_reader.find_by_uuid_or_label(summary.id(), secret) [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/helpers/secret.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | } 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] 53 ~ match index_reader.find_by_uuid_or_label(summary.id(), secret) [INFO] [stdout] 54 ~ { Some(Document { [INFO] [stdout] 55 + secret_id, meta, .. [INFO] [stdout] 56 ~ }) => { [INFO] [stdout] 57 | Ok(Some((*secret_id, meta.clone()))) [INFO] [stdout] 58 ~ } _ => { [INFO] [stdout] 59 | Ok(None) [INFO] [stdout] 60 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/helpers/secret.rs:450:8 [INFO] [stdout] | [INFO] [stdout] 450 | if let Secret::File { content, .. } = secret { [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/helpers/secret.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | } 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] 450 ~ match secret { Secret::File { content, .. } => { [INFO] [stdout] 451 | match content { [INFO] [stdout] ... [INFO] [stdout] 468 | Ok(()) [INFO] [stdout] 469 ~ } _ => { [INFO] [stdout] 470 | Err(Error::NotFileContent) [INFO] [stdout] 471 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking sos v0.15.0 (/tmp/fixit) [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/cli/sos.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | std::env::set_var("SOS_PASSWORD", password); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/cli/sos.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | std::env::set_var("SOS_PASSWORD", password); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sos` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sos` (lib test) due to 2 previous errors [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" "7c179cfe8a89e558b1f3f93e6eb6e6b0713745de9cc4c845940551dcd07f00b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c179cfe8a89e558b1f3f93e6eb6e6b0713745de9cc4c845940551dcd07f00b7", kill_on_drop: false }` [INFO] [stdout] 7c179cfe8a89e558b1f3f93e6eb6e6b0713745de9cc4c845940551dcd07f00b7