[INFO] fetching crate wasmer-cli 4.3.7... [INFO] checking wasmer-cli-4.3.7 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate wasmer-cli 4.3.7 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate wasmer-cli 4.3.7 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 wasmer-cli 4.3.7 [INFO] finished tweaking crates.io crate wasmer-cli 4.3.7 [INFO] tweaked toml for crates.io crate wasmer-cli 4.3.7 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate wasmer-cli 4.3.7 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 9dbd7f13afee2115df41854b60d9235d221cd3d9cc9e16105d1eaf8e14db0358 [INFO] running `Command { std: "docker" "start" "-a" "9dbd7f13afee2115df41854b60d9235d221cd3d9cc9e16105d1eaf8e14db0358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9dbd7f13afee2115df41854b60d9235d221cd3d9cc9e16105d1eaf8e14db0358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dbd7f13afee2115df41854b60d9235d221cd3d9cc9e16105d1eaf8e14db0358", kill_on_drop: false }` [INFO] [stdout] 9dbd7f13afee2115df41854b60d9235d221cd3d9cc9e16105d1eaf8e14db0358 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 3511c08d62d36762fb2b47ce36ee4410df8da286be9eff0372995660940e4cbc [INFO] running `Command { std: "docker" "start" "-a" "3511c08d62d36762fb2b47ce36ee4410df8da286be9eff0372995660940e4cbc", 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] Fixed Cargo.toml (18 fixes) [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling bytecheck v0.6.12 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking simdutf8 v0.1.4 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling rend v0.4.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling rkyv v0.7.44 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking memmap2 v0.6.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling target-lexicon v0.12.15 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking seahash v4.1.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling corosensei v0.1.4 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Compiling rustls v0.23.11 [INFO] [stderr] Checking more-asserts v0.2.2 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking xxhash-rust v0.8.11 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Checking winnow v0.6.15 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking dashmap v6.0.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking object v0.36.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling wai-bindgen-gen-rust-wasm v0.2.3 [INFO] [stderr] Checking rustls-native-certs v0.7.1 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling wai-parser v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking wasm-encoder v0.32.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking xattr v1.3.1 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking region v3.0.2 [INFO] [stderr] Compiling wai-bindgen-gen-core v0.2.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Checking any_ascii v0.1.7 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking lexical-sort v0.3.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Compiling wai-bindgen-gen-rust v0.2.3 [INFO] [stderr] Checking tar v0.4.41 [INFO] [stderr] Checking wast v64.0.0 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Checking self_cell v1.0.4 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking path-clean v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking rustls-webpki v0.102.6 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling bytecheck_derive v0.6.12 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Checking ptr_meta v0.1.4 [INFO] [stderr] Compiling rkyv_derive v0.7.44 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling enum-iterator-derive v0.7.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking enum-iterator v0.7.0 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling enumset_derive v0.10.0 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling logos-codegen v0.14.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling enum-ordinalize v3.1.15 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling wasmer-derive v4.3.7 [INFO] [stderr] Checking enumset v1.1.5 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling educe v0.4.23 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Compiling wai-bindgen-rust-impl v0.2.3 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking wat v1.0.71 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling logos-derive v0.14.0 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking managed v0.8.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking smoltcp v0.8.2 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking clap_builder v4.4.11 [INFO] [stderr] Compiling logos v0.14.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Checking wai-bindgen-rust v0.2.3 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling cynic-parser v0.4.5 [INFO] [stderr] Compiling counter v0.5.7 [INFO] [stderr] Compiling blake3 v1.5.3 [INFO] [stderr] Checking sparx v0.1.2 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling libsqlite3-sys v0.25.2 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking dunce v1.0.4 [INFO] [stderr] Compiling portable-atomic v1.7.0 [INFO] [stderr] Checking fs_extra v1.3.0 [INFO] [stderr] Checking replace_with v0.1.7 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling ouroboros_macro v0.18.4 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking lz4_flex v0.11.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking rtoolbox v0.0.2 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling camino v1.1.7 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking arrayref v0.3.8 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Checking rusty_pool v0.7.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking rpassword v7.3.1 [INFO] [stderr] Compiling ouroboros v0.18.4 [INFO] [stderr] Checking scrypt v0.11.0 [INFO] [stderr] Compiling cynic-codegen v3.7.3 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking linked_hash_set v0.1.4 [INFO] [stderr] Compiling graphql-parser v0.4.0 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Checking clap v4.4.11 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Compiling zip v2.1.5 [INFO] [stderr] Checking lockfree-object-pool v0.1.6 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking cooked-waker v5.0.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking minisign v0.7.6 [INFO] [stderr] Checking zopfli v0.8.1 [INFO] [stderr] Checking lzma-rs v0.2.0 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking tokio v1.38.1 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking shared-buffer v0.1.4 [INFO] [stderr] Checking bytesize v1.3.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking wasmparser v0.95.0 [INFO] [stderr] Checking object v0.29.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling graphql-introspection-query v0.2.0 [INFO] [stderr] Checking wasmparser v0.121.2 [INFO] [stderr] Checking toml_edit v0.22.16 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking http-serde v1.1.3 [INFO] [stderr] Checking wcgi v0.1.2 [INFO] [stderr] Checking rmp-serde v0.15.5 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking http-serde v2.1.1 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking virtual-mio v0.3.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking wcgi v0.2.0 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking tokio-serde v0.8.0 [INFO] [stderr] Checking ruzstd v0.5.0 [INFO] [stderr] Checking tldextract v0.6.0 [INFO] [stderr] Compiling graphql_client_codegen v0.13.0 [INFO] [stderr] Checking toml v0.8.15 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Compiling wasmer-cli v4.3.7 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking cargo-platform v0.1.8 [INFO] [stderr] Checking wasmer-config v0.8.0 [INFO] [stderr] Checking merge-streams v0.1.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking wast v38.0.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking wasmer-types v4.3.7 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking roff v0.2.1 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking whoami v1.5.1 [INFO] [stderr] Checking harsh v0.2.2 [INFO] [stderr] Checking clap_mangen v0.2.22 [INFO] [stderr] Checking comfy-table v7.1.1 [INFO] [stderr] Checking cargo_metadata v0.15.4 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling cynic-proc-macros v3.7.3 [INFO] [stderr] Checking clap_complete v4.5.3 [INFO] [stderr] Checking opener v0.6.1 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking normpath v1.1.1 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Compiling assert_cmd v2.0.14 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking unix_mode v0.1.4 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking predicates v3.1.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking webc v6.0.0 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking async-compression v0.4.12 [INFO] [stderr] Checking tokio-socks v0.5.1 [INFO] [stderr] Checking wcgi-host v0.1.2 [INFO] [stderr] Checking wcgi-host v0.2.0 [INFO] [stderr] Checking wasmer-wasm-interface v4.3.7 [INFO] [stderr] Checking rusqlite v0.28.0 [INFO] [stderr] Checking edge-schema v0.1.0 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking async-tungstenite v0.25.1 [INFO] [stderr] Checking edge-schema v0.0.3 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Checking wasmer-vm v4.3.7 [INFO] [stderr] Checking wasmer-object v4.3.7 [INFO] [stderr] Compiling graphql_query_derive v0.13.0 [INFO] [stderr] Checking wasmer-compiler v4.3.7 [INFO] [stderr] Checking hyper-rustls v0.27.2 [INFO] [stderr] Checking hyper-tungstenite v0.13.0 [INFO] [stderr] Checking virtual-net v0.8.0 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stderr] Checking graphql_client v0.13.0 [INFO] [stderr] Checking virtual-fs v0.16.0 [INFO] [stderr] Checking graphql-ws-client v0.8.2 [INFO] [stderr] Checking wasmer v4.3.7 [INFO] [stderr] Checking edge-util v0.1.0 [INFO] [stderr] Checking cynic v3.7.3 [INFO] [stderr] Checking wasmer-registry v5.19.0 [INFO] [stderr] Checking wasmer-api v0.0.34 [INFO] [stderr] Checking wasmer-wasix-types v0.27.0 [INFO] [stderr] Checking wasmer-emscripten v4.3.7 [INFO] [stderr] Checking wasmer-journal v0.9.0 [INFO] [stderr] Checking wasmer-wasix v0.27.0 [INFO] [stderr] Checking wasmer-wast v4.3.7 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `wasmer_cli` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/commands/package/common/macros.rs [INFO] [stderr] * src/commands/package/common/mod.rs [INFO] [stderr] * src/commands/run/capabilities/net.rs [INFO] [stderr] * src/commands/run/mod.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/commands/package/common/macros.rs:2:6 [INFO] [stderr] | [INFO] [stderr] 2 | ($quiet:expr_2021, $msg:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/commands/package/common/macros.rs:2:24 [INFO] [stderr] | [INFO] [stderr] 2 | ($quiet:expr_2021, $msg:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/commands/package/common/macros.rs:19:6 [INFO] [stderr] | [INFO] [stderr] 19 | ($quiet:expr_2021, $msg:expr_2021, $($spinner:expr_2021),+) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/commands/package/common/macros.rs:19:24 [INFO] [stderr] | [INFO] [stderr] 19 | ($quiet:expr_2021, $msg:expr_2021, $($spinner: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] [stdout] warning: unused import: `logout::*` [INFO] [stdout] --> src/commands/auth/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use logout::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/commands/package/common/macros.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | ($quiet:expr, $msg: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] 2 | ($quiet:expr_2021, $msg:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/commands/package/common/macros.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | ($quiet:expr, $msg:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2 | ($quiet:expr, $msg:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/commands/package/common/macros.rs:19:42 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/commands/package/common/macros.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | ($quiet:expr, $msg:expr, $($spinner:expr),+) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 19 | ($quiet:expr_2021, $msg:expr, $($spinner:expr),+) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/commands/package/common/macros.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | ($quiet:expr, $msg:expr, $($spinner:expr),+) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 19 | ($quiet:expr, $msg:expr_2021, $($spinner:expr),+) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 19 | ($quiet:expr_2021, $msg:expr_2021, $($spinner:expr_2021),+) => {{ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/commands/package/common/macros.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | ($quiet:expr, $msg:expr, $($spinner:expr),+) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 19 | ($quiet:expr, $msg:expr, $($spinner:expr_2021),+) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/commands/package/common/macros.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | ($pb:expr, $msg: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 38 | ($pb:expr_2021, $msg: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/commands/package/common/macros.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | ($pb:expr, $msg: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 38 | ($pb:expr, $msg: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/commands/package/common/macros.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | ($pb:expr, $msg: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 48 | ($pb:expr_2021, $msg: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/commands/package/common/macros.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | ($pb:expr, $msg: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 48 | ($pb:expr, $msg: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: unexpected `cfg` condition value: `telemetry` [INFO] [stdout] --> src/commands/package/common/mod.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "telemetry")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backend`, `compiler`, `coredump`, `cranelift`, `default`, `disable-all-logging`, `enable-serde`, `fuse`, `headless`, `headless-minimal`, `host-net`, `journal`, `jsc`, `llvm`, `mac_address`, `mio`, `singlepass`, `static-artifact-create`, `static-artifact-load`, `sys`, `tokio-tungstenite`, `tun-tap`, `wasm-coredump-builder`, `wasmer-artifact-create`, `wasmer-artifact-load`, `wasmer-compiler`, `wasmer-compiler-cranelift`, `wasmer-compiler-llvm`, `wasmer-compiler-singlepass`, `wasmer-object`, `wasmer-vm`, `wasmer-wast`, `wast`, and `wat` [INFO] [stdout] = help: consider adding `telemetry` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/commands/run/capabilities/net.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | ($self: expr, $fn_name: ident, $( $arg: expr ),* ) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 31 | ($self: expr_2021, $fn_name: ident, $( $arg: expr ),* ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/commands/run/capabilities/net.rs:31:45 [INFO] [stdout] | [INFO] [stdout] 31 | ($self: expr, $fn_name: ident, $( $arg: expr ),* ) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 31 | ($self: expr, $fn_name: ident, $( $arg: expr_2021 ),* ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/commands/package/common/macros.rs:38:6 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/commands/run/capabilities/net.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | ($self: expr, $fn_name: ident) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 46 | ($self: expr_2021, $fn_name: ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 38 | ($pb:expr_2021, $msg: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: unexpected `cfg` condition name: `linux` [INFO] [stdout] --> src/commands/run/mod.rs:503:18 [INFO] [stdout] | [INFO] [stdout] 503 | if !cfg!(linux) { [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: unused import: `publish::*` [INFO] [stdout] --> src/commands/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | publish::*, run::Run, self_update::*, validate::*, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: field `allow_create` is never read [INFO] [stdout] --> src/commands/app/deploy.rs:605:9 [INFO] [stdout] | [INFO] [stdout] 599 | pub struct DeployAppOpts<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 605 | pub allow_create: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeployAppOpts` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/commands/package/common/macros.rs:38:21 [INFO] [stderr] | [INFO] [stderr] 38 | ($pb:expr_2021, $msg: expr_2021) => { [INFO] [stdout] warning: fields `config` and `path` are never read [INFO] [stdout] --> src/commands/app/util.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 124 | Config { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 125 | ident: AppIdent, [INFO] [stdout] 126 | config: AppConfigV1, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 127 | path: std::path::PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/commands/package/common/macros.rs:48:6 [INFO] [stderr] | [INFO] [stderr] 48 | ($pb:expr_2021, $msg: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/commands/package/common/macros.rs:48:21 [INFO] [stderr] | [INFO] [stderr] 48 | ($pb:expr_2021, $msg: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/commands/run/capabilities/net.rs:31:6 [INFO] [stderr] | [INFO] [stderr] 31 | ($self: expr_2021, $fn_name: ident, $( $arg: expr_2021 ),* ) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/mod.rs:269:24 [INFO] [stdout] | [INFO] [stdout] 269 | if let Ok(run) = Run::try_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/commands/mod.rs:277:21 [INFO] [stdout] | [INFO] [stdout] 277 | } [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] 269 ~ match Run::try_parse() { Ok(run) => { [INFO] [stdout] 270 | // Try to parse the command using the `wasmer some/package` [INFO] [stdout] ... [INFO] [stdout] 276 | run.execute(output); [INFO] [stdout] 277 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/commands/run/capabilities/net.rs:31:44 [INFO] [stderr] | [INFO] [stderr] 31 | ($self: expr_2021, $fn_name: ident, $( $arg: expr_2021 ),* ) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/commands/run/capabilities/net.rs:46:6 [INFO] [stderr] | [INFO] [stderr] 46 | ($self: expr_2021, $fn_name: ident) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `telemetry` [INFO] [stderr] --> src/commands/package/common/mod.rs:22:11 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/create.rs:245:37 [INFO] [stdout] | [INFO] [stdout] 245 | let (manifest_path, _) = if let Some(res) = load_package_manifest(&app_dir)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/create.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | } else if self.use_local_manifest { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 245 ~ let (manifest_path, _) = match load_package_manifest(&app_dir)? { Some(res) => { [INFO] [stdout] 246 | res [INFO] [stdout] 247 ~ } _ => if self.use_local_manifest { [INFO] [stdout] 248 | anyhow::bail!("The --use_local_manifest flag was passed, but path {} does not contain a valid package manifest.", app_dir.display()) [INFO] [stdout] 249 | } else { [INFO] [stdout] 250 | return Ok(false); [INFO] [stdout] 251 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/create.rs:384:15 [INFO] [stdout] | [INFO] [stdout] 384 | while let Some(next) = stream.try_next().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/create.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 22 | #[cfg(feature = "telemetry")] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/create.rs:466:15 [INFO] [stdout] | [INFO] [stdout] 466 | while let Some(next) = stream.try_next().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/create.rs:472:9 [INFO] [stdout] | [INFO] [stdout] 472 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `backend`, `compiler`, `coredump`, `cranelift`, `default`, `disable-all-logging`, `enable-serde`, `fuse`, `headless`, `headless-minimal`, `host-net`, `journal`, `jsc`, `llvm`, `mac_address`, `mio`, `singlepass`, `static-artifact-create`, `static-artifact-load`, `sys`, `tokio-tungstenite`, `tun-tap`, `wasm-coredump-builder`, `wasmer-artifact-create`, `wasmer-artifact-load`, `wasmer-compiler`, `wasmer-compiler-cranelift`, `wasmer-compiler-llvm`, `wasmer-compiler-singlepass`, `wasmer-object`, `wasmer-vm`, `wasmer-wast`, `wast`, and `wat` [INFO] [stderr] = help: consider adding `telemetry` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `linux` [INFO] [stderr] --> src/commands/run/mod.rs:503:18 [INFO] [stderr] | [INFO] [stderr] 503 | if !cfg!(linux) { [INFO] [stderr] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] error: aborting due to 12 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/create.rs:491:23 [INFO] [stdout] | [INFO] [stdout] 491 | } else if let Some(template) = [INFO] [stdout] | _______________________^ [INFO] [stdout] 492 | | wasmer_api::query::fetch_app_template_from_slug(client, template.clone()).await? [INFO] [stdout] | |_________________-------------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/create.rs:495:13 [INFO] [stdout] | [INFO] [stdout] 495 | } 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] 491 ~ } else { match wasmer_api::query::fetch_app_template_from_slug(client, template.clone()).await? [INFO] [stdout] 492 ~ { Some(template) => { [INFO] [stdout] 493 | url::Url::parse(&template.repo_url)? [INFO] [stdout] 494 ~ } _ => { [INFO] [stdout] 495 | anyhow::bail!("Template '{}' not found in the registry", template) [INFO] [stdout] 496 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/deploy.rs:278:33 [INFO] [stdout] | [INFO] [stdout] 278 | let maybe_edge_app = if let Some(app_id) = app_yaml.get("app_id").and_then(|s| s.as_str()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/deploy.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | } 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] 278 ~ let maybe_edge_app = match app_yaml.get("app_id").and_then(|s| s.as_str()) { Some(app_id) => { [INFO] [stdout] 279 | wasmer_api::query::get_app_by_id(&client, app_id.to_owned()) [INFO] [stdout] 280 | .await [INFO] [stdout] 281 | .ok() [INFO] [stdout] 282 ~ } _ => { [INFO] [stdout] 283 | None [INFO] [stdout] 284 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/deploy.rs:418:20 [INFO] [stdout] | [INFO] [stdout] 418 | if let Ok(Some((manifest_path, manifest))) = load_package_manifest(&base_dir_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/commands/app/deploy.rs:523:17 [INFO] [stdout] | [INFO] [stdout] 523 | } 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] 418 ~ match load_package_manifest(&base_dir_path) { Ok(Some((manifest_path, manifest))) => { [INFO] [stdout] 419 | if let Some(package) = &manifest.package { [INFO] [stdout] ... [INFO] [stdout] 522 | } [INFO] [stdout] 523 ~ } _ => { [INFO] [stdout] 524 | log::info!("Using package {}", app_config.package.to_string()); [INFO] [stdout] ... [INFO] [stdout] 532 | } [INFO] [stdout] 533 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/deploy.rs:419:24 [INFO] [stdout] | [INFO] [stdout] 419 | if let Some(package) = &manifest.package { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/deploy.rs:513:21 [INFO] [stdout] | [INFO] [stdout] 513 | } 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] 419 ~ match &manifest.package { Some(package) => { [INFO] [stdout] 420 | if let Some(name) = &package.name { [INFO] [stdout] ... [INFO] [stdout] 512 | } [INFO] [stdout] 513 ~ } _ => { [INFO] [stdout] 514 | DeployAppOpts { [INFO] [stdout] ... [INFO] [stdout] 521 | } [INFO] [stdout] 522 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/deploy.rs:618:27 [INFO] [stdout] | [INFO] [stdout] 618 | let final_config = if let Some(old) = &opts.original_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/commands/app/deploy.rs:620:5 [INFO] [stdout] | [INFO] [stdout] 620 | } 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] 618 ~ let final_config = match &opts.original_config { Some(old) => { [INFO] [stdout] 619 | crate::utils::merge_yaml_values(old, &config_value) [INFO] [stdout] 620 ~ } _ => { [INFO] [stdout] 621 | config_value [INFO] [stdout] 622 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/list.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | 'list: while let Some(apps) = apps_stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/list.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/logs.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | while let Some(logs) = logs_stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/logs.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/logs.rs:179:19 [INFO] [stdout] | [INFO] [stdout] 179 | while let Some(logs) = logs_stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/logs.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/logs.rs:213:19 [INFO] [stdout] | [INFO] [stdout] 213 | while let Some(logs) = logs_stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/logs.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/secrets/utils/mod.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | if let Ok(r) = get_app_config_from_dir(&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/commands/app/secrets/utils/mod.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | } else if let Some(path) = app_dir_path { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 111 ~ match get_app_config_from_dir(&path) { Ok(r) => { [INFO] [stdout] 112 | let (app, _) = r; [INFO] [stdout] ... [INFO] [stdout] 150 | } [INFO] [stdout] 151 ~ } _ => if let Some(path) = app_dir_path { [INFO] [stdout] 152 | anyhow::bail!( [INFO] [stdout] ... [INFO] [stdout] 155 | ) [INFO] [stdout] 156 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/secrets/utils/mod.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | let app_name = if let Some(owner) = &app.owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/secrets/utils/mod.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | } 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] 114 ~ let app_name = match &app.owner { Some(owner) => { [INFO] [stdout] 115 | format!("{owner}/{}", app.name) [INFO] [stdout] 116 ~ } _ => { [INFO] [stdout] 117 | app.name.to_string() [INFO] [stdout] 118 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/secrets/utils/mod.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | let id = if let Some(id) = &app.app_id { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 121 | Some(id.clone()) [INFO] [stdout] 122 | } else if let Ok(app_ident) = AppIdent::from_str(&app_name) { [INFO] [stdout] | ----------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/secrets/utils/mod.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | } else if let Ok(app_ident) = AppIdent::from_str(&app_name) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/secrets/utils/mod.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | } 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] 120 ~ let id = match &app.app_id { Some(id) => { [INFO] [stdout] 121 | Some(id.clone()) [INFO] [stdout] 122 ~ } _ => { match AppIdent::from_str(&app_name) { Ok(app_ident) => { [INFO] [stdout] 123 | if let Ok(app) = app_ident.resolve(client).await { [INFO] [stdout] ... [INFO] [stdout] 133 | } [INFO] [stdout] 134 ~ } _ => { [INFO] [stdout] 135 | None [INFO] [stdout] 136 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/secrets/utils/mod.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | if let Ok(app) = app_ident.resolve(client).await { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/secrets/utils/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | } 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] 123 ~ match app_ident.resolve(client).await { Ok(app) => { [INFO] [stdout] 124 | Some(app.id.into_inner()) [INFO] [stdout] 125 ~ } _ => { [INFO] [stdout] 126 | if !quiet { [INFO] [stdout] ... [INFO] [stdout] 132 | None [INFO] [stdout] 133 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/secrets/utils/mod.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 140 | if let Some(owner) = &app.owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/secrets/utils/mod.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | } 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] 140 ~ match &app.owner { Some(owner) => { [INFO] [stdout] 141 | eprintln!( [INFO] [stdout] ... [INFO] [stdout] 144 | ); [INFO] [stdout] 145 ~ } _ => { [INFO] [stdout] 146 | eprintln!("Managing secrets related to app {}.", app.name.bold()); [INFO] [stdout] 147 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/util.rs:149:24 [INFO] [stdout] | [INFO] [stdout] 149 | let ident = if let Some(id) = &config.app_id { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 150 | AppIdent::AppId(id.clone()) [INFO] [stdout] 151 | } else if let Some(owner) = &config.owner { [INFO] [stdout] | ------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/util.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | } else if let Some(owner) = &config.owner { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/util.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | } 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] 149 ~ let ident = match &config.app_id { Some(id) => { [INFO] [stdout] 150 | AppIdent::AppId(id.clone()) [INFO] [stdout] 151 ~ } _ => { match &config.owner { Some(owner) => { [INFO] [stdout] 152 | AppIdent::NamespacedName(owner.clone(), config.name.clone()) [INFO] [stdout] 153 ~ } _ => { [INFO] [stdout] 154 | AppIdent::Name(config.name.clone()) [INFO] [stdout] 155 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/auth/login/mod.rs:142:28 [INFO] [stdout] | [INFO] [stdout] 142 | if let Err(e) = fut.await { [INFO] [stdout] | ^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/auth/login/mod.rs:144:25 [INFO] [stdout] | [INFO] [stdout] 144 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 142 ~ match fut.await { Err(e) => { [INFO] [stdout] 143 | eprintln!("Error serving connection: {:?}", e); [INFO] [stdout] 144 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/auth/login/mod.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | let should_login = if let Some(user) = wasmer_api::query::current_user(&client).await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/auth/login/mod.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | } 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] 169 ~ let should_login = match wasmer_api::query::current_user(&client).await? { Some(user) => { [INFO] [stdout] 170 | #[cfg(not(test))] [INFO] [stdout] ... [INFO] [stdout] 188 | } [INFO] [stdout] 189 ~ } _ => { [INFO] [stdout] 190 | true [INFO] [stdout] 191 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/config.rs:267:28 [INFO] [stdout] | [INFO] [stdout] 267 | if let Some(u) = wasmer_registry::utils::get_username(¤t_registry) [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] 268 | | .ok() [INFO] [stdout] 269 | | .and_then(|o| o) [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/commands/config.rs:274:25 [INFO] [stdout] | [INFO] [stdout] 274 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 267 ~ match wasmer_registry::utils::get_username(¤t_registry) [INFO] [stdout] 268 | .ok() [INFO] [stdout] 269 | .and_then(|o| o) [INFO] [stdout] 270 ~ { Some(u) => { [INFO] [stdout] 271 | println!( [INFO] [stdout] 272 | "Successfully logged into registry {current_registry:?} as user {u:?}" [INFO] [stdout] 273 | ); [INFO] [stdout] 274 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/create_exe.rs:248:24 [INFO] [stdout] | [INFO] [stdout] 248 | let atoms = if let Ok(pirita) = Container::from_disk(&input_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/commands/create_exe.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | } 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] 248 ~ let atoms = match Container::from_disk(&input_path) { Ok(pirita) => { [INFO] [stdout] 249 | // pirita file [INFO] [stdout] ... [INFO] [stdout] 259 | ) [INFO] [stdout] 260 ~ } _ => { [INFO] [stdout] 261 | // wasm file [INFO] [stdout] ... [INFO] [stdout] 270 | ) [INFO] [stdout] 271 ~ }}?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/create_exe.rs:527:24 [INFO] [stdout] | [INFO] [stdout] 527 | if let Some((contents, _)) = volume.read_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/commands/create_exe.rs:532:21 [INFO] [stdout] | [INFO] [stdout] 532 | } [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 volume.read_file(&*path) { Some((contents, _)) => { [INFO] [stdout] 528 | files.insert( [INFO] [stdout] ... [INFO] [stdout] 531 | ); [INFO] [stdout] 532 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/create_exe.rs:1024:12 [INFO] [stdout] | [INFO] [stdout] 1024 | if let Some(s) = entrypoint [INFO] [stdout] | _____________^ - [INFO] [stdout] | | __________________________| [INFO] [stdout] 1025 | || .atoms [INFO] [stdout] | ||__________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 1026 | | .iter_mut() [INFO] [stdout] 1027 | | .find(|a| a.atom.as_str() == atom_name.as_str()) [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/commands/create_exe.rs:1031:9 [INFO] [stdout] | [INFO] [stdout] 1031 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1024 ~ match entrypoint [INFO] [stdout] 1025 | .atoms [INFO] [stdout] 1026 | .iter_mut() [INFO] [stdout] 1027 | .find(|a| a.atom.as_str() == atom_name.as_str()) [INFO] [stdout] 1028 ~ { Some(s) => { [INFO] [stdout] 1029 | s.module_info = Some(module_info.clone()); [INFO] [stdout] 1030 | module_infos.insert(atom_name.clone(), module_info.clone()); [INFO] [stdout] 1031 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/create_exe.rs:1667:16 [INFO] [stdout] | [INFO] [stdout] 1667 | if let Some(UrlOrVersion::Url(wasmer_release)) = specific_release.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] 1671 | } else if let Some(UrlOrVersion::Version(wasmer_release)) = specific_release.as_ref() { [INFO] [stdout] | ---------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/create_exe.rs:1671:13 [INFO] [stdout] | [INFO] [stdout] 1671 | } else if let Some(UrlOrVersion::Version(wasmer_release)) = specific_release.as_ref() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/create_exe.rs:1676:13 [INFO] [stdout] | [INFO] [stdout] 1676 | } else if let Some(local_tarball) = local_tarball.as_ref() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1667 ~ match specific_release.as_ref() { Some(UrlOrVersion::Url(wasmer_release)) => { [INFO] [stdout] 1668 | let tarball = super::http_fetch::download_url(wasmer_release.as_ref())?; [INFO] [stdout] 1669 | let (filename, tarball_dir) = find_filename(&tarball, target)?; [INFO] [stdout] 1670 | Some(tarball_dir.join(filename)) [INFO] [stdout] 1671 ~ } _ => { match specific_release.as_ref() { Some(UrlOrVersion::Version(wasmer_release)) => { [INFO] [stdout] 1672 | let release = super::http_fetch::get_release(Some(wasmer_release.clone()))?; [INFO] [stdout] ... [INFO] [stdout] 1675 | Some(tarball_dir.join(filename)) [INFO] [stdout] 1676 ~ } _ => if let Some(local_tarball) = local_tarball.as_ref() { [INFO] [stdout] 1677 | let (filename, tarball_dir) = find_filename(local_tarball, target)?; [INFO] [stdout] ... [INFO] [stdout] 1683 | Some(tarball_dir.join(filename)) [INFO] [stdout] 1684 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/create_exe.rs:2186:16 [INFO] [stdout] | [INFO] [stdout] 2186 | if let Ok(mut entries) = paths { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/create_exe.rs:2199:13 [INFO] [stdout] | [INFO] [stdout] 2199 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2186 ~ match paths { Ok(mut entries) => { [INFO] [stdout] 2187 | entries.retain(|p| p.to_str().map(|p| p.ends_with(".tar.gz")).unwrap_or(false)); [INFO] [stdout] ... [INFO] [stdout] 2198 | } [INFO] [stdout] 2199 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/create_exe.rs:2273:20 [INFO] [stdout] | [INFO] [stdout] 2273 | if let Err(err) = std::fs::copy(&download_path, &cache_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/commands/create_exe.rs:2284:17 [INFO] [stdout] | [INFO] [stdout] 2284 | } 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] 2273 ~ match std::fs::copy(&download_path, &cache_path) { Err(err) => { [INFO] [stdout] 2274 | eprintln!( [INFO] [stdout] ... [INFO] [stdout] 2283 | )) [INFO] [stdout] 2284 ~ } _ => { [INFO] [stdout] 2285 | eprintln!("Cached tarball to cache path `{}`.", cache_path.display()); [INFO] [stdout] 2286 | Ok(cache_path) [INFO] [stdout] 2287 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/create_obj.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | let atoms = if let Ok(webc) = webc::compat::Container::from_disk(&input_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/commands/create_obj.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | } 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] 86 ~ let atoms = match webc::compat::Container::from_disk(&input_path) { Ok(webc) => { [INFO] [stdout] 87 | crate::commands::create_exe::compile_pirita_into_directory( [INFO] [stdout] ... [INFO] [stdout] 96 | ) [INFO] [stdout] 97 ~ } _ => { [INFO] [stdout] 98 | crate::commands::create_exe::prepare_directory_from_single_wasm_file( [INFO] [stdout] ... [INFO] [stdout] 106| ) [INFO] [stdout] 107~ }}?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/domain/get.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | if let Some(domain) = wasmer_api::query::get_domain_with_records(&client, self.name).await? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/domain/get.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | } 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 wasmer_api::query::get_domain_with_records(&client, self.name).await? [INFO] [stdout] 23 ~ { Some(domain) => { [INFO] [stdout] 24 | println!("{}", self.fmt.format.render(&domain)); [INFO] [stdout] 25 ~ } _ => { [INFO] [stdout] 26 | anyhow::bail!("Domain not found"); [INFO] [stdout] 27 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/domain/zonefile.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(domain) = [INFO] [stdout] | ____________^ [INFO] [stdout] 42 | | wasmer_api::query::get_domain_zone_file(&client, self.domain_name).await? [INFO] [stdout] | |_____________------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/domain/zonefile.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | } 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] 41 ~ match wasmer_api::query::get_domain_zone_file(&client, self.domain_name).await? [INFO] [stdout] 42 ~ { Some(domain) => { [INFO] [stdout] 43 | let zone_file_contents = domain.zone_file; [INFO] [stdout] ... [INFO] [stdout] 49 | } [INFO] [stdout] 50 ~ } _ => { [INFO] [stdout] 51 | anyhow::bail!("Domain not found"); [INFO] [stdout] 52 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/package/build.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | let name = if let Some(manifest_pkg) = manifest.package { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/package/build.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | } 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] 67 ~ let name = match manifest.package { Some(manifest_pkg) => { [INFO] [stdout] 68 | if let Some(name) = manifest_pkg.name { [INFO] [stdout] ... [INFO] [stdout] 76 | } [INFO] [stdout] 77 ~ } _ => { [INFO] [stdout] 78 | format!("{}.webc", pkg_hash) [INFO] [stdout] 79 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/package/build.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | if let Some(name) = manifest_pkg.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/commands/package/build.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | } 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] 68 ~ match manifest_pkg.name { Some(name) => { [INFO] [stdout] 69 | if let Some(version) = manifest_pkg.version { [INFO] [stdout] ... [INFO] [stdout] 73 | } [INFO] [stdout] 74 ~ } _ => { [INFO] [stdout] 75 | format!("{}.webc", pkg_hash) [INFO] [stdout] 76 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/package/build.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | if let Some(version) = manifest_pkg.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/commands/package/build.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | } 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] 69 ~ match manifest_pkg.version { Some(version) => { [INFO] [stdout] 70 | format!("{}-{}.webc", name.replace('/', "-"), version) [INFO] [stdout] 71 ~ } _ => { [INFO] [stdout] 72 | format!("{}-{}.webc", name.replace('/', "-"), pkg_hash) [INFO] [stdout] 73 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/package/push.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | if let Some(package) = &manifest.package { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/package/push.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | } 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] 232 ~ match &manifest.package { Some(package) => { [INFO] [stdout] 233 | if package.name.is_some() { [INFO] [stdout] ... [INFO] [stdout] 253 | } [INFO] [stdout] 254 ~ } _ => { [INFO] [stdout] 255 | eprintln!("{} Succesfully pushed package ({hash})", "✔".green().bold()); [INFO] [stdout] 256 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/package/tag.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | if let Some(pkg) = &mut new_manifest.package { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/package/tag.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | } 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] 104 ~ match &mut new_manifest.package { Some(pkg) => { [INFO] [stdout] 105 | pkg.name = Some(full_name.to_string()); [INFO] [stdout] 106 ~ } _ => { [INFO] [stdout] 107 | let package = PackageBuilder::default().name(full_name).build()?; [INFO] [stdout] 108 | new_manifest.package = Some(package); [INFO] [stdout] 109 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/package/tag.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | if let Some(pkg) = &mut new_manifest.package { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/package/tag.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | } 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] 133 ~ match &mut new_manifest.package { Some(pkg) => { [INFO] [stdout] 134 | pkg.version = Some(user_version.clone()); [INFO] [stdout] 135 ~ } _ => { [INFO] [stdout] 136 | let package = PackageBuilder::default() [INFO] [stdout] ... [INFO] [stdout] 139 | new_manifest.package = Some(package); [INFO] [stdout] 140 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/package/tag.rs:357:16 [INFO] [stdout] | [INFO] [stdout] 357 | if let Some(name) = &pkg.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/commands/package/tag.rs:361:13 [INFO] [stdout] | [INFO] [stdout] 361 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 357 ~ match &pkg.name { Some(name) => { [INFO] [stdout] 358 | if let Some(ns) = name.split('/').next() { [INFO] [stdout] 359 | return Ok(ns.to_string()); [INFO] [stdout] 360 | } [INFO] [stdout] 361 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/package/tag.rs:406:12 [INFO] [stdout] | [INFO] [stdout] 406 | if let Some(registry_version) = wasmer_api::query::get_package_version( [INFO] [stdout] | ____________^ - [INFO] [stdout] | |_________________________________________| [INFO] [stdout] 407 | || client, [INFO] [stdout] 408 | || full_pkg_name.to_string(), [INFO] [stdout] 409 | || String::from("latest"), [INFO] [stdout] ... || [INFO] [stdout] 412 | || .map(|p| p.version) [INFO] [stdout] 413 | || .and_then(|v| semver::Version::from_str(&v).ok()) [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/commands/package/tag.rs:486:9 [INFO] [stdout] | [INFO] [stdout] 486 | } 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] 406 ~ match wasmer_api::query::get_package_version( [INFO] [stdout] 407 | client, [INFO] [stdout] ... [INFO] [stdout] 413 | .and_then(|v| semver::Version::from_str(&v).ok()) [INFO] [stdout] 414 ~ { Some(registry_version) => { [INFO] [stdout] 415 | spinner_ok!( [INFO] [stdout] ... [INFO] [stdout] 485 | Ok(user_version) [INFO] [stdout] 486 ~ } _ => { [INFO] [stdout] 487 | pb.finish_and_clear(); [INFO] [stdout] ... [INFO] [stdout] 508 | } [INFO] [stdout] 509 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/package/tag.rs:420:39 [INFO] [stdout] | [INFO] [stdout] 420 | let mut user_version = if let Some(v) = user_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/commands/package/tag.rs:422:13 [INFO] [stdout] | [INFO] [stdout] 422 | } 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] 420 ~ let mut user_version = match user_version { Some(v) => { [INFO] [stdout] 421 | v [INFO] [stdout] 422 ~ } _ => { [INFO] [stdout] 423 | registry_version.clone() [INFO] [stdout] 424 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/run/mod.rs:184:16 [INFO] [stdout] | [INFO] [stdout] 184 | if let Some(tty) = runtime.tty() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/run/mod.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 184 ~ match runtime.tty() { Some(tty) => { [INFO] [stdout] 185 | tty.tty_set(state); [INFO] [stdout] 186 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/run/mod.rs:864:12 [INFO] [stdout] | [INFO] [stdout] 864 | if let Ok(mut stderr) = self.stderr.lock() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/run/mod.rs:870:9 [INFO] [stdout] | [INFO] [stdout] 870 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 864 ~ match self.stderr.lock() { Ok(mut stderr) => { [INFO] [stdout] 865 | // If the WCGI runner printed any log messages we want to make sure [INFO] [stdout] ... [INFO] [stdout] 869 | let _ = stderr.write_all(raw_message); [INFO] [stdout] 870 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl wasmer_wasix::Runtime + std::marker::Send + std::marker::Sync` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/commands/run/wasi.rs:550:17 [INFO] [stdout] | [INFO] [stdout] 550 | ) -> 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/commands/run/wasi.rs:544:9 [INFO] [stdout] | [INFO] [stdout] 544 | &self, [INFO] [stdout] | ^ [INFO] [stdout] 545 | engine: Engine, [INFO] [stdout] 546 | env: &WasmerEnv, [INFO] [stdout] | ^ [INFO] [stdout] 547 | pkg_cache_path: &Path, [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] 550 | ) -> Result> [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl PackageLoader + std::marker::Send + std::marker::Sync` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/commands/run/wasi.rs:638:17 [INFO] [stdout] | [INFO] [stdout] 638 | ) -> 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/commands/run/wasi.rs:635:9 [INFO] [stdout] | [INFO] [stdout] 635 | &self, [INFO] [stdout] | ^ [INFO] [stdout] 636 | env: &WasmerEnv, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 638 | ) -> Result> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl wasmer_wasix::runtime::resolver::Source + std::marker::Send + std::marker::Sync` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/commands/run/wasi.rs:655:17 [INFO] [stdout] | [INFO] [stdout] 655 | ) -> 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/commands/run/wasi.rs:651:9 [INFO] [stdout] | [INFO] [stdout] 651 | &self, [INFO] [stdout] | ^ [INFO] [stdout] 652 | env: &WasmerEnv, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 655 | ) -> Result> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/ssh.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | if let Err(err) = config.save() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/ssh.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | } [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 ~ match config.save() { Err(err) => { [INFO] [stdout] 53 | eprintln!("Warning: failed to save config: {err}"); [INFO] [stdout] 54 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/mod.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | if let Ok(pb_metadata) = pb.metadata() { [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/utils/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | } 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] 19 ~ match pb.metadata() { Ok(pb_metadata) => { [INFO] [stdout] 20 | if !pb_metadata.is_dir() { [INFO] [stdout] 21 | bail!("\"{}\" exists, but it is not a directory", &real_dir); [INFO] [stdout] 22 | } [INFO] [stdout] 23 ~ } _ => { [INFO] [stdout] 24 | bail!("Directory \"{}\" does not exist", &real_dir); [INFO] [stdout] 25 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/prompts.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | let pkg = if let Some(v) = ident.version_opt() { [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/utils/prompts.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | } 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] 100 ~ let pkg = match ident.version_opt() { Some(v) => { [INFO] [stdout] 101 | wasmer_api::query::get_package_version(api, ident.full_name(), v.to_string()) [INFO] [stdout] ... [INFO] [stdout] 104 | .map(|p| p.package) [INFO] [stdout] 105 ~ } _ => { [INFO] [stdout] 106 | wasmer_api::query::get_package(api, ident.to_string()) [INFO] [stdout] 107 | .await [INFO] [stdout] 108 | .context("could not query backend for package")? [INFO] [stdout] 109 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 66 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/wasmer.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `wasmer_cli` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/c_gen/mod.rs [INFO] [stderr] * src/commands/package/common/macros.rs [INFO] [stderr] * src/commands/package/common/mod.rs [INFO] [stderr] * src/commands/run/capabilities/net.rs [INFO] [stderr] * src/commands/run/mod.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/commands/package/common/macros.rs:2:6 [INFO] [stderr] | [INFO] [stderr] 2 | ($quiet:expr_2021, $msg:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/commands/package/common/macros.rs:2:24 [INFO] [stderr] | [INFO] [stderr] 2 | ($quiet:expr_2021, $msg:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/commands/package/common/macros.rs:19:6 [INFO] [stderr] | [INFO] [stderr] 19 | ($quiet:expr_2021, $msg:expr_2021, $($spinner:expr_2021),+) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/commands/package/common/macros.rs:19:24 [INFO] [stderr] | [INFO] [stderr] 19 | ($quiet:expr_2021, $msg:expr_2021, $($spinner:expr_2021),+) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/commands/package/common/macros.rs:19:42 [INFO] [stderr] | [INFO] [stderr] 19 | ($quiet:expr_2021, $msg:expr_2021, $($spinner:expr_2021),+) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/commands/package/common/macros.rs:38:6 [INFO] [stderr] | [INFO] [stderr] 38 | ($pb:expr_2021, $msg: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/commands/package/common/macros.rs:38:21 [INFO] [stderr] | [INFO] [stderr] 38 | ($pb:expr_2021, $msg: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/commands/package/common/macros.rs:48:6 [INFO] [stderr] | [INFO] [stderr] 48 | ($pb:expr_2021, $msg: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/commands/package/common/macros.rs:48:21 [INFO] [stderr] | [INFO] [stderr] 48 | ($pb:expr_2021, $msg: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/commands/run/capabilities/net.rs:31:6 [INFO] [stderr] | [INFO] [stderr] 31 | ($self: expr_2021, $fn_name: ident, $( $arg: expr_2021 ),* ) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/commands/run/capabilities/net.rs:31:44 [INFO] [stderr] | [INFO] [stderr] 31 | ($self: expr_2021, $fn_name: ident, $( $arg: expr_2021 ),* ) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/commands/run/capabilities/net.rs:46:6 [INFO] [stderr] | [INFO] [stderr] 46 | ($self: expr_2021, $fn_name: ident) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/c_gen/mod.rs:359:14 [INFO] [stderr] | [INFO] [stderr] 359 | ($ctype:expr_2021, $expected:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/c_gen/mod.rs:359:32 [INFO] [stderr] | [INFO] [stderr] 359 | ($ctype:expr_2021, $expected:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/c_gen/mod.rs:411:14 [INFO] [stderr] | [INFO] [stderr] 411 | ($ctype:expr_2021, $name:literal, $expected:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/c_gen/mod.rs:411:47 [INFO] [stderr] | [INFO] [stderr] 411 | ($ctype:expr_2021, $name:literal, $expected:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/c_gen/mod.rs:470:14 [INFO] [stderr] | [INFO] [stderr] 470 | ($cexpr:expr_2021, $expected:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/c_gen/mod.rs:470:32 [INFO] [stderr] | [INFO] [stderr] 470 | ($cexpr:expr_2021, $expected:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `telemetry` [INFO] [stderr] --> src/commands/package/common/mod.rs:22:11 [INFO] [stderr] | [INFO] [stderr] 22 | #[cfg(feature = "telemetry")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `backend`, `compiler`, `coredump`, `cranelift`, `default`, `disable-all-logging`, `enable-serde`, `fuse`, `headless`, `headless-minimal`, `host-net`, `journal`, `jsc`, `llvm`, `mac_address`, `mio`, `singlepass`, `static-artifact-create`, `static-artifact-load`, `sys`, `tokio-tungstenite`, `tun-tap`, `wasm-coredump-builder`, `wasmer-artifact-create`, `wasmer-artifact-load`, `wasmer-compiler`, `wasmer-compiler-cranelift`, `wasmer-compiler-llvm`, `wasmer-compiler-singlepass`, `wasmer-object`, `wasmer-vm`, `wasmer-wast`, `wast`, and `wat` [INFO] [stderr] = help: consider adding `telemetry` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `linux` [INFO] [stderr] --> src/commands/run/mod.rs:503:18 [INFO] [stderr] | [INFO] [stderr] 503 | if !cfg!(linux) { [INFO] [stderr] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] error: aborting due to 18 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stdout] warning: unused import: `logout::*` [INFO] [stdout] --> src/commands/auth/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use logout::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/commands/package/common/macros.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | ($quiet:expr, $msg: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] 2 | ($quiet:expr_2021, $msg:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/commands/package/common/macros.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | ($quiet:expr, $msg:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2 | ($quiet:expr, $msg:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/commands/package/common/macros.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | ($quiet:expr, $msg:expr, $($spinner:expr),+) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 19 | ($quiet:expr_2021, $msg:expr, $($spinner:expr),+) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/commands/package/common/macros.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | ($quiet:expr, $msg:expr, $($spinner:expr),+) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 19 | ($quiet:expr, $msg:expr_2021, $($spinner:expr),+) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/commands/package/common/macros.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | ($quiet:expr, $msg:expr, $($spinner:expr),+) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 19 | ($quiet:expr, $msg:expr, $($spinner:expr_2021),+) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/commands/package/common/macros.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | ($pb:expr, $msg: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 38 | ($pb:expr_2021, $msg: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/commands/package/common/macros.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | ($pb:expr, $msg: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 38 | ($pb:expr, $msg: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/commands/package/common/macros.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | ($pb:expr, $msg: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 48 | ($pb:expr_2021, $msg: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/commands/package/common/macros.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | ($pb:expr, $msg: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 48 | ($pb:expr, $msg: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `telemetry` [INFO] [stdout] --> src/commands/package/common/mod.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "telemetry")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backend`, `compiler`, `coredump`, `cranelift`, `default`, `disable-all-logging`, `enable-serde`, `fuse`, `headless`, `headless-minimal`, `host-net`, `journal`, `jsc`, `llvm`, `mac_address`, `mio`, `singlepass`, `static-artifact-create`, `static-artifact-load`, `sys`, `tokio-tungstenite`, `tun-tap`, `wasm-coredump-builder`, `wasmer-artifact-create`, `wasmer-artifact-load`, `wasmer-compiler`, `wasmer-compiler-cranelift`, `wasmer-compiler-llvm`, `wasmer-compiler-singlepass`, `wasmer-object`, `wasmer-vm`, `wasmer-wast`, `wast`, and `wat` [INFO] [stdout] = help: consider adding `telemetry` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/commands/run/capabilities/net.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | ($self: expr, $fn_name: ident, $( $arg: expr ),* ) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 31 | ($self: expr_2021, $fn_name: ident, $( $arg: expr ),* ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/commands/run/capabilities/net.rs:31:45 [INFO] [stdout] | [INFO] [stdout] 31 | ($self: expr, $fn_name: ident, $( $arg: expr ),* ) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 31 | ($self: expr, $fn_name: ident, $( $arg: expr_2021 ),* ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/commands/run/capabilities/net.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | ($self: expr, $fn_name: ident) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 46 | ($self: expr_2021, $fn_name: ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `linux` [INFO] [stdout] --> src/commands/run/mod.rs:503:18 [INFO] [stdout] | [INFO] [stdout] 503 | if !cfg!(linux) { [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `publish::*` [INFO] [stdout] --> src/commands/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | publish::*, run::Run, self_update::*, validate::*, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/c_gen/mod.rs:359:21 [INFO] [stdout] | [INFO] [stdout] 359 | ($ctype:expr, $expected:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 359 | ($ctype:expr_2021, $expected:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/c_gen/mod.rs:359:37 [INFO] [stdout] | [INFO] [stdout] 359 | ($ctype:expr, $expected:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 359 | ($ctype:expr, $expected:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/c_gen/mod.rs:411:21 [INFO] [stdout] | [INFO] [stdout] 411 | ($ctype:expr, $name:literal, $expected:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 411 | ($ctype:expr_2021, $name:literal, $expected:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/c_gen/mod.rs:411:52 [INFO] [stdout] | [INFO] [stdout] 411 | ($ctype:expr, $name:literal, $expected:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 411 | ($ctype:expr, $name:literal, $expected:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/c_gen/mod.rs:470:21 [INFO] [stdout] | [INFO] [stdout] 470 | ($cexpr:expr, $expected:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 470 | ($cexpr:expr_2021, $expected:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/c_gen/mod.rs:470:37 [INFO] [stdout] | [INFO] [stdout] 470 | ($cexpr:expr, $expected:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 470 | ($cexpr:expr, $expected:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `allow_create` is never read [INFO] [stdout] --> src/commands/app/deploy.rs:605:9 [INFO] [stdout] | [INFO] [stdout] 599 | pub struct DeployAppOpts<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 605 | pub allow_create: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeployAppOpts` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `path` are never read [INFO] [stdout] --> src/commands/app/util.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 124 | Config { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 125 | ident: AppIdent, [INFO] [stdout] 126 | config: AppConfigV1, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 127 | path: std::path::PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/mod.rs:269:24 [INFO] [stdout] | [INFO] [stdout] 269 | if let Ok(run) = Run::try_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/commands/mod.rs:277:21 [INFO] [stdout] | [INFO] [stdout] 277 | } [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] 269 ~ match Run::try_parse() { Ok(run) => { [INFO] [stdout] 270 | // Try to parse the command using the `wasmer some/package` [INFO] [stdout] ... [INFO] [stdout] 276 | run.execute(output); [INFO] [stdout] 277 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/create.rs:245:37 [INFO] [stdout] | [INFO] [stdout] 245 | let (manifest_path, _) = if let Some(res) = load_package_manifest(&app_dir)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/create.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | } else if self.use_local_manifest { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 245 ~ let (manifest_path, _) = match load_package_manifest(&app_dir)? { Some(res) => { [INFO] [stdout] 246 | res [INFO] [stdout] 247 ~ } _ => if self.use_local_manifest { [INFO] [stdout] 248 | anyhow::bail!("The --use_local_manifest flag was passed, but path {} does not contain a valid package manifest.", app_dir.display()) [INFO] [stdout] 249 | } else { [INFO] [stdout] 250 | return Ok(false); [INFO] [stdout] 251 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/create.rs:384:15 [INFO] [stdout] | [INFO] [stdout] 384 | while let Some(next) = stream.try_next().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/create.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/create.rs:466:15 [INFO] [stdout] | [INFO] [stdout] 466 | while let Some(next) = stream.try_next().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/create.rs:472:9 [INFO] [stdout] | [INFO] [stdout] 472 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/create.rs:491:23 [INFO] [stdout] | [INFO] [stdout] 491 | } else if let Some(template) = [INFO] [stdout] | _______________________^ [INFO] [stdout] 492 | | wasmer_api::query::fetch_app_template_from_slug(client, template.clone()).await? [INFO] [stdout] | |_________________-------------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/create.rs:495:13 [INFO] [stdout] | [INFO] [stdout] 495 | } 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] 491 ~ } else { match wasmer_api::query::fetch_app_template_from_slug(client, template.clone()).await? [INFO] [stdout] 492 ~ { Some(template) => { [INFO] [stdout] 493 | url::Url::parse(&template.repo_url)? [INFO] [stdout] 494 ~ } _ => { [INFO] [stdout] 495 | anyhow::bail!("Template '{}' not found in the registry", template) [INFO] [stdout] 496 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/deploy.rs:278:33 [INFO] [stdout] | [INFO] [stdout] 278 | let maybe_edge_app = if let Some(app_id) = app_yaml.get("app_id").and_then(|s| s.as_str()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/deploy.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | } 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] 278 ~ let maybe_edge_app = match app_yaml.get("app_id").and_then(|s| s.as_str()) { Some(app_id) => { [INFO] [stdout] 279 | wasmer_api::query::get_app_by_id(&client, app_id.to_owned()) [INFO] [stdout] 280 | .await [INFO] [stdout] 281 | .ok() [INFO] [stdout] 282 ~ } _ => { [INFO] [stdout] 283 | None [INFO] [stdout] 284 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/deploy.rs:418:20 [INFO] [stdout] | [INFO] [stdout] 418 | if let Ok(Some((manifest_path, manifest))) = load_package_manifest(&base_dir_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/commands/app/deploy.rs:523:17 [INFO] [stdout] | [INFO] [stdout] 523 | } 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] 418 ~ match load_package_manifest(&base_dir_path) { Ok(Some((manifest_path, manifest))) => { [INFO] [stdout] 419 | if let Some(package) = &manifest.package { [INFO] [stdout] ... [INFO] [stdout] 522 | } [INFO] [stdout] 523 ~ } _ => { [INFO] [stdout] 524 | log::info!("Using package {}", app_config.package.to_string()); [INFO] [stdout] ... [INFO] [stdout] 532 | } [INFO] [stdout] 533 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/deploy.rs:419:24 [INFO] [stdout] | [INFO] [stdout] 419 | if let Some(package) = &manifest.package { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/deploy.rs:513:21 [INFO] [stdout] | [INFO] [stdout] 513 | } 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] 419 ~ match &manifest.package { Some(package) => { [INFO] [stdout] 420 | if let Some(name) = &package.name { [INFO] [stdout] ... [INFO] [stdout] 512 | } [INFO] [stdout] 513 ~ } _ => { [INFO] [stdout] 514 | DeployAppOpts { [INFO] [stdout] ... [INFO] [stdout] 521 | } [INFO] [stdout] 522 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/deploy.rs:618:27 [INFO] [stdout] | [INFO] [stdout] 618 | let final_config = if let Some(old) = &opts.original_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/commands/app/deploy.rs:620:5 [INFO] [stdout] | [INFO] [stdout] 620 | } 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] 618 ~ let final_config = match &opts.original_config { Some(old) => { [INFO] [stdout] 619 | crate::utils::merge_yaml_values(old, &config_value) [INFO] [stdout] 620 ~ } _ => { [INFO] [stdout] 621 | config_value [INFO] [stdout] 622 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/list.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | 'list: while let Some(apps) = apps_stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/list.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/logs.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | while let Some(logs) = logs_stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/logs.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/logs.rs:179:19 [INFO] [stdout] | [INFO] [stdout] 179 | while let Some(logs) = logs_stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/logs.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/logs.rs:213:19 [INFO] [stdout] | [INFO] [stdout] 213 | while let Some(logs) = logs_stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/logs.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/secrets/utils/mod.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | if let Ok(r) = get_app_config_from_dir(&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/commands/app/secrets/utils/mod.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | } else if let Some(path) = app_dir_path { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 111 ~ match get_app_config_from_dir(&path) { Ok(r) => { [INFO] [stdout] 112 | let (app, _) = r; [INFO] [stdout] ... [INFO] [stdout] 150 | } [INFO] [stdout] 151 ~ } _ => if let Some(path) = app_dir_path { [INFO] [stdout] 152 | anyhow::bail!( [INFO] [stdout] ... [INFO] [stdout] 155 | ) [INFO] [stdout] 156 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/secrets/utils/mod.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | let app_name = if let Some(owner) = &app.owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/secrets/utils/mod.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | } 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] 114 ~ let app_name = match &app.owner { Some(owner) => { [INFO] [stdout] 115 | format!("{owner}/{}", app.name) [INFO] [stdout] 116 ~ } _ => { [INFO] [stdout] 117 | app.name.to_string() [INFO] [stdout] 118 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/secrets/utils/mod.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | let id = if let Some(id) = &app.app_id { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 121 | Some(id.clone()) [INFO] [stdout] 122 | } else if let Ok(app_ident) = AppIdent::from_str(&app_name) { [INFO] [stdout] | ----------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/secrets/utils/mod.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | } else if let Ok(app_ident) = AppIdent::from_str(&app_name) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/secrets/utils/mod.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | } 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] 120 ~ let id = match &app.app_id { Some(id) => { [INFO] [stdout] 121 | Some(id.clone()) [INFO] [stdout] 122 ~ } _ => { match AppIdent::from_str(&app_name) { Ok(app_ident) => { [INFO] [stdout] 123 | if let Ok(app) = app_ident.resolve(client).await { [INFO] [stdout] ... [INFO] [stdout] 133 | } [INFO] [stdout] 134 ~ } _ => { [INFO] [stdout] 135 | None [INFO] [stdout] 136 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/secrets/utils/mod.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | if let Ok(app) = app_ident.resolve(client).await { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/secrets/utils/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | } 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] 123 ~ match app_ident.resolve(client).await { Ok(app) => { [INFO] [stdout] 124 | Some(app.id.into_inner()) [INFO] [stdout] 125 ~ } _ => { [INFO] [stdout] 126 | if !quiet { [INFO] [stdout] ... [INFO] [stdout] 132 | None [INFO] [stdout] 133 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/secrets/utils/mod.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 140 | if let Some(owner) = &app.owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/secrets/utils/mod.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | } 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] 140 ~ match &app.owner { Some(owner) => { [INFO] [stdout] 141 | eprintln!( [INFO] [stdout] ... [INFO] [stdout] 144 | ); [INFO] [stdout] 145 ~ } _ => { [INFO] [stdout] 146 | eprintln!("Managing secrets related to app {}.", app.name.bold()); [INFO] [stdout] 147 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/app/util.rs:149:24 [INFO] [stdout] | [INFO] [stdout] 149 | let ident = if let Some(id) = &config.app_id { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 150 | AppIdent::AppId(id.clone()) [INFO] [stdout] 151 | } else if let Some(owner) = &config.owner { [INFO] [stdout] | ------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/util.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | } else if let Some(owner) = &config.owner { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/app/util.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | } 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] 149 ~ let ident = match &config.app_id { Some(id) => { [INFO] [stdout] 150 | AppIdent::AppId(id.clone()) [INFO] [stdout] 151 ~ } _ => { match &config.owner { Some(owner) => { [INFO] [stdout] 152 | AppIdent::NamespacedName(owner.clone(), config.name.clone()) [INFO] [stdout] 153 ~ } _ => { [INFO] [stdout] 154 | AppIdent::Name(config.name.clone()) [INFO] [stdout] 155 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/auth/login/mod.rs:142:28 [INFO] [stdout] | [INFO] [stdout] 142 | if let Err(e) = fut.await { [INFO] [stdout] | ^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/auth/login/mod.rs:144:25 [INFO] [stdout] | [INFO] [stdout] 144 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 142 ~ match fut.await { Err(e) => { [INFO] [stdout] 143 | eprintln!("Error serving connection: {:?}", e); [INFO] [stdout] 144 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/auth/login/mod.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | let should_login = if let Some(user) = wasmer_api::query::current_user(&client).await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/auth/login/mod.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | } 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] 169 ~ let should_login = match wasmer_api::query::current_user(&client).await? { Some(user) => { [INFO] [stdout] 170 | #[cfg(not(test))] [INFO] [stdout] ... [INFO] [stdout] 188 | } [INFO] [stdout] 189 ~ } _ => { [INFO] [stdout] 190 | true [INFO] [stdout] 191 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/config.rs:267:28 [INFO] [stdout] | [INFO] [stdout] 267 | if let Some(u) = wasmer_registry::utils::get_username(¤t_registry) [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] 268 | | .ok() [INFO] [stdout] 269 | | .and_then(|o| o) [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/commands/config.rs:274:25 [INFO] [stdout] | [INFO] [stdout] 274 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 267 ~ match wasmer_registry::utils::get_username(¤t_registry) [INFO] [stdout] 268 | .ok() [INFO] [stdout] 269 | .and_then(|o| o) [INFO] [stdout] 270 ~ { Some(u) => { [INFO] [stdout] 271 | println!( [INFO] [stdout] 272 | "Successfully logged into registry {current_registry:?} as user {u:?}" [INFO] [stdout] 273 | ); [INFO] [stdout] 274 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/create_exe.rs:248:24 [INFO] [stdout] | [INFO] [stdout] 248 | let atoms = if let Ok(pirita) = Container::from_disk(&input_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/commands/create_exe.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | } 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] 248 ~ let atoms = match Container::from_disk(&input_path) { Ok(pirita) => { [INFO] [stdout] 249 | // pirita file [INFO] [stdout] ... [INFO] [stdout] 259 | ) [INFO] [stdout] 260 ~ } _ => { [INFO] [stdout] 261 | // wasm file [INFO] [stdout] ... [INFO] [stdout] 270 | ) [INFO] [stdout] 271 ~ }}?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/create_exe.rs:527:24 [INFO] [stdout] | [INFO] [stdout] 527 | if let Some((contents, _)) = volume.read_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/commands/create_exe.rs:532:21 [INFO] [stdout] | [INFO] [stdout] 532 | } [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 volume.read_file(&*path) { Some((contents, _)) => { [INFO] [stdout] 528 | files.insert( [INFO] [stdout] ... [INFO] [stdout] 531 | ); [INFO] [stdout] 532 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/create_exe.rs:1024:12 [INFO] [stdout] | [INFO] [stdout] 1024 | if let Some(s) = entrypoint [INFO] [stdout] | _____________^ - [INFO] [stdout] | | __________________________| [INFO] [stdout] 1025 | || .atoms [INFO] [stdout] | ||__________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 1026 | | .iter_mut() [INFO] [stdout] 1027 | | .find(|a| a.atom.as_str() == atom_name.as_str()) [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/commands/create_exe.rs:1031:9 [INFO] [stdout] | [INFO] [stdout] 1031 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1024 ~ match entrypoint [INFO] [stdout] 1025 | .atoms [INFO] [stdout] 1026 | .iter_mut() [INFO] [stdout] 1027 | .find(|a| a.atom.as_str() == atom_name.as_str()) [INFO] [stdout] 1028 ~ { Some(s) => { [INFO] [stdout] 1029 | s.module_info = Some(module_info.clone()); [INFO] [stdout] 1030 | module_infos.insert(atom_name.clone(), module_info.clone()); [INFO] [stdout] 1031 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/create_exe.rs:1667:16 [INFO] [stdout] | [INFO] [stdout] 1667 | if let Some(UrlOrVersion::Url(wasmer_release)) = specific_release.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] 1671 | } else if let Some(UrlOrVersion::Version(wasmer_release)) = specific_release.as_ref() { [INFO] [stdout] | ---------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/create_exe.rs:1671:13 [INFO] [stdout] | [INFO] [stdout] 1671 | } else if let Some(UrlOrVersion::Version(wasmer_release)) = specific_release.as_ref() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/create_exe.rs:1676:13 [INFO] [stdout] | [INFO] [stdout] 1676 | } else if let Some(local_tarball) = local_tarball.as_ref() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1667 ~ match specific_release.as_ref() { Some(UrlOrVersion::Url(wasmer_release)) => { [INFO] [stdout] 1668 | let tarball = super::http_fetch::download_url(wasmer_release.as_ref())?; [INFO] [stdout] 1669 | let (filename, tarball_dir) = find_filename(&tarball, target)?; [INFO] [stdout] 1670 | Some(tarball_dir.join(filename)) [INFO] [stdout] 1671 ~ } _ => { match specific_release.as_ref() { Some(UrlOrVersion::Version(wasmer_release)) => { [INFO] [stdout] 1672 | let release = super::http_fetch::get_release(Some(wasmer_release.clone()))?; [INFO] [stdout] ... [INFO] [stdout] 1675 | Some(tarball_dir.join(filename)) [INFO] [stdout] 1676 ~ } _ => if let Some(local_tarball) = local_tarball.as_ref() { [INFO] [stdout] 1677 | let (filename, tarball_dir) = find_filename(local_tarball, target)?; [INFO] [stdout] ... [INFO] [stdout] 1683 | Some(tarball_dir.join(filename)) [INFO] [stdout] 1684 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/create_exe.rs:2186:16 [INFO] [stdout] | [INFO] [stdout] 2186 | if let Ok(mut entries) = paths { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/create_exe.rs:2199:13 [INFO] [stdout] | [INFO] [stdout] 2199 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2186 ~ match paths { Ok(mut entries) => { [INFO] [stdout] 2187 | entries.retain(|p| p.to_str().map(|p| p.ends_with(".tar.gz")).unwrap_or(false)); [INFO] [stdout] ... [INFO] [stdout] 2198 | } [INFO] [stdout] 2199 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/create_exe.rs:2273:20 [INFO] [stdout] | [INFO] [stdout] 2273 | if let Err(err) = std::fs::copy(&download_path, &cache_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/commands/create_exe.rs:2284:17 [INFO] [stdout] | [INFO] [stdout] 2284 | } 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] 2273 ~ match std::fs::copy(&download_path, &cache_path) { Err(err) => { [INFO] [stdout] 2274 | eprintln!( [INFO] [stdout] ... [INFO] [stdout] 2283 | )) [INFO] [stdout] 2284 ~ } _ => { [INFO] [stdout] 2285 | eprintln!("Cached tarball to cache path `{}`.", cache_path.display()); [INFO] [stdout] 2286 | Ok(cache_path) [INFO] [stdout] 2287 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/create_obj.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | let atoms = if let Ok(webc) = webc::compat::Container::from_disk(&input_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/commands/create_obj.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | } 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] 86 ~ let atoms = match webc::compat::Container::from_disk(&input_path) { Ok(webc) => { [INFO] [stdout] 87 | crate::commands::create_exe::compile_pirita_into_directory( [INFO] [stdout] ... [INFO] [stdout] 96 | ) [INFO] [stdout] 97 ~ } _ => { [INFO] [stdout] 98 | crate::commands::create_exe::prepare_directory_from_single_wasm_file( [INFO] [stdout] ... [INFO] [stdout] 106| ) [INFO] [stdout] 107~ }}?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/domain/get.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | if let Some(domain) = wasmer_api::query::get_domain_with_records(&client, self.name).await? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/domain/get.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | } 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 wasmer_api::query::get_domain_with_records(&client, self.name).await? [INFO] [stdout] 23 ~ { Some(domain) => { [INFO] [stdout] 24 | println!("{}", self.fmt.format.render(&domain)); [INFO] [stdout] 25 ~ } _ => { [INFO] [stdout] 26 | anyhow::bail!("Domain not found"); [INFO] [stdout] 27 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/domain/zonefile.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(domain) = [INFO] [stdout] | ____________^ [INFO] [stdout] 42 | | wasmer_api::query::get_domain_zone_file(&client, self.domain_name).await? [INFO] [stdout] | |_____________------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/domain/zonefile.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | } 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] 41 ~ match wasmer_api::query::get_domain_zone_file(&client, self.domain_name).await? [INFO] [stdout] 42 ~ { Some(domain) => { [INFO] [stdout] 43 | let zone_file_contents = domain.zone_file; [INFO] [stdout] ... [INFO] [stdout] 49 | } [INFO] [stdout] 50 ~ } _ => { [INFO] [stdout] 51 | anyhow::bail!("Domain not found"); [INFO] [stdout] 52 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/package/build.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | let name = if let Some(manifest_pkg) = manifest.package { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/package/build.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | } 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] 67 ~ let name = match manifest.package { Some(manifest_pkg) => { [INFO] [stdout] 68 | if let Some(name) = manifest_pkg.name { [INFO] [stdout] ... [INFO] [stdout] 76 | } [INFO] [stdout] 77 ~ } _ => { [INFO] [stdout] 78 | format!("{}.webc", pkg_hash) [INFO] [stdout] 79 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/package/build.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | if let Some(name) = manifest_pkg.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/commands/package/build.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | } 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] 68 ~ match manifest_pkg.name { Some(name) => { [INFO] [stdout] 69 | if let Some(version) = manifest_pkg.version { [INFO] [stdout] ... [INFO] [stdout] 73 | } [INFO] [stdout] 74 ~ } _ => { [INFO] [stdout] 75 | format!("{}.webc", pkg_hash) [INFO] [stdout] 76 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/package/build.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | if let Some(version) = manifest_pkg.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/commands/package/build.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | } 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] 69 ~ match manifest_pkg.version { Some(version) => { [INFO] [stdout] 70 | format!("{}-{}.webc", name.replace('/', "-"), version) [INFO] [stdout] 71 ~ } _ => { [INFO] [stdout] 72 | format!("{}-{}.webc", name.replace('/', "-"), pkg_hash) [INFO] [stdout] 73 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/package/push.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | if let Some(package) = &manifest.package { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/package/push.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | } 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] 232 ~ match &manifest.package { Some(package) => { [INFO] [stdout] 233 | if package.name.is_some() { [INFO] [stdout] ... [INFO] [stdout] 253 | } [INFO] [stdout] 254 ~ } _ => { [INFO] [stdout] 255 | eprintln!("{} Succesfully pushed package ({hash})", "✔".green().bold()); [INFO] [stdout] 256 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/package/tag.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | if let Some(pkg) = &mut new_manifest.package { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/package/tag.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | } 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] 104 ~ match &mut new_manifest.package { Some(pkg) => { [INFO] [stdout] 105 | pkg.name = Some(full_name.to_string()); [INFO] [stdout] 106 ~ } _ => { [INFO] [stdout] 107 | let package = PackageBuilder::default().name(full_name).build()?; [INFO] [stdout] 108 | new_manifest.package = Some(package); [INFO] [stdout] 109 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/package/tag.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | if let Some(pkg) = &mut new_manifest.package { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/package/tag.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | } 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] 133 ~ match &mut new_manifest.package { Some(pkg) => { [INFO] [stdout] 134 | pkg.version = Some(user_version.clone()); [INFO] [stdout] 135 ~ } _ => { [INFO] [stdout] 136 | let package = PackageBuilder::default() [INFO] [stdout] ... [INFO] [stdout] 139 | new_manifest.package = Some(package); [INFO] [stdout] 140 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/package/tag.rs:357:16 [INFO] [stdout] | [INFO] [stdout] 357 | if let Some(name) = &pkg.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/commands/package/tag.rs:361:13 [INFO] [stdout] | [INFO] [stdout] 361 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 357 ~ match &pkg.name { Some(name) => { [INFO] [stdout] 358 | if let Some(ns) = name.split('/').next() { [INFO] [stdout] 359 | return Ok(ns.to_string()); [INFO] [stdout] 360 | } [INFO] [stdout] 361 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/package/tag.rs:406:12 [INFO] [stdout] | [INFO] [stdout] 406 | if let Some(registry_version) = wasmer_api::query::get_package_version( [INFO] [stdout] | ____________^ - [INFO] [stdout] | |_________________________________________| [INFO] [stdout] 407 | || client, [INFO] [stdout] 408 | || full_pkg_name.to_string(), [INFO] [stdout] 409 | || String::from("latest"), [INFO] [stdout] ... || [INFO] [stdout] 412 | || .map(|p| p.version) [INFO] [stdout] 413 | || .and_then(|v| semver::Version::from_str(&v).ok()) [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/commands/package/tag.rs:486:9 [INFO] [stdout] | [INFO] [stdout] 486 | } 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] 406 ~ match wasmer_api::query::get_package_version( [INFO] [stdout] 407 | client, [INFO] [stdout] ... [INFO] [stdout] 413 | .and_then(|v| semver::Version::from_str(&v).ok()) [INFO] [stdout] 414 ~ { Some(registry_version) => { [INFO] [stdout] 415 | spinner_ok!( [INFO] [stdout] ... [INFO] [stdout] 485 | Ok(user_version) [INFO] [stdout] 486 ~ } _ => { [INFO] [stdout] 487 | pb.finish_and_clear(); [INFO] [stdout] ... [INFO] [stdout] 508 | } [INFO] [stdout] 509 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/package/tag.rs:420:39 [INFO] [stdout] | [INFO] [stdout] 420 | let mut user_version = if let Some(v) = user_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/commands/package/tag.rs:422:13 [INFO] [stdout] | [INFO] [stdout] 422 | } 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] 420 ~ let mut user_version = match user_version { Some(v) => { [INFO] [stdout] 421 | v [INFO] [stdout] 422 ~ } _ => { [INFO] [stdout] 423 | registry_version.clone() [INFO] [stdout] 424 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/run/mod.rs:184:16 [INFO] [stdout] | [INFO] [stdout] 184 | if let Some(tty) = runtime.tty() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/run/mod.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 184 ~ match runtime.tty() { Some(tty) => { [INFO] [stdout] 185 | tty.tty_set(state); [INFO] [stdout] 186 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/run/mod.rs:864:12 [INFO] [stdout] | [INFO] [stdout] 864 | if let Ok(mut stderr) = self.stderr.lock() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/run/mod.rs:870:9 [INFO] [stdout] | [INFO] [stdout] 870 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 864 ~ match self.stderr.lock() { Ok(mut stderr) => { [INFO] [stdout] 865 | // If the WCGI runner printed any log messages we want to make sure [INFO] [stdout] ... [INFO] [stdout] 869 | let _ = stderr.write_all(raw_message); [INFO] [stdout] 870 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl wasmer_wasix::Runtime + std::marker::Send + std::marker::Sync` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/commands/run/wasi.rs:550:17 [INFO] [stdout] | [INFO] [stdout] 550 | ) -> 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/commands/run/wasi.rs:544:9 [INFO] [stdout] | [INFO] [stdout] 544 | &self, [INFO] [stdout] | ^ [INFO] [stdout] 545 | engine: Engine, [INFO] [stdout] 546 | env: &WasmerEnv, [INFO] [stdout] | ^ [INFO] [stdout] 547 | pkg_cache_path: &Path, [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] 550 | ) -> Result> [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl PackageLoader + std::marker::Send + std::marker::Sync` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/commands/run/wasi.rs:638:17 [INFO] [stdout] | [INFO] [stdout] 638 | ) -> 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/commands/run/wasi.rs:635:9 [INFO] [stdout] | [INFO] [stdout] 635 | &self, [INFO] [stdout] | ^ [INFO] [stdout] 636 | env: &WasmerEnv, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 638 | ) -> Result> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl wasmer_wasix::runtime::resolver::Source + std::marker::Send + std::marker::Sync` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/commands/run/wasi.rs:655:17 [INFO] [stdout] | [INFO] [stdout] 655 | ) -> 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/commands/run/wasi.rs:651:9 [INFO] [stdout] | [INFO] [stdout] 651 | &self, [INFO] [stdout] | ^ [INFO] [stdout] 652 | env: &WasmerEnv, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 655 | ) -> Result> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/ssh.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | if let Err(err) = config.save() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/ssh.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | } [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 ~ match config.save() { Err(err) => { [INFO] [stdout] 53 | eprintln!("Warning: failed to save config: {err}"); [INFO] [stdout] 54 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/mod.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | if let Ok(pb_metadata) = pb.metadata() { [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/utils/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | } 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] 19 ~ match pb.metadata() { Ok(pb_metadata) => { [INFO] [stdout] 20 | if !pb_metadata.is_dir() { [INFO] [stdout] 21 | bail!("\"{}\" exists, but it is not a directory", &real_dir); [INFO] [stdout] 22 | } [INFO] [stdout] 23 ~ } _ => { [INFO] [stdout] 24 | bail!("Directory \"{}\" does not exist", &real_dir); [INFO] [stdout] 25 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/prompts.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | let pkg = if let Some(v) = ident.version_opt() { [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/utils/prompts.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | } 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] 100 ~ let pkg = match ident.version_opt() { Some(v) => { [INFO] [stdout] 101 | wasmer_api::query::get_package_version(api, ident.full_name(), v.to_string()) [INFO] [stdout] ... [INFO] [stdout] 104 | .map(|p| p.package) [INFO] [stdout] 105 ~ } _ => { [INFO] [stdout] 106 | wasmer_api::query::get_package(api, ident.to_string()) [INFO] [stdout] 107 | .await [INFO] [stdout] 108 | .context("could not query backend for package")? [INFO] [stdout] 109 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 72 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/version.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 42s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling wasmer-cli v4.3.7 (/tmp/fixit) [INFO] [stdout] warning: unused import: `logout::*` [INFO] [stdout] --> src/commands/auth/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use logout::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `telemetry` [INFO] [stdout] --> src/commands/package/common/mod.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "telemetry")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backend`, `compiler`, `coredump`, `cranelift`, `default`, `disable-all-logging`, `enable-serde`, `fuse`, `headless`, `headless-minimal`, `host-net`, `journal`, `jsc`, `llvm`, `mac_address`, `mio`, `singlepass`, `static-artifact-create`, `static-artifact-load`, `sys`, `tokio-tungstenite`, `tun-tap`, `wasm-coredump-builder`, `wasmer-artifact-create`, `wasmer-artifact-load`, `wasmer-compiler`, `wasmer-compiler-cranelift`, `wasmer-compiler-llvm`, `wasmer-compiler-singlepass`, `wasmer-object`, `wasmer-vm`, `wasmer-wast`, `wast`, and `wat` [INFO] [stdout] = help: consider adding `telemetry` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `linux` [INFO] [stdout] --> src/commands/run/mod.rs:503:18 [INFO] [stdout] | [INFO] [stdout] 503 | if !cfg!(linux) { [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `publish::*` [INFO] [stdout] --> src/commands/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | publish::*, run::Run, self_update::*, validate::*, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `logout::*` [INFO] [stdout] --> src/commands/auth/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use logout::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `telemetry` [INFO] [stdout] --> src/commands/package/common/mod.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "telemetry")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backend`, `compiler`, `coredump`, `cranelift`, `default`, `disable-all-logging`, `enable-serde`, `fuse`, `headless`, `headless-minimal`, `host-net`, `journal`, `jsc`, `llvm`, `mac_address`, `mio`, `singlepass`, `static-artifact-create`, `static-artifact-load`, `sys`, `tokio-tungstenite`, `tun-tap`, `wasm-coredump-builder`, `wasmer-artifact-create`, `wasmer-artifact-load`, `wasmer-compiler`, `wasmer-compiler-cranelift`, `wasmer-compiler-llvm`, `wasmer-compiler-singlepass`, `wasmer-object`, `wasmer-vm`, `wasmer-wast`, `wast`, and `wat` [INFO] [stdout] = help: consider adding `telemetry` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `linux` [INFO] [stdout] --> src/commands/run/mod.rs:503:18 [INFO] [stdout] | [INFO] [stdout] 503 | if !cfg!(linux) { [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `publish::*` [INFO] [stdout] --> src/commands/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | publish::*, run::Run, self_update::*, validate::*, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/commands/run/wasi.rs:592:24 [INFO] [stdout] | [INFO] [stdout] 544 | &self, [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 592 | let registry = self.prepare_source(env, client, preferred_webc_version)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/commands/run/wasi.rs:592:24 [INFO] [stdout] | [INFO] [stdout] 546 | env: &WasmerEnv, [INFO] [stdout] | --- - let's call the lifetime of this reference `'2` [INFO] [stdout] | | [INFO] [stdout] | `env` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 592 | let registry = self.prepare_source(env, client, preferred_webc_version)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `env` escapes the method body here [INFO] [stdout] | argument requires that `'2` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/commands/run/wasi.rs:592:24 [INFO] [stdout] | [INFO] [stdout] 544 | &self, [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 592 | let registry = self.prepare_source(env, client, preferred_webc_version)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/commands/run/wasi.rs:592:24 [INFO] [stdout] | [INFO] [stdout] 546 | env: &WasmerEnv, [INFO] [stdout] | --- - let's call the lifetime of this reference `'2` [INFO] [stdout] | | [INFO] [stdout] | `env` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 592 | let registry = self.prepare_source(env, client, preferred_webc_version)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `env` escapes the method body here [INFO] [stdout] | argument requires that `'2` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `self.wasi` does not live long enough [INFO] [stdout] --> src/commands/run/mod.rs:144:23 [INFO] [stdout] | [INFO] [stdout] 101 | #[tracing::instrument(level = "debug", name = "wasmer_run", skip_all)] [INFO] [stdout] | - `self.wasi` dropped here while still borrowed [INFO] [stdout] 102 | fn execute_inner(mut self, output: Output) -> Result<(), Error> { [INFO] [stdout] | -------- binding `self` declared here [INFO] [stdout] ... [INFO] [stdout] 144 | let runtime = self.wasi.prepare_runtime( [INFO] [stdout] | ^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 156 | let monitoring_runtime: Arc = monitoring_runtime; [INFO] [stdout] | ------------------ cast requires that `self.wasi` is borrowed for `'static` [INFO] [stdout] | [INFO] [stdout] = note: due to object lifetime defaults, `Arc` actually means `Arc<(dyn wasmer_wasix::Runtime + std::marker::Send + std::marker::Sync + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `self.env` does not live long enough [INFO] [stdout] --> src/commands/run/mod.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 101 | #[tracing::instrument(level = "debug", name = "wasmer_run", skip_all)] [INFO] [stdout] | - `self.env` dropped here while still borrowed [INFO] [stdout] 102 | fn execute_inner(mut self, output: Output) -> Result<(), Error> { [INFO] [stdout] | -------- binding `self` declared here [INFO] [stdout] ... [INFO] [stdout] 146 | &self.env, [INFO] [stdout] | ^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 156 | let monitoring_runtime: Arc = monitoring_runtime; [INFO] [stdout] | ------------------ cast requires that `self.env` is borrowed for `'static` [INFO] [stdout] | [INFO] [stdout] = note: due to object lifetime defaults, `Arc` actually means `Arc<(dyn wasmer_wasix::Runtime + std::marker::Send + std::marker::Sync + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/commands/run/mod.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | &capabilities::get_capability_cache_path(&self.env, &self.input)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 150 | )?; [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 156 | let monitoring_runtime: Arc = monitoring_runtime; [INFO] [stdout] | ------------------ cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: due to object lifetime defaults, `Arc` actually means `Arc<(dyn wasmer_wasix::Runtime + std::marker::Send + std::marker::Sync + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.wasi.mapped_dirs` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/commands/run/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 144 | let runtime = self.wasi.prepare_runtime( [INFO] [stdout] | --------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 156 | let monitoring_runtime: Arc = monitoring_runtime; [INFO] [stdout] | ------------------ cast requires that `self.wasi` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 161 | / self.wasi [INFO] [stdout] 162 | | .mapped_dirs [INFO] [stdout] 163 | | .extend(pkg.additional_host_mapped_directories.clone()); [INFO] [stdout] | |_______________________________________________________________________^ mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: due to object lifetime defaults, `Arc` actually means `Arc<(dyn wasmer_wasix::Runtime + std::marker::Send + std::marker::Sync + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `self.wasi` does not live long enough [INFO] [stdout] --> src/commands/run/mod.rs:144:23 [INFO] [stdout] | [INFO] [stdout] 101 | #[tracing::instrument(level = "debug", name = "wasmer_run", skip_all)] [INFO] [stdout] | - `self.wasi` dropped here while still borrowed [INFO] [stdout] 102 | fn execute_inner(mut self, output: Output) -> Result<(), Error> { [INFO] [stdout] | -------- binding `self` declared here [INFO] [stdout] ... [INFO] [stdout] 144 | let runtime = self.wasi.prepare_runtime( [INFO] [stdout] | ^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 156 | let monitoring_runtime: Arc = monitoring_runtime; [INFO] [stdout] | ------------------ cast requires that `self.wasi` is borrowed for `'static` [INFO] [stdout] | [INFO] [stdout] = note: due to object lifetime defaults, `Arc` actually means `Arc<(dyn wasmer_wasix::Runtime + std::marker::Send + std::marker::Sync + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `self.env` does not live long enough [INFO] [stdout] --> src/commands/run/mod.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 101 | #[tracing::instrument(level = "debug", name = "wasmer_run", skip_all)] [INFO] [stdout] | - `self.env` dropped here while still borrowed [INFO] [stdout] 102 | fn execute_inner(mut self, output: Output) -> Result<(), Error> { [INFO] [stdout] | -------- binding `self` declared here [INFO] [stdout] ... [INFO] [stdout] 146 | &self.env, [INFO] [stdout] | ^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 156 | let monitoring_runtime: Arc = monitoring_runtime; [INFO] [stdout] | ------------------ cast requires that `self.env` is borrowed for `'static` [INFO] [stdout] | [INFO] [stdout] = note: due to object lifetime defaults, `Arc` actually means `Arc<(dyn wasmer_wasix::Runtime + std::marker::Send + std::marker::Sync + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/commands/run/mod.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | &capabilities::get_capability_cache_path(&self.env, &self.input)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 150 | )?; [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 156 | let monitoring_runtime: Arc = monitoring_runtime; [INFO] [stdout] | ------------------ cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: due to object lifetime defaults, `Arc` actually means `Arc<(dyn wasmer_wasix::Runtime + std::marker::Send + std::marker::Sync + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.wasi.mapped_dirs` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/commands/run/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 144 | let runtime = self.wasi.prepare_runtime( [INFO] [stdout] | --------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 156 | let monitoring_runtime: Arc = monitoring_runtime; [INFO] [stdout] | ------------------ cast requires that `self.wasi` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 161 | / self.wasi [INFO] [stdout] 162 | | .mapped_dirs [INFO] [stdout] 163 | | .extend(pkg.additional_host_mapped_directories.clone()); [INFO] [stdout] | |_______________________________________________________________________^ mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: due to object lifetime defaults, `Arc` actually means `Arc<(dyn wasmer_wasix::Runtime + std::marker::Send + std::marker::Sync + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0502, E0521, E0597, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmer-cli` (lib) due to 7 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0502, E0521, E0597, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmer-cli` (lib test) due to 7 previous errors; 4 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "3511c08d62d36762fb2b47ce36ee4410df8da286be9eff0372995660940e4cbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3511c08d62d36762fb2b47ce36ee4410df8da286be9eff0372995660940e4cbc", kill_on_drop: false }` [INFO] [stdout] 3511c08d62d36762fb2b47ce36ee4410df8da286be9eff0372995660940e4cbc