[INFO] fetching crate tauri-cli 2.0.0-rc.16... [INFO] checking tauri-cli-2.0.0-rc.16 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate tauri-cli 2.0.0-rc.16 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate tauri-cli 2.0.0-rc.16 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 tauri-cli 2.0.0-rc.16 [INFO] finished tweaking crates.io crate tauri-cli 2.0.0-rc.16 [INFO] tweaked toml for crates.io crate tauri-cli 2.0.0-rc.16 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate tauri-cli 2.0.0-rc.16 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] d28ea6d8392600e6fe9b743a8b754dd00a1dd36815a7d30a3bf89a77d67f8762 [INFO] running `Command { std: "docker" "start" "-a" "d28ea6d8392600e6fe9b743a8b754dd00a1dd36815a7d30a3bf89a77d67f8762", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d28ea6d8392600e6fe9b743a8b754dd00a1dd36815a7d30a3bf89a77d67f8762", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d28ea6d8392600e6fe9b743a8b754dd00a1dd36815a7d30a3bf89a77d67f8762", kill_on_drop: false }` [INFO] [stdout] d28ea6d8392600e6fe9b743a8b754dd00a1dd36815a7d30a3bf89a77d67f8762 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 621e341eb4a44a4a3234fa6f35c44108e9cc95e0c7347d5f3885c756c157cfb6 [INFO] running `Command { std: "docker" "start" "-a" "621e341eb4a44a4a3234fa6f35c44108e9cc95e0c7347d5f3885c756c157cfb6", 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] Checking subtle v2.6.1 [INFO] [stderr] Checking value-bag v1.9.0 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking phf_shared v0.10.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Compiling owo-colors v4.1.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Compiling cc v1.1.20 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking rustix v0.38.37 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking dtoa v1.0.9 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking dtoa-short v0.3.5 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking cfb v0.7.3 [INFO] [stderr] Checking servo_arc v0.1.1 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking core_maths v0.1.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Compiling crc24 v0.1.6 [INFO] [stderr] Checking terminal_size v0.2.6 [INFO] [stderr] Checking thin-slice v0.1.1 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Compiling rustls v0.23.13 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking compact_str v0.8.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking ttf-parser v0.24.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking oxc_allocator v0.24.3 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling toml_edit v0.22.21 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking bitstream-io v2.5.3 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Checking dunce v1.0.5 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking roxmltree v0.20.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking clap_builder v4.5.17 [INFO] [stderr] Checking image-webp v0.1.3 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking fontconfig-parser v0.5.7 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking zune-jpeg v0.4.13 [INFO] [stderr] Checking unic-ucd-ident v0.9.0 [INFO] [stderr] Checking webpki-roots v0.26.5 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking os_pipe v1.2.1 [INFO] [stderr] Checking socks v0.3.4 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking kurbo v0.11.1 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking buffer-redux v1.0.2 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking unicode-properties v0.1.2 [INFO] [stderr] Checking unicode-ccc v0.3.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking unicode-id-start v1.2.0 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Compiling zip v2.2.0 [INFO] [stderr] Checking oxc_index v0.24.3 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Checking unicode-bidi-mirroring v0.3.0 [INFO] [stderr] Checking bitfield v0.14.0 [INFO] [stderr] Checking unicode-script v0.5.6 [INFO] [stderr] Checking iter-read v1.1.0 [INFO] [stderr] Checking lockfree-object-pool v0.1.6 [INFO] [stderr] Checking nonmax v0.5.5 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking svgtypes v0.15.2 [INFO] [stderr] Checking zopfli v0.8.1 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking rustybuzz v0.18.0 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking fontdb v0.21.0 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking xz2 v0.1.7 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [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] Checking zeroize v1.8.1 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling pest v2.7.12 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking dbl v0.3.2 [INFO] [stderr] Compiling derive_builder_core v0.20.1 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling pest_meta v2.7.12 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking soketto v0.8.0 [INFO] [stderr] Checking miette v7.2.0 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking cmac v0.7.2 [INFO] [stderr] Compiling derive_builder_macro v0.20.1 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Compiling pest_generator v2.7.12 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Compiling serialize-to-javascript-impl v0.1.1 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling oxc_ast_macros v0.24.3 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking derive_builder v0.20.1 [INFO] [stderr] Checking eax v0.5.0 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking k256 v0.13.3 [INFO] [stderr] Checking oxc_span v0.24.3 [INFO] [stderr] Checking p521 v0.13.3 [INFO] [stderr] Checking p384 v0.13.0 [INFO] [stderr] Checking ocb3 v0.1.0 [INFO] [stderr] Checking sha1-checked v0.10.0 [INFO] [stderr] Compiling pest_derive v2.7.12 [INFO] [stderr] Checking cfb-mode v0.8.2 [INFO] [stderr] Checking cast5 v0.11.1 [INFO] [stderr] Checking twofish v0.7.1 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Checking camellia v0.1.0 [INFO] [stderr] Checking idea v0.5.1 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking des v0.8.1 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Compiling ctor v0.2.8 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking oxc_syntax v0.24.3 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Compiling enum-display-derive v0.1.1 [INFO] [stderr] Compiling enum-primitive-derive v0.3.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking globset v0.4.15 [INFO] [stderr] Checking xattr v1.3.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking infer v0.16.0 [INFO] [stderr] Checking shared_child v1.0.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking rtoolbox v0.0.2 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking serde_with v3.9.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking simplecss v0.2.1 [INFO] [stderr] Checking urlpattern v0.3.0 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking jsonrpsee-types v0.24.4 [INFO] [stderr] Checking serialize-to-javascript v0.1.1 [INFO] [stderr] Checking jsonptr v0.4.7 [INFO] [stderr] Checking jsonrpsee-core v0.24.4 [INFO] [stderr] Checking json-patch v2.0.0 [INFO] [stderr] Checking dsa v0.6.3 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Checking ureq v2.10.1 [INFO] [stderr] Checking serde-untagged v0.1.6 [INFO] [stderr] Checking handlebars v6.1.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking clap v4.5.17 [INFO] [stderr] Checking kuchikiki v0.8.2 [INFO] [stderr] Checking pgp v0.13.2 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking cpio v0.4.0 [INFO] [stderr] Compiling neli-proc-macros v0.1.3 [INFO] [stderr] Checking xmlwriter v0.1.0 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking route-recognizer v0.3.1 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking std_prelude v0.2.12 [INFO] [stderr] Checking stfu8 v0.2.7 [INFO] [stderr] Compiling cargo-mobile2 v0.17.2 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking data-url v0.3.1 [INFO] [stderr] Checking imagesize v0.13.0 [INFO] [stderr] Checking unicode-vo v0.1.0 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking path_abs v0.5.1 [INFO] [stderr] Checking which v6.0.3 [INFO] [stderr] Checking usvg v0.43.0 [INFO] [stderr] Checking tauri-utils v2.0.0-rc.12 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking json-patch v1.4.0 [INFO] [stderr] Checking rpassword v7.3.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking duct v0.13.7 [INFO] [stderr] Checking java-properties v2.0.0 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Checking jsonrpsee-client-transport v0.24.4 [INFO] [stderr] Checking neli v0.6.4 [INFO] [stderr] Checking oxc_ast v0.24.3 [INFO] [stderr] Checking tar v0.4.41 [INFO] [stderr] Checking scrypt v0.11.0 [INFO] [stderr] Checking oxc_diagnostics v0.24.3 [INFO] [stderr] Checking hyper-util v0.1.8 [INFO] [stderr] Checking freedesktop_entry_parser v1.3.0 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking once-cell-regex v0.2.1 [INFO] [stderr] Checking fraction v0.15.3 [INFO] [stderr] Checking ravif v0.11.10 [INFO] [stderr] Checking infer v0.13.0 [INFO] [stderr] Checking iso8601 v0.6.1 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking english-numbers v0.3.3 [INFO] [stderr] Checking image v0.25.2 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking ar v0.9.0 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Compiling tauri-cli v2.0.0-rc.16 (/tmp/fixit) [INFO] [stderr] Checking num-cmp v0.1.0 [INFO] [stderr] Checking vlq v0.5.1 [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Checking assert-unchecked v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking include_dir v0.7.4 [INFO] [stderr] Checking magic_string v0.3.4 [INFO] [stderr] Checking local-ip-address v0.6.3 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking tauri-utils v1.6.0 [INFO] [stderr] Checking ctrlc v3.4.5 [INFO] [stderr] Checking jsonrpsee-ws-client v0.24.4 [INFO] [stderr] Checking minisign v0.7.3 [INFO] [stderr] Checking reqwest v0.12.7 [INFO] [stderr] Checking jsonrpsee-server v0.24.4 [INFO] [stderr] Checking notify-debouncer-mini v0.4.1 [INFO] [stderr] Checking resvg v0.43.0 [INFO] [stderr] Checking clap_complete v4.5.26 [INFO] [stderr] Checking os_info v3.8.2 [INFO] [stderr] Checking tauri-icns v0.1.0 [INFO] [stderr] Checking css-color v0.2.8 [INFO] [stderr] Checking common-path v1.0.0 [INFO] [stderr] Checking elf v0.7.4 [INFO] [stderr] Checking sublime_fuzzy v0.7.0 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Checking jsonschema v0.18.3 [INFO] [stderr] Checking insta v1.40.0 [INFO] [stderr] Checking jsonrpsee v0.24.4 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking rpm v0.15.1 [INFO] [stderr] Checking tauri-bundler v2.0.1-rc.13 [INFO] [stderr] Checking oxc_parser v0.24.3 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `tauri_cli` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/migrate/migrations/v1/config.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/migrate/migrations/v1/config.rs:431:84 [INFO] [stderr] | [INFO] [stderr] 431 | ($allowlist: ident, $permissions_list: ident, $object: ident, $field: ident => $associated_permission: expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/mobile/android/project.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn gen( [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/mobile/init.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 116 | super::android::project::gen( [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/mobile/init.rs:144:28 [INFO] [stdout] | [INFO] [stdout] 144 | super::ios::project::gen( [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:431:108 [INFO] [stdout] | [INFO] [stdout] 431 | ($allowlist: ident, $permissions_list: ident, $object: ident, $field: ident => $associated_permission: expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 431 | ($allowlist: ident, $permissions_list: ident, $object: ident, $field: ident => $associated_permission: expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/bundle.rs:189:7 [INFO] [stdout] | [INFO] [stdout] 189 | std::env::set_var("APPIMAGE_BUNDLE_GSTREAMER", "1"); [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] 189 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 190 ~ unsafe { std::env::set_var("APPIMAGE_BUNDLE_GSTREAMER", "1") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/bundle.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | std::env::set_var("APPIMAGE_BUNDLE_XDG_OPEN", "1"); [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] 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] 194 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 195 ~ unsafe { std::env::set_var("APPIMAGE_BUNDLE_XDG_OPEN", "1") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/bundle.rs:199:7 [INFO] [stdout] | [INFO] [stdout] 199 | std::env::set_var("APPIMAGE_BUNDLE_XDG_MIME", "1"); [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] 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] 199 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 200 ~ unsafe { std::env::set_var("APPIMAGE_BUNDLE_XDG_MIME", "1") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/helpers/config.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | set_var("TAURI_CONFIG", merge_config_str); [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] 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] 164 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 165 ~ unsafe { set_var("TAURI_CONFIG", merge_config_str) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/helpers/config.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | / set_var( [INFO] [stdout] 200 | | format!( [INFO] [stdout] 201 | | "TAURI_{}_PLUGIN_CONFIG", [INFO] [stdout] 202 | | plugin.to_uppercase().replace('-', "_") [INFO] [stdout] 203 | | ), [INFO] [stdout] 204 | | serde_json::to_string(&conf)?, [INFO] [stdout] 205 | | ); [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] 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] 199 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 200 ~ unsafe { set_var( [INFO] [stdout] 201 | format!( [INFO] [stdout] ... [INFO] [stdout] 205 | serde_json::to_string(&conf)?, [INFO] [stdout] 206 ~ ) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/helpers/config.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | set_var("TAURI_CONFIG", merge_config_str); [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] 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] 242 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 243 ~ unsafe { set_var("TAURI_CONFIG", merge_config_str) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/interface/rust/desktop.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | std::env::set_var("STATIC_VCRUNTIME", "true"); [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] 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] 134 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 135 ~ unsafe { std::env::set_var("STATIC_VCRUNTIME", "true") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/interface/rust.rs:151:7 [INFO] [stdout] | [INFO] [stdout] 151 | std::env::set_var("MACOSX_DEPLOYMENT_TARGET", minimum_system_version); [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] 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] 151 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 152 ~ unsafe { std::env::set_var("MACOSX_DEPLOYMENT_TARGET", minimum_system_version) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/interface/rust.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | / std::env::set_var( [INFO] [stdout] 155 | | "IPHONEOS_DEPLOYMENT_TARGET", [INFO] [stdout] 156 | | &config.bundle.ios.minimum_system_version, [INFO] [stdout] 157 | | ); [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] 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] 154 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 155 ~ unsafe { std::env::set_var( [INFO] [stdout] 156 | "IPHONEOS_DEPLOYMENT_TARGET", [INFO] [stdout] 157 | &config.bundle.ios.minimum_system_version, [INFO] [stdout] 158 ~ ) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/interface/rust.rs:1281:7 [INFO] [stdout] | [INFO] [stdout] 1281 | std::env::set_var("TAURI_TRAY_LIBRARY_PATH", path); [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] 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] 1281 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 1282 ~ unsafe { std::env::set_var("TAURI_TRAY_LIBRARY_PATH", path) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/mobile/android/mod.rs:138:3 [INFO] [stdout] | [INFO] [stdout] 138 | / set_var( [INFO] [stdout] 139 | | "WRY_ANDROID_PACKAGE", [INFO] [stdout] 140 | | app.android_identifier_escape_kotlin_keyword(), [INFO] [stdout] 141 | | ); [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] 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] 138 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 139 ~ unsafe { set_var( [INFO] [stdout] 140 | "WRY_ANDROID_PACKAGE", [INFO] [stdout] 141 | app.android_identifier_escape_kotlin_keyword(), [INFO] [stdout] 142 ~ ) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/mobile/android/mod.rs:142:3 [INFO] [stdout] | [INFO] [stdout] 142 | set_var("WRY_ANDROID_LIBRARY", app.lib_name()); [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] 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] 142 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 143 ~ unsafe { set_var("WRY_ANDROID_LIBRARY", app.lib_name()) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/mobile/android/mod.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 143 | set_var("TAURI_ANDROID_PROJECT_PATH", config.project_dir()); [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] 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] 143 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 144 ~ unsafe { set_var("TAURI_ANDROID_PROJECT_PATH", config.project_dir()) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/mobile/android/mod.rs:160:3 [INFO] [stdout] | [INFO] [stdout] 160 | / set_var( [INFO] [stdout] 161 | | "WRY_ANDROID_KOTLIN_FILES_OUT_DIR", [INFO] [stdout] 162 | | src_main_dir.join("generated"), [INFO] [stdout] 163 | | ); [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] 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] 160 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 161 ~ unsafe { set_var( [INFO] [stdout] 162 | "WRY_ANDROID_KOTLIN_FILES_OUT_DIR", [INFO] [stdout] 163 | src_main_dir.join("generated"), [INFO] [stdout] 164 ~ ) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/mobile/android/mod.rs:176:7 [INFO] [stdout] | [INFO] [stdout] 176 | std::env::remove_var(k); [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] 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] 176 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 177 ~ unsafe { std::env::remove_var(k) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/mobile/mod.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | set_var(k, v); [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] 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] 246 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 247 ~ unsafe { set_var(k, v) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:178:6 [INFO] [stdout] | [INFO] [stdout] 178 | if let Err(e) = try_run(args, bin_name) { [INFO] [stdout] | ^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:193:3 [INFO] [stdout] | [INFO] [stdout] 193 | } [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] 178 ~ match try_run(args, bin_name) { Err(e) => { [INFO] [stdout] 179 | let mut message = e.to_string(); [INFO] [stdout] ... [INFO] [stdout] 192 | exit(1); [INFO] [stdout] 193 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/acl/permission/rm.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 84 | if let Ok(mut value) = content.parse::() { [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/acl/permission/rm.rs:93:11 [INFO] [stdout] | [INFO] [stdout] 93 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 84 ~ match content.parse::() { Ok(mut value) => { [INFO] [stdout] 85 | if let Some(permissions) = value.get_mut("permissions").and_then(|p| p.as_array_mut()) { [INFO] [stdout] ... [INFO] [stdout] 92 | } [INFO] [stdout] 93 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/acl/permission/rm.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(permissions) = value.get_mut("permissions").and_then(|p| p.as_array_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/acl/permission/rm.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 85 ~ match value.get_mut("permissions").and_then(|p| p.as_array_mut()) { Some(permissions) => { [INFO] [stdout] 86 | let prev_len = permissions.len(); [INFO] [stdout] ... [INFO] [stdout] 91 | } [INFO] [stdout] 92 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/acl/permission/rm.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | if let Ok(mut value) = serde_json::from_slice::(&content) { [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/acl/permission/rm.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 106 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 97 ~ match serde_json::from_slice::(&content) { Ok(mut value) => { [INFO] [stdout] 98 | if let Some(permissions) = value.get_mut("permissions").and_then(|p| p.as_array_mut()) { [INFO] [stdout] ... [INFO] [stdout] 105 | } [INFO] [stdout] 106 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/acl/permission/rm.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | if let Some(permissions) = value.get_mut("permissions").and_then(|p| p.as_array_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/acl/permission/rm.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 98 ~ match value.get_mut("permissions").and_then(|p| p.as_array_mut()) { Some(permissions) => { [INFO] [stdout] 99 | let prev_len = permissions.len(); [INFO] [stdout] ... [INFO] [stdout] 104 | } [INFO] [stdout] 105 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dev.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | if let Some(c) = &mut options.config { [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/dev.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | } 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] 265 ~ match &mut options.config { Some(c) => { [INFO] [stdout] 266 | if let Some(build) = c [INFO] [stdout] ... [INFO] [stdout] 273 | } [INFO] [stdout] 274 ~ } _ => { [INFO] [stdout] 275 | options [INFO] [stdout] ... [INFO] [stdout] 281 | }))); [INFO] [stdout] 282 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dev.rs:266:14 [INFO] [stdout] | [INFO] [stdout] 266 | if let Some(build) = c [INFO] [stdout] | _______________^ - [INFO] [stdout] | | ________________________________| [INFO] [stdout] 267 | || .0 [INFO] [stdout] | ||______________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 268 | | .as_object_mut() [INFO] [stdout] 269 | | .and_then(|root| root.get_mut("build")) [INFO] [stdout] 270 | | .and_then(|build| build.as_object_mut()) [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dev.rs:273:11 [INFO] [stdout] | [INFO] [stdout] 273 | } [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 c [INFO] [stdout] 267 | .0 [INFO] [stdout] ... [INFO] [stdout] 270 | .and_then(|build| build.as_object_mut()) [INFO] [stdout] 271 ~ { Some(build) => { [INFO] [stdout] 272 | build.insert("devUrl".into(), server_url.into()); [INFO] [stdout] 273 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dev.rs:376:6 [INFO] [stdout] | [INFO] [stdout] 376 | if let Some(child) = BEFORE_DEV.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/dev.rs:415:3 [INFO] [stdout] | [INFO] [stdout] 415 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 376 ~ match BEFORE_DEV.get() { Some(child) => { [INFO] [stdout] 377 | let child = child.lock().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 414 | let _ = child.kill(); [INFO] [stdout] 415 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dev.rs:402:12 [INFO] [stdout] | [INFO] [stdout] 402 | if let Ok(mut file) = std::fs::File::create(&kill_children_script_path) { [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/dev.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 402 ~ match std::fs::File::create(&kill_children_script_path) { Ok(mut file) => { [INFO] [stdout] 403 | use std::os::unix::fs::PermissionsExt; [INFO] [stdout] ... [INFO] [stdout] 407 | let _ = file.set_permissions(permissions); [INFO] [stdout] 408 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dev/builtin_dev_server.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | if let Ok(ref node) = document.select_first("head") { [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/dev/builtin_dev_server.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | } 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] 129 ~ match document.select_first("head") { Ok(ref node) => { [INFO] [stdout] 130 | f(node.as_node()) [INFO] [stdout] 131 ~ } _ => { [INFO] [stdout] 132 | let node = NodeRef::new_element( [INFO] [stdout] ... [INFO] [stdout] 137 | document.prepend(node) [INFO] [stdout] 138 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/helpers/app_paths.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | if let Ok(mut file) = std::fs::File::create(default_gitignore.clone()) { [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/app_paths.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 28 ~ match std::fs::File::create(default_gitignore.clone()) { Ok(mut file) => { [INFO] [stdout] 29 | use std::io::Write; [INFO] [stdout] 30 | let _ = file.write_all(TAURI_GITIGNORE); [INFO] [stdout] 31 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/helpers/config.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | if let Err(errors) = 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/helpers/config.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 175 ~ match result { Err(errors) => { [INFO] [stdout] 176 | for error in errors { [INFO] [stdout] ... [INFO] [stdout] 186 | } [INFO] [stdout] 187 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/helpers/config.rs:240:6 [INFO] [stdout] | [INFO] [stdout] 240 | if let Some(config_metadata) = &mut *handle.lock().unwrap() { [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/config.rs:249:3 [INFO] [stdout] | [INFO] [stdout] 249 | } 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] 240 ~ match &mut *handle.lock().unwrap() { Some(config_metadata) => { [INFO] [stdout] 241 | let merge_config_str = serde_json::to_string(merge_config).unwrap(); [INFO] [stdout] ... [INFO] [stdout] 248 | Ok(handle.clone()) [INFO] [stdout] 249 ~ } _ => { [INFO] [stdout] 250 | Err(anyhow::anyhow!("config not loaded")) [INFO] [stdout] 251 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/helpers/flock.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | if let Some(f) = self.f.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/helpers/flock.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 78 ~ match self.f.take() { Some(f) => { [INFO] [stdout] 79 | let _ = unlock(&f); [INFO] [stdout] 80 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/helpers/template.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | if let Some(mut output_file) = out_file_generator(file_path)? { [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/template.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 77 ~ match out_file_generator(file_path)? { Some(mut output_file) => { [INFO] [stdout] 78 | if let Some(utf8) = file.contents_utf8() { [INFO] [stdout] ... [INFO] [stdout] 84 | } [INFO] [stdout] 85 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/info/app.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | if let Ok(config) = crate::helpers::config::get(Target::current(), 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/info/app.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 16 ~ match crate::helpers::config::get(Target::current(), None) { Ok(config) => { [INFO] [stdout] 17 | let config_guard = config.lock().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 56 | } [INFO] [stdout] 57 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/info/app.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | if let Ok(package_json) = read_to_string(app_dir.join("package.json")) { [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/info/app.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 45 ~ match read_to_string(app_dir.join("package.json")) { Ok(package_json) => { [INFO] [stdout] 46 | let (framework, bundler) = framework::infer_from_package_json(&package_json); [INFO] [stdout] ... [INFO] [stdout] 54 | } [INFO] [stdout] 55 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/info/packages_rust.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | if let Ok(manifest_contents) = read_to_string(tauri_dir.join("Cargo.toml")) { [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/info/packages_rust.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | } 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] 22 ~ match read_to_string(tauri_dir.join("Cargo.toml")) { Ok(manifest_contents) => { [INFO] [stdout] 23 | toml::from_str(&manifest_contents).ok() [INFO] [stdout] 24 ~ } _ => { [INFO] [stdout] 25 | None [INFO] [stdout] 26 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/info/plugins.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | if let Ok(manifest_contents) = fs::read_to_string(tauri_dir.join("Cargo.toml")) { [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/info/plugins.rs:33:9 [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] 31 ~ match fs::read_to_string(tauri_dir.join("Cargo.toml")) { Ok(manifest_contents) => { [INFO] [stdout] 32 | toml::from_str(&manifest_contents).ok() [INFO] [stdout] 33 ~ } _ => { [INFO] [stdout] 34 | None [INFO] [stdout] 35 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/mod.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | let target: String = if let Some(target) = options.target.clone() { [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/interface/mod.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | } 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] 52 ~ let target: String = match options.target.clone() { Some(target) => { [INFO] [stdout] 53 | target [INFO] [stdout] 54 ~ } _ => { [INFO] [stdout] 55 | tauri_utils::platform::target_triple()? [INFO] [stdout] 56 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/rust.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | if let Ok(events) = r { [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/interface/rust.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 128 ~ match r { Ok(events) => { [INFO] [stdout] 129 | let _ = tx.send(events); [INFO] [stdout] 130 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/rust.rs:344:8 [INFO] [stdout] | [INFO] [stdout] 344 | if let Ok(mut file) = std::fs::File::create(default_gitignore.clone()) { [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/interface/rust.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 344 ~ match std::fs::File::create(default_gitignore.clone()) { Ok(mut file) => { [INFO] [stdout] 345 | let _ = file.write_all(crate::dev::TAURI_CLI_BUILTIN_WATCHER_IGNORE_FILE); [INFO] [stdout] 346 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/rust.rs:527:10 [INFO] [stdout] | [INFO] [stdout] 527 | if let Ok(events) = r { [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/interface/rust.rs:529:7 [INFO] [stdout] | [INFO] [stdout] 529 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 527 ~ match r { Ok(events) => { [INFO] [stdout] 528 | tx.send(events).unwrap() [INFO] [stdout] 529 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/rust.rs:552:10 [INFO] [stdout] | [INFO] [stdout] 552 | if let Ok(events) = rx.recv() { [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/interface/rust.rs:588:7 [INFO] [stdout] | [INFO] [stdout] 588 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 552 ~ match rx.recv() { Ok(events) => { [INFO] [stdout] 553 | for event in events { [INFO] [stdout] ... [INFO] [stdout] 587 | } [INFO] [stdout] 588 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/rust.rs:558:18 [INFO] [stdout] | [INFO] [stdout] 558 | if let Ok(config) = reload_config(config.as_ref()) { [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/interface/rust.rs:567:15 [INFO] [stdout] | [INFO] [stdout] 567 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 558 ~ match reload_config(config.as_ref()) { Ok(config) => { [INFO] [stdout] 559 | let (manifest, modified) = [INFO] [stdout] ... [INFO] [stdout] 566 | } [INFO] [stdout] 567 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/rust/cargo_config.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | if let Some(path) = get_file_path(¤t.join(".cargo"), "config", true)? { [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/interface/rust/cargo_config.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 75 ~ match get_file_path(¤t.join(".cargo"), "config", true)? { Some(path) => { [INFO] [stdout] 76 | let toml = get_config(path)?; [INFO] [stdout] ... [INFO] [stdout] 80 | } [INFO] [stdout] 81 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/rust/cargo_config.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | if let Some(path) = get_file_path(&PathBuf::from(cargo_home), "config", true)? { [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/interface/rust/cargo_config.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 86 ~ match get_file_path(&PathBuf::from(cargo_home), "config", true)? { Some(path) => { [INFO] [stdout] 87 | let toml = get_config(path)?; [INFO] [stdout] ... [INFO] [stdout] 90 | } [INFO] [stdout] 91 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/rust/cargo_config.rs:129:29 [INFO] [stdout] | [INFO] [stdout] 129 | let skip_warning = if let Ok(target_path) = fs::read_link(&possible) { [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/interface/rust/cargo_config.rs:131:7 [INFO] [stdout] | [INFO] [stdout] 131 | } 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] 129 ~ let skip_warning = match fs::read_link(&possible) { Ok(target_path) => { [INFO] [stdout] 130 | target_path == possible_with_extension [INFO] [stdout] 131 ~ } _ => { [INFO] [stdout] 132 | false [INFO] [stdout] 133 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/rust/desktop.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | if let Some(child) = &*self.app_child.lock().unwrap() { [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] 30 | child.kill()?; [INFO] [stdout] 31 | } else if let Some(child) = &self.build_child { [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/interface/rust/desktop.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | } else if let Some(child) = &self.build_child { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/interface/rust/desktop.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 29 ~ match &*self.app_child.lock().unwrap() { Some(child) => { [INFO] [stdout] 30 | child.kill()?; [INFO] [stdout] 31 ~ } _ => { match &self.build_child { Some(child) => { [INFO] [stdout] 32 | child.kill()?; [INFO] [stdout] 33 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/rust/desktop.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | if let Some(child) = &*self.app_child.lock().unwrap() { [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] 40 | child.try_wait() [INFO] [stdout] 41 | } else if let Some(child) = &self.build_child { [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/interface/rust/desktop.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | } else if let Some(child) = &self.build_child { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/interface/rust/desktop.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | } 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] 39 ~ match &*self.app_child.lock().unwrap() { Some(child) => { [INFO] [stdout] 40 | child.try_wait() [INFO] [stdout] 41 ~ } _ => { match &self.build_child { Some(child) => { [INFO] [stdout] 42 | child.try_wait() [INFO] [stdout] 43 ~ } _ => { [INFO] [stdout] 44 | unreachable!() [INFO] [stdout] 45 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/rust/desktop.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | if let Some(child) = &*self.app_child.lock().unwrap() { [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] 50 | child.wait() [INFO] [stdout] 51 | } else if let Some(child) = &self.build_child { [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/interface/rust/desktop.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | } else if let Some(child) = &self.build_child { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/interface/rust/desktop.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | } 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] 49 ~ match &*self.app_child.lock().unwrap() { Some(child) => { [INFO] [stdout] 50 | child.wait() [INFO] [stdout] 51 ~ } _ => { match &self.build_child { Some(child) => { [INFO] [stdout] 52 | child.wait() [INFO] [stdout] 53 ~ } _ => { [INFO] [stdout] 54 | unreachable!() [INFO] [stdout] 55 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl DevProcess` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/interface/rust/desktop.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | ) -> crate::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/interface/rust/desktop.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | available_targets: &mut Option>, [INFO] [stdout] | ^ [INFO] [stdout] 67 | config_features: Vec, [INFO] [stdout] 68 | app_settings: &RustAppSettings, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 71 | ) -> crate::Result> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/rust/desktop.rs:333:6 [INFO] [stdout] | [INFO] [stdout] 333 | if let Ok(output) = Command::new("rustup").args(["target", "list"]).output() { [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/interface/rust/desktop.rs:347:3 [INFO] [stdout] | [INFO] [stdout] 347 | } 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] 333 ~ match Command::new("rustup").args(["target", "list"]).output() { Ok(output) => { [INFO] [stdout] 334 | let stdout = String::from_utf8_lossy(&output.stdout).into_owned(); [INFO] [stdout] ... [INFO] [stdout] 346 | ) [INFO] [stdout] 347 ~ } _ => { [INFO] [stdout] 348 | None [INFO] [stdout] 349 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/rust.rs:1501:8 [INFO] [stdout] | [INFO] [stdout] 1501 | if let Ok(output) = cmd.output() { [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/interface/rust.rs:1509:5 [INFO] [stdout] | [INFO] [stdout] 1509 | } 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] 1501 ~ match cmd.output() { Ok(output) => { [INFO] [stdout] 1502 | if !output.stdout.is_empty() { [INFO] [stdout] ... [INFO] [stdout] 1508 | } [INFO] [stdout] 1509 ~ } _ => { [INFO] [stdout] 1510 | None [INFO] [stdout] 1511 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | if let Some((pre, _number)) = tauri_version.pre.as_str().split_once('.') { [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/migrate/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 49 ~ match tauri_version.pre.as_str().split_once('.') { Some((pre, _number)) => { [INFO] [stdout] 50 | if pre == "beta" { [INFO] [stdout] 51 | migrations::v2_rc::run().context("failed to migrate from v2 beta to rc")?; [INFO] [stdout] 52 | } [INFO] [stdout] 53 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | if let Some(tauri_config) = config.remove("tauri") { [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/migrate/migrations/v1/config.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 141 ~ match config.remove("tauri") { Some(tauri_config) => { [INFO] [stdout] 142 | config.insert("app".into(), tauri_config); [INFO] [stdout] 143 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | if let Some(package_config) = package_config.as_object_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/migrate/migrations/v1/config.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 151 ~ match package_config.as_object_mut() { Some(package_config) => { [INFO] [stdout] 152 | if let Some((product_name, key)) = package_config [INFO] [stdout] ... [INFO] [stdout] 168 | } [INFO] [stdout] 169 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:166:10 [INFO] [stdout] | [INFO] [stdout] 166 | if let Some(version) = package_config.remove("version") { [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/migrate/migrations/v1/config.rs:168:7 [INFO] [stdout] | [INFO] [stdout] 168 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 166 ~ match package_config.remove("version") { Some(version) => { [INFO] [stdout] 167 | config.insert("version".into(), version); [INFO] [stdout] 168 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | if let Some(identifier) = bundle_config.remove("identifier") { [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/migrate/migrations/v1/config.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 177 ~ match bundle_config.remove("identifier") { Some(identifier) => { [INFO] [stdout] 178 | config.insert("identifier".into(), identifier); [INFO] [stdout] 179 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 206 | if let Some((with_global_tauri, key)) = build_config [INFO] [stdout] | ________^ - [INFO] [stdout] | |_____________________________________________| [INFO] [stdout] 207 | || .remove("withGlobalTauri") [INFO] [stdout] 208 | || .map(|v| (v, "withGlobalTauri")) [INFO] [stdout] 209 | || .or_else(|| { [INFO] [stdout] ... || [INFO] [stdout] 212 | || .map(|v| (v, "with-global-tauri")) [INFO] [stdout] 213 | || }) [INFO] [stdout] | ||________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:219:5 [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] 206 ~ match build_config [INFO] [stdout] 207 | .remove("withGlobalTauri") [INFO] [stdout] ... [INFO] [stdout] 213 | }) [INFO] [stdout] 214 ~ { Some((with_global_tauri, key)) => { [INFO] [stdout] 215 | config [INFO] [stdout] ... [INFO] [stdout] 218 | .map(|t| t.insert(key.into(), with_global_tauri)); [INFO] [stdout] 219 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:226:6 [INFO] [stdout] | [INFO] [stdout] 226 | if let Some(mut bundle_config) = config [INFO] [stdout] | ______^ - [INFO] [stdout] | |____________________________________| [INFO] [stdout] 227 | || .get_mut("tauri") [INFO] [stdout] 228 | || .and_then(|b| b.as_object_mut()) [INFO] [stdout] 229 | || .and_then(|t| t.remove("bundle")) [INFO] [stdout] | ||_____________________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_____________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:347:3 [INFO] [stdout] | [INFO] [stdout] 347 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 226 ~ match config [INFO] [stdout] 227 | .get_mut("tauri") [INFO] [stdout] 228 | .and_then(|b| b.as_object_mut()) [INFO] [stdout] 229 | .and_then(|t| t.remove("bundle")) [INFO] [stdout] 230 ~ { Some(mut bundle_config) => { [INFO] [stdout] 231 | if let Some(bundle_config) = bundle_config.as_object_mut() { [INFO] [stdout] ... [INFO] [stdout] 346 | config.insert("bundle".into(), bundle_config); [INFO] [stdout] 347 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | if let Some(license) = macos.remove("license") { [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/migrate/migrations/v1/config.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 269 ~ match macos.remove("license") { Some(license) => { [INFO] [stdout] 270 | license_file = Some(license); [INFO] [stdout] 271 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:278:16 [INFO] [stdout] | [INFO] [stdout] 278 | if let Some(license_path) = wix.remove("license") { [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/migrate/migrations/v1/config.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 278 ~ match wix.remove("license") { Some(license_path) => { [INFO] [stdout] 279 | license_file = Some(license_path); [INFO] [stdout] 280 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:283:16 [INFO] [stdout] | [INFO] [stdout] 283 | if let Some(license_path) = nsis.remove("license") { [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/migrate/migrations/v1/config.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 283 ~ match nsis.remove("license") { Some(license_path) => { [INFO] [stdout] 284 | license_file = Some(license_path); [INFO] [stdout] 285 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:288:14 [INFO] [stdout] | [INFO] [stdout] 288 | if let Some((fixed_runtime_path, key)) = windows [INFO] [stdout] | ______________^ - [INFO] [stdout] | |____________________________________________________| [INFO] [stdout] 289 | || .remove("webviewFixedRuntimePath") [INFO] [stdout] 290 | || .map(|v| (v, "webviewInstallMode")) [INFO] [stdout] 291 | || .or_else(|| { [INFO] [stdout] ... || [INFO] [stdout] 294 | || .map(|v| (v, "webview-install-mode")) [INFO] [stdout] 295 | || }) [INFO] [stdout] | ||______________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |______________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:306:11 [INFO] [stdout] | [INFO] [stdout] 306 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 288 ~ match windows [INFO] [stdout] 289 | .remove("webviewFixedRuntimePath") [INFO] [stdout] ... [INFO] [stdout] 295 | }) [INFO] [stdout] 296 ~ { Some((fixed_runtime_path, key)) => { [INFO] [stdout] 297 | if !fixed_runtime_path.is_null() { [INFO] [stdout] ... [INFO] [stdout] 305 | } [INFO] [stdout] 306 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:631:8 [INFO] [stdout] | [INFO] [stdout] 631 | if let Some(updater) = updater.as_object_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/migrate/migrations/v1/config.rs:647:5 [INFO] [stdout] | [INFO] [stdout] 647 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 631 ~ match updater.as_object_mut() { Some(updater) => { [INFO] [stdout] 632 | updater.remove("dialog"); [INFO] [stdout] ... [INFO] [stdout] 646 | } [INFO] [stdout] 647 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/mobile/android/mod.rs:266:6 [INFO] [stdout] | [INFO] [stdout] 266 | if let Ok(device) = adb_device_prompt(env, target) { [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/mobile/android/mod.rs:268:3 [INFO] [stdout] | [INFO] [stdout] 268 | } 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] 266 ~ match adb_device_prompt(env, target) { Ok(device) => { [INFO] [stdout] 267 | Ok(device) [INFO] [stdout] 268 ~ } _ => { [INFO] [stdout] 269 | let emulator = emulator_prompt(env, target)?; [INFO] [stdout] ... [INFO] [stdout] 284 | } [INFO] [stdout] 285 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/mobile/android/android_studio_script.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | if let Some(target_device) = &cli_options.target_device { [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/mobile/android/android_studio_script.rs:109:7 [INFO] [stdout] | [INFO] [stdout] 109 | } else if devices.len() == 1 { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 102 ~ match &cli_options.target_device { Some(target_device) => { [INFO] [stdout] 103 | run_adb_reverse(&env, &target_device.id, &forward, &forward).with_context(|| { [INFO] [stdout] ... [INFO] [stdout] 108 | })?; [INFO] [stdout] 109 ~ } _ => if devices.len() == 1 { [INFO] [stdout] 110 | let device = devices.first().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 119 | devices.iter().map(|d| d.name()).collect::>().join(", ")); [INFO] [stdout] 120 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/mobile/android/android_studio_script.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | if let Ok(symbol) = string_table.get(s.st_name as usize) { [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/mobile/android/android_studio_script.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 168 ~ match string_table.get(s.st_name as usize) { Ok(symbol) => { [INFO] [stdout] 169 | symbols.push(symbol); [INFO] [stdout] 170 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 69 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 `tauri_cli` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/migrate/migrations/v1/config.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/migrate/migrations/v1/config.rs:431:84 [INFO] [stderr] | [INFO] [stderr] 431 | ($allowlist: ident, $permissions_list: ident, $object: ident, $field: ident => $associated_permission: expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/mobile/android/project.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn gen( [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/mobile/init.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 116 | super::android::project::gen( [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/mobile/init.rs:144:28 [INFO] [stdout] | [INFO] [stdout] 144 | super::ios::project::gen( [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:431:108 [INFO] [stdout] | [INFO] [stdout] 431 | ($allowlist: ident, $permissions_list: ident, $object: ident, $field: ident => $associated_permission: expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 431 | ($allowlist: ident, $permissions_list: ident, $object: ident, $field: ident => $associated_permission: expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/bundle.rs:189:7 [INFO] [stdout] | [INFO] [stdout] 189 | std::env::set_var("APPIMAGE_BUNDLE_GSTREAMER", "1"); [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] 189 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 190 ~ unsafe { std::env::set_var("APPIMAGE_BUNDLE_GSTREAMER", "1") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/bundle.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | std::env::set_var("APPIMAGE_BUNDLE_XDG_OPEN", "1"); [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] 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] 194 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 195 ~ unsafe { std::env::set_var("APPIMAGE_BUNDLE_XDG_OPEN", "1") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/bundle.rs:199:7 [INFO] [stdout] | [INFO] [stdout] 199 | std::env::set_var("APPIMAGE_BUNDLE_XDG_MIME", "1"); [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] 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] 199 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 200 ~ unsafe { std::env::set_var("APPIMAGE_BUNDLE_XDG_MIME", "1") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/helpers/config.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | set_var("TAURI_CONFIG", merge_config_str); [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] 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] 164 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 165 ~ unsafe { set_var("TAURI_CONFIG", merge_config_str) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/helpers/config.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | / set_var( [INFO] [stdout] 200 | | format!( [INFO] [stdout] 201 | | "TAURI_{}_PLUGIN_CONFIG", [INFO] [stdout] 202 | | plugin.to_uppercase().replace('-', "_") [INFO] [stdout] 203 | | ), [INFO] [stdout] 204 | | serde_json::to_string(&conf)?, [INFO] [stdout] 205 | | ); [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] 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] 199 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 200 ~ unsafe { set_var( [INFO] [stdout] 201 | format!( [INFO] [stdout] ... [INFO] [stdout] 205 | serde_json::to_string(&conf)?, [INFO] [stdout] 206 ~ ) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/helpers/config.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | set_var("TAURI_CONFIG", merge_config_str); [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] 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] 242 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 243 ~ unsafe { set_var("TAURI_CONFIG", merge_config_str) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/interface/rust/desktop.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | std::env::set_var("STATIC_VCRUNTIME", "true"); [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] 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] 134 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 135 ~ unsafe { std::env::set_var("STATIC_VCRUNTIME", "true") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/interface/rust.rs:151:7 [INFO] [stdout] | [INFO] [stdout] 151 | std::env::set_var("MACOSX_DEPLOYMENT_TARGET", minimum_system_version); [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] 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] 151 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 152 ~ unsafe { std::env::set_var("MACOSX_DEPLOYMENT_TARGET", minimum_system_version) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/interface/rust.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | / std::env::set_var( [INFO] [stdout] 155 | | "IPHONEOS_DEPLOYMENT_TARGET", [INFO] [stdout] 156 | | &config.bundle.ios.minimum_system_version, [INFO] [stdout] 157 | | ); [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] 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] 154 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 155 ~ unsafe { std::env::set_var( [INFO] [stdout] 156 | "IPHONEOS_DEPLOYMENT_TARGET", [INFO] [stdout] 157 | &config.bundle.ios.minimum_system_version, [INFO] [stdout] 158 ~ ) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/interface/rust.rs:1281:7 [INFO] [stdout] | [INFO] [stdout] 1281 | std::env::set_var("TAURI_TRAY_LIBRARY_PATH", path); [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] 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] 1281 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 1282 ~ unsafe { std::env::set_var("TAURI_TRAY_LIBRARY_PATH", path) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/interface/rust.rs:1661:7 [INFO] [stdout] | [INFO] [stdout] 1661 | std::env::set_var("CARGO_TARGET_DIR", "/path/to/env/dir"); [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] 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] 1661 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 1662 ~ unsafe { std::env::set_var("CARGO_TARGET_DIR", "/path/to/env/dir") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/mobile/android/mod.rs:138:3 [INFO] [stdout] | [INFO] [stdout] 138 | / set_var( [INFO] [stdout] 139 | | "WRY_ANDROID_PACKAGE", [INFO] [stdout] 140 | | app.android_identifier_escape_kotlin_keyword(), [INFO] [stdout] 141 | | ); [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] 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] 138 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 139 ~ unsafe { set_var( [INFO] [stdout] 140 | "WRY_ANDROID_PACKAGE", [INFO] [stdout] 141 | app.android_identifier_escape_kotlin_keyword(), [INFO] [stdout] 142 ~ ) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/mobile/android/mod.rs:142:3 [INFO] [stdout] | [INFO] [stdout] 142 | set_var("WRY_ANDROID_LIBRARY", app.lib_name()); [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] 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] 142 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 143 ~ unsafe { set_var("WRY_ANDROID_LIBRARY", app.lib_name()) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/mobile/android/mod.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 143 | set_var("TAURI_ANDROID_PROJECT_PATH", config.project_dir()); [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] 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] 143 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 144 ~ unsafe { set_var("TAURI_ANDROID_PROJECT_PATH", config.project_dir()) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/mobile/android/mod.rs:160:3 [INFO] [stdout] | [INFO] [stdout] 160 | / set_var( [INFO] [stdout] 161 | | "WRY_ANDROID_KOTLIN_FILES_OUT_DIR", [INFO] [stdout] 162 | | src_main_dir.join("generated"), [INFO] [stdout] 163 | | ); [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] 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] 160 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 161 ~ unsafe { set_var( [INFO] [stdout] 162 | "WRY_ANDROID_KOTLIN_FILES_OUT_DIR", [INFO] [stdout] 163 | src_main_dir.join("generated"), [INFO] [stdout] 164 ~ ) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/mobile/android/mod.rs:176:7 [INFO] [stdout] | [INFO] [stdout] 176 | std::env::remove_var(k); [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] 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] 176 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 177 ~ unsafe { std::env::remove_var(k) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/mobile/mod.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | set_var(k, v); [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] 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] 246 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 247 ~ unsafe { set_var(k, v) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:178:6 [INFO] [stdout] | [INFO] [stdout] 178 | if let Err(e) = try_run(args, bin_name) { [INFO] [stdout] | ^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:193:3 [INFO] [stdout] | [INFO] [stdout] 193 | } [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] 178 ~ match try_run(args, bin_name) { Err(e) => { [INFO] [stdout] 179 | let mut message = e.to_string(); [INFO] [stdout] ... [INFO] [stdout] 192 | exit(1); [INFO] [stdout] 193 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/acl/permission/rm.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 84 | if let Ok(mut value) = content.parse::() { [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/acl/permission/rm.rs:93:11 [INFO] [stdout] | [INFO] [stdout] 93 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 84 ~ match content.parse::() { Ok(mut value) => { [INFO] [stdout] 85 | if let Some(permissions) = value.get_mut("permissions").and_then(|p| p.as_array_mut()) { [INFO] [stdout] ... [INFO] [stdout] 92 | } [INFO] [stdout] 93 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/acl/permission/rm.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(permissions) = value.get_mut("permissions").and_then(|p| p.as_array_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/acl/permission/rm.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 85 ~ match value.get_mut("permissions").and_then(|p| p.as_array_mut()) { Some(permissions) => { [INFO] [stdout] 86 | let prev_len = permissions.len(); [INFO] [stdout] ... [INFO] [stdout] 91 | } [INFO] [stdout] 92 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/acl/permission/rm.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | if let Ok(mut value) = serde_json::from_slice::(&content) { [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/acl/permission/rm.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 106 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 97 ~ match serde_json::from_slice::(&content) { Ok(mut value) => { [INFO] [stdout] 98 | if let Some(permissions) = value.get_mut("permissions").and_then(|p| p.as_array_mut()) { [INFO] [stdout] ... [INFO] [stdout] 105 | } [INFO] [stdout] 106 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/acl/permission/rm.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | if let Some(permissions) = value.get_mut("permissions").and_then(|p| p.as_array_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/acl/permission/rm.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 98 ~ match value.get_mut("permissions").and_then(|p| p.as_array_mut()) { Some(permissions) => { [INFO] [stdout] 99 | let prev_len = permissions.len(); [INFO] [stdout] ... [INFO] [stdout] 104 | } [INFO] [stdout] 105 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dev.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | if let Some(c) = &mut options.config { [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/dev.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | } 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] 265 ~ match &mut options.config { Some(c) => { [INFO] [stdout] 266 | if let Some(build) = c [INFO] [stdout] ... [INFO] [stdout] 273 | } [INFO] [stdout] 274 ~ } _ => { [INFO] [stdout] 275 | options [INFO] [stdout] ... [INFO] [stdout] 281 | }))); [INFO] [stdout] 282 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dev.rs:266:14 [INFO] [stdout] | [INFO] [stdout] 266 | if let Some(build) = c [INFO] [stdout] | _______________^ - [INFO] [stdout] | | ________________________________| [INFO] [stdout] 267 | || .0 [INFO] [stdout] | ||______________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 268 | | .as_object_mut() [INFO] [stdout] 269 | | .and_then(|root| root.get_mut("build")) [INFO] [stdout] 270 | | .and_then(|build| build.as_object_mut()) [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dev.rs:273:11 [INFO] [stdout] | [INFO] [stdout] 273 | } [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 c [INFO] [stdout] 267 | .0 [INFO] [stdout] ... [INFO] [stdout] 270 | .and_then(|build| build.as_object_mut()) [INFO] [stdout] 271 ~ { Some(build) => { [INFO] [stdout] 272 | build.insert("devUrl".into(), server_url.into()); [INFO] [stdout] 273 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dev.rs:376:6 [INFO] [stdout] | [INFO] [stdout] 376 | if let Some(child) = BEFORE_DEV.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/dev.rs:415:3 [INFO] [stdout] | [INFO] [stdout] 415 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 376 ~ match BEFORE_DEV.get() { Some(child) => { [INFO] [stdout] 377 | let child = child.lock().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 414 | let _ = child.kill(); [INFO] [stdout] 415 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dev.rs:402:12 [INFO] [stdout] | [INFO] [stdout] 402 | if let Ok(mut file) = std::fs::File::create(&kill_children_script_path) { [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/dev.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 402 ~ match std::fs::File::create(&kill_children_script_path) { Ok(mut file) => { [INFO] [stdout] 403 | use std::os::unix::fs::PermissionsExt; [INFO] [stdout] ... [INFO] [stdout] 407 | let _ = file.set_permissions(permissions); [INFO] [stdout] 408 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dev/builtin_dev_server.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | if let Ok(ref node) = document.select_first("head") { [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/dev/builtin_dev_server.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | } 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] 129 ~ match document.select_first("head") { Ok(ref node) => { [INFO] [stdout] 130 | f(node.as_node()) [INFO] [stdout] 131 ~ } _ => { [INFO] [stdout] 132 | let node = NodeRef::new_element( [INFO] [stdout] ... [INFO] [stdout] 137 | document.prepend(node) [INFO] [stdout] 138 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/helpers/app_paths.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | if let Ok(mut file) = std::fs::File::create(default_gitignore.clone()) { [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/app_paths.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 28 ~ match std::fs::File::create(default_gitignore.clone()) { Ok(mut file) => { [INFO] [stdout] 29 | use std::io::Write; [INFO] [stdout] 30 | let _ = file.write_all(TAURI_GITIGNORE); [INFO] [stdout] 31 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/helpers/config.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | if let Err(errors) = 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/helpers/config.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 175 ~ match result { Err(errors) => { [INFO] [stdout] 176 | for error in errors { [INFO] [stdout] ... [INFO] [stdout] 186 | } [INFO] [stdout] 187 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/helpers/config.rs:240:6 [INFO] [stdout] | [INFO] [stdout] 240 | if let Some(config_metadata) = &mut *handle.lock().unwrap() { [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/config.rs:249:3 [INFO] [stdout] | [INFO] [stdout] 249 | } 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] 240 ~ match &mut *handle.lock().unwrap() { Some(config_metadata) => { [INFO] [stdout] 241 | let merge_config_str = serde_json::to_string(merge_config).unwrap(); [INFO] [stdout] ... [INFO] [stdout] 248 | Ok(handle.clone()) [INFO] [stdout] 249 ~ } _ => { [INFO] [stdout] 250 | Err(anyhow::anyhow!("config not loaded")) [INFO] [stdout] 251 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/helpers/flock.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | if let Some(f) = self.f.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/helpers/flock.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 78 ~ match self.f.take() { Some(f) => { [INFO] [stdout] 79 | let _ = unlock(&f); [INFO] [stdout] 80 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/helpers/template.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | if let Some(mut output_file) = out_file_generator(file_path)? { [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/template.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 77 ~ match out_file_generator(file_path)? { Some(mut output_file) => { [INFO] [stdout] 78 | if let Some(utf8) = file.contents_utf8() { [INFO] [stdout] ... [INFO] [stdout] 84 | } [INFO] [stdout] 85 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/info/app.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | if let Ok(config) = crate::helpers::config::get(Target::current(), 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/info/app.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 16 ~ match crate::helpers::config::get(Target::current(), None) { Ok(config) => { [INFO] [stdout] 17 | let config_guard = config.lock().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 56 | } [INFO] [stdout] 57 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/info/app.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | if let Ok(package_json) = read_to_string(app_dir.join("package.json")) { [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/info/app.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 45 ~ match read_to_string(app_dir.join("package.json")) { Ok(package_json) => { [INFO] [stdout] 46 | let (framework, bundler) = framework::infer_from_package_json(&package_json); [INFO] [stdout] ... [INFO] [stdout] 54 | } [INFO] [stdout] 55 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/info/packages_rust.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | if let Ok(manifest_contents) = read_to_string(tauri_dir.join("Cargo.toml")) { [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/info/packages_rust.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | } 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] 22 ~ match read_to_string(tauri_dir.join("Cargo.toml")) { Ok(manifest_contents) => { [INFO] [stdout] 23 | toml::from_str(&manifest_contents).ok() [INFO] [stdout] 24 ~ } _ => { [INFO] [stdout] 25 | None [INFO] [stdout] 26 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/info/plugins.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | if let Ok(manifest_contents) = fs::read_to_string(tauri_dir.join("Cargo.toml")) { [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/info/plugins.rs:33:9 [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] 31 ~ match fs::read_to_string(tauri_dir.join("Cargo.toml")) { Ok(manifest_contents) => { [INFO] [stdout] 32 | toml::from_str(&manifest_contents).ok() [INFO] [stdout] 33 ~ } _ => { [INFO] [stdout] 34 | None [INFO] [stdout] 35 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/mod.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | let target: String = if let Some(target) = options.target.clone() { [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/interface/mod.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | } 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] 52 ~ let target: String = match options.target.clone() { Some(target) => { [INFO] [stdout] 53 | target [INFO] [stdout] 54 ~ } _ => { [INFO] [stdout] 55 | tauri_utils::platform::target_triple()? [INFO] [stdout] 56 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/rust.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | if let Ok(events) = r { [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/interface/rust.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 128 ~ match r { Ok(events) => { [INFO] [stdout] 129 | let _ = tx.send(events); [INFO] [stdout] 130 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/rust.rs:344:8 [INFO] [stdout] | [INFO] [stdout] 344 | if let Ok(mut file) = std::fs::File::create(default_gitignore.clone()) { [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/interface/rust.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 344 ~ match std::fs::File::create(default_gitignore.clone()) { Ok(mut file) => { [INFO] [stdout] 345 | let _ = file.write_all(crate::dev::TAURI_CLI_BUILTIN_WATCHER_IGNORE_FILE); [INFO] [stdout] 346 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/rust.rs:527:10 [INFO] [stdout] | [INFO] [stdout] 527 | if let Ok(events) = r { [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/interface/rust.rs:529:7 [INFO] [stdout] | [INFO] [stdout] 529 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 527 ~ match r { Ok(events) => { [INFO] [stdout] 528 | tx.send(events).unwrap() [INFO] [stdout] 529 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/rust.rs:552:10 [INFO] [stdout] | [INFO] [stdout] 552 | if let Ok(events) = rx.recv() { [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/interface/rust.rs:588:7 [INFO] [stdout] | [INFO] [stdout] 588 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 552 ~ match rx.recv() { Ok(events) => { [INFO] [stdout] 553 | for event in events { [INFO] [stdout] ... [INFO] [stdout] 587 | } [INFO] [stdout] 588 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/rust.rs:558:18 [INFO] [stdout] | [INFO] [stdout] 558 | if let Ok(config) = reload_config(config.as_ref()) { [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/interface/rust.rs:567:15 [INFO] [stdout] | [INFO] [stdout] 567 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 558 ~ match reload_config(config.as_ref()) { Ok(config) => { [INFO] [stdout] 559 | let (manifest, modified) = [INFO] [stdout] ... [INFO] [stdout] 566 | } [INFO] [stdout] 567 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/rust/cargo_config.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | if let Some(path) = get_file_path(¤t.join(".cargo"), "config", true)? { [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/interface/rust/cargo_config.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 75 ~ match get_file_path(¤t.join(".cargo"), "config", true)? { Some(path) => { [INFO] [stdout] 76 | let toml = get_config(path)?; [INFO] [stdout] ... [INFO] [stdout] 80 | } [INFO] [stdout] 81 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/rust/cargo_config.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | if let Some(path) = get_file_path(&PathBuf::from(cargo_home), "config", true)? { [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/interface/rust/cargo_config.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 86 ~ match get_file_path(&PathBuf::from(cargo_home), "config", true)? { Some(path) => { [INFO] [stdout] 87 | let toml = get_config(path)?; [INFO] [stdout] ... [INFO] [stdout] 90 | } [INFO] [stdout] 91 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/rust/cargo_config.rs:129:29 [INFO] [stdout] | [INFO] [stdout] 129 | let skip_warning = if let Ok(target_path) = fs::read_link(&possible) { [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/interface/rust/cargo_config.rs:131:7 [INFO] [stdout] | [INFO] [stdout] 131 | } 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] 129 ~ let skip_warning = match fs::read_link(&possible) { Ok(target_path) => { [INFO] [stdout] 130 | target_path == possible_with_extension [INFO] [stdout] 131 ~ } _ => { [INFO] [stdout] 132 | false [INFO] [stdout] 133 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/rust/desktop.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | if let Some(child) = &*self.app_child.lock().unwrap() { [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] 30 | child.kill()?; [INFO] [stdout] 31 | } else if let Some(child) = &self.build_child { [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/interface/rust/desktop.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | } else if let Some(child) = &self.build_child { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/interface/rust/desktop.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 29 ~ match &*self.app_child.lock().unwrap() { Some(child) => { [INFO] [stdout] 30 | child.kill()?; [INFO] [stdout] 31 ~ } _ => { match &self.build_child { Some(child) => { [INFO] [stdout] 32 | child.kill()?; [INFO] [stdout] 33 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/rust/desktop.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | if let Some(child) = &*self.app_child.lock().unwrap() { [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] 40 | child.try_wait() [INFO] [stdout] 41 | } else if let Some(child) = &self.build_child { [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/interface/rust/desktop.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | } else if let Some(child) = &self.build_child { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/interface/rust/desktop.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | } 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] 39 ~ match &*self.app_child.lock().unwrap() { Some(child) => { [INFO] [stdout] 40 | child.try_wait() [INFO] [stdout] 41 ~ } _ => { match &self.build_child { Some(child) => { [INFO] [stdout] 42 | child.try_wait() [INFO] [stdout] 43 ~ } _ => { [INFO] [stdout] 44 | unreachable!() [INFO] [stdout] 45 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/rust/desktop.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | if let Some(child) = &*self.app_child.lock().unwrap() { [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] 50 | child.wait() [INFO] [stdout] 51 | } else if let Some(child) = &self.build_child { [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/interface/rust/desktop.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | } else if let Some(child) = &self.build_child { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/interface/rust/desktop.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | } 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] 49 ~ match &*self.app_child.lock().unwrap() { Some(child) => { [INFO] [stdout] 50 | child.wait() [INFO] [stdout] 51 ~ } _ => { match &self.build_child { Some(child) => { [INFO] [stdout] 52 | child.wait() [INFO] [stdout] 53 ~ } _ => { [INFO] [stdout] 54 | unreachable!() [INFO] [stdout] 55 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl DevProcess` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/interface/rust/desktop.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | ) -> crate::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/interface/rust/desktop.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | available_targets: &mut Option>, [INFO] [stdout] | ^ [INFO] [stdout] 67 | config_features: Vec, [INFO] [stdout] 68 | app_settings: &RustAppSettings, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 71 | ) -> crate::Result> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/rust/desktop.rs:333:6 [INFO] [stdout] | [INFO] [stdout] 333 | if let Ok(output) = Command::new("rustup").args(["target", "list"]).output() { [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/interface/rust/desktop.rs:347:3 [INFO] [stdout] | [INFO] [stdout] 347 | } 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] 333 ~ match Command::new("rustup").args(["target", "list"]).output() { Ok(output) => { [INFO] [stdout] 334 | let stdout = String::from_utf8_lossy(&output.stdout).into_owned(); [INFO] [stdout] ... [INFO] [stdout] 346 | ) [INFO] [stdout] 347 ~ } _ => { [INFO] [stdout] 348 | None [INFO] [stdout] 349 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/rust/manifest.rs:362:12 [INFO] [stdout] | [INFO] [stdout] 362 | if let Some(f) = item_table [INFO] [stdout] | ____________^ - [INFO] [stdout] | |__________________________| [INFO] [stdout] 363 | || .and_then(|t| t.get("features").cloned()) [INFO] [stdout] 364 | || .and_then(|f| f.as_array().cloned()) [INFO] [stdout] | ||______________________________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |______________________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/interface/rust/manifest.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 362 ~ match item_table [INFO] [stdout] 363 | .and_then(|t| t.get("features").cloned()) [INFO] [stdout] 364 | .and_then(|f| f.as_array().cloned()) [INFO] [stdout] 365 ~ { Some(f) => { [INFO] [stdout] 366 | for feature in f.iter() { [INFO] [stdout] ... [INFO] [stdout] 371 | } [INFO] [stdout] 372 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/rust.rs:1501:8 [INFO] [stdout] | [INFO] [stdout] 1501 | if let Ok(output) = cmd.output() { [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/interface/rust.rs:1509:5 [INFO] [stdout] | [INFO] [stdout] 1509 | } 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] 1501 ~ match cmd.output() { Ok(output) => { [INFO] [stdout] 1502 | if !output.stdout.is_empty() { [INFO] [stdout] ... [INFO] [stdout] 1508 | } [INFO] [stdout] 1509 ~ } _ => { [INFO] [stdout] 1510 | None [INFO] [stdout] 1511 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | if let Some((pre, _number)) = tauri_version.pre.as_str().split_once('.') { [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/migrate/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 49 ~ match tauri_version.pre.as_str().split_once('.') { Some((pre, _number)) => { [INFO] [stdout] 50 | if pre == "beta" { [INFO] [stdout] 51 | migrations::v2_rc::run().context("failed to migrate from v2 beta to rc")?; [INFO] [stdout] 52 | } [INFO] [stdout] 53 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | if let Some(tauri_config) = config.remove("tauri") { [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/migrate/migrations/v1/config.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 141 ~ match config.remove("tauri") { Some(tauri_config) => { [INFO] [stdout] 142 | config.insert("app".into(), tauri_config); [INFO] [stdout] 143 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | if let Some(package_config) = package_config.as_object_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/migrate/migrations/v1/config.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 151 ~ match package_config.as_object_mut() { Some(package_config) => { [INFO] [stdout] 152 | if let Some((product_name, key)) = package_config [INFO] [stdout] ... [INFO] [stdout] 168 | } [INFO] [stdout] 169 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:166:10 [INFO] [stdout] | [INFO] [stdout] 166 | if let Some(version) = package_config.remove("version") { [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/migrate/migrations/v1/config.rs:168:7 [INFO] [stdout] | [INFO] [stdout] 168 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 166 ~ match package_config.remove("version") { Some(version) => { [INFO] [stdout] 167 | config.insert("version".into(), version); [INFO] [stdout] 168 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | if let Some(identifier) = bundle_config.remove("identifier") { [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/migrate/migrations/v1/config.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 177 ~ match bundle_config.remove("identifier") { Some(identifier) => { [INFO] [stdout] 178 | config.insert("identifier".into(), identifier); [INFO] [stdout] 179 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 206 | if let Some((with_global_tauri, key)) = build_config [INFO] [stdout] | ________^ - [INFO] [stdout] | |_____________________________________________| [INFO] [stdout] 207 | || .remove("withGlobalTauri") [INFO] [stdout] 208 | || .map(|v| (v, "withGlobalTauri")) [INFO] [stdout] 209 | || .or_else(|| { [INFO] [stdout] ... || [INFO] [stdout] 212 | || .map(|v| (v, "with-global-tauri")) [INFO] [stdout] 213 | || }) [INFO] [stdout] | ||________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:219:5 [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] 206 ~ match build_config [INFO] [stdout] 207 | .remove("withGlobalTauri") [INFO] [stdout] ... [INFO] [stdout] 213 | }) [INFO] [stdout] 214 ~ { Some((with_global_tauri, key)) => { [INFO] [stdout] 215 | config [INFO] [stdout] ... [INFO] [stdout] 218 | .map(|t| t.insert(key.into(), with_global_tauri)); [INFO] [stdout] 219 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:226:6 [INFO] [stdout] | [INFO] [stdout] 226 | if let Some(mut bundle_config) = config [INFO] [stdout] | ______^ - [INFO] [stdout] | |____________________________________| [INFO] [stdout] 227 | || .get_mut("tauri") [INFO] [stdout] 228 | || .and_then(|b| b.as_object_mut()) [INFO] [stdout] 229 | || .and_then(|t| t.remove("bundle")) [INFO] [stdout] | ||_____________________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_____________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:347:3 [INFO] [stdout] | [INFO] [stdout] 347 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 226 ~ match config [INFO] [stdout] 227 | .get_mut("tauri") [INFO] [stdout] 228 | .and_then(|b| b.as_object_mut()) [INFO] [stdout] 229 | .and_then(|t| t.remove("bundle")) [INFO] [stdout] 230 ~ { Some(mut bundle_config) => { [INFO] [stdout] 231 | if let Some(bundle_config) = bundle_config.as_object_mut() { [INFO] [stdout] ... [INFO] [stdout] 346 | config.insert("bundle".into(), bundle_config); [INFO] [stdout] 347 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | if let Some(license) = macos.remove("license") { [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/migrate/migrations/v1/config.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 269 ~ match macos.remove("license") { Some(license) => { [INFO] [stdout] 270 | license_file = Some(license); [INFO] [stdout] 271 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:278:16 [INFO] [stdout] | [INFO] [stdout] 278 | if let Some(license_path) = wix.remove("license") { [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/migrate/migrations/v1/config.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 278 ~ match wix.remove("license") { Some(license_path) => { [INFO] [stdout] 279 | license_file = Some(license_path); [INFO] [stdout] 280 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:283:16 [INFO] [stdout] | [INFO] [stdout] 283 | if let Some(license_path) = nsis.remove("license") { [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/migrate/migrations/v1/config.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 283 ~ match nsis.remove("license") { Some(license_path) => { [INFO] [stdout] 284 | license_file = Some(license_path); [INFO] [stdout] 285 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:288:14 [INFO] [stdout] | [INFO] [stdout] 288 | if let Some((fixed_runtime_path, key)) = windows [INFO] [stdout] | ______________^ - [INFO] [stdout] | |____________________________________________________| [INFO] [stdout] 289 | || .remove("webviewFixedRuntimePath") [INFO] [stdout] 290 | || .map(|v| (v, "webviewInstallMode")) [INFO] [stdout] 291 | || .or_else(|| { [INFO] [stdout] ... || [INFO] [stdout] 294 | || .map(|v| (v, "webview-install-mode")) [INFO] [stdout] 295 | || }) [INFO] [stdout] | ||______________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |______________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:306:11 [INFO] [stdout] | [INFO] [stdout] 306 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 288 ~ match windows [INFO] [stdout] 289 | .remove("webviewFixedRuntimePath") [INFO] [stdout] ... [INFO] [stdout] 295 | }) [INFO] [stdout] 296 ~ { Some((fixed_runtime_path, key)) => { [INFO] [stdout] 297 | if !fixed_runtime_path.is_null() { [INFO] [stdout] ... [INFO] [stdout] 305 | } [INFO] [stdout] 306 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:631:8 [INFO] [stdout] | [INFO] [stdout] 631 | if let Some(updater) = updater.as_object_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/migrate/migrations/v1/config.rs:647:5 [INFO] [stdout] | [INFO] [stdout] 647 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 631 ~ match updater.as_object_mut() { Some(updater) => { [INFO] [stdout] 632 | updater.remove("dialog"); [INFO] [stdout] ... [INFO] [stdout] 646 | } [INFO] [stdout] 647 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/config.rs:693:10 [INFO] [stdout] | [INFO] [stdout] 693 | if let Some(map) = migrated.as_object_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/migrate/migrations/v1/config.rs:698:7 [INFO] [stdout] | [INFO] [stdout] 698 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 693 ~ match migrated.as_object_mut() { Some(map) => { [INFO] [stdout] 694 | map.insert( [INFO] [stdout] ... [INFO] [stdout] 697 | ); [INFO] [stdout] 698 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/manifest.rs:393:8 [INFO] [stdout] | [INFO] [stdout] 393 | if let Some(crate_types) = manifest [INFO] [stdout] | ^ -------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | ________| [INFO] [stdout] | | [INFO] [stdout] 394 | | .as_table() [INFO] [stdout] 395 | | .get("lib") [INFO] [stdout] 396 | | .and_then(|l| l.get("crate-type")) [INFO] [stdout] 397 | | .and_then(|c| c.as_array()) [INFO] [stdout] | |_________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/migrate/migrations/v1/manifest.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 410 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 393 ~ match manifest [INFO] [stdout] 394 | .as_table() [INFO] [stdout] ... [INFO] [stdout] 397 | .and_then(|c| c.as_array()) [INFO] [stdout] 398 ~ { Some(crate_types) => { [INFO] [stdout] 399 | let mut not_added_crate_types = super::CRATE_TYPES.to_vec(); [INFO] [stdout] ... [INFO] [stdout] 409 | ); [INFO] [stdout] 410 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/mobile/android/mod.rs:266:6 [INFO] [stdout] | [INFO] [stdout] 266 | if let Ok(device) = adb_device_prompt(env, target) { [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/mobile/android/mod.rs:268:3 [INFO] [stdout] | [INFO] [stdout] 268 | } 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] 266 ~ match adb_device_prompt(env, target) { Ok(device) => { [INFO] [stdout] 267 | Ok(device) [INFO] [stdout] 268 ~ } _ => { [INFO] [stdout] 269 | let emulator = emulator_prompt(env, target)?; [INFO] [stdout] ... [INFO] [stdout] 284 | } [INFO] [stdout] 285 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/mobile/android/android_studio_script.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | if let Some(target_device) = &cli_options.target_device { [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/mobile/android/android_studio_script.rs:109:7 [INFO] [stdout] | [INFO] [stdout] 109 | } else if devices.len() == 1 { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 102 ~ match &cli_options.target_device { Some(target_device) => { [INFO] [stdout] 103 | run_adb_reverse(&env, &target_device.id, &forward, &forward).with_context(|| { [INFO] [stdout] ... [INFO] [stdout] 108 | })?; [INFO] [stdout] 109 ~ } _ => if devices.len() == 1 { [INFO] [stdout] 110 | let device = devices.first().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 119 | devices.iter().map(|d| d.name()).collect::>().join(", ")); [INFO] [stdout] 120 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/mobile/android/android_studio_script.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | if let Ok(symbol) = string_table.get(s.st_name as usize) { [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/mobile/android/android_studio_script.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 168 ~ match string_table.get(s.st_name as usize) { Ok(symbol) => { [INFO] [stdout] 169 | symbols.push(symbol); [INFO] [stdout] 170 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 73 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.13s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling tauri-cli v2.0.0-rc.16 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/mobile/android/project.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn gen( [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 32 | pub fn r#gen( [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/mobile/init.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 116 | super::android::project::gen( [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 116 | super::android::project::r#gen( [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/mobile/android/project.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn gen( [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 32 | pub fn r#gen( [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/mobile/init.rs:144:28 [INFO] [stdout] | [INFO] [stdout] 144 | super::ios::project::gen( [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 144 | super::ios::project::r#gen( [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/mobile/init.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 116 | super::android::project::gen( [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 116 | super::android::project::r#gen( [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/mobile/init.rs:144:28 [INFO] [stdout] | [INFO] [stdout] 144 | super::ios::project::gen( [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 144 | super::ios::project::r#gen( [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/bundle.rs:189:7 [INFO] [stdout] | [INFO] [stdout] 189 | std::env::set_var("APPIMAGE_BUNDLE_GSTREAMER", "1"); [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/bundle.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | std::env::set_var("APPIMAGE_BUNDLE_XDG_OPEN", "1"); [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/bundle.rs:199:7 [INFO] [stdout] | [INFO] [stdout] 199 | std::env::set_var("APPIMAGE_BUNDLE_XDG_MIME", "1"); [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/helpers/config.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | set_var("TAURI_CONFIG", merge_config_str); [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/helpers/config.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | / set_var( [INFO] [stdout] 200 | | format!( [INFO] [stdout] 201 | | "TAURI_{}_PLUGIN_CONFIG", [INFO] [stdout] 202 | | plugin.to_uppercase().replace('-', "_") [INFO] [stdout] 203 | | ), [INFO] [stdout] 204 | | serde_json::to_string(&conf)?, [INFO] [stdout] 205 | | ); [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/helpers/config.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | set_var("TAURI_CONFIG", merge_config_str); [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/bundle.rs:189:7 [INFO] [stdout] | [INFO] [stdout] 189 | std::env::set_var("APPIMAGE_BUNDLE_GSTREAMER", "1"); [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/bundle.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | std::env::set_var("APPIMAGE_BUNDLE_XDG_OPEN", "1"); [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/bundle.rs:199:7 [INFO] [stdout] | [INFO] [stdout] 199 | std::env::set_var("APPIMAGE_BUNDLE_XDG_MIME", "1"); [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/interface/rust/desktop.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | std::env::set_var("STATIC_VCRUNTIME", "true"); [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/interface/rust.rs:151:7 [INFO] [stdout] | [INFO] [stdout] 151 | std::env::set_var("MACOSX_DEPLOYMENT_TARGET", minimum_system_version); [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/interface/rust.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | / std::env::set_var( [INFO] [stdout] 155 | | "IPHONEOS_DEPLOYMENT_TARGET", [INFO] [stdout] 156 | | &config.bundle.ios.minimum_system_version, [INFO] [stdout] 157 | | ); [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/helpers/config.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | set_var("TAURI_CONFIG", merge_config_str); [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/helpers/config.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | / set_var( [INFO] [stdout] 200 | | format!( [INFO] [stdout] 201 | | "TAURI_{}_PLUGIN_CONFIG", [INFO] [stdout] 202 | | plugin.to_uppercase().replace('-', "_") [INFO] [stdout] 203 | | ), [INFO] [stdout] 204 | | serde_json::to_string(&conf)?, [INFO] [stdout] 205 | | ); [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/helpers/config.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | set_var("TAURI_CONFIG", merge_config_str); [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: lifetime may not live long enough [INFO] [stdout] --> src/interface/rust.rs:497:5 [INFO] [stdout] | [INFO] [stdout] 492 | &mut self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 497 | / desktop::run_dev( [INFO] [stdout] 498 | | options, [INFO] [stdout] 499 | | run_args, [INFO] [stdout] 500 | | &mut self.available_targets, [INFO] [stdout] ... | [INFO] [stdout] 505 | | ) [INFO] [stdout] 506 | | .map(|c| Box::new(c) as Box) [INFO] [stdout] | |_______________________________________________________^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: to declare that the trait object captures data from argument `self`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 496 | ) -> crate::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] help: consider adding 'move' keyword before the nested closure [INFO] [stdout] | [INFO] [stdout] 506 | .map(move |c| Box::new(c) as Box) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/interface/rust.rs:1281:7 [INFO] [stdout] | [INFO] [stdout] 1281 | std::env::set_var("TAURI_TRAY_LIBRARY_PATH", path); [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/interface/rust/desktop.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | std::env::set_var("STATIC_VCRUNTIME", "true"); [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/interface/rust.rs:151:7 [INFO] [stdout] | [INFO] [stdout] 151 | std::env::set_var("MACOSX_DEPLOYMENT_TARGET", minimum_system_version); [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/interface/rust.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | / std::env::set_var( [INFO] [stdout] 155 | | "IPHONEOS_DEPLOYMENT_TARGET", [INFO] [stdout] 156 | | &config.bundle.ios.minimum_system_version, [INFO] [stdout] 157 | | ); [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: lifetime may not live long enough [INFO] [stdout] --> src/interface/rust.rs:497:5 [INFO] [stdout] | [INFO] [stdout] 492 | &mut self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 497 | / desktop::run_dev( [INFO] [stdout] 498 | | options, [INFO] [stdout] 499 | | run_args, [INFO] [stdout] 500 | | &mut self.available_targets, [INFO] [stdout] ... | [INFO] [stdout] 505 | | ) [INFO] [stdout] 506 | | .map(|c| Box::new(c) as Box) [INFO] [stdout] | |_______________________________________________________^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: to declare that the trait object captures data from argument `self`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 496 | ) -> crate::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] help: consider adding 'move' keyword before the nested closure [INFO] [stdout] | [INFO] [stdout] 506 | .map(move |c| Box::new(c) as Box) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/mobile/android/mod.rs:138:3 [INFO] [stdout] | [INFO] [stdout] 138 | / set_var( [INFO] [stdout] 139 | | "WRY_ANDROID_PACKAGE", [INFO] [stdout] 140 | | app.android_identifier_escape_kotlin_keyword(), [INFO] [stdout] 141 | | ); [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/mobile/android/mod.rs:142:3 [INFO] [stdout] | [INFO] [stdout] 142 | set_var("WRY_ANDROID_LIBRARY", app.lib_name()); [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/mobile/android/mod.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 143 | set_var("TAURI_ANDROID_PROJECT_PATH", config.project_dir()); [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/mobile/android/mod.rs:160:3 [INFO] [stdout] | [INFO] [stdout] 160 | / set_var( [INFO] [stdout] 161 | | "WRY_ANDROID_KOTLIN_FILES_OUT_DIR", [INFO] [stdout] 162 | | src_main_dir.join("generated"), [INFO] [stdout] 163 | | ); [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 `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/mobile/android/mod.rs:176:7 [INFO] [stdout] | [INFO] [stdout] 176 | std::env::remove_var(k); [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/mobile/mod.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | set_var(k, v); [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/interface/rust.rs:1281:7 [INFO] [stdout] | [INFO] [stdout] 1281 | std::env::set_var("TAURI_TRAY_LIBRARY_PATH", path); [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/interface/rust.rs:1661:7 [INFO] [stdout] | [INFO] [stdout] 1661 | std::env::set_var("CARGO_TARGET_DIR", "/path/to/env/dir"); [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 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tauri-cli` (lib) due to 21 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/mobile/android/mod.rs:138:3 [INFO] [stdout] | [INFO] [stdout] 138 | / set_var( [INFO] [stdout] 139 | | "WRY_ANDROID_PACKAGE", [INFO] [stdout] 140 | | app.android_identifier_escape_kotlin_keyword(), [INFO] [stdout] 141 | | ); [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/mobile/android/mod.rs:142:3 [INFO] [stdout] | [INFO] [stdout] 142 | set_var("WRY_ANDROID_LIBRARY", app.lib_name()); [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/mobile/android/mod.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 143 | set_var("TAURI_ANDROID_PROJECT_PATH", config.project_dir()); [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/mobile/android/mod.rs:160:3 [INFO] [stdout] | [INFO] [stdout] 160 | / set_var( [INFO] [stdout] 161 | | "WRY_ANDROID_KOTLIN_FILES_OUT_DIR", [INFO] [stdout] 162 | | src_main_dir.join("generated"), [INFO] [stdout] 163 | | ); [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 `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/mobile/android/mod.rs:176:7 [INFO] [stdout] | [INFO] [stdout] 176 | std::env::remove_var(k); [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/mobile/mod.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | set_var(k, v); [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 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tauri-cli` (lib test) due to 22 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" "621e341eb4a44a4a3234fa6f35c44108e9cc95e0c7347d5f3885c756c157cfb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "621e341eb4a44a4a3234fa6f35c44108e9cc95e0c7347d5f3885c756c157cfb6", kill_on_drop: false }` [INFO] [stdout] 621e341eb4a44a4a3234fa6f35c44108e9cc95e0c7347d5f3885c756c157cfb6