[INFO] fetching crate hipcheck 3.6.3... [INFO] checking hipcheck-3.6.3 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate hipcheck 3.6.3 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate hipcheck 3.6.3 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hipcheck 3.6.3 [INFO] finished tweaking crates.io crate hipcheck 3.6.3 [INFO] tweaked toml for crates.io crate hipcheck 3.6.3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate hipcheck 3.6.3 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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c9a2cb9e31f801f9a8ecec598fb02d360dc6aa27029146790335cff31e36a68 [INFO] running `Command { std: "docker" "start" "-a" "1c9a2cb9e31f801f9a8ecec598fb02d360dc6aa27029146790335cff31e36a68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c9a2cb9e31f801f9a8ecec598fb02d360dc6aa27029146790335cff31e36a68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c9a2cb9e31f801f9a8ecec598fb02d360dc6aa27029146790335cff31e36a68", kill_on_drop: false }` [INFO] [stdout] 1c9a2cb9e31f801f9a8ecec598fb02d360dc6aa27029146790335cff31e36a68 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ef2045262f7e8368d77f7047f43542bac046381ec7f242812d97865cf64239c [INFO] running `Command { std: "docker" "start" "-a" "7ef2045262f7e8368d77f7047f43542bac046381ec7f242812d97865cf64239c", 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 pkg-config v0.3.30 [INFO] [stderr] Compiling serde v1.0.206 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling anyhow v1.0.87 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking indexmap v2.4.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling zstd-safe v7.2.0 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling openssl-src v300.3.1+3.3.1 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Checking crc v3.2.1 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling libz-sys v1.1.18 [INFO] [stderr] Compiling zstd-sys v2.0.12+zstd.1.5.6 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking lockfree-object-pool v0.1.6 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Compiling portable-atomic v1.7.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling zip v2.2.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking lzma-rs v0.3.0 [INFO] [stderr] Checking zopfli v0.8.1 [INFO] [stderr] Compiling logos-codegen v0.14.1 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Compiling which v6.0.3 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking env_filter v0.1.1 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Compiling blake3 v1.5.4 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking deflate64 v0.1.9 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Compiling pathbuf v1.0.0 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking papergrid v0.12.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking fluent-uri v0.1.4 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling salsa-macros v0.16.0 [INFO] [stderr] Compiling tabled_derive v0.8.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking xattr v1.3.1 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Checking spdx v0.10.6 [INFO] [stderr] Checking shared_child v1.0.0 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking os_pipe v1.2.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Compiling serde_derive v1.0.206 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling prost-derive v0.13.2 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling cyclonedx-bom-macros v0.1.0 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking purl v0.1.3 [INFO] [stderr] Compiling graphql-parser v0.4.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling logos-derive v0.14.1 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking xml-rs v0.8.22 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking miette v5.10.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking arrayref v0.3.8 [INFO] [stderr] Checking rustls-webpki v0.102.6 [INFO] [stderr] Compiling prost v0.13.2 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking kdl v4.6.0 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Checking logos v0.14.1 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Compiling prost-types v0.13.1 [INFO] [stderr] Checking sha256 v1.5.0 [INFO] [stderr] Checking packageurl v0.4.0 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking tabled v0.16.0 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling indextree-macros v0.1.1 [INFO] [stderr] Compiling hipcheck-macros v0.3.2 [INFO] [stderr] Compiling test-log-macros v0.2.16 [INFO] [stderr] Checking duct v0.13.7 [INFO] [stderr] Checking tar v0.4.41 [INFO] [stderr] Checking rustls-native-certs v0.8.0 [INFO] [stderr] Checking xz2 v0.1.7 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking indextree v4.7.2 [INFO] [stderr] Checking term_size v0.3.2 [INFO] [stderr] Checking content_inspector v0.2.4 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking finl_unicode v1.2.0 [INFO] [stderr] Checking fs_extra v1.3.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling prost-build v0.13.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking test-log v0.2.16 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Compiling tonic-build v0.12.2 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Compiling hipcheck v3.6.3 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking spdx-expression v0.5.2 [INFO] [stderr] Checking ordered-float v4.2.2 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking salsa v0.16.1 [INFO] [stderr] Compiling graphql-introspection-query v0.2.0 [INFO] [stderr] Checking zip-extensions v0.8.1 [INFO] [stderr] Checking ureq v2.10.1 [INFO] [stderr] Checking cyclonedx-bom v0.7.0 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking spdx-rs v0.5.5 [INFO] [stderr] Compiling graphql_client_codegen v0.14.0 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking hyper-timeout v0.5.1 [INFO] [stderr] Compiling graphql_query_derive v0.14.0 [INFO] [stderr] Checking tonic v0.12.2 [INFO] [stderr] Checking graphql_client v0.14.0 [INFO] [stderr] Checking git2 v0.19.0 [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `hc` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/analysis/score.rs [INFO] [stderr] * src/data/hash.rs [INFO] [stderr] * src/error/mod.rs [INFO] [stderr] * src/policy_exprs/bridge.rs [INFO] [stderr] * src/util/kdl.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/analysis/score.rs:431:39 [INFO] [stderr] | [INFO] [stderr] 431 | ($res:ident, $p:ident, $phase:ident, $a:expr_2021, $spec:ident) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/data/hash.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | ( $( $part: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/data/hash.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | ($( $part:expr_2021, )*) => ($crate::hash![$($part),*]) [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/error/mod.rs:239:6 [INFO] [stderr] | [INFO] [stderr] 239 | ($fmt:expr_2021, $($arg:tt)*) => { [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/policy_exprs/bridge.rs:249:31 [INFO] [stderr] | [INFO] [stderr] 249 | error: $error_ty:ty = $error: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/policy_exprs/bridge.rs:259:73 [INFO] [stderr] | [INFO] [stderr] 259 | error<$lt:lifetime>($input:ident, $token:ident): $error_ty:ty = $error: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/policy_exprs/bridge.rs:303:61 [INFO] [stderr] | [INFO] [stderr] 303 | pattern = $type:ident :: $variant:ident $data:tt => $res: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/policy_exprs/bridge.rs:319:61 [INFO] [stderr] | [INFO] [stderr] 319 | pattern = $type:ident :: $variant:ident $data:tt => $res: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/policy_exprs/bridge.rs:320:17 [INFO] [stderr] | [INFO] [stderr] 320 | error = $error: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/policy_exprs/bridge.rs:333:61 [INFO] [stderr] | [INFO] [stderr] 333 | pattern = $type:ident :: $variant:ident $data:tt => $res: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/policy_exprs/bridge.rs:334:17 [INFO] [stderr] | [INFO] [stderr] 334 | error = $error: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/util/kdl.rs:49:13 [INFO] [stderr] | [INFO] [stderr] 49 | ($type:ty, $identifier:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 12 previous errors [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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/analysis/score.rs:431:42 [INFO] [stdout] | [INFO] [stdout] 431 | ($res:ident, $p:ident, $phase:ident, $a:expr, $spec:ident) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 431 | ($res:ident, $p:ident, $phase:ident, $a:expr_2021, $spec:ident) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/data/hash.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | ( $( $part: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] 8 | ( $( $part: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/data/hash.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | ($( $part:expr, )*) => ($crate::hash![$($part),*]) [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] 20 | ($( $part:expr_2021, )*) => ($crate::hash![$($part),*]) [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error/mod.rs:239:11 [INFO] [stdout] | [INFO] [stdout] 239 | ($fmt:expr, $($arg:tt)*) => { [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] 239 | ($fmt:expr_2021, $($arg:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/policy_exprs/bridge.rs:249:38 [INFO] [stdout] | [INFO] [stdout] 249 | error: $error_ty:ty = $error: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] 249 | error: $error_ty:ty = $error: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/policy_exprs/bridge.rs:259:80 [INFO] [stdout] | [INFO] [stdout] 259 | error<$lt:lifetime>($input:ident, $token:ident): $error_ty:ty = $error: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] 259 | error<$lt:lifetime>($input:ident, $token:ident): $error_ty:ty = $error: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/policy_exprs/bridge.rs:303:66 [INFO] [stdout] | [INFO] [stdout] 303 | pattern = $type:ident :: $variant:ident $data:tt => $res: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] 303 | pattern = $type:ident :: $variant:ident $data:tt => $res: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/policy_exprs/bridge.rs:319:66 [INFO] [stdout] | [INFO] [stdout] 319 | pattern = $type:ident :: $variant:ident $data:tt => $res: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] 319 | pattern = $type:ident :: $variant:ident $data:tt => $res: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/policy_exprs/bridge.rs:320:24 [INFO] [stdout] | [INFO] [stdout] 320 | error = $error: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] 320 | error = $error: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/policy_exprs/bridge.rs:333:66 [INFO] [stdout] | [INFO] [stdout] 333 | pattern = $type:ident :: $variant:ident $data:tt => $res: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] 333 | pattern = $type:ident :: $variant:ident $data:tt => $res: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/policy_exprs/bridge.rs:334:24 [INFO] [stdout] | [INFO] [stdout] 334 | error = $error: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] 334 | error = $error: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/util/kdl.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | ($type:ty, $identifier: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] 49 | ($type:ty, $identifier:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:591:10 [INFO] [stdout] | [INFO] [stdout] 591 | while let Some(res) = futs.join_next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:593:4 [INFO] [stdout] | [INFO] [stdout] 593 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:745:5 [INFO] [stdout] | [INFO] [stdout] 745 | if let Err(e) = res { [INFO] [stdout] | ^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:748:2 [INFO] [stdout] | [INFO] [stdout] 748 | } 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] 745 ~ match res { Err(e) => { [INFO] [stdout] 746 | println!("{e}"); [INFO] [stdout] 747 | ExitCode::FAILURE [INFO] [stdout] 748 ~ } _ => { [INFO] [stdout] 749 | ExitCode::SUCCESS [INFO] [stdout] 750 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/analysis/score.rs:497:8 [INFO] [stdout] | [INFO] [stdout] 497 | if let Ok(output) = &response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/analysis/score.rs:501:5 [INFO] [stdout] | [INFO] [stdout] 501 | } 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] 497 ~ match &response { Ok(output) => { [INFO] [stdout] 498 | Executor::std() [INFO] [stdout] 499 | .run(analysis.1.as_str(), &output.value) [INFO] [stdout] 500 | .map_err(|e| hc_error!("{}", e))? [INFO] [stdout] 501 ~ } _ => { [INFO] [stdout] 502 | false [INFO] [stdout] 503 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cache/repo_cache.rs:202:7 [INFO] [stdout] | [INFO] [stdout] 202 | if let Some(Ok(e)) = self.wd.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cache/repo_cache.rs:210:4 [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] 202 ~ match self.wd.next() { Some(Ok(e)) => { [INFO] [stdout] 203 | if e.file_name().to_str().map(|s| s == ".git").unwrap_or(false) { [INFO] [stdout] ... [INFO] [stdout] 209 | } [INFO] [stdout] 210 ~ } _ => { [INFO] [stdout] 211 | return None; [INFO] [stdout] 212 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cache/repo_cache.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | if let Ok(ce) = self.path_to_cache_entry(path.as_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/cache/repo_cache.rs:208:6 [INFO] [stdout] | [INFO] [stdout] 208 | } [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 self.path_to_cache_entry(path.as_path()) { Ok(ce) => { [INFO] [stdout] 207 | return Some(ce); [INFO] [stdout] 208 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cache/repo_cache.rs:308:8 [INFO] [stdout] | [INFO] [stdout] 308 | if let Err(e) = self.internal_delete(&entry) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cache/repo_cache.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 308 ~ match self.internal_delete(&entry) { Err(e) => { [INFO] [stdout] 309 | println!("Failed to delete entry '{}': {e}", entry.name); [INFO] [stdout] 310 | self.entries.push(entry) [INFO] [stdout] 311 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cache/repo_cache.rs:383:6 [INFO] [stdout] | [INFO] [stdout] 383 | if let Err(e) = fs::write(file_path, data) { [INFO] [stdout] | ^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cache/repo_cache.rs:385:3 [INFO] [stdout] | [INFO] [stdout] 385 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 383 ~ match fs::write(file_path, data) { Err(e) => { [INFO] [stdout] 384 | log::debug!("Failed to write Hipcheck cache info: {e}"); [INFO] [stdout] 385 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/data/github/graphql.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | while let new_cursor @ Some(_) = get_reviews(agent, vars.with_cursor(cursor), &mut data)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/data/github/graphql.rs:42:2 [INFO] [stdout] | [INFO] [stdout] 42 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/data/github/graphql_pr.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | while let new_cursor @ Some(_) = get_all_commits(agent, vars.with_cursor(cursor), &mut commits)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/data/github/graphql_pr.rs:50:2 [INFO] [stdout] | [INFO] [stdout] 50 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/metric/entropy.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | if let Some(mut count) = grapheme_table.get_mut(grapheme) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/metric/entropy.rs:195:6 [INFO] [stdout] | [INFO] [stdout] 195 | } 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] 193 ~ match grapheme_table.get_mut(grapheme) { Some(mut count) => { [INFO] [stdout] 194 | *count += 1; [INFO] [stdout] 195 ~ } _ => { [INFO] [stdout] 196 | grapheme_table.insert(grapheme.to_owned(), 1); [INFO] [stdout] 197 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/plugin/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | while let Some(res) = set.join_next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/plugin/mod.rs:36:2 [INFO] [stdout] | [INFO] [stdout] 36 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/plugin/manager.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | if let Ok(addr) = std::net::TcpListener::bind("127.0.0.1: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/plugin/manager.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 52 ~ match std::net::TcpListener::bind("127.0.0.1:0") { Ok(addr) => { [INFO] [stdout] 53 | if let Ok(local_addr) = addr.local_addr() { [INFO] [stdout] 54 | return Ok(local_addr.port()); [INFO] [stdout] 55 | } [INFO] [stdout] 56 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/plugin/manager.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | if let Ok(local_addr) = addr.local_addr() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/plugin/manager.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 53 ~ match addr.local_addr() { Ok(local_addr) => { [INFO] [stdout] 54 | return Ok(local_addr.port()); [INFO] [stdout] 55 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/plugin/manager.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | if let Ok(grpc) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 111 | | PluginServiceClient::connect(format!("http://127.0.0.1:{port_str}")).await [INFO] [stdout] | |_____________________-------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/plugin/manager.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | } 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] 110 ~ match PluginServiceClient::connect(format!("http://127.0.0.1:{port_str}")).await [INFO] [stdout] 111 ~ { Ok(grpc) => { [INFO] [stdout] 112 | opt_grpc = Some(grpc); [INFO] [stdout] 113 | break; [INFO] [stdout] 114 ~ } _ => { [INFO] [stdout] 115 | conn_attempts += 1; [INFO] [stdout] 116 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/plugin/plugin_manifest.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | if let Err(_e) = entrypoints.insert(arch, entrypoint) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/plugin/plugin_manifest.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 74 ~ match entrypoints.insert(arch, entrypoint) { Err(_e) => { [INFO] [stdout] 75 | log::error!("Duplicate entrypoint detected for [{}]", arch); [INFO] [stdout] 76 | return None; [INFO] [stdout] 77 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/plugin/types.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | while let Some(msg) = res.get_mut().message().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/plugin/types.rs:185:3 [INFO] [stdout] | [INFO] [stdout] 185 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/plugin/types.rs:310:6 [INFO] [stdout] | [INFO] [stdout] 310 | if let Err(e) = self.proc.kill() { [INFO] [stdout] | ^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/plugin/types.rs:312:3 [INFO] [stdout] | [INFO] [stdout] 312 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 310 ~ match self.proc.kill() { Err(e) => { [INFO] [stdout] 311 | println!("Failed to kill child: {e}"); [INFO] [stdout] 312 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/policy/policy_file.rs:375:6 [INFO] [stdout] | [INFO] [stdout] 375 | if let Ok(plugin) = PolicyPluginName::new(plugin_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/policy/policy_file.rs:377:3 [INFO] [stdout] | [INFO] [stdout] 377 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 375 ~ match PolicyPluginName::new(plugin_name) { Ok(plugin) => { [INFO] [stdout] 376 | self.0.push(plugin); [INFO] [stdout] 377 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/policy_exprs/env.rs:708:9 [INFO] [stdout] | [INFO] [stdout] 708 | if let Ok(Primitive(Bool(true))) = expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/policy_exprs/env.rs:710:6 [INFO] [stdout] | [INFO] [stdout] 710 | } 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] 708 ~ match expr { Ok(Primitive(Bool(true))) => { [INFO] [stdout] 709 | Some(Primitive::Int(*val)) [INFO] [stdout] 710 ~ } _ => { [INFO] [stdout] 711 | None [INFO] [stdout] 712 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/policy_exprs/env.rs:719:9 [INFO] [stdout] | [INFO] [stdout] 719 | if let Ok(Primitive(Bool(true))) = expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/policy_exprs/env.rs:721:6 [INFO] [stdout] | [INFO] [stdout] 721 | } 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] 719 ~ match expr { Ok(Primitive(Bool(true))) => { [INFO] [stdout] 720 | Some(Primitive::Float(*val)) [INFO] [stdout] 721 ~ } _ => { [INFO] [stdout] 722 | None [INFO] [stdout] 723 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/policy_exprs/env.rs:730:9 [INFO] [stdout] | [INFO] [stdout] 730 | if let Ok(Primitive(Bool(true))) = expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/policy_exprs/env.rs:732:6 [INFO] [stdout] | [INFO] [stdout] 732 | } 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] 730 ~ match expr { Ok(Primitive(Bool(true))) => { [INFO] [stdout] 731 | Some(Primitive::Bool(*val)) [INFO] [stdout] 732 ~ } _ => { [INFO] [stdout] 733 | None [INFO] [stdout] 734 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/session/spdx.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | } else if let Ok(spdx) = serde_json::from_str(&contents) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/session/spdx.rs:39:2 [INFO] [stdout] | [INFO] [stdout] 39 | } 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] 37 ~ } else { match serde_json::from_str(&contents) { Ok(spdx) => { [INFO] [stdout] 38 | extract_download_url_json(spdx) [INFO] [stdout] 39 ~ } _ => { [INFO] [stdout] 40 | Err(hc_error!("SPDX file is corrupt or incompatible")) [INFO] [stdout] 41 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/session/spdx.rs:48:6 [INFO] [stdout] | [INFO] [stdout] 48 | if let Ok(url) = parse_download_url(&package.package_download_location) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/session/spdx.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 48 ~ match parse_download_url(&package.package_download_location) { Ok(url) => { [INFO] [stdout] 49 | return Ok(url); [INFO] [stdout] 50 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/session/spdx.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | if let Ok(url) = parse_download_url(locn) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/session/spdx.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 64 ~ match parse_download_url(locn) { Ok(url) => { [INFO] [stdout] 65 | return Ok(url); [INFO] [stdout] 66 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/setup.rs:117:6 [INFO] [stdout] | [INFO] [stdout] 117 | if let Ok(source) = SourceType::try_from(entry.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/setup.rs:119:3 [INFO] [stdout] | [INFO] [stdout] 119 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 117 ~ match SourceType::try_from(entry.path()) { Ok(source) => { [INFO] [stdout] 118 | return Some(source); [INFO] [stdout] 119 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/setup.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | if let Ok(source) = SourceType::try_from(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/setup.rs:128:2 [INFO] [stdout] | [INFO] [stdout] 128 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 126 ~ match SourceType::try_from(path) { Ok(source) => { [INFO] [stdout] 127 | Some(source) [INFO] [stdout] 128 ~ } _ => if path.is_dir() { [INFO] [stdout] 129 | search_dir_for_source(path) [INFO] [stdout] 130 | } else { [INFO] [stdout] 131 | None [INFO] [stdout] 132 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util/fs.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | if let Ok(found) = find_file_by_name(&path, file_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/util/fs.rs:87:6 [INFO] [stdout] | [INFO] [stdout] 87 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 85 ~ match find_file_by_name(&path, file_name) { Ok(found) => { [INFO] [stdout] 86 | return Ok(found); [INFO] [stdout] 87 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util/iter.rs:55:6 [INFO] [stdout] | [INFO] [stdout] 55 | if let Some(t) = self.iterator.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util/iter.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 61 | } 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] 55 ~ match self.iterator.next() { Some(t) => { [INFO] [stdout] 56 | match (self.predicate)(&t) { [INFO] [stdout] ... [INFO] [stdout] 60 | } [INFO] [stdout] 61 ~ } _ => { [INFO] [stdout] 62 | None [INFO] [stdout] 63 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util/kdl.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | if let Some(val) = T::parse_node(node) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util/kdl.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 25 ~ match T::parse_node(node) { Some(val) => { [INFO] [stdout] 26 | return Some(val); [INFO] [stdout] 27 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `hc` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/analysis/score.rs [INFO] [stderr] * src/data/hash.rs [INFO] [stderr] * src/error/mod.rs [INFO] [stderr] * src/policy_exprs/bridge.rs [INFO] [stderr] * src/util/kdl.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/analysis/score.rs:431:39 [INFO] [stderr] | [INFO] [stderr] 431 | ($res:ident, $p:ident, $phase:ident, $a:expr_2021, $spec:ident) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/data/hash.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | ( $( $part: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/data/hash.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | ($( $part:expr_2021, )*) => ($crate::hash![$($part),*]) [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/error/mod.rs:239:6 [INFO] [stderr] | [INFO] [stderr] 239 | ($fmt:expr_2021, $($arg:tt)*) => { [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/policy_exprs/bridge.rs:249:31 [INFO] [stderr] | [INFO] [stderr] 249 | error: $error_ty:ty = $error:expr_2021 $(,)? [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/analysis/score.rs:431:42 [INFO] [stdout] | [INFO] [stdout] 431 | ($res:ident, $p:ident, $phase:ident, $a:expr, $spec:ident) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 431 | ($res:ident, $p:ident, $phase:ident, $a:expr_2021, $spec:ident) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/policy_exprs/bridge.rs:259:73 [INFO] [stderr] | [INFO] [stderr] 259 | error<$lt:lifetime>($input:ident, $token:ident): $error_ty:ty = $error: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/policy_exprs/bridge.rs:303:61 [INFO] [stderr] | [INFO] [stderr] 303 | pattern = $type:ident :: $variant:ident $data:tt => $res: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/policy_exprs/bridge.rs:319:61 [INFO] [stderr] | [INFO] [stderr] 319 | pattern = $type:ident :: $variant:ident $data:tt => $res: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/policy_exprs/bridge.rs:320:17 [INFO] [stderr] | [INFO] [stderr] 320 | error = $error: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/policy_exprs/bridge.rs:333:61 [INFO] [stderr] | [INFO] [stderr] 333 | pattern = $type:ident :: $variant:ident $data:tt => $res: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/policy_exprs/bridge.rs:334:17 [INFO] [stderr] | [INFO] [stderr] 334 | error = $error:expr_2021; [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/data/hash.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | ( $( $part: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] 8 | ( $( $part:expr_2021 ),* ) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/data/hash.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | ($( $part:expr, )*) => ($crate::hash![$($part),*]) [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] 20 | ($( $part:expr_2021, )*) => ($crate::hash![$($part),*]) [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error/mod.rs:239:11 [INFO] [stdout] | [INFO] [stdout] 239 | ($fmt:expr, $($arg:tt)*) => { [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] 239 | ($fmt:expr_2021, $($arg:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/policy_exprs/bridge.rs:249:38 [INFO] [stdout] | [INFO] [stdout] 249 | error: $error_ty:ty = $error: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] 249 | error: $error_ty:ty = $error:expr_2021 $(,)? [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/policy_exprs/bridge.rs:259:80 [INFO] [stdout] | [INFO] [stdout] 259 | error<$lt:lifetime>($input:ident, $token:ident): $error_ty:ty = $error: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] 259 | error<$lt:lifetime>($input:ident, $token:ident): $error_ty:ty = $error:expr_2021 $(,)? [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/policy_exprs/bridge.rs:303:66 [INFO] [stdout] | [INFO] [stdout] 303 | pattern = $type:ident :: $variant:ident $data:tt => $res: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] 303 | pattern = $type:ident :: $variant:ident $data:tt => $res:expr_2021; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/policy_exprs/bridge.rs:319:66 [INFO] [stdout] | [INFO] [stdout] 319 | pattern = $type:ident :: $variant:ident $data:tt => $res: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] 319 | pattern = $type:ident :: $variant:ident $data:tt => $res:expr_2021; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/policy_exprs/bridge.rs:320:24 [INFO] [stdout] | [INFO] [stdout] 320 | error = $error: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] 320 | error = $error:expr_2021; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/util/kdl.rs:49:13 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/policy_exprs/bridge.rs:333:66 [INFO] [stdout] | [INFO] [stdout] 333 | pattern = $type:ident :: $variant:ident $data:tt => $res: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] 333 | pattern = $type:ident :: $variant:ident $data:tt => $res:expr_2021; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/policy_exprs/bridge.rs:334:24 [INFO] [stdout] | [INFO] [stdout] 334 | error = $error: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] 334 | error = $error:expr_2021; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 49 | ($type:ty, $identifier:expr_2021) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util/kdl.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | ($type:ty, $identifier: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] 49 | ($type:ty, $identifier:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/test.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | None => env::remove_var(k), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = 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] 30 ~ // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 31 ~ None => unsafe { env::remove_var(k) }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/test.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | Some(v) => env::set_var(k, v), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 31 ~ // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 32 ~ Some(v) => unsafe { env::set_var(k, v) }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/test.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(v) => env::set_var(k, v), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 58 ~ // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 59 ~ Ok(v) => unsafe { env::set_var(k, v) }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/test.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | Err(NotUnicode(os_str)) => env::set_var(k, os_str), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 59 ~ // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 60 ~ Err(NotUnicode(os_str)) => unsafe { env::set_var(k, os_str) }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/test.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | Err(NotPresent) => env::remove_var(k), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 60 ~ // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 61 ~ Err(NotPresent) => unsafe { env::remove_var(k) }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:591:10 [INFO] [stdout] | [INFO] [stdout] 591 | while let Some(res) = futs.join_next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:593:4 [INFO] [stdout] | [INFO] [stdout] 593 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: aborting due to 12 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:745:5 [INFO] [stdout] | [INFO] [stdout] 745 | if let Err(e) = res { [INFO] [stdout] | ^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:748:2 [INFO] [stdout] | [INFO] [stdout] 748 | } 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] 745 ~ match res { Err(e) => { [INFO] [stdout] 746 | println!("{e}"); [INFO] [stdout] 747 | ExitCode::FAILURE [INFO] [stdout] 748 ~ } _ => { [INFO] [stdout] 749 | ExitCode::SUCCESS [INFO] [stdout] 750 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/analysis/score.rs:497:8 [INFO] [stdout] | [INFO] [stdout] 497 | if let Ok(output) = &response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/analysis/score.rs:501:5 [INFO] [stdout] | [INFO] [stdout] 501 | } 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] 497 ~ match &response { Ok(output) => { [INFO] [stdout] 498 | Executor::std() [INFO] [stdout] 499 | .run(analysis.1.as_str(), &output.value) [INFO] [stdout] 500 | .map_err(|e| hc_error!("{}", e))? [INFO] [stdout] 501 ~ } _ => { [INFO] [stdout] 502 | false [INFO] [stdout] 503 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cache/repo_cache.rs:202:7 [INFO] [stdout] | [INFO] [stdout] 202 | if let Some(Ok(e)) = self.wd.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cache/repo_cache.rs:210:4 [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] 202 ~ match self.wd.next() { Some(Ok(e)) => { [INFO] [stdout] 203 | if e.file_name().to_str().map(|s| s == ".git").unwrap_or(false) { [INFO] [stdout] ... [INFO] [stdout] 209 | } [INFO] [stdout] 210 ~ } _ => { [INFO] [stdout] 211 | return None; [INFO] [stdout] 212 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cache/repo_cache.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | if let Ok(ce) = self.path_to_cache_entry(path.as_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/cache/repo_cache.rs:208:6 [INFO] [stdout] | [INFO] [stdout] 208 | } [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 self.path_to_cache_entry(path.as_path()) { Ok(ce) => { [INFO] [stdout] 207 | return Some(ce); [INFO] [stdout] 208 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cache/repo_cache.rs:308:8 [INFO] [stdout] | [INFO] [stdout] 308 | if let Err(e) = self.internal_delete(&entry) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cache/repo_cache.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 308 ~ match self.internal_delete(&entry) { Err(e) => { [INFO] [stdout] 309 | println!("Failed to delete entry '{}': {e}", entry.name); [INFO] [stdout] 310 | self.entries.push(entry) [INFO] [stdout] 311 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cache/repo_cache.rs:383:6 [INFO] [stdout] | [INFO] [stdout] 383 | if let Err(e) = fs::write(file_path, data) { [INFO] [stdout] | ^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cache/repo_cache.rs:385:3 [INFO] [stdout] | [INFO] [stdout] 385 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 383 ~ match fs::write(file_path, data) { Err(e) => { [INFO] [stdout] 384 | log::debug!("Failed to write Hipcheck cache info: {e}"); [INFO] [stdout] 385 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cli.rs:1206:6 [INFO] [stdout] | [INFO] [stdout] 1206 | if let Ok(chk_cmd) = cmd { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cli.rs:1209:3 [INFO] [stdout] | [INFO] [stdout] 1209 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1206 ~ match cmd { Ok(chk_cmd) => { [INFO] [stdout] 1207 | let target = get_target_from_cmd(chk_cmd); [INFO] [stdout] 1208 | assert_eq!(target, url); [INFO] [stdout] 1209 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cli.rs:1221:6 [INFO] [stdout] | [INFO] [stdout] 1221 | if let Ok(chk_cmd) = cmd { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cli.rs:1224:3 [INFO] [stdout] | [INFO] [stdout] 1224 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1221 ~ match cmd { Ok(chk_cmd) => { [INFO] [stdout] 1222 | let target = get_target_from_cmd(chk_cmd); [INFO] [stdout] 1223 | assert_eq!(target, url); [INFO] [stdout] 1224 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cli.rs:1233:6 [INFO] [stdout] | [INFO] [stdout] 1233 | if let Ok(chk_cmd) = cmd { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cli.rs:1236:3 [INFO] [stdout] | [INFO] [stdout] 1236 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1233 ~ match cmd { Ok(chk_cmd) => { [INFO] [stdout] 1234 | let target = get_target_from_cmd(chk_cmd); [INFO] [stdout] 1235 | assert_eq!(target, package); [INFO] [stdout] 1236 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cli.rs:1244:6 [INFO] [stdout] | [INFO] [stdout] 1244 | if let Ok(chk_cmd) = cmd { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cli.rs:1247:3 [INFO] [stdout] | [INFO] [stdout] 1247 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1244 ~ match cmd { Ok(chk_cmd) => { [INFO] [stdout] 1245 | let target = get_target_from_cmd(chk_cmd); [INFO] [stdout] 1246 | assert_eq!(target, package); [INFO] [stdout] 1247 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cli.rs:1259:6 [INFO] [stdout] | [INFO] [stdout] 1259 | if let Ok(chk_cmd) = cmd { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cli.rs:1262:3 [INFO] [stdout] | [INFO] [stdout] 1262 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1259 ~ match cmd { Ok(chk_cmd) => { [INFO] [stdout] 1260 | let target = get_target_from_cmd(chk_cmd); [INFO] [stdout] 1261 | assert_eq!(target, url); [INFO] [stdout] 1262 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cli.rs:1274:6 [INFO] [stdout] | [INFO] [stdout] 1274 | if let Ok(chk_cmd) = cmd { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cli.rs:1277:3 [INFO] [stdout] | [INFO] [stdout] 1277 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1274 ~ match cmd { Ok(chk_cmd) => { [INFO] [stdout] 1275 | let target = get_target_from_cmd(chk_cmd); [INFO] [stdout] 1276 | assert_eq!(target, url); [INFO] [stdout] 1277 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cli.rs:1286:6 [INFO] [stdout] | [INFO] [stdout] 1286 | if let Ok(chk_cmd) = cmd { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cli.rs:1289:3 [INFO] [stdout] | [INFO] [stdout] 1289 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1286 ~ match cmd { Ok(chk_cmd) => { [INFO] [stdout] 1287 | let target = get_target_from_cmd(chk_cmd); [INFO] [stdout] 1288 | assert_eq!(target, path); [INFO] [stdout] 1289 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/data/github/graphql.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | while let new_cursor @ Some(_) = get_reviews(agent, vars.with_cursor(cursor), &mut data)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/data/github/graphql.rs:42:2 [INFO] [stdout] | [INFO] [stdout] 42 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/data/github/graphql_pr.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | while let new_cursor @ Some(_) = get_all_commits(agent, vars.with_cursor(cursor), &mut commits)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/data/github/graphql_pr.rs:50:2 [INFO] [stdout] | [INFO] [stdout] 50 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/metric/entropy.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | if let Some(mut count) = grapheme_table.get_mut(grapheme) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/metric/entropy.rs:195:6 [INFO] [stdout] | [INFO] [stdout] 195 | } 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] 193 ~ match grapheme_table.get_mut(grapheme) { Some(mut count) => { [INFO] [stdout] 194 | *count += 1; [INFO] [stdout] 195 ~ } _ => { [INFO] [stdout] 196 | grapheme_table.insert(grapheme.to_owned(), 1); [INFO] [stdout] 197 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/plugin/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | while let Some(res) = set.join_next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/plugin/mod.rs:36:2 [INFO] [stdout] | [INFO] [stdout] 36 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/plugin/manager.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | if let Ok(addr) = std::net::TcpListener::bind("127.0.0.1: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/plugin/manager.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 52 ~ match std::net::TcpListener::bind("127.0.0.1:0") { Ok(addr) => { [INFO] [stdout] 53 | if let Ok(local_addr) = addr.local_addr() { [INFO] [stdout] 54 | return Ok(local_addr.port()); [INFO] [stdout] 55 | } [INFO] [stdout] 56 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/plugin/manager.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | if let Ok(local_addr) = addr.local_addr() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/plugin/manager.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 53 ~ match addr.local_addr() { Ok(local_addr) => { [INFO] [stdout] 54 | return Ok(local_addr.port()); [INFO] [stdout] 55 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/plugin/manager.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | if let Ok(grpc) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 111 | | PluginServiceClient::connect(format!("http://127.0.0.1:{port_str}")).await [INFO] [stdout] | |_____________________-------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/plugin/manager.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | } 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] 110 ~ match PluginServiceClient::connect(format!("http://127.0.0.1:{port_str}")).await [INFO] [stdout] 111 ~ { Ok(grpc) => { [INFO] [stdout] 112 | opt_grpc = Some(grpc); [INFO] [stdout] 113 | break; [INFO] [stdout] 114 ~ } _ => { [INFO] [stdout] 115 | conn_attempts += 1; [INFO] [stdout] 116 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/plugin/plugin_manifest.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | if let Err(_e) = entrypoints.insert(arch, entrypoint) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/plugin/plugin_manifest.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 74 ~ match entrypoints.insert(arch, entrypoint) { Err(_e) => { [INFO] [stdout] 75 | log::error!("Duplicate entrypoint detected for [{}]", arch); [INFO] [stdout] 76 | return None; [INFO] [stdout] 77 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/plugin/types.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | while let Some(msg) = res.get_mut().message().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/plugin/types.rs:185:3 [INFO] [stdout] | [INFO] [stdout] 185 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/plugin/types.rs:310:6 [INFO] [stdout] | [INFO] [stdout] 310 | if let Err(e) = self.proc.kill() { [INFO] [stdout] | ^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/plugin/types.rs:312:3 [INFO] [stdout] | [INFO] [stdout] 312 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 310 ~ match self.proc.kill() { Err(e) => { [INFO] [stdout] 311 | println!("Failed to kill child: {e}"); [INFO] [stdout] 312 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/policy/policy_file.rs:375:6 [INFO] [stdout] | [INFO] [stdout] 375 | if let Ok(plugin) = PolicyPluginName::new(plugin_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/policy/policy_file.rs:377:3 [INFO] [stdout] | [INFO] [stdout] 377 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 375 ~ match PolicyPluginName::new(plugin_name) { Ok(plugin) => { [INFO] [stdout] 376 | self.0.push(plugin); [INFO] [stdout] 377 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/policy_exprs/env.rs:708:9 [INFO] [stdout] | [INFO] [stdout] 708 | if let Ok(Primitive(Bool(true))) = expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/policy_exprs/env.rs:710:6 [INFO] [stdout] | [INFO] [stdout] 710 | } 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] 708 ~ match expr { Ok(Primitive(Bool(true))) => { [INFO] [stdout] 709 | Some(Primitive::Int(*val)) [INFO] [stdout] 710 ~ } _ => { [INFO] [stdout] 711 | None [INFO] [stdout] 712 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/policy_exprs/env.rs:719:9 [INFO] [stdout] | [INFO] [stdout] 719 | if let Ok(Primitive(Bool(true))) = expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/policy_exprs/env.rs:721:6 [INFO] [stdout] | [INFO] [stdout] 721 | } 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] 719 ~ match expr { Ok(Primitive(Bool(true))) => { [INFO] [stdout] 720 | Some(Primitive::Float(*val)) [INFO] [stdout] 721 ~ } _ => { [INFO] [stdout] 722 | None [INFO] [stdout] 723 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/policy_exprs/env.rs:730:9 [INFO] [stdout] | [INFO] [stdout] 730 | if let Ok(Primitive(Bool(true))) = expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/policy_exprs/env.rs:732:6 [INFO] [stdout] | [INFO] [stdout] 732 | } 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] 730 ~ match expr { Ok(Primitive(Bool(true))) => { [INFO] [stdout] 731 | Some(Primitive::Bool(*val)) [INFO] [stdout] 732 ~ } _ => { [INFO] [stdout] 733 | None [INFO] [stdout] 734 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/session/spdx.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | } else if let Ok(spdx) = serde_json::from_str(&contents) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/session/spdx.rs:39:2 [INFO] [stdout] | [INFO] [stdout] 39 | } 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] 37 ~ } else { match serde_json::from_str(&contents) { Ok(spdx) => { [INFO] [stdout] 38 | extract_download_url_json(spdx) [INFO] [stdout] 39 ~ } _ => { [INFO] [stdout] 40 | Err(hc_error!("SPDX file is corrupt or incompatible")) [INFO] [stdout] 41 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/session/spdx.rs:48:6 [INFO] [stdout] | [INFO] [stdout] 48 | if let Ok(url) = parse_download_url(&package.package_download_location) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/session/spdx.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 48 ~ match parse_download_url(&package.package_download_location) { Ok(url) => { [INFO] [stdout] 49 | return Ok(url); [INFO] [stdout] 50 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/session/spdx.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | if let Ok(url) = parse_download_url(locn) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/session/spdx.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 64 ~ match parse_download_url(locn) { Ok(url) => { [INFO] [stdout] 65 | return Ok(url); [INFO] [stdout] 66 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/setup.rs:117:6 [INFO] [stdout] | [INFO] [stdout] 117 | if let Ok(source) = SourceType::try_from(entry.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/setup.rs:119:3 [INFO] [stdout] | [INFO] [stdout] 119 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 117 ~ match SourceType::try_from(entry.path()) { Ok(source) => { [INFO] [stdout] 118 | return Some(source); [INFO] [stdout] 119 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/setup.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | if let Ok(source) = SourceType::try_from(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/setup.rs:128:2 [INFO] [stdout] | [INFO] [stdout] 128 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 126 ~ match SourceType::try_from(path) { Ok(source) => { [INFO] [stdout] 127 | Some(source) [INFO] [stdout] 128 ~ } _ => if path.is_dir() { [INFO] [stdout] 129 | search_dir_for_source(path) [INFO] [stdout] 130 | } else { [INFO] [stdout] 131 | None [INFO] [stdout] 132 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util/fs.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | if let Ok(found) = find_file_by_name(&path, file_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/util/fs.rs:87:6 [INFO] [stdout] | [INFO] [stdout] 87 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 85 ~ match find_file_by_name(&path, file_name) { Ok(found) => { [INFO] [stdout] 86 | return Ok(found); [INFO] [stdout] 87 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util/iter.rs:55:6 [INFO] [stdout] | [INFO] [stdout] 55 | if let Some(t) = self.iterator.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util/iter.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 61 | } 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] 55 ~ match self.iterator.next() { Some(t) => { [INFO] [stdout] 56 | match (self.predicate)(&t) { [INFO] [stdout] ... [INFO] [stdout] 60 | } [INFO] [stdout] 61 ~ } _ => { [INFO] [stdout] 62 | None [INFO] [stdout] 63 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util/kdl.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | if let Some(val) = T::parse_node(node) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util/kdl.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 25 ~ match T::parse_node(node) { Some(val) => { [INFO] [stdout] 26 | return Some(val); [INFO] [stdout] 27 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling hipcheck v3.6.3 (/tmp/fixit) [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/test.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | None => env::remove_var(k), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/test.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | Some(v) => env::set_var(k, v), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/test.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(v) => env::set_var(k, v), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/test.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | Err(NotUnicode(os_str)) => env::set_var(k, os_str), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/test.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | Err(NotPresent) => env::remove_var(k), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hipcheck` (bin "hc" test) due to 6 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "7ef2045262f7e8368d77f7047f43542bac046381ec7f242812d97865cf64239c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ef2045262f7e8368d77f7047f43542bac046381ec7f242812d97865cf64239c", kill_on_drop: false }` [INFO] [stdout] 7ef2045262f7e8368d77f7047f43542bac046381ec7f242812d97865cf64239c