[INFO] cloning repository https://github.com/getsentry/sentry-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/getsentry/sentry-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b04e91ef108454e11d6e553e5c6ddf5d399423b1 [INFO] checking getsentry/sentry-cli/b04e91ef108454e11d6e553e5c6ddf5d399423b1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-cli" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/getsentry/sentry-cli 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 git repo https://github.com/getsentry/sentry-cli [INFO] finished tweaking git repo https://github.com/getsentry/sentry-cli [INFO] tweaked toml for git repo https://github.com/getsentry/sentry-cli written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/getsentry/sentry-cli 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c229678534cb247b33fefa282f0c418c7cb482eda12fc448c25a27086d5bd75f [INFO] running `Command { std: "docker" "start" "-a" "c229678534cb247b33fefa282f0c418c7cb482eda12fc448c25a27086d5bd75f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c229678534cb247b33fefa282f0c418c7cb482eda12fc448c25a27086d5bd75f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c229678534cb247b33fefa282f0c418c7cb482eda12fc448c25a27086d5bd75f", kill_on_drop: false }` [INFO] [stdout] c229678534cb247b33fefa282f0c418c7cb482eda12fc448c25a27086d5bd75f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bd4f23ef247d4d19759d9af5dfad92565e902659b0285c822227242b340df25 [INFO] running `Command { std: "docker" "start" "-a" "3bd4f23ef247d4d19759d9af5dfad92565e902659b0285c822227242b340df25", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking tinyvec v1.6.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling zstd-sys v2.0.11+zstd.1.5.6 [INFO] [stderr] Compiling libz-sys v1.1.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling openssl-src v300.3.1+3.3.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking phf_shared v0.10.0 [INFO] [stderr] Checking inplace-vec-builder v0.1.1 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking lockfree-object-pool v0.1.6 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Checking binary-merge v0.1.2 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling zip v2.1.6 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking scroll v0.11.0 [INFO] [stderr] Checking zopfli v0.8.1 [INFO] [stderr] Checking brownstone v3.0.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking range-collections v0.2.4 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking elsa v1.10.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling scroll_derive v0.12.0 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Checking scroll v0.12.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling curl-sys v0.4.76+curl-8.10.1 [INFO] [stderr] Checking watto v0.1.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking object v0.36.1 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking indent_write v2.2.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking maybe-owned v0.3.4 [INFO] [stderr] Checking joinery v2.1.0 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking nom-supreme v0.8.0 [INFO] [stderr] Checking goblin v0.8.2 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking dmsort v1.0.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Compiling sentry-contexts v0.34.0 [INFO] [stderr] Compiling libgit2-sys v0.16.2+1.7.2 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking uuid v1.9.1 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking debugid v0.8.0 [INFO] [stderr] Checking pdb v0.8.0 [INFO] [stderr] Checking symbolic-common v12.11.0 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking elementtree v1.2.3 [INFO] [stderr] Checking sentry-types v0.34.0 [INFO] [stderr] Checking similar v2.5.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking outref v0.1.0 [INFO] [stderr] Checking symbolic-ppdb v12.11.0 [INFO] [stderr] Checking wasmparser v0.214.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking pdb-addr2line v0.10.4 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling curl v0.4.46 [INFO] [stderr] Checking password-hash v0.4.2 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking clap_builder v4.5.8 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling scroll_derive v0.10.5 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Checking sentry-core v0.34.0 [INFO] [stderr] Checking simd-abstraction v0.7.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking sentry-backtrace v0.34.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Checking uname v0.1.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking hostname v0.4.0 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking dlv-list v0.3.0 [INFO] [stderr] Checking which v4.4.2 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking ordered-multimap v0.4.3 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking clap v4.5.8 [INFO] [stderr] Checking zstd v0.13.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Checking symbolic-debuginfo v12.11.0 [INFO] [stderr] Checking sentry-anyhow v0.34.0 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking base64-simd v0.7.0 [INFO] [stderr] Checking scroll v0.10.2 [INFO] [stderr] Checking snapbox-macros v0.3.9 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking os_pipe v1.2.0 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking content_inspector v0.2.4 [INFO] [stderr] Checking quick-xml v0.32.0 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking number_prefix v0.3.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking encode_unicode v1.0.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking dunce v1.0.4 [INFO] [stderr] Checking winnow v0.6.13 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking symbolic-il2cpp v12.11.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Compiling sentry-cli v2.36.2 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking symbolic-symcache v12.11.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Checking unicode-id-start v1.1.2 [INFO] [stderr] Checking vlq v0.5.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking magic_string v0.3.4 [INFO] [stderr] Checking sourcemap v7.1.1 [INFO] [stderr] Checking symbolic v12.11.0 [INFO] [stderr] Checking humantime-serde v1.1.1 [INFO] [stderr] Checking open v3.2.0 [INFO] [stderr] Checking plist v1.7.0 [INFO] [stderr] Checking snapbox v0.4.17 [INFO] [stderr] Checking prettytable-rs v0.10.0 [INFO] [stderr] Checking indicatif v0.14.0 [INFO] [stderr] Checking toml_edit v0.22.14 [INFO] [stderr] Checking backoff v0.4.0 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking clap_complete v4.5.7 [INFO] [stderr] Checking java-properties v1.4.1 [INFO] [stderr] Checking rust-ini v0.18.0 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Checking runas v1.2.0 [INFO] [stderr] Checking anylog v0.6.4 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking proguard v5.4.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking might-be-minified v0.3.0 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking chardet v0.2.4 [INFO] [stderr] Checking username v0.2.0 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Checking trycmd v0.14.21 [INFO] [stderr] Checking mockito v0.31.1 [INFO] [stderr] Checking insta v1.39.0 [INFO] [stderr] Checking rstest v0.18.2 [INFO] [stderr] Checking git2 v0.18.3 [INFO] [stderr] Checking sentry v0.34.0 [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/mod.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `sentry_cli` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/utils/dif.rs [INFO] [stderr] * src/utils/dif_upload.rs [INFO] [stderr] * src/utils/formatting.rs [INFO] [stderr] * src/utils/vcs.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/utils/dif.rs:148:14 [INFO] [stderr] | [INFO] [stderr] 148 | ($condition:expr_2021, $feature:literal) => { [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/utils/formatting.rs:11:14 [INFO] [stderr] | [INFO] [stderr] 11 | ($num:expr_2021, $str: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/utils/formatting.rs:11:30 [INFO] [stderr] | [INFO] [stderr] 11 | ($num:expr_2021, $str: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/utils/vcs.rs:50:6 [INFO] [stderr] | [INFO] [stderr] 50 | ($ex: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: elided lifetime has a name [INFO] [stderr] --> src/utils/dif.rs:184:31 [INFO] [stderr] | [INFO] [stderr] 181 | impl<'slf> symbolic::common::AsSelf<'slf> for SelfProguard<'_> { [INFO] [stderr] | ---- lifetime `'slf` declared here [INFO] [stderr] ... [INFO] [stderr] 184 | fn as_self(&'slf self) -> &Self::Ref { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'slf` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/utils/dif_upload.rs:89:31 [INFO] [stderr] | [INFO] [stderr] 86 | impl<'slf, 'data: 'slf> AsSelf<'slf> for ParsedDif<'data> { [INFO] [stderr] | ---- lifetime `'slf` declared here [INFO] [stderr] ... [INFO] [stderr] 89 | fn as_self(&'slf self) -> &Self::Ref { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'slf` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/commands/mod.rs:88:36 [INFO] [stdout] | [INFO] [stdout] 88 | fn print_completions(gen: G, cmd: &mut Command) { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/commands/mod.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | generate(gen, cmd, cmd.get_name().to_string(), &mut io::stdout()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils/dif.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | ($condition:expr, $feature:literal) => { [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] 148 | ($condition:expr_2021, $feature:literal) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/utils/dif.rs:184:31 [INFO] [stdout] | [INFO] [stdout] 181 | impl<'slf> symbolic::common::AsSelf<'slf> for SelfProguard<'_> { [INFO] [stdout] | ---- lifetime `'slf` declared here [INFO] [stdout] ... [INFO] [stdout] 184 | fn as_self(&'slf self) -> &Self::Ref { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'slf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/utils/dif_upload.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 86 | impl<'slf, 'data: 'slf> AsSelf<'slf> for ParsedDif<'data> { [INFO] [stdout] | ---- lifetime `'slf` declared here [INFO] [stdout] ... [INFO] [stdout] 89 | fn as_self(&'slf self) -> &Self::Ref { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'slf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils/formatting.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | ($num:expr, $str: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] 11 | ($num:expr_2021, $str: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/utils/formatting.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | ($num:expr, $str: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] 11 | ($num:expr, $str: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/utils/vcs.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | ($ex: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] 50 | ($ex:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/commands/update.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | env::set_var("SENTRY_DISABLE_UPDATE_CHECK", "true"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 26 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 27 ~ unsafe { env::set_var("SENTRY_DISABLE_UPDATE_CHECK", "true") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/api/mod.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | if let Some(ref api) = *api_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/api/mod.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 148 ~ match *api_opt { Some(ref api) => { [INFO] [stdout] 149 | api.clone() [INFO] [stdout] 150 ~ } _ => { [INFO] [stdout] 151 | let api = Arc::new(Api::with_config(Config::current())); [INFO] [stdout] 152 | *api_opt = Some(api.clone()); [INFO] [stdout] 153 | api [INFO] [stdout] 154 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/api/mod.rs:1536:12 [INFO] [stdout] | [INFO] [stdout] 1536 | if let ProgressBarMode::Shared((pb_progress, len, idx, counts)) = progress_bar_mode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/api/mod.rs:1544:9 [INFO] [stdout] | [INFO] [stdout] 1544 | } else if progress_bar_mode.active() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1536 ~ match progress_bar_mode { ProgressBarMode::Shared((pb_progress, len, idx, counts)) => { [INFO] [stdout] 1537 | handle.progress_function(move |_, _, total, uploaded| { [INFO] [stdout] ... [INFO] [stdout] 1543 | })?; [INFO] [stdout] 1544 ~ } _ => if progress_bar_mode.active() { [INFO] [stdout] 1545 | let pb_progress = pb.clone(); [INFO] [stdout] ... [INFO] [stdout] 1570 | })?; [INFO] [stdout] 1571 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/api/mod.rs:1857:12 [INFO] [stdout] | [INFO] [stdout] 1857 | if let Ok(err) = self.deserialize::() { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 1869 | } else if let Ok(value) = self.deserialize::() { [INFO] [stdout] | --------------------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/api/mod.rs:1869:9 [INFO] [stdout] | [INFO] [stdout] 1869 | } else if let Ok(value) = self.deserialize::() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/api/mod.rs:1878:9 [INFO] [stdout] | [INFO] [stdout] 1878 | } 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] 1857 ~ match self.deserialize::() { Ok(err) => { [INFO] [stdout] 1858 | Err(ApiError::with_source( [INFO] [stdout] ... [INFO] [stdout] 1868 | )) [INFO] [stdout] 1869 ~ } _ => { match self.deserialize::() { Ok(value) => { [INFO] [stdout] 1870 | Err(ApiError::with_source( [INFO] [stdout] ... [INFO] [stdout] 1877 | )) [INFO] [stdout] 1878 ~ } _ => { [INFO] [stdout] 1879 | Err(ApiError::with_source( [INFO] [stdout] ... [INFO] [stdout] 1886 | )) [INFO] [stdout] 1887 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/mod.rs:346:8 [INFO] [stdout] | [INFO] [stdout] 346 | if let Err(e) = load_dotenv_result { [INFO] [stdout] | ^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/mod.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 348 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 346 ~ match load_dotenv_result { Err(e) => { [INFO] [stdout] 347 | log::warn!("Failed to load .env file: {}", e); [INFO] [stdout] 348 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/mod.rs:358:27 [INFO] [stdout] | [INFO] [stdout] 358 | let code = if let Some(&QuietExit(code)) = err.downcast_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/mod.rs:360:13 [INFO] [stdout] | [INFO] [stdout] 360 | } 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] 358 ~ let code = match err.downcast_ref() { Some(&QuietExit(code)) => { [INFO] [stdout] 359 | code [INFO] [stdout] 360 ~ } _ => { [INFO] [stdout] 361 | print_error(&err); [INFO] [stdout] 362 | 1 [INFO] [stdout] 363 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/bash_hook.rs:139:16 [INFO] [stdout] | [INFO] [stdout] 139 | if let Some(cap) = FRAME_RE.captures(&line) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/bash_hook.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 139 ~ match FRAME_RE.captures(&line) { Some(cap) => { [INFO] [stdout] 140 | match &cap[1] { [INFO] [stdout] ... [INFO] [stdout] 153 | }); [INFO] [stdout] 154 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/bash_hook.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 169 | if let Ok(f) = fs::File::open(filename) { [INFO] [stdout] | ^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/bash_hook.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | } 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 ~ match fs::File::open(filename) { Ok(f) => { [INFO] [stdout] 170 | let lines: Vec<_> = BufReader::new(f) [INFO] [stdout] ... [INFO] [stdout] 174 | source_caches.insert(filename, lines); [INFO] [stdout] 175 ~ } _ => { [INFO] [stdout] 176 | source_caches.insert(filename, vec![]); [INFO] [stdout] 177 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/debug_files/check.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | if let Some(prob) = dif.get_problem() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/debug_files/check.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | } 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] 101 ~ match dif.get_problem() { Some(prob) => { [INFO] [stdout] 102 | println!(" Usable: {} ({})", style("no").red(), prob); [INFO] [stdout] 103 | Err(QuietExit(1).into()) [INFO] [stdout] 104 ~ } _ => { [INFO] [stdout] 105 | println!(" Usable: {}", style("yes").green()); [INFO] [stdout] 106 | Ok(()) [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/debug_files/print_sources.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | if let Object::Pe(pe) = &object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/debug_files/print_sources.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 37 ~ match &object { Object::Pe(pe) => { [INFO] [stdout] 38 | if let Some(ppdb_data) = pe.embedded_ppdb()? { [INFO] [stdout] ... [INFO] [stdout] 43 | } [INFO] [stdout] 44 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/debug_files/print_sources.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(ppdb_data) = pe.embedded_ppdb()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/debug_files/print_sources.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 38 ~ match pe.embedded_ppdb()? { Some(ppdb_data) => { [INFO] [stdout] 39 | let mut buf = Vec::new(); [INFO] [stdout] ... [INFO] [stdout] 42 | print_object_sources(&ppdb)?; [INFO] [stdout] 43 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/debug_files/print_sources.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | if let Some(value) = value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/debug_files/print_sources.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 95 ~ match value { Some(value) => { [INFO] [stdout] 96 | println!(" {name}: {value}"); [INFO] [stdout] 97 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/files/upload.rs:243:12 [INFO] [stdout] | [INFO] [stdout] 243 | if let Some(artifact) = authenticated_api [INFO] [stdout] | ____________^ - [INFO] [stdout] | |_________________________________| [INFO] [stdout] 244 | || .region_specific(context.org) [INFO] [stdout] 245 | || .upload_release_file( [INFO] [stdout] 246 | || context, [INFO] [stdout] ... || [INFO] [stdout] 256 | || ProgressBarMode::Request, [INFO] [stdout] 257 | || )? [INFO] [stdout] | ||______________^ 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/files/upload.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] 243 ~ match authenticated_api [INFO] [stdout] 244 | .region_specific(context.org) [INFO] [stdout] ... [INFO] [stdout] 257 | )? [INFO] [stdout] 258 ~ { Some(artifact) => { [INFO] [stdout] 259 | println!("A {} ({} bytes)", artifact.sha1, artifact.size); [INFO] [stdout] 260 ~ } _ => { [INFO] [stdout] 261 | bail!("File already present!"); [INFO] [stdout] 262 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/react_native/gradle.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | if let Ok(ram_bundle) = RamBundle::parse_unbundle_from_path(&bundle_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/react_native/gradle.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | } 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 RamBundle::parse_unbundle_from_path(&bundle_path) { Ok(ram_bundle) => { [INFO] [stdout] 105 | debug!("File RAM bundle found, extracting its contents..."); [INFO] [stdout] 106 | processor.unpack_ram_bundle(&ram_bundle, &bundle_url)?; [INFO] [stdout] 107 ~ } _ => { [INFO] [stdout] 108 | debug!("Non-file bundle found"); [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/releases/info.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | if let Ok(Some(commits)) = [INFO] [stdout] | ________________^ [INFO] [stdout] 88 | | authenticated_api.get_release_commits(&org, project.as_deref(), 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/releases/info.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | } 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] 87 ~ match authenticated_api.get_release_commits(&org, project.as_deref(), version) [INFO] [stdout] 88 ~ { Ok(Some(commits)) => { [INFO] [stdout] 89 | if !commits.is_empty() { [INFO] [stdout] ... [INFO] [stdout] 99 | } [INFO] [stdout] 100 ~ } _ => { [INFO] [stdout] 101 | data_row.add("-"); [INFO] [stdout] 102 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/sourcemaps/explain.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | if let Some(token) = sm.lookup_token(line, column) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/sourcemaps/explain.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | } 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] 284 ~ match sm.lookup_token(line, column) { Some(token) => { [INFO] [stdout] 285 | if let Some(view) = token.get_source_view() { [INFO] [stdout] ... [INFO] [stdout] 292 | } [INFO] [stdout] 293 ~ } _ => { [INFO] [stdout] 294 | bail!("invalid sourcemap location"); [INFO] [stdout] 295 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/sourcemaps/resolve.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | if let Some(token) = sm.lookup_token(line, column) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/sourcemaps/resolve.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | } 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] 162 ~ match sm.lookup_token(line, column) { Some(token) => { [INFO] [stdout] 163 | print_token(&token); [INFO] [stdout] 164 ~ } _ => { [INFO] [stdout] 165 | println!(" - no token found!"); [INFO] [stdout] 166 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/sourcemaps/upload.rs:311:8 [INFO] [stdout] | [INFO] [stdout] 311 | if let Ok(ram_bundle) = sourcemap::ram_bundle::RamBundle::parse_unbundle_from_path(&bundle_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/sourcemaps/upload.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | } else if sourcemap::ram_bundle::RamBundle::parse_indexed_from_path(&bundle_path).is_ok() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 311 ~ match sourcemap::ram_bundle::RamBundle::parse_unbundle_from_path(&bundle_path) [INFO] [stdout] 312 ~ { Ok(ram_bundle) => { [INFO] [stdout] 313 | debug!("File RAM bundle found, extracting its contents..."); [INFO] [stdout] ... [INFO] [stdout] 316 | processor.unpack_ram_bundle(&ram_bundle, &bundle_url)?; [INFO] [stdout] 317 ~ } _ => if sourcemap::ram_bundle::RamBundle::parse_indexed_from_path(&bundle_path).is_ok() { [INFO] [stdout] 318 | debug!("Indexed RAM bundle found"); [INFO] [stdout] 319 | } else { [INFO] [stdout] 320 | warn!("Regular bundle found"); [INFO] [stdout] 321 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/config.rs:478:19 [INFO] [stdout] | [INFO] [stdout] 478 | } else if let Some(val) = self.ini.get_from(Some("http"), "max_retries") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/config.rs:480:9 [INFO] [stdout] | [INFO] [stdout] 480 | } 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] 478 ~ } else { match self.ini.get_from(Some("http"), "max_retries") { Some(val) => { [INFO] [stdout] 479 | Ok(val.parse()?) [INFO] [stdout] 480 ~ } _ => { [INFO] [stdout] 481 | Ok(DEFAULT_RETRIES) [INFO] [stdout] 482 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/config.rs:489:19 [INFO] [stdout] | [INFO] [stdout] 489 | } else if let Some(val) = self.ini.get_from(Some("auth"), "dsn") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/config.rs:491:9 [INFO] [stdout] | [INFO] [stdout] 491 | } 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] 489 ~ } else { match self.ini.get_from(Some("auth"), "dsn") { Some(val) => { [INFO] [stdout] 490 | Ok(val.parse()?) [INFO] [stdout] 491 ~ } _ => { [INFO] [stdout] 492 | bail!("No DSN provided"); [INFO] [stdout] 493 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/config.rs:516:19 [INFO] [stdout] | [INFO] [stdout] 516 | } else if let Some(val) = self.ini.get_from(Some("update"), "disable_check") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/config.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | } 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] 516 ~ } else { match self.ini.get_from(Some("update"), "disable_check") { Some(val) => { [INFO] [stdout] 517 | val == "true" [INFO] [stdout] 518 ~ } _ => { [INFO] [stdout] 519 | false [INFO] [stdout] 520 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/appcenter.rs:178:16 [INFO] [stdout] | [INFO] [stdout] 178 | if let Some(ipl) = InfoPlist::from_project_info(&pi)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/appcenter.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 178 ~ match InfoPlist::from_project_info(&pi)? { Some(ipl) => { [INFO] [stdout] 179 | if let Some(release_name) = get_xcode_release_name(Some(ipl))? { [INFO] [stdout] ... [INFO] [stdout] 195 | } [INFO] [stdout] 196 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/appcenter.rs:179:20 [INFO] [stdout] | [INFO] [stdout] 179 | if let Some(release_name) = get_xcode_release_name(Some(ipl))? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/appcenter.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 179 ~ match get_xcode_release_name(Some(ipl))? { Some(release_name) => { [INFO] [stdout] 180 | let vec: Vec<&str> = release_name.split('@').collect(); [INFO] [stdout] ... [INFO] [stdout] 194 | )); [INFO] [stdout] 195 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/appcenter.rs:206:20 [INFO] [stdout] | [INFO] [stdout] 206 | if let Some(release_name) = infer_gradle_release_name(Some(here.join("android")))? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/appcenter.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | } 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] 206 ~ match infer_gradle_release_name(Some(here.join("android")))? { Some(release_name) => { [INFO] [stdout] 207 | let vec: Vec<&str> = release_name.split('@').collect(); [INFO] [stdout] ... [INFO] [stdout] 210 | return Ok(format!("{}@{}+codepush:{}", bundle_id, version_name, package.label)); [INFO] [stdout] 211 ~ } _ => { [INFO] [stdout] 212 | bail!("Could not parse app id from build.gradle"); [INFO] [stdout] 213 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/auth_token/auth_token_impl.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | if let Ok(org_auth_token) = OrgAuthToken::try_from(auth_string.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 69 | AuthTokenInner::Org(org_auth_token) [INFO] [stdout] 70 | } else if let Ok(user_auth_token) = UserAuthToken::try_from(auth_string.clone()) { [INFO] [stdout] | -------------------------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/auth_token/auth_token_impl.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | } else if let Ok(user_auth_token) = UserAuthToken::try_from(auth_string.clone()) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils/auth_token/auth_token_impl.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | } 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 OrgAuthToken::try_from(auth_string.clone()) { Ok(org_auth_token) => { [INFO] [stdout] 69 | AuthTokenInner::Org(org_auth_token) [INFO] [stdout] 70 ~ } _ => { match UserAuthToken::try_from(auth_string.clone()) { Ok(user_auth_token) => { [INFO] [stdout] 71 | AuthTokenInner::User(user_auth_token) [INFO] [stdout] 72 ~ } _ => { [INFO] [stdout] 73 | AuthTokenInner::Unknown(auth_string.into()) [INFO] [stdout] 74 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/dif.rs:358:24 [INFO] [stdout] | [INFO] [stdout] 358 | if let Ok(Some(Object::Pe(pe))) = archive.get().object_by_index(0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/dif.rs:367:21 [INFO] [stdout] | [INFO] [stdout] 367 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 358 ~ match archive.get().object_by_index(0) { Ok(Some(Object::Pe(pe))) => { [INFO] [stdout] 359 | if let Ok(Some(ppdb_data)) = pe.embedded_ppdb() { [INFO] [stdout] ... [INFO] [stdout] 366 | } [INFO] [stdout] 367 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/dif.rs:359:28 [INFO] [stdout] | [INFO] [stdout] 359 | if let Ok(Some(ppdb_data)) = pe.embedded_ppdb() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/dif.rs:366:25 [INFO] [stdout] | [INFO] [stdout] 366 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 359 ~ match pe.embedded_ppdb() { Ok(Some(ppdb_data)) => { [INFO] [stdout] 360 | let mut buf = Vec::new(); [INFO] [stdout] ... [INFO] [stdout] 365 | } [INFO] [stdout] 366 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/dif.rs:362:36 [INFO] [stdout] | [INFO] [stdout] 362 | ... if let Ok(ppdb) = Object::parse(&buf) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/dif.rs:364:33 [INFO] [stdout] | [INFO] [stdout] 364 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 362 ~ match Object::parse(&buf) { Ok(ppdb) => { [INFO] [stdout] 363 | add_object_features(&ppdb); [INFO] [stdout] 364 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/dif.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Object::MachO(macho) = object? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/dif.rs:456:13 [INFO] [stdout] | [INFO] [stdout] 456 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 452 ~ match object? { Object::MachO(macho) => { [INFO] [stdout] 453 | if macho.requires_symbolmap() { [INFO] [stdout] 454 | return Ok(true); [INFO] [stdout] 455 | } [INFO] [stdout] 456 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/dif_upload.rs:707:20 [INFO] [stdout] | [INFO] [stdout] 707 | if let Some(dif) = collect_auxdif(name, buffer, options, AuxDifKind::BcSymbolMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/dif_upload.rs:709:17 [INFO] [stdout] | [INFO] [stdout] 709 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 707 ~ match collect_auxdif(name, buffer, options, AuxDifKind::BcSymbolMap) { Some(dif) => { [INFO] [stdout] 708 | collected.push(dif); [INFO] [stdout] 709 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/dif_upload.rs:711:20 [INFO] [stdout] | [INFO] [stdout] 711 | if let Some(dif) = collect_auxdif(name, buffer, options, AuxDifKind::UuidMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/dif_upload.rs:713:17 [INFO] [stdout] | [INFO] [stdout] 713 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 711 ~ match collect_auxdif(name, buffer, options, AuxDifKind::UuidMap) { Some(dif) => { [INFO] [stdout] 712 | collected.push(dif); [INFO] [stdout] 713 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/dif_upload.rs:883:16 [INFO] [stdout] | [INFO] [stdout] 883 | if let Ok(Some(ppdb_dif)) = extract_embedded_ppdb(pe, name.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/utils/dif_upload.rs:887:13 [INFO] [stdout] | [INFO] [stdout] 887 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 883 ~ match extract_embedded_ppdb(pe, name.as_str()) { Ok(Some(ppdb_dif)) => { [INFO] [stdout] 884 | if options.validate_dif(&ppdb_dif) { [INFO] [stdout] 885 | collected.push(ppdb_dif); [INFO] [stdout] 886 | } [INFO] [stdout] 887 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/dif_upload.rs:1098:8 [INFO] [stdout] | [INFO] [stdout] 1098 | if let Some(embedded_ppdb) = pe.embedded_ppdb()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/dif_upload.rs:1110:5 [INFO] [stdout] | [INFO] [stdout] 1110 | } 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] 1098 ~ match pe.embedded_ppdb()? { Some(embedded_ppdb) => { [INFO] [stdout] 1099 | let temp_file = TempFile::create()?; [INFO] [stdout] ... [INFO] [stdout] 1109 | Ok(Some(dif)) [INFO] [stdout] 1110 ~ } _ => { [INFO] [stdout] 1111 | Ok(None) [INFO] [stdout] 1112 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/file_upload.rs:525:12 [INFO] [stdout] | [INFO] [stdout] 525 | if let Err(e) = bundle.add_file(bundle_path, file.contents.as_slice(), info) { [INFO] [stdout] | ^^^^^^^^^^^^^------------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/file_upload.rs:535:9 [INFO] [stdout] | [INFO] [stdout] 535 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 525 ~ match bundle.add_file(bundle_path, file.contents.as_slice(), info) { Err(e) => { [INFO] [stdout] 526 | if e.kind() == SourceBundleErrorKind::ReadFailed { [INFO] [stdout] ... [INFO] [stdout] 534 | } [INFO] [stdout] 535 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/fs.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | if let Err(e) = result { [INFO] [stdout] | ^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils/fs.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 96 ~ match result { Err(e) => { [INFO] [stdout] 97 | error!( [INFO] [stdout] ... [INFO] [stdout] 101 | ); [INFO] [stdout] 102 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/http.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | if let Some(link) = caps.name("link") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 46 | item.insert("_link", link.as_str()); [INFO] [stdout] 47 | } else if let Some(key) = caps.name("key") { [INFO] [stdout] | ---- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/http.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | } else if let Some(key) = caps.name("key") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils/http.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | } else if caps.name("comma").is_some() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 45 ~ match caps.name("link") { Some(link) => { [INFO] [stdout] 46 | item.insert("_link", link.as_str()); [INFO] [stdout] 47 ~ } _ => { match caps.name("key") { Some(key) => { [INFO] [stdout] 48 | item.insert( [INFO] [stdout] ... [INFO] [stdout] 53 | ); [INFO] [stdout] 54 ~ } _ => if caps.name("comma").is_some() { [INFO] [stdout] 55 | rv.push(item); [INFO] [stdout] 56 | item = HashMap::new(); [INFO] [stdout] 57 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/logging.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | if let Some(pb) = get_progress_bar() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/logging.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | } 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] 115 ~ match get_progress_bar() { Some(pb) => { [INFO] [stdout] 116 | pb.println(msg); [INFO] [stdout] 117 ~ } _ => { [INFO] [stdout] 118 | eprintln!("{msg}"); [INFO] [stdout] 119 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/metrics.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | if let Ok(release) = releases::detect_release_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/utils/metrics.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 14 ~ match releases::detect_release_name() { Ok(release) => { [INFO] [stdout] 15 | self.push(("release".into(), release)); [INFO] [stdout] 16 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/sourcemaps.rs:483:24 [INFO] [stdout] | [INFO] [stdout] 483 | if let Err(err) = validate_script(source) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils/sourcemaps.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 483 ~ match validate_script(source) { Err(err) => { [INFO] [stdout] 484 | source.error(format!("failed to process: {err}")); [INFO] [stdout] 485 | failed = true; [INFO] [stdout] 486 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/sourcemaps.rs:489:24 [INFO] [stdout] | [INFO] [stdout] 489 | if let Err(err) = validate_sourcemap(&source_urls, source) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils/sourcemaps.rs:492:21 [INFO] [stdout] | [INFO] [stdout] 492 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 489 ~ match validate_sourcemap(&source_urls, source) { Err(err) => { [INFO] [stdout] 490 | source.error(format!("failed to process: {err}")); [INFO] [stdout] 491 | failed = true; [INFO] [stdout] 492 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/sourcemaps.rs:808:20 [INFO] [stdout] | [INFO] [stdout] 808 | if let Ok(checksum) = source.checksum() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/sourcemaps.rs:813:17 [INFO] [stdout] | [INFO] [stdout] 813 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 808 ~ match source.checksum() { Ok(checksum) => { [INFO] [stdout] 809 | if already_uploaded_checksums.contains(&checksum) { [INFO] [stdout] ... [INFO] [stdout] 812 | } [INFO] [stdout] 813 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/update.rs:208:41 [INFO] [stdout] | [INFO] [stdout] 208 | let mut check: LastUpdateCheck = if let Ok(f) = fs::File::open(&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/utils/update.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | } 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] 208 ~ let mut check: LastUpdateCheck = match fs::File::open(&path) { Ok(f) => { [INFO] [stdout] 209 | serde_json::from_reader(io::BufReader::new(f))? [INFO] [stdout] 210 ~ } _ => { [INFO] [stdout] 211 | Default::default() [INFO] [stdout] 212 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/vcs.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(caps) = SPEC_RE.captures(s) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/vcs.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 71 ~ match SPEC_RE.captures(s) { Some(caps) => { [INFO] [stdout] 72 | let (prev_rev, rev) = parse_rev_range(caps.get(3).map(|x| x.as_str()).unwrap_or("")); [INFO] [stdout] ... [INFO] [stdout] 78 | }) [INFO] [stdout] 79 ~ } _ => { [INFO] [stdout] 80 | bail!("Could not parse commit spec '{}'", s) [INFO] [stdout] 81 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/vcs.rs:161:16 [INFO] [stdout] | [INFO] [stdout] 161 | if let Some(caps) = VS_TRAILING_GIT_PATH_RE.captures(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/utils/vcs.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 161 ~ match VS_TRAILING_GIT_PATH_RE.captures(path) { Some(caps) => { [INFO] [stdout] 162 | return VcsUrl { [INFO] [stdout] ... [INFO] [stdout] 165 | }; [INFO] [stdout] 166 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/vcs.rs:177:16 [INFO] [stdout] | [INFO] [stdout] 177 | if let Some(caps) = VS_TRAILING_GIT_PATH_RE.captures(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/utils/vcs.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 177 ~ match VS_TRAILING_GIT_PATH_RE.captures(path) { Some(caps) => { [INFO] [stdout] 178 | return VcsUrl { [INFO] [stdout] ... [INFO] [stdout] 181 | }; [INFO] [stdout] 182 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/vcs.rs:186:16 [INFO] [stdout] | [INFO] [stdout] 186 | if let Some(caps) = GCB_GIT_PATH_RE.captures(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/utils/vcs.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 186 ~ match GCB_GIT_PATH_RE.captures(path) { Some(caps) => { [INFO] [stdout] 187 | return VcsUrl { [INFO] [stdout] ... [INFO] [stdout] 190 | }; [INFO] [stdout] 191 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/vcs.rs:292:32 [INFO] [stdout] | [INFO] [stdout] 292 | ... if let Ok(tag_commit) = tag.target() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils/vcs.rs:294:29 [INFO] [stdout] | [INFO] [stdout] 294 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 292 ~ match tag.target() { Ok(tag_commit) => { [INFO] [stdout] 293 | return Ok(Some(log_match!(tag_commit.id().to_string()))); [INFO] [stdout] 294 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/vcs.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 318 | if let Some(submodule_url) = submodule.url() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^---------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/vcs.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 318 ~ match submodule.url() { Some(submodule_url) => { [INFO] [stdout] 319 | debug!(" found submodule with URL {}", submodule_url); [INFO] [stdout] ... [INFO] [stdout] 345 | } [INFO] [stdout] 346 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/vcs.rs:329:24 [INFO] [stdout] | [INFO] [stdout] 329 | if let Some(head_oid) = submodule.head_id() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils/vcs.rs:331:21 [INFO] [stdout] | [INFO] [stdout] 331 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 329 ~ match submodule.head_id() { Some(head_oid) => { [INFO] [stdout] 330 | return Ok(Some(log_match!(head_oid.to_string()))); [INFO] [stdout] 331 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/vcs.rs:336:20 [INFO] [stdout] | [INFO] [stdout] 336 | if let Ok(subrepo) = submodule.open() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/vcs.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 336 ~ match submodule.open() { Ok(subrepo) => { [INFO] [stdout] 337 | let head = subrepo.revparse_single(r)?; [INFO] [stdout] 338 | return Ok(Some(log_match!(head.id().to_string()))); [INFO] [stdout] 339 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/vcs.rs:368:18 [INFO] [stdout] | [INFO] [stdout] 368 | let rev = if let Some(rev) = find_matching_rev( [INFO] [stdout] | __________________^ - [INFO] [stdout] | |__________________________________| [INFO] [stdout] 369 | || spec.reference(), [INFO] [stdout] 370 | || spec, [INFO] [stdout] 371 | || repos, [INFO] [stdout] 372 | || disable_discovery, [INFO] [stdout] 373 | || remote_name.clone(), [INFO] [stdout] 374 | || )? { [INFO] [stdout] | ||______^ 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/utils/vcs.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | } 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] 368 ~ let rev = match find_matching_rev( [INFO] [stdout] 369 | spec.reference(), [INFO] [stdout] ... [INFO] [stdout] 373 | remote_name.clone(), [INFO] [stdout] 374 ~ )? { Some(rev) => { [INFO] [stdout] 375 | rev [INFO] [stdout] 376 ~ } _ => { [INFO] [stdout] 377 | return Err(error(spec.reference(), &spec.repo)); [INFO] [stdout] 378 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/vcs.rs:381:12 [INFO] [stdout] | [INFO] [stdout] 381 | if let Some(rv) = find_matching_rev(rev, spec, repos, disable_discovery, remote_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/utils/vcs.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 383 | } 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] 381 ~ match find_matching_rev(rev, spec, repos, disable_discovery, remote_name)? { Some(rv) => { [INFO] [stdout] 382 | Some(rv) [INFO] [stdout] 383 ~ } _ => { [INFO] [stdout] 384 | return Err(error(rev, &spec.repo)); [INFO] [stdout] 385 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/vcs.rs:430:16 [INFO] [stdout] | [INFO] [stdout] 430 | if let Some(rev) = [INFO] [stdout] | ________________^ [INFO] [stdout] 431 | | find_matching_rev(spec.reference(), &spec, repos, false, remote_name.clone())? [INFO] [stdout] | |_________________-----------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils/vcs.rs:438:13 [INFO] [stdout] | [INFO] [stdout] 438 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 430 ~ match find_matching_rev(spec.reference(), &spec, repos, false, remote_name.clone())? [INFO] [stdout] 431 ~ { Some(rev) => { [INFO] [stdout] 432 | rv.push(Ref { [INFO] [stdout] ... [INFO] [stdout] 436 | }); [INFO] [stdout] 437 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/xcode.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | if let Some(filename) = entry.file_name().to_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/utils/xcode.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 98 ~ match entry.file_name().to_str() { Some(filename) => { [INFO] [stdout] 99 | if filename.ends_with(".xcodeproj") { [INFO] [stdout] 100 | projects.push(entry.path().to_path_buf()); [INFO] [stdout] 101 | } [INFO] [stdout] 102 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/xcode.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | } else if let Ok(default_plist) = InfoPlist::from_env_vars(&vars) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/xcode.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | } 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] 205 ~ } else { match InfoPlist::from_env_vars(&vars) { Ok(default_plist) => { [INFO] [stdout] 206 | Ok(Some(default_plist)) [INFO] [stdout] 207 ~ } _ => { [INFO] [stdout] 208 | Ok(None) [INFO] [stdout] 209 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 63 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `sentry_cli` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/utils/dif.rs [INFO] [stderr] * src/utils/dif_upload.rs [INFO] [stderr] * src/utils/formatting.rs [INFO] [stderr] * src/utils/vcs.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/utils/dif.rs:148:14 [INFO] [stderr] | [INFO] [stderr] 148 | ($condition:expr_2021, $feature:literal) => { [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/utils/formatting.rs:11:14 [INFO] [stderr] | [INFO] [stderr] 11 | ($num:expr_2021, $str: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/utils/formatting.rs:11:30 [INFO] [stderr] | [INFO] [stderr] 11 | ($num:expr_2021, $str: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/utils/vcs.rs:50:6 [INFO] [stderr] | [INFO] [stderr] 50 | ($ex: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: elided lifetime has a name [INFO] [stderr] --> src/utils/dif.rs:184:31 [INFO] [stderr] | [INFO] [stderr] 181 | impl<'slf> symbolic::common::AsSelf<'slf> for SelfProguard<'_> { [INFO] [stderr] | ---- lifetime `'slf` declared here [INFO] [stderr] ... [INFO] [stderr] 184 | fn as_self(&'slf self) -> &Self::Ref { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'slf` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/utils/dif_upload.rs:89:31 [INFO] [stderr] | [INFO] [stderr] 86 | impl<'slf, 'data: 'slf> AsSelf<'slf> for ParsedDif<'data> { [INFO] [stderr] | ---- lifetime `'slf` declared here [INFO] [stderr] ... [INFO] [stderr] 89 | fn as_self(&'slf self) -> &Self::Ref { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'slf` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/commands/mod.rs:88:36 [INFO] [stdout] | [INFO] [stdout] 88 | fn print_completions(gen: G, cmd: &mut Command) { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/commands/mod.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | generate(gen, cmd, cmd.get_name().to_string(), &mut io::stdout()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils/dif.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | ($condition:expr, $feature:literal) => { [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] 148 | ($condition:expr_2021, $feature:literal) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/utils/dif.rs:184:31 [INFO] [stdout] | [INFO] [stdout] 181 | impl<'slf> symbolic::common::AsSelf<'slf> for SelfProguard<'_> { [INFO] [stdout] | ---- lifetime `'slf` declared here [INFO] [stdout] ... [INFO] [stdout] 184 | fn as_self(&'slf self) -> &Self::Ref { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'slf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/utils/dif_upload.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 86 | impl<'slf, 'data: 'slf> AsSelf<'slf> for ParsedDif<'data> { [INFO] [stdout] | ---- lifetime `'slf` declared here [INFO] [stdout] ... [INFO] [stdout] 89 | fn as_self(&'slf self) -> &Self::Ref { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'slf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils/formatting.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | ($num:expr, $str: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] 11 | ($num:expr_2021, $str: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/utils/formatting.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | ($num:expr, $str: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] 11 | ($num:expr, $str: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/utils/vcs.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | ($ex: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] 50 | ($ex:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/commands/update.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | env::set_var("SENTRY_DISABLE_UPDATE_CHECK", "true"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 26 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 27 ~ unsafe { env::set_var("SENTRY_DISABLE_UPDATE_CHECK", "true") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/api/mod.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | if let Some(ref api) = *api_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/api/mod.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 148 ~ match *api_opt { Some(ref api) => { [INFO] [stdout] 149 | api.clone() [INFO] [stdout] 150 ~ } _ => { [INFO] [stdout] 151 | let api = Arc::new(Api::with_config(Config::current())); [INFO] [stdout] 152 | *api_opt = Some(api.clone()); [INFO] [stdout] 153 | api [INFO] [stdout] 154 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/api/mod.rs:1536:12 [INFO] [stdout] | [INFO] [stdout] 1536 | if let ProgressBarMode::Shared((pb_progress, len, idx, counts)) = progress_bar_mode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/api/mod.rs:1544:9 [INFO] [stdout] | [INFO] [stdout] 1544 | } else if progress_bar_mode.active() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1536 ~ match progress_bar_mode { ProgressBarMode::Shared((pb_progress, len, idx, counts)) => { [INFO] [stdout] 1537 | handle.progress_function(move |_, _, total, uploaded| { [INFO] [stdout] ... [INFO] [stdout] 1543 | })?; [INFO] [stdout] 1544 ~ } _ => if progress_bar_mode.active() { [INFO] [stdout] 1545 | let pb_progress = pb.clone(); [INFO] [stdout] ... [INFO] [stdout] 1570 | })?; [INFO] [stdout] 1571 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/api/mod.rs:1857:12 [INFO] [stdout] | [INFO] [stdout] 1857 | if let Ok(err) = self.deserialize::() { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 1869 | } else if let Ok(value) = self.deserialize::() { [INFO] [stdout] | --------------------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/api/mod.rs:1869:9 [INFO] [stdout] | [INFO] [stdout] 1869 | } else if let Ok(value) = self.deserialize::() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/api/mod.rs:1878:9 [INFO] [stdout] | [INFO] [stdout] 1878 | } 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] 1857 ~ match self.deserialize::() { Ok(err) => { [INFO] [stdout] 1858 | Err(ApiError::with_source( [INFO] [stdout] ... [INFO] [stdout] 1868 | )) [INFO] [stdout] 1869 ~ } _ => { match self.deserialize::() { Ok(value) => { [INFO] [stdout] 1870 | Err(ApiError::with_source( [INFO] [stdout] ... [INFO] [stdout] 1877 | )) [INFO] [stdout] 1878 ~ } _ => { [INFO] [stdout] 1879 | Err(ApiError::with_source( [INFO] [stdout] ... [INFO] [stdout] 1886 | )) [INFO] [stdout] 1887 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/mod.rs:346:8 [INFO] [stdout] | [INFO] [stdout] 346 | if let Err(e) = load_dotenv_result { [INFO] [stdout] | ^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/mod.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 348 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 346 ~ match load_dotenv_result { Err(e) => { [INFO] [stdout] 347 | log::warn!("Failed to load .env file: {}", e); [INFO] [stdout] 348 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/mod.rs:358:27 [INFO] [stdout] | [INFO] [stdout] 358 | let code = if let Some(&QuietExit(code)) = err.downcast_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/commands/mod.rs:360:13 [INFO] [stdout] | [INFO] [stdout] 360 | } 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] 358 ~ let code = match err.downcast_ref() { Some(&QuietExit(code)) => { [INFO] [stdout] 359 | code [INFO] [stdout] 360 ~ } _ => { [INFO] [stdout] 361 | print_error(&err); [INFO] [stdout] 362 | 1 [INFO] [stdout] 363 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/bash_hook.rs:139:16 [INFO] [stdout] | [INFO] [stdout] 139 | if let Some(cap) = FRAME_RE.captures(&line) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/bash_hook.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 139 ~ match FRAME_RE.captures(&line) { Some(cap) => { [INFO] [stdout] 140 | match &cap[1] { [INFO] [stdout] ... [INFO] [stdout] 153 | }); [INFO] [stdout] 154 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/bash_hook.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 169 | if let Ok(f) = fs::File::open(filename) { [INFO] [stdout] | ^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/bash_hook.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | } 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 ~ match fs::File::open(filename) { Ok(f) => { [INFO] [stdout] 170 | let lines: Vec<_> = BufReader::new(f) [INFO] [stdout] ... [INFO] [stdout] 174 | source_caches.insert(filename, lines); [INFO] [stdout] 175 ~ } _ => { [INFO] [stdout] 176 | source_caches.insert(filename, vec![]); [INFO] [stdout] 177 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/debug_files/check.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | if let Some(prob) = dif.get_problem() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/debug_files/check.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | } 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] 101 ~ match dif.get_problem() { Some(prob) => { [INFO] [stdout] 102 | println!(" Usable: {} ({})", style("no").red(), prob); [INFO] [stdout] 103 | Err(QuietExit(1).into()) [INFO] [stdout] 104 ~ } _ => { [INFO] [stdout] 105 | println!(" Usable: {}", style("yes").green()); [INFO] [stdout] 106 | Ok(()) [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/debug_files/print_sources.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | if let Object::Pe(pe) = &object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/debug_files/print_sources.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 37 ~ match &object { Object::Pe(pe) => { [INFO] [stdout] 38 | if let Some(ppdb_data) = pe.embedded_ppdb()? { [INFO] [stdout] ... [INFO] [stdout] 43 | } [INFO] [stdout] 44 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/debug_files/print_sources.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(ppdb_data) = pe.embedded_ppdb()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/debug_files/print_sources.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 38 ~ match pe.embedded_ppdb()? { Some(ppdb_data) => { [INFO] [stdout] 39 | let mut buf = Vec::new(); [INFO] [stdout] ... [INFO] [stdout] 42 | print_object_sources(&ppdb)?; [INFO] [stdout] 43 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/debug_files/print_sources.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | if let Some(value) = value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/debug_files/print_sources.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 95 ~ match value { Some(value) => { [INFO] [stdout] 96 | println!(" {name}: {value}"); [INFO] [stdout] 97 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/files/upload.rs:243:12 [INFO] [stdout] | [INFO] [stdout] 243 | if let Some(artifact) = authenticated_api [INFO] [stdout] | ____________^ - [INFO] [stdout] | |_________________________________| [INFO] [stdout] 244 | || .region_specific(context.org) [INFO] [stdout] 245 | || .upload_release_file( [INFO] [stdout] 246 | || context, [INFO] [stdout] ... || [INFO] [stdout] 256 | || ProgressBarMode::Request, [INFO] [stdout] 257 | || )? [INFO] [stdout] | ||______________^ 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/files/upload.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] 243 ~ match authenticated_api [INFO] [stdout] 244 | .region_specific(context.org) [INFO] [stdout] ... [INFO] [stdout] 257 | )? [INFO] [stdout] 258 ~ { Some(artifact) => { [INFO] [stdout] 259 | println!("A {} ({} bytes)", artifact.sha1, artifact.size); [INFO] [stdout] 260 ~ } _ => { [INFO] [stdout] 261 | bail!("File already present!"); [INFO] [stdout] 262 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/react_native/gradle.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | if let Ok(ram_bundle) = RamBundle::parse_unbundle_from_path(&bundle_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/react_native/gradle.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | } 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 RamBundle::parse_unbundle_from_path(&bundle_path) { Ok(ram_bundle) => { [INFO] [stdout] 105 | debug!("File RAM bundle found, extracting its contents..."); [INFO] [stdout] 106 | processor.unpack_ram_bundle(&ram_bundle, &bundle_url)?; [INFO] [stdout] 107 ~ } _ => { [INFO] [stdout] 108 | debug!("Non-file bundle found"); [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/releases/info.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | if let Ok(Some(commits)) = [INFO] [stdout] | ________________^ [INFO] [stdout] 88 | | authenticated_api.get_release_commits(&org, project.as_deref(), 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/releases/info.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | } 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] 87 ~ match authenticated_api.get_release_commits(&org, project.as_deref(), version) [INFO] [stdout] 88 ~ { Ok(Some(commits)) => { [INFO] [stdout] 89 | if !commits.is_empty() { [INFO] [stdout] ... [INFO] [stdout] 99 | } [INFO] [stdout] 100 ~ } _ => { [INFO] [stdout] 101 | data_row.add("-"); [INFO] [stdout] 102 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/sourcemaps/explain.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | if let Some(token) = sm.lookup_token(line, column) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/sourcemaps/explain.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | } 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] 284 ~ match sm.lookup_token(line, column) { Some(token) => { [INFO] [stdout] 285 | if let Some(view) = token.get_source_view() { [INFO] [stdout] ... [INFO] [stdout] 292 | } [INFO] [stdout] 293 ~ } _ => { [INFO] [stdout] 294 | bail!("invalid sourcemap location"); [INFO] [stdout] 295 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/sourcemaps/resolve.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | if let Some(token) = sm.lookup_token(line, column) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/sourcemaps/resolve.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | } 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] 162 ~ match sm.lookup_token(line, column) { Some(token) => { [INFO] [stdout] 163 | print_token(&token); [INFO] [stdout] 164 ~ } _ => { [INFO] [stdout] 165 | println!(" - no token found!"); [INFO] [stdout] 166 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/sourcemaps/upload.rs:311:8 [INFO] [stdout] | [INFO] [stdout] 311 | if let Ok(ram_bundle) = sourcemap::ram_bundle::RamBundle::parse_unbundle_from_path(&bundle_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/sourcemaps/upload.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | } else if sourcemap::ram_bundle::RamBundle::parse_indexed_from_path(&bundle_path).is_ok() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 311 ~ match sourcemap::ram_bundle::RamBundle::parse_unbundle_from_path(&bundle_path) [INFO] [stdout] 312 ~ { Ok(ram_bundle) => { [INFO] [stdout] 313 | debug!("File RAM bundle found, extracting its contents..."); [INFO] [stdout] ... [INFO] [stdout] 316 | processor.unpack_ram_bundle(&ram_bundle, &bundle_url)?; [INFO] [stdout] 317 ~ } _ => if sourcemap::ram_bundle::RamBundle::parse_indexed_from_path(&bundle_path).is_ok() { [INFO] [stdout] 318 | debug!("Indexed RAM bundle found"); [INFO] [stdout] 319 | } else { [INFO] [stdout] 320 | warn!("Regular bundle found"); [INFO] [stdout] 321 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/config.rs:478:19 [INFO] [stdout] | [INFO] [stdout] 478 | } else if let Some(val) = self.ini.get_from(Some("http"), "max_retries") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/config.rs:480:9 [INFO] [stdout] | [INFO] [stdout] 480 | } 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] 478 ~ } else { match self.ini.get_from(Some("http"), "max_retries") { Some(val) => { [INFO] [stdout] 479 | Ok(val.parse()?) [INFO] [stdout] 480 ~ } _ => { [INFO] [stdout] 481 | Ok(DEFAULT_RETRIES) [INFO] [stdout] 482 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/config.rs:489:19 [INFO] [stdout] | [INFO] [stdout] 489 | } else if let Some(val) = self.ini.get_from(Some("auth"), "dsn") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/config.rs:491:9 [INFO] [stdout] | [INFO] [stdout] 491 | } 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] 489 ~ } else { match self.ini.get_from(Some("auth"), "dsn") { Some(val) => { [INFO] [stdout] 490 | Ok(val.parse()?) [INFO] [stdout] 491 ~ } _ => { [INFO] [stdout] 492 | bail!("No DSN provided"); [INFO] [stdout] 493 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/config.rs:516:19 [INFO] [stdout] | [INFO] [stdout] 516 | } else if let Some(val) = self.ini.get_from(Some("update"), "disable_check") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/config.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | } 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] 516 ~ } else { match self.ini.get_from(Some("update"), "disable_check") { Some(val) => { [INFO] [stdout] 517 | val == "true" [INFO] [stdout] 518 ~ } _ => { [INFO] [stdout] 519 | false [INFO] [stdout] 520 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/appcenter.rs:178:16 [INFO] [stdout] | [INFO] [stdout] 178 | if let Some(ipl) = InfoPlist::from_project_info(&pi)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/appcenter.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 178 ~ match InfoPlist::from_project_info(&pi)? { Some(ipl) => { [INFO] [stdout] 179 | if let Some(release_name) = get_xcode_release_name(Some(ipl))? { [INFO] [stdout] ... [INFO] [stdout] 195 | } [INFO] [stdout] 196 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/appcenter.rs:179:20 [INFO] [stdout] | [INFO] [stdout] 179 | if let Some(release_name) = get_xcode_release_name(Some(ipl))? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/appcenter.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 179 ~ match get_xcode_release_name(Some(ipl))? { Some(release_name) => { [INFO] [stdout] 180 | let vec: Vec<&str> = release_name.split('@').collect(); [INFO] [stdout] ... [INFO] [stdout] 194 | )); [INFO] [stdout] 195 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/appcenter.rs:206:20 [INFO] [stdout] | [INFO] [stdout] 206 | if let Some(release_name) = infer_gradle_release_name(Some(here.join("android")))? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/appcenter.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | } 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] 206 ~ match infer_gradle_release_name(Some(here.join("android")))? { Some(release_name) => { [INFO] [stdout] 207 | let vec: Vec<&str> = release_name.split('@').collect(); [INFO] [stdout] ... [INFO] [stdout] 210 | return Ok(format!("{}@{}+codepush:{}", bundle_id, version_name, package.label)); [INFO] [stdout] 211 ~ } _ => { [INFO] [stdout] 212 | bail!("Could not parse app id from build.gradle"); [INFO] [stdout] 213 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/auth_token/auth_token_impl.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | if let Ok(org_auth_token) = OrgAuthToken::try_from(auth_string.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 69 | AuthTokenInner::Org(org_auth_token) [INFO] [stdout] 70 | } else if let Ok(user_auth_token) = UserAuthToken::try_from(auth_string.clone()) { [INFO] [stdout] | -------------------------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/auth_token/auth_token_impl.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | } else if let Ok(user_auth_token) = UserAuthToken::try_from(auth_string.clone()) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils/auth_token/auth_token_impl.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | } 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 OrgAuthToken::try_from(auth_string.clone()) { Ok(org_auth_token) => { [INFO] [stdout] 69 | AuthTokenInner::Org(org_auth_token) [INFO] [stdout] 70 ~ } _ => { match UserAuthToken::try_from(auth_string.clone()) { Ok(user_auth_token) => { [INFO] [stdout] 71 | AuthTokenInner::User(user_auth_token) [INFO] [stdout] 72 ~ } _ => { [INFO] [stdout] 73 | AuthTokenInner::Unknown(auth_string.into()) [INFO] [stdout] 74 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/dif.rs:358:24 [INFO] [stdout] | [INFO] [stdout] 358 | if let Ok(Some(Object::Pe(pe))) = archive.get().object_by_index(0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/dif.rs:367:21 [INFO] [stdout] | [INFO] [stdout] 367 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 358 ~ match archive.get().object_by_index(0) { Ok(Some(Object::Pe(pe))) => { [INFO] [stdout] 359 | if let Ok(Some(ppdb_data)) = pe.embedded_ppdb() { [INFO] [stdout] ... [INFO] [stdout] 366 | } [INFO] [stdout] 367 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/dif.rs:359:28 [INFO] [stdout] | [INFO] [stdout] 359 | if let Ok(Some(ppdb_data)) = pe.embedded_ppdb() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/dif.rs:366:25 [INFO] [stdout] | [INFO] [stdout] 366 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 359 ~ match pe.embedded_ppdb() { Ok(Some(ppdb_data)) => { [INFO] [stdout] 360 | let mut buf = Vec::new(); [INFO] [stdout] ... [INFO] [stdout] 365 | } [INFO] [stdout] 366 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/dif.rs:362:36 [INFO] [stdout] | [INFO] [stdout] 362 | ... if let Ok(ppdb) = Object::parse(&buf) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/dif.rs:364:33 [INFO] [stdout] | [INFO] [stdout] 364 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 362 ~ match Object::parse(&buf) { Ok(ppdb) => { [INFO] [stdout] 363 | add_object_features(&ppdb); [INFO] [stdout] 364 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/dif.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Object::MachO(macho) = object? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/dif.rs:456:13 [INFO] [stdout] | [INFO] [stdout] 456 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 452 ~ match object? { Object::MachO(macho) => { [INFO] [stdout] 453 | if macho.requires_symbolmap() { [INFO] [stdout] 454 | return Ok(true); [INFO] [stdout] 455 | } [INFO] [stdout] 456 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/dif_upload.rs:707:20 [INFO] [stdout] | [INFO] [stdout] 707 | if let Some(dif) = collect_auxdif(name, buffer, options, AuxDifKind::BcSymbolMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/dif_upload.rs:709:17 [INFO] [stdout] | [INFO] [stdout] 709 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 707 ~ match collect_auxdif(name, buffer, options, AuxDifKind::BcSymbolMap) { Some(dif) => { [INFO] [stdout] 708 | collected.push(dif); [INFO] [stdout] 709 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/dif_upload.rs:711:20 [INFO] [stdout] | [INFO] [stdout] 711 | if let Some(dif) = collect_auxdif(name, buffer, options, AuxDifKind::UuidMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/dif_upload.rs:713:17 [INFO] [stdout] | [INFO] [stdout] 713 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 711 ~ match collect_auxdif(name, buffer, options, AuxDifKind::UuidMap) { Some(dif) => { [INFO] [stdout] 712 | collected.push(dif); [INFO] [stdout] 713 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/dif_upload.rs:883:16 [INFO] [stdout] | [INFO] [stdout] 883 | if let Ok(Some(ppdb_dif)) = extract_embedded_ppdb(pe, name.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/utils/dif_upload.rs:887:13 [INFO] [stdout] | [INFO] [stdout] 887 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 883 ~ match extract_embedded_ppdb(pe, name.as_str()) { Ok(Some(ppdb_dif)) => { [INFO] [stdout] 884 | if options.validate_dif(&ppdb_dif) { [INFO] [stdout] 885 | collected.push(ppdb_dif); [INFO] [stdout] 886 | } [INFO] [stdout] 887 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/dif_upload.rs:1098:8 [INFO] [stdout] | [INFO] [stdout] 1098 | if let Some(embedded_ppdb) = pe.embedded_ppdb()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/dif_upload.rs:1110:5 [INFO] [stdout] | [INFO] [stdout] 1110 | } 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] 1098 ~ match pe.embedded_ppdb()? { Some(embedded_ppdb) => { [INFO] [stdout] 1099 | let temp_file = TempFile::create()?; [INFO] [stdout] ... [INFO] [stdout] 1109 | Ok(Some(dif)) [INFO] [stdout] 1110 ~ } _ => { [INFO] [stdout] 1111 | Ok(None) [INFO] [stdout] 1112 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/file_upload.rs:525:12 [INFO] [stdout] | [INFO] [stdout] 525 | if let Err(e) = bundle.add_file(bundle_path, file.contents.as_slice(), info) { [INFO] [stdout] | ^^^^^^^^^^^^^------------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/file_upload.rs:535:9 [INFO] [stdout] | [INFO] [stdout] 535 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 525 ~ match bundle.add_file(bundle_path, file.contents.as_slice(), info) { Err(e) => { [INFO] [stdout] 526 | if e.kind() == SourceBundleErrorKind::ReadFailed { [INFO] [stdout] ... [INFO] [stdout] 534 | } [INFO] [stdout] 535 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/fs.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | if let Err(e) = result { [INFO] [stdout] | ^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils/fs.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 96 ~ match result { Err(e) => { [INFO] [stdout] 97 | error!( [INFO] [stdout] ... [INFO] [stdout] 101 | ); [INFO] [stdout] 102 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/http.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | if let Some(link) = caps.name("link") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 46 | item.insert("_link", link.as_str()); [INFO] [stdout] 47 | } else if let Some(key) = caps.name("key") { [INFO] [stdout] | ---- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/http.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | } else if let Some(key) = caps.name("key") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils/http.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | } else if caps.name("comma").is_some() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 45 ~ match caps.name("link") { Some(link) => { [INFO] [stdout] 46 | item.insert("_link", link.as_str()); [INFO] [stdout] 47 ~ } _ => { match caps.name("key") { Some(key) => { [INFO] [stdout] 48 | item.insert( [INFO] [stdout] ... [INFO] [stdout] 53 | ); [INFO] [stdout] 54 ~ } _ => if caps.name("comma").is_some() { [INFO] [stdout] 55 | rv.push(item); [INFO] [stdout] 56 | item = HashMap::new(); [INFO] [stdout] 57 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/logging.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | if let Some(pb) = get_progress_bar() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/logging.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | } 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] 115 ~ match get_progress_bar() { Some(pb) => { [INFO] [stdout] 116 | pb.println(msg); [INFO] [stdout] 117 ~ } _ => { [INFO] [stdout] 118 | eprintln!("{msg}"); [INFO] [stdout] 119 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/metrics.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | if let Ok(release) = releases::detect_release_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/utils/metrics.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 14 ~ match releases::detect_release_name() { Ok(release) => { [INFO] [stdout] 15 | self.push(("release".into(), release)); [INFO] [stdout] 16 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/sourcemaps.rs:483:24 [INFO] [stdout] | [INFO] [stdout] 483 | if let Err(err) = validate_script(source) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils/sourcemaps.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 483 ~ match validate_script(source) { Err(err) => { [INFO] [stdout] 484 | source.error(format!("failed to process: {err}")); [INFO] [stdout] 485 | failed = true; [INFO] [stdout] 486 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/sourcemaps.rs:489:24 [INFO] [stdout] | [INFO] [stdout] 489 | if let Err(err) = validate_sourcemap(&source_urls, source) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils/sourcemaps.rs:492:21 [INFO] [stdout] | [INFO] [stdout] 492 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 489 ~ match validate_sourcemap(&source_urls, source) { Err(err) => { [INFO] [stdout] 490 | source.error(format!("failed to process: {err}")); [INFO] [stdout] 491 | failed = true; [INFO] [stdout] 492 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/sourcemaps.rs:808:20 [INFO] [stdout] | [INFO] [stdout] 808 | if let Ok(checksum) = source.checksum() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/sourcemaps.rs:813:17 [INFO] [stdout] | [INFO] [stdout] 813 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 808 ~ match source.checksum() { Ok(checksum) => { [INFO] [stdout] 809 | if already_uploaded_checksums.contains(&checksum) { [INFO] [stdout] ... [INFO] [stdout] 812 | } [INFO] [stdout] 813 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/update.rs:208:41 [INFO] [stdout] | [INFO] [stdout] 208 | let mut check: LastUpdateCheck = if let Ok(f) = fs::File::open(&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/utils/update.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | } 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] 208 ~ let mut check: LastUpdateCheck = match fs::File::open(&path) { Ok(f) => { [INFO] [stdout] 209 | serde_json::from_reader(io::BufReader::new(f))? [INFO] [stdout] 210 ~ } _ => { [INFO] [stdout] 211 | Default::default() [INFO] [stdout] 212 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/vcs.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(caps) = SPEC_RE.captures(s) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/vcs.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 71 ~ match SPEC_RE.captures(s) { Some(caps) => { [INFO] [stdout] 72 | let (prev_rev, rev) = parse_rev_range(caps.get(3).map(|x| x.as_str()).unwrap_or("")); [INFO] [stdout] ... [INFO] [stdout] 78 | }) [INFO] [stdout] 79 ~ } _ => { [INFO] [stdout] 80 | bail!("Could not parse commit spec '{}'", s) [INFO] [stdout] 81 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/vcs.rs:161:16 [INFO] [stdout] | [INFO] [stdout] 161 | if let Some(caps) = VS_TRAILING_GIT_PATH_RE.captures(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/utils/vcs.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 161 ~ match VS_TRAILING_GIT_PATH_RE.captures(path) { Some(caps) => { [INFO] [stdout] 162 | return VcsUrl { [INFO] [stdout] ... [INFO] [stdout] 165 | }; [INFO] [stdout] 166 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/vcs.rs:177:16 [INFO] [stdout] | [INFO] [stdout] 177 | if let Some(caps) = VS_TRAILING_GIT_PATH_RE.captures(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/utils/vcs.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 177 ~ match VS_TRAILING_GIT_PATH_RE.captures(path) { Some(caps) => { [INFO] [stdout] 178 | return VcsUrl { [INFO] [stdout] ... [INFO] [stdout] 181 | }; [INFO] [stdout] 182 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/vcs.rs:186:16 [INFO] [stdout] | [INFO] [stdout] 186 | if let Some(caps) = GCB_GIT_PATH_RE.captures(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/utils/vcs.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 186 ~ match GCB_GIT_PATH_RE.captures(path) { Some(caps) => { [INFO] [stdout] 187 | return VcsUrl { [INFO] [stdout] ... [INFO] [stdout] 190 | }; [INFO] [stdout] 191 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/vcs.rs:292:32 [INFO] [stdout] | [INFO] [stdout] 292 | ... if let Ok(tag_commit) = tag.target() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils/vcs.rs:294:29 [INFO] [stdout] | [INFO] [stdout] 294 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 292 ~ match tag.target() { Ok(tag_commit) => { [INFO] [stdout] 293 | return Ok(Some(log_match!(tag_commit.id().to_string()))); [INFO] [stdout] 294 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/vcs.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 318 | if let Some(submodule_url) = submodule.url() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^---------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/vcs.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 318 ~ match submodule.url() { Some(submodule_url) => { [INFO] [stdout] 319 | debug!(" found submodule with URL {}", submodule_url); [INFO] [stdout] ... [INFO] [stdout] 345 | } [INFO] [stdout] 346 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/vcs.rs:329:24 [INFO] [stdout] | [INFO] [stdout] 329 | if let Some(head_oid) = submodule.head_id() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils/vcs.rs:331:21 [INFO] [stdout] | [INFO] [stdout] 331 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 329 ~ match submodule.head_id() { Some(head_oid) => { [INFO] [stdout] 330 | return Ok(Some(log_match!(head_oid.to_string()))); [INFO] [stdout] 331 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/vcs.rs:336:20 [INFO] [stdout] | [INFO] [stdout] 336 | if let Ok(subrepo) = submodule.open() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/vcs.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 336 ~ match submodule.open() { Ok(subrepo) => { [INFO] [stdout] 337 | let head = subrepo.revparse_single(r)?; [INFO] [stdout] 338 | return Ok(Some(log_match!(head.id().to_string()))); [INFO] [stdout] 339 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/vcs.rs:368:18 [INFO] [stdout] | [INFO] [stdout] 368 | let rev = if let Some(rev) = find_matching_rev( [INFO] [stdout] | __________________^ - [INFO] [stdout] | |__________________________________| [INFO] [stdout] 369 | || spec.reference(), [INFO] [stdout] 370 | || spec, [INFO] [stdout] 371 | || repos, [INFO] [stdout] 372 | || disable_discovery, [INFO] [stdout] 373 | || remote_name.clone(), [INFO] [stdout] 374 | || )? { [INFO] [stdout] | ||______^ 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/utils/vcs.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | } 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] 368 ~ let rev = match find_matching_rev( [INFO] [stdout] 369 | spec.reference(), [INFO] [stdout] ... [INFO] [stdout] 373 | remote_name.clone(), [INFO] [stdout] 374 ~ )? { Some(rev) => { [INFO] [stdout] 375 | rev [INFO] [stdout] 376 ~ } _ => { [INFO] [stdout] 377 | return Err(error(spec.reference(), &spec.repo)); [INFO] [stdout] 378 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/vcs.rs:381:12 [INFO] [stdout] | [INFO] [stdout] 381 | if let Some(rv) = find_matching_rev(rev, spec, repos, disable_discovery, remote_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/utils/vcs.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 383 | } 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] 381 ~ match find_matching_rev(rev, spec, repos, disable_discovery, remote_name)? { Some(rv) => { [INFO] [stdout] 382 | Some(rv) [INFO] [stdout] 383 ~ } _ => { [INFO] [stdout] 384 | return Err(error(rev, &spec.repo)); [INFO] [stdout] 385 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/vcs.rs:430:16 [INFO] [stdout] | [INFO] [stdout] 430 | if let Some(rev) = [INFO] [stdout] | ________________^ [INFO] [stdout] 431 | | find_matching_rev(spec.reference(), &spec, repos, false, remote_name.clone())? [INFO] [stdout] | |_________________-----------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils/vcs.rs:438:13 [INFO] [stdout] | [INFO] [stdout] 438 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 430 ~ match find_matching_rev(spec.reference(), &spec, repos, false, remote_name.clone())? [INFO] [stdout] 431 ~ { Some(rev) => { [INFO] [stdout] 432 | rv.push(Ref { [INFO] [stdout] ... [INFO] [stdout] 436 | }); [INFO] [stdout] 437 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/xcode.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | if let Some(filename) = entry.file_name().to_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/utils/xcode.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 98 ~ match entry.file_name().to_str() { Some(filename) => { [INFO] [stdout] 99 | if filename.ends_with(".xcodeproj") { [INFO] [stdout] 100 | projects.push(entry.path().to_path_buf()); [INFO] [stdout] 101 | } [INFO] [stdout] 102 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/xcode.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | } else if let Ok(default_plist) = InfoPlist::from_env_vars(&vars) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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/xcode.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | } 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] 205 ~ } else { match InfoPlist::from_env_vars(&vars) { Ok(default_plist) => { [INFO] [stdout] 206 | Ok(Some(default_plist)) [INFO] [stdout] 207 ~ } _ => { [INFO] [stdout] 208 | Ok(None) [INFO] [stdout] 209 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 63 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling sentry-cli v2.36.2 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/commands/mod.rs:88:36 [INFO] [stdout] | [INFO] [stdout] 88 | fn print_completions(gen: G, cmd: &mut Command) { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 88 | fn print_completions(r#gen: G, cmd: &mut Command) { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/commands/mod.rs:88:36 [INFO] [stdout] | [INFO] [stdout] 88 | fn print_completions(gen: G, cmd: &mut Command) { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 88 | fn print_completions(r#gen: G, cmd: &mut Command) { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/commands/mod.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | generate(gen, cmd, cmd.get_name().to_string(), &mut io::stdout()); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/commands/mod.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | generate(gen, cmd, cmd.get_name().to_string(), &mut io::stdout()); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generate` [INFO] [stdout] --> src/commands/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use clap_complete::{generate, Generator, Shell}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/commands/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/utils/dif.rs:184:31 [INFO] [stdout] | [INFO] [stdout] 181 | impl<'slf> symbolic::common::AsSelf<'slf> for SelfProguard<'_> { [INFO] [stdout] | ---- lifetime `'slf` declared here [INFO] [stdout] ... [INFO] [stdout] 184 | fn as_self(&'slf self) -> &Self::Ref { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'slf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/utils/dif_upload.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 86 | impl<'slf, 'data: 'slf> AsSelf<'slf> for ParsedDif<'data> { [INFO] [stdout] | ---- lifetime `'slf` declared here [INFO] [stdout] ... [INFO] [stdout] 89 | fn as_self(&'slf self) -> &Self::Ref { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'slf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generate` [INFO] [stdout] --> src/commands/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use clap_complete::{generate, Generator, Shell}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/commands/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/utils/dif.rs:184:31 [INFO] [stdout] | [INFO] [stdout] 181 | impl<'slf> symbolic::common::AsSelf<'slf> for SelfProguard<'_> { [INFO] [stdout] | ---- lifetime `'slf` declared here [INFO] [stdout] ... [INFO] [stdout] 184 | fn as_self(&'slf self) -> &Self::Ref { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'slf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/utils/dif_upload.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 86 | impl<'slf, 'data: 'slf> AsSelf<'slf> for ParsedDif<'data> { [INFO] [stdout] | ---- lifetime `'slf` declared here [INFO] [stdout] ... [INFO] [stdout] 89 | fn as_self(&'slf self) -> &Self::Ref { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'slf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/commands/update.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | env::set_var("SENTRY_DISABLE_UPDATE_CHECK", "true"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/commands/update.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | env::set_var("SENTRY_DISABLE_UPDATE_CHECK", "true"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sentry-cli` (bin "sentry-cli") due to 4 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sentry-cli` (bin "sentry-cli" test) due to 4 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" "3bd4f23ef247d4d19759d9af5dfad92565e902659b0285c822227242b340df25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bd4f23ef247d4d19759d9af5dfad92565e902659b0285c822227242b340df25", kill_on_drop: false }` [INFO] [stdout] 3bd4f23ef247d4d19759d9af5dfad92565e902659b0285c822227242b340df25