[INFO] fetching crate anda 0.3.3... [INFO] checking anda-0.3.3 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate anda 0.3.3 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate anda 0.3.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] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate anda 0.3.3 [INFO] finished tweaking crates.io crate anda 0.3.3 [INFO] tweaked toml for crates.io crate anda 0.3.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate anda 0.3.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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5db2aef4c39d2bddf94c360573ef768f42240e040e8c57cb5bcbbeddf83b769f [INFO] running `Command { std: "docker" "start" "-a" "5db2aef4c39d2bddf94c360573ef768f42240e040e8c57cb5bcbbeddf83b769f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5db2aef4c39d2bddf94c360573ef768f42240e040e8c57cb5bcbbeddf83b769f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5db2aef4c39d2bddf94c360573ef768f42240e040e8c57cb5bcbbeddf83b769f", kill_on_drop: false }` [INFO] [stdout] 5db2aef4c39d2bddf94c360573ef768f42240e040e8c57cb5bcbbeddf83b769f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9efbfdf5f3369b3576e7f48286754baece982a527c1a1e257039798700cd179 [INFO] running `Command { std: "docker" "start" "-a" "d9efbfdf5f3369b3576e7f48286754baece982a527c1a1e257039798700cd179", 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 unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.121 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling thin-vec v0.2.13 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Checking clap_builder v4.5.11 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking nix v0.23.2 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling libz-sys v1.1.18 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Checking fd-lock v3.0.13 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking lazy_format v2.0.3 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling rhai_codegen v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling clap_derive v4.5.11 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Compiling rhai v1.19.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking rustls-webpki v0.102.6 [INFO] [stderr] Checking clap v4.5.11 [INFO] [stderr] Checking clap_complete v4.5.11 [INFO] [stderr] Checking clap-verbosity-flag v2.2.1 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking vecmap-rs v0.1.15 [INFO] [stderr] Checking hcl-primitives v0.1.5 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rustyline v9.1.2 [INFO] [stderr] Checking hcl-rs v0.15.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking ureq v2.10.0 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking promptly v0.3.1 [INFO] [stderr] Checking color-spantrace v0.2.1 [INFO] [stderr] Checking color-eyre v0.6.3 [INFO] [stderr] Checking flatpak v0.18.1 [INFO] [stderr] Checking git2 v0.19.0 [INFO] [stderr] Checking anda-config v0.3.3 [INFO] [stderr] Compiling rhai-fs v0.1.3 [INFO] [stderr] Compiling rhai-url v0.0.5 [INFO] [stderr] Checking andax v0.3.3 [INFO] [stderr] Checking anda v0.3.3 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `anda` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/builder.rs [INFO] [stderr] * src/util.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/builder.rs:125:6 [INFO] [stderr] | [INFO] [stderr] 125 | ($name:expr_2021, $scr:expr_2021, $( $var: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/builder.rs:125:23 [INFO] [stderr] | [INFO] [stderr] 125 | ($name:expr_2021, $scr:expr_2021, $( $var: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/util.rs:336:21 [INFO] [stderr] | [INFO] [stderr] 336 | (@ $cmd:ident [[$expr:expr_2021]]) => { $cmd.args($expr); }; [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.rs:338:25 [INFO] [stderr] | [INFO] [stderr] 338 | (# [$expr:literal $($arg:expr_2021),*]) => { format!($expr, $($arg),*) }; [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.rs:339:10 [INFO] [stderr] | [INFO] [stderr] 339 | (# {{$expr:expr_2021}}) => { format!("{}", $expr) }; [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.rs:340:8 [INFO] [stderr] | [INFO] [stderr] 340 | (# $expr:expr_2021) => { &$expr }; [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 6 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/builder.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | ($name:expr, $scr:expr, $( $var: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] 125 | ($name:expr_2021, $scr:expr, $( $var: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/builder.rs:125:23 [INFO] [stdout] | [INFO] [stdout] 125 | ($name:expr, $scr:expr, $( $var:ident ),*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 125 | ($name:expr, $scr:expr_2021, $( $var: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/util.rs:336:27 [INFO] [stdout] | [INFO] [stdout] 336 | (@ $cmd:ident [[$expr:expr]]) => { $cmd.args($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] 336 | (@ $cmd:ident [[$expr:expr_2021]]) => { $cmd.args($expr); }; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util.rs:338:30 [INFO] [stdout] | [INFO] [stdout] 338 | (# [$expr:literal $($arg:expr),*]) => { format!($expr, $($arg),*) }; [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] 338 | (# [$expr:literal $($arg:expr_2021),*]) => { format!($expr, $($arg),*) }; [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.rs:339:16 [INFO] [stdout] | [INFO] [stdout] 339 | (# {{$expr:expr}}) => { format!("{}", $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] 339 | (# {{$expr:expr_2021}}) => { format!("{}", $expr) }; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util.rs:340:14 [INFO] [stdout] | [INFO] [stdout] 340 | (# $expr:expr) => { &$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] 340 | (# $expr:expr_2021) => { &$expr }; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/builder.rs:265:38 [INFO] [stdout] | [INFO] [stdout] 265 | env.iter().for_each(|(k, v)| std::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] = 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] 265 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 266 ~ env.iter().for_each(|(k, v)| unsafe { std::env::set_var(k, v) }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/builder.rs:435:5 [INFO] [stdout] | [INFO] [stdout] 435 | std::env::set_var("ANDA_TARGET_DIR", &cli.target_dir); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 435 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 436 ~ unsafe { std::env::set_var("ANDA_TARGET_DIR", &cli.target_dir) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/builder.rs:436:5 [INFO] [stdout] | [INFO] [stdout] 436 | std::env::set_var("ANDA_CONFIG_PATH", &cli.config); [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] 436 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 437 ~ unsafe { std::env::set_var("ANDA_CONFIG_PATH", &cli.config) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | if let Err(e) = clean { [INFO] [stdout] | ^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 68 ~ match clean { Err(e) => { [INFO] [stdout] 69 | // match the errors [INFO] [stdout] ... [INFO] [stdout] 73 | } [INFO] [stdout] 74 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/builder.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | if let Some(_sc) = sc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 161 | / script!( [INFO] [stdout] 162 | | rpmbuild.spec.as_os_str().to_str().unwrap_or(""), [INFO] [stdout] 163 | | pre_script, [INFO] [stdout] 164 | | opts, [INFO] [stdout] 165 | | rpm_builder [INFO] [stdout] 166 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/builder.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 161 | / script!( [INFO] [stdout] 162 | | rpmbuild.spec.as_os_str().to_str().unwrap_or(""), [INFO] [stdout] 163 | | pre_script, [INFO] [stdout] 164 | | opts, [INFO] [stdout] 165 | | rpm_builder [INFO] [stdout] 166 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `script` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/builder.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | if let Some(_sc) = sc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 177 | / script!( [INFO] [stdout] 178 | | rpmbuild.spec.as_os_str().to_str().unwrap_or(""), [INFO] [stdout] 179 | | post_script, [INFO] [stdout] 180 | | opts, [INFO] [stdout] 181 | | rpm_builder [INFO] [stdout] 182 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/builder.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 177 | / script!( [INFO] [stdout] 178 | | rpmbuild.spec.as_os_str().to_str().unwrap_or(""), [INFO] [stdout] 179 | | post_script, [INFO] [stdout] 180 | | opts, [INFO] [stdout] 181 | | rpm_builder [INFO] [stdout] 182 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `script` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/builder.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | if let Some(_sc) = sc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 202 | / script!( [INFO] [stdout] 203 | | flatpak.manifest.as_path().to_str().unwrap_or(""), [INFO] [stdout] 204 | | pre_script, [INFO] [stdout] 205 | | flatpak_opts [INFO] [stdout] 206 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/builder.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 202 | / script!( [INFO] [stdout] 203 | | flatpak.manifest.as_path().to_str().unwrap_or(""), [INFO] [stdout] 204 | | pre_script, [INFO] [stdout] 205 | | flatpak_opts [INFO] [stdout] 206 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `script` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/builder.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | if let Some(_sc) = sc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 216 | script!(flatpak.manifest.as_path().to_str().unwrap_or(""), post_script,); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/builder.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 216 | script!(flatpak.manifest.as_path().to_str().unwrap_or(""), post_script,); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `script` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/builder.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | if let Some(_sc) = sc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 270 | script!("pre_script", pre_script,); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/builder.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 270 | script!("pre_script", pre_script,); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `script` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/builder.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | if let Some(_sc) = sc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 325 | script!("post_script", post_script,); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/builder.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 325 | script!("post_script", post_script,); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `script` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/update.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | if let Err(e) = rpm.write() { [INFO] [stdout] | ^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/update.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 65 ~ match rpm.write() { Err(e) => { [INFO] [stdout] 66 | error!("{name}: Failed to write RPM: {e}"); [INFO] [stdout] 67 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/update.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | if let Ok(duration) = hdl.join() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/update.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 86 ~ match hdl.join() { Ok(duration) => { [INFO] [stdout] 87 | Some((name, duration)) [INFO] [stdout] 88 ~ } _ => { [INFO] [stdout] 89 | error!("Thread `{name}` panicked. This is most likely a bug."); [INFO] [stdout] 90 | panicked.push(name); [INFO] [stdout] 91 | None [INFO] [stdout] 92 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/update.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | if let Err(e) = hdl.join() { [INFO] [stdout] | ^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/update.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 146 ~ match hdl.join() { Err(e) => { [INFO] [stdout] 147 | error!("Panic @ `{name}` : {e:#?}"); [INFO] [stdout] 148 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | while let Some(line) = stdout_lines.next_line().await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | while let Some(line) = stderr_lines.next_line().await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `anda` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/builder.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | ($name:expr, $scr:expr, $( $var: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] 125 | ($name:expr_2021, $scr:expr, $( $var:ident ),*) => { [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/builder.rs:125:23 [INFO] [stdout] | [INFO] [stdout] 125 | ($name:expr, $scr:expr, $( $var:ident ),*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 125 | ($name:expr, $scr:expr_2021, $( $var:ident ),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util.rs:336:27 [INFO] [stdout] | [INFO] [stdout] 336 | (@ $cmd:ident [[$expr:expr]]) => { $cmd.args($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] 336 | (@ $cmd:ident [[$expr:expr_2021]]) => { $cmd.args($expr); }; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util.rs:338:30 [INFO] [stdout] | [INFO] [stdout] 338 | (# [$expr:literal $($arg:expr),*]) => { format!($expr, $($arg),*) }; [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] 338 | (# [$expr:literal $($arg:expr_2021),*]) => { format!($expr, $($arg),*) }; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/builder.rs [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util.rs:339:16 [INFO] [stdout] | [INFO] [stdout] 339 | (# {{$expr:expr}}) => { format!("{}", $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] 339 | (# {{$expr:expr_2021}}) => { format!("{}", $expr) }; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/util.rs [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util.rs:340:14 [INFO] [stdout] | [INFO] [stdout] 340 | (# $expr:expr) => { &$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] 340 | (# $expr:expr_2021) => { &$expr }; [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/builder.rs:265:38 [INFO] [stdout] | [INFO] [stdout] 265 | env.iter().for_each(|(k, v)| std::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] = 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] 265 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 266 ~ env.iter().for_each(|(k, v)| unsafe { std::env::set_var(k, v) }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/builder.rs:435:5 [INFO] [stdout] | [INFO] [stdout] 435 | std::env::set_var("ANDA_TARGET_DIR", &cli.target_dir); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 435 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 436 ~ unsafe { std::env::set_var("ANDA_TARGET_DIR", &cli.target_dir) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/builder.rs:436:5 [INFO] [stdout] | [INFO] [stdout] 436 | std::env::set_var("ANDA_CONFIG_PATH", &cli.config); [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] 436 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 437 ~ unsafe { std::env::set_var("ANDA_CONFIG_PATH", &cli.config) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/update.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | let mut test1 = filter_project(&lbls); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | if let Err(e) = clean { [INFO] [stdout] | ^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 68 ~ match clean { Err(e) => { [INFO] [stdout] 69 | // match the errors [INFO] [stdout] ... [INFO] [stdout] 73 | } [INFO] [stdout] 74 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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/builder.rs:125:6 [INFO] [stderr] | [INFO] [stderr] 125 | ($name:expr_2021, $scr:expr_2021, $( $var: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/builder.rs:125:23 [INFO] [stderr] | [INFO] [stderr] 125 | ($name:expr_2021, $scr:expr_2021, $( $var: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/util.rs:336:21 [INFO] [stderr] | [INFO] [stderr] 336 | (@ $cmd:ident [[$expr:expr_2021]]) => { $cmd.args($expr); }; [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.rs:338:25 [INFO] [stderr] | [INFO] [stderr] 338 | (# [$expr:literal $($arg:expr_2021),*]) => { format!($expr, $($arg),*) }; [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.rs:339:10 [INFO] [stderr] | [INFO] [stderr] 339 | (# {{$expr:expr_2021}}) => { format!("{}", $expr) }; [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.rs:340:8 [INFO] [stderr] | [INFO] [stderr] 340 | (# $expr:expr_2021) => { &$expr }; [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 6 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/builder.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | if let Some(_sc) = sc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 161 | / script!( [INFO] [stdout] 162 | | rpmbuild.spec.as_os_str().to_str().unwrap_or(""), [INFO] [stdout] 163 | | pre_script, [INFO] [stdout] 164 | | opts, [INFO] [stdout] 165 | | rpm_builder [INFO] [stdout] 166 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/builder.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 161 | / script!( [INFO] [stdout] 162 | | rpmbuild.spec.as_os_str().to_str().unwrap_or(""), [INFO] [stdout] 163 | | pre_script, [INFO] [stdout] 164 | | opts, [INFO] [stdout] 165 | | rpm_builder [INFO] [stdout] 166 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `script` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/builder.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | if let Some(_sc) = sc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 177 | / script!( [INFO] [stdout] 178 | | rpmbuild.spec.as_os_str().to_str().unwrap_or(""), [INFO] [stdout] 179 | | post_script, [INFO] [stdout] 180 | | opts, [INFO] [stdout] 181 | | rpm_builder [INFO] [stdout] 182 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/builder.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 177 | / script!( [INFO] [stdout] 178 | | rpmbuild.spec.as_os_str().to_str().unwrap_or(""), [INFO] [stdout] 179 | | post_script, [INFO] [stdout] 180 | | opts, [INFO] [stdout] 181 | | rpm_builder [INFO] [stdout] 182 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `script` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/builder.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | if let Some(_sc) = sc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 202 | / script!( [INFO] [stdout] 203 | | flatpak.manifest.as_path().to_str().unwrap_or(""), [INFO] [stdout] 204 | | pre_script, [INFO] [stdout] 205 | | flatpak_opts [INFO] [stdout] 206 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/builder.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 202 | / script!( [INFO] [stdout] 203 | | flatpak.manifest.as_path().to_str().unwrap_or(""), [INFO] [stdout] 204 | | pre_script, [INFO] [stdout] 205 | | flatpak_opts [INFO] [stdout] 206 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `script` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/builder.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | if let Some(_sc) = sc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 216 | script!(flatpak.manifest.as_path().to_str().unwrap_or(""), post_script,); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/builder.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 216 | script!(flatpak.manifest.as_path().to_str().unwrap_or(""), post_script,); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `script` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/builder.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | if let Some(_sc) = sc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 270 | script!("pre_script", pre_script,); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/builder.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 270 | script!("pre_script", pre_script,); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `script` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/builder.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | if let Some(_sc) = sc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 325 | script!("post_script", post_script,); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/builder.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 325 | script!("post_script", post_script,); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `script` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/update.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | if let Err(e) = rpm.write() { [INFO] [stdout] | ^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/update.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 65 ~ match rpm.write() { Err(e) => { [INFO] [stdout] 66 | error!("{name}: Failed to write RPM: {e}"); [INFO] [stdout] 67 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/update.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | if let Ok(duration) = hdl.join() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/update.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 86 ~ match hdl.join() { Ok(duration) => { [INFO] [stdout] 87 | Some((name, duration)) [INFO] [stdout] 88 ~ } _ => { [INFO] [stdout] 89 | error!("Thread `{name}` panicked. This is most likely a bug."); [INFO] [stdout] 90 | panicked.push(name); [INFO] [stdout] 91 | None [INFO] [stdout] 92 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/update.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | if let Err(e) = hdl.join() { [INFO] [stdout] | ^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/update.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 146 ~ match hdl.join() { Err(e) => { [INFO] [stdout] 147 | error!("Panic @ `{name}` : {e:#?}"); [INFO] [stdout] 148 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | while let Some(line) = stdout_lines.next_line().await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | while let Some(line) = stderr_lines.next_line().await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.07s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking anda v0.3.3 (/tmp/fixit) [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/builder.rs:265:38 [INFO] [stdout] | [INFO] [stdout] 265 | env.iter().for_each(|(k, v)| std::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/builder.rs:435:5 [INFO] [stdout] | [INFO] [stdout] 435 | std::env::set_var("ANDA_TARGET_DIR", &cli.target_dir); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/builder.rs:436:5 [INFO] [stdout] | [INFO] [stdout] 436 | std::env::set_var("ANDA_CONFIG_PATH", &cli.config); [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/builder.rs:265:38 [INFO] [stdout] | [INFO] [stdout] 265 | env.iter().for_each(|(k, v)| std::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/builder.rs:435:5 [INFO] [stdout] | [INFO] [stdout] 435 | std::env::set_var("ANDA_TARGET_DIR", &cli.target_dir); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/builder.rs:436:5 [INFO] [stdout] | [INFO] [stdout] 436 | std::env::set_var("ANDA_CONFIG_PATH", &cli.config); [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] warning: variable does not need to be mutable [INFO] [stdout] --> src/update.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | let mut test1 = filter_project(&lbls); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `anda` (bin "anda") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `anda` (bin "anda" test) due to 4 previous errors; 1 warning emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "d9efbfdf5f3369b3576e7f48286754baece982a527c1a1e257039798700cd179", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9efbfdf5f3369b3576e7f48286754baece982a527c1a1e257039798700cd179", kill_on_drop: false }` [INFO] [stdout] d9efbfdf5f3369b3576e7f48286754baece982a527c1a1e257039798700cd179