[INFO] cloning repository https://github.com/Shemnei/punktf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Shemnei/punktf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShemnei%2Fpunktf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShemnei%2Fpunktf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 21d62cf419afb427ef122711ab794b2200a25379 [INFO] checking Shemnei/punktf/21d62cf419afb427ef122711ab794b2200a25379 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShemnei%2Fpunktf" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Shemnei/punktf 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-2-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/Shemnei/punktf [INFO] finished tweaking git repo https://github.com/Shemnei/punktf [INFO] tweaked toml for git repo https://github.com/Shemnei/punktf written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Shemnei/punktf 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] abca14fedf9eb0a91bc326d518cb4b2dad69e1781774edce37f4a9c2275fe039 [INFO] running `Command { std: "docker" "start" "-a" "abca14fedf9eb0a91bc326d518cb4b2dad69e1781774edce37f4a9c2275fe039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abca14fedf9eb0a91bc326d518cb4b2dad69e1781774edce37f4a9c2275fe039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abca14fedf9eb0a91bc326d518cb4b2dad69e1781774edce37f4a9c2275fe039", kill_on_drop: false }` [INFO] [stdout] abca14fedf9eb0a91bc326d518cb4b2dad69e1781774edce37f4a9c2275fe039 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1afd0fe0376167db604fcdb53a366d9c06f8e02d21d853a47083bc62f3e032ea [INFO] running `Command { std: "docker" "start" "-a" "1afd0fe0376167db604fcdb53a366d9c06f8e02d21d853a47083bc62f3e032ea", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating crates/punktf-cli/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Migrating crates/punktf-lib/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Fixed crates/punktf-lib/Cargo.toml (2 fixes) [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Compiling cc v1.1.5 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling thiserror v1.0.62 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking roff v0.2.1 [INFO] [stderr] Checking clap_builder v4.5.9 [INFO] [stderr] Compiling punktf v3.1.1 (/tmp/fixit/crates/punktf-cli) [INFO] [stderr] Migrating crates/punktf-cli/build.rs from 2021 edition to 2024 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking similar v2.5.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking shellexpand v3.1.0 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.62 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking color-eyre v0.6.3 [INFO] [stderr] Checking clap v4.5.9 [INFO] [stderr] Checking clap_mangen v0.2.22 [INFO] [stderr] Checking clap_complete v4.5.8 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking punktf-lib v2.0.1 (/tmp/fixit/crates/punktf-lib) [INFO] [stderr] Migrating crates/punktf-lib/src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `punktf_lib` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * crates/punktf-lib/src/template/mod.rs [INFO] [stderr] * crates/punktf-lib/src/template/resolve.rs [INFO] [stderr] * crates/punktf-lib/src/visit/deploy/mod.rs [INFO] [stderr] * crates/punktf-lib/src/visit/diff/mod.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/punktf-lib/src/visit/deploy/mod.rs:61:3 [INFO] [stderr] | [INFO] [stderr] 61 | ($builder:expr_2021, $item: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:61:23 [INFO] [stderr] | [INFO] [stderr] 61 | ($builder:expr_2021, $item: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:70:3 [INFO] [stderr] | [INFO] [stderr] 70 | ($builder:expr_2021, $item:expr_2021, $reason:expr_2021 => $ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:70:23 [INFO] [stderr] | [INFO] [stderr] 70 | ($builder:expr_2021, $item:expr_2021, $reason:expr_2021 => $ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:70:40 [INFO] [stderr] | [INFO] [stderr] 70 | ($builder:expr_2021, $item:expr_2021, $reason:expr_2021 => $ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:70:61 [INFO] [stderr] | [INFO] [stderr] 70 | ($builder:expr_2021, $item:expr_2021, $reason:expr_2021 => $ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:74:3 [INFO] [stderr] | [INFO] [stderr] 74 | ($builder:expr_2021, $item:expr_2021, $reason: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:74:23 [INFO] [stderr] | [INFO] [stderr] 74 | ($builder:expr_2021, $item:expr_2021, $reason: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:74:40 [INFO] [stderr] | [INFO] [stderr] 74 | ($builder:expr_2021, $item:expr_2021, $reason: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:84:3 [INFO] [stderr] | [INFO] [stderr] 84 | ($builder:expr_2021, $item:expr_2021, $reason:expr_2021 => Err($ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:84:23 [INFO] [stderr] | [INFO] [stderr] 84 | ($builder:expr_2021, $item:expr_2021, $reason:expr_2021 => Err($ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:84:40 [INFO] [stderr] | [INFO] [stderr] 84 | ($builder:expr_2021, $item:expr_2021, $reason:expr_2021 => Err($ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:84:65 [INFO] [stderr] | [INFO] [stderr] 84 | ($builder:expr_2021, $item:expr_2021, $reason:expr_2021 => Err($ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:88:3 [INFO] [stderr] | [INFO] [stderr] 88 | ($builder:expr_2021, $item:expr_2021, $reason:expr_2021 => $ret: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] [stdout] warning: unexpected `cfg` condition value: `wasm` [INFO] [stdout] --> crates/punktf-lib/src/template/resolve.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | } else if #[cfg(target_os = "wasm")] { [INFO] [stdout] | ^^^^^^^^^ ------ help: there is a expected value with a similar name: `"wasi"` [INFO] [stdout] ... [INFO] [stdout] 380 | return Ok(family!().into()) [INFO] [stdout] | --------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, and `vxworks` and 5 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `family` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crates/punktf-lib/src/visit/deploy/mod.rs:88:23 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | ($builder:expr, $item:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 61 | ($builder:expr_2021, $item: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | ($builder:expr, $item: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] 61 | ($builder:expr, $item:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 88 | ($builder:expr_2021, $item:expr_2021, $reason:expr_2021 => $ret:expr_2021 ) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | ($builder:expr, $item:expr, $reason:expr => $ret: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] 70 | ($builder:expr_2021, $item:expr, $reason:expr => $ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | ($builder:expr, $item:expr, $reason:expr => $ret: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] 70 | ($builder:expr, $item:expr_2021, $reason:expr => $ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:70:38 [INFO] [stdout] | [INFO] [stdout] 70 | ($builder:expr, $item:expr, $reason:expr => $ret: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] 70 | ($builder:expr, $item:expr, $reason:expr_2021 => $ret:expr ) => { [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] --> crates/punktf-lib/src/visit/deploy/mod.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | ($builder:expr, $item:expr, $reason:expr => $ret: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] 70 | ($builder:expr, $item:expr, $reason:expr => $ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | ($builder:expr, $item:expr, $reason: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] 74 | ($builder:expr_2021, $item:expr, $reason:expr) => { [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] --> crates/punktf-lib/src/visit/deploy/mod.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | ($builder:expr, $item:expr, $reason: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] 74 | ($builder:expr, $item:expr_2021, $reason: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:74:38 [INFO] [stdout] | [INFO] [stdout] 74 | ($builder:expr, $item:expr, $reason: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] 74 | ($builder:expr, $item:expr, $reason: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | ($builder:expr, $item:expr, $reason:expr => Err($ret: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] 84 | ($builder:expr_2021, $item:expr, $reason:expr => Err($ret:expr) ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crates/punktf-lib/src/visit/deploy/mod.rs:88:40 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | ($builder:expr, $item:expr, $reason:expr => Err($ret: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] 84 | ($builder:expr, $item:expr_2021, $reason:expr => Err($ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:84:38 [INFO] [stdout] | [INFO] [stdout] 84 | ($builder:expr, $item:expr, $reason:expr => Err($ret: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] 84 | ($builder:expr, $item:expr, $reason:expr_2021 => Err($ret:expr) ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 88 | ($builder:expr_2021, $item:expr_2021, $reason:expr_2021 => $ret:expr_2021 ) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:84:55 [INFO] [stdout] | [INFO] [stdout] 84 | ($builder:expr, $item:expr, $reason:expr => Err($ret: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] 84 | ($builder:expr, $item:expr, $reason:expr => Err($ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | ($builder:expr, $item:expr, $reason:expr => $ret: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] 88 | ($builder:expr_2021, $item:expr, $reason:expr => $ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | ($builder:expr, $item:expr, $reason:expr => $ret: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] 88 | ($builder:expr, $item:expr_2021, $reason:expr => $ret:expr ) => { [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] --> crates/punktf-lib/src/visit/deploy/mod.rs:88:38 [INFO] [stdout] | [INFO] [stdout] 88 | ($builder:expr, $item:expr, $reason:expr => $ret: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] 88 | ($builder:expr, $item:expr, $reason:expr_2021 => $ret:expr ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:88:51 [INFO] [stdout] | [INFO] [stdout] 88 | ($builder:expr, $item:expr, $reason:expr => $ret: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] 88 | ($builder:expr, $item:expr, $reason:expr => $ret: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] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/punktf-lib/src/visit/deploy/mod.rs:88:61 [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | ($builder:expr, $item:expr, $reason: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] 92 | ($builder:expr_2021, $item:expr, $reason:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 88 | ($builder:expr_2021, $item:expr_2021, $reason:expr_2021 => $ret:expr_2021 ) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | ($builder:expr, $item:expr, $reason: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] 92 | ($builder:expr, $item:expr_2021, $reason:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:92:38 [INFO] [stdout] | [INFO] [stdout] 92 | ($builder:expr, $item:expr, $reason: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] 92 | ($builder:expr, $item:expr, $reason:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crates/punktf-lib/src/visit/deploy/mod.rs:92:3 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/punktf-lib/src/visit/diff/mod.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | ($path:expr, $display_path: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] 124 | ($path:expr_2021, $display_path: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] --> crates/punktf-lib/src/visit/diff/mod.rs:124:29 [INFO] [stdout] | [INFO] [stdout] 124 | ($path:expr, $display_path: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] 124 | ($path:expr, $display_path:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 92 | ($builder:expr_2021, $item:expr_2021, $reason: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:92:23 [INFO] [stderr] | [INFO] [stderr] 92 | ($builder:expr_2021, $item:expr_2021, $reason: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:92:40 [INFO] [stderr] | [INFO] [stderr] 92 | ($builder:expr_2021, $item:expr_2021, $reason: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] --> crates/punktf-lib/src/visit/diff/mod.rs:124:3 [INFO] [stderr] | [INFO] [stderr] 124 | ($path:expr_2021, $display_path: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] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> crates/punktf-lib/src/template/mod.rs:213:3 [INFO] [stdout] | [INFO] [stdout] 213 | std::env::set_var("OS", "macos"); [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] 213 ~ // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 214 ~ unsafe { std::env::set_var("OS", "macos") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> crates/punktf-lib/src/template/mod.rs:227:3 [INFO] [stdout] | [INFO] [stdout] 227 | std::env::set_var("OS", "macos"); [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] 227 ~ // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 228 ~ unsafe { std::env::set_var("OS", "macos") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crates/punktf-lib/src/visit/diff/mod.rs:124:20 [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> crates/punktf-lib/src/template/mod.rs:241:3 [INFO] [stdout] | [INFO] [stdout] 241 | std::env::set_var("OS", "macos"); [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] 241 ~ // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 242 ~ unsafe { std::env::set_var("OS", "macos") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 124 | ($path:expr_2021, $display_path:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `wasm` [INFO] [stderr] --> crates/punktf-lib/src/template/resolve.rs:84:20 [INFO] [stderr] | [INFO] [stderr] 84 | } else if #[cfg(target_os = "wasm")] { [INFO] [stderr] | ^^^^^^^^^ ------ help: there is a expected value with a similar name: `"wasi"` [INFO] [stderr] ... [INFO] [stderr] 380 | return Ok(family!().into()) [INFO] [stderr] | --------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, and `vxworks` and 5 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `family` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> crates/punktf-lib/src/template/mod.rs:214:3 [INFO] [stderr] | [INFO] [stderr] 214 | unsafe { std::env::set_var("OS", "macos") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> crates/punktf-lib/src/lib.rs:20:2 [INFO] [stderr] | [INFO] [stderr] 20 | unsafe_code, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> crates/punktf-lib/src/template/mod.rs:229:3 [INFO] [stderr] | [INFO] [stderr] 229 | unsafe { std::env::set_var("OS", "macos") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> crates/punktf-lib/src/template/mod.rs:255:3 [INFO] [stdout] | [INFO] [stdout] 255 | std::env::set_var("OS", "macos"); [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] 255 ~ // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 256 ~ unsafe { std::env::set_var("OS", "macos") }; [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] --> crates/punktf-lib/src/template/mod.rs:269:3 [INFO] [stdout] | [INFO] [stdout] 269 | std::env::set_var("OS", "macos"); [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] 269 ~ // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 270 ~ unsafe { std::env::set_var("OS", "macos") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> crates/punktf-lib/src/template/mod.rs:244:3 [INFO] [stderr] | [INFO] [stderr] 244 | unsafe { std::env::set_var("OS", "macos") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> crates/punktf-lib/src/template/mod.rs:259:3 [INFO] [stderr] | [INFO] [stderr] 259 | unsafe { std::env::set_var("OS", "macos") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> crates/punktf-lib/src/template/mod.rs:274:3 [INFO] [stderr] | [INFO] [stderr] 274 | unsafe { std::env::set_var("OS", "macos") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> crates/punktf-lib/src/template/mod.rs:289:3 [INFO] [stderr] | [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> crates/punktf-lib/src/template/mod.rs:283:3 [INFO] [stdout] | [INFO] [stdout] 283 | std::env::remove_var("OS"); [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] 283 ~ // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 284 ~ unsafe { std::env::remove_var("OS") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 289 | unsafe { std::env::remove_var("OS") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 28 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/punktf-lib/src/template/diagnostic.rs:490:8 [INFO] [stdout] | [INFO] [stdout] 490 | if let Some(line) = self.line_map.line(line_nr) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> crates/punktf-lib/src/template/diagnostic.rs:549:5 [INFO] [stdout] | [INFO] [stdout] 549 | } [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] 490 ~ match self.line_map.line(line_nr) { Some(line) => { [INFO] [stdout] 491 | let line_nr_str = line_nr.to_string(); [INFO] [stdout] ... [INFO] [stdout] 548 | last_line_nr = Some(line_nr); [INFO] [stdout] 549 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:201:7 [INFO] [stdout] | [INFO] [stdout] 201 | if let Err(err) = hook.execute(source.profiles()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:204:4 [INFO] [stdout] | [INFO] [stdout] 204 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 201 ~ match hook.execute(source.profiles()) { Err(err) => { [INFO] [stdout] 202 | log::error!("Failed to execute post-hook ({})", err); [INFO] [stdout] 203 | return this.builder.failed(err.to_string()); [INFO] [stdout] 204 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:366:8 [INFO] [stdout] | [INFO] [stdout] 366 | if let Err(err) = std::fs::copy(&file.source_path, &file.target_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] --> crates/punktf-lib/src/visit/deploy/mod.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 366 ~ match std::fs::copy(&file.source_path, &file.target_path) { Err(err) => { [INFO] [stdout] 367 | log::info!( [INFO] [stdout] ... [INFO] [stdout] 372 | failed!(&mut self.builder, file, format!("Failed to copy: {err}")); [INFO] [stdout] 373 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:394:8 [INFO] [stdout] | [INFO] [stdout] 394 | if let Err(err) = std::fs::write(&file.target_path, content.as_bytes()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 405 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 394 ~ match std::fs::write(&file.target_path, content.as_bytes()) { Err(err) => { [INFO] [stdout] 395 | log::info!( [INFO] [stdout] ... [INFO] [stdout] 404 | ); [INFO] [stdout] 405 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:432:7 [INFO] [stdout] | [INFO] [stdout] 432 | if let Err(err) = std::fs::create_dir_all(&directory.target_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] --> crates/punktf-lib/src/visit/deploy/mod.rs:444:4 [INFO] [stdout] | [INFO] [stdout] 444 | } 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] 432 ~ match std::fs::create_dir_all(&directory.target_path) { Err(err) => { [INFO] [stdout] 433 | log::error!( [INFO] [stdout] ... [INFO] [stdout] 443 | ); [INFO] [stdout] 444 ~ } _ => { [INFO] [stdout] 445 | success!(&mut self.builder, directory); [INFO] [stdout] 446 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:508:20 [INFO] [stdout] | [INFO] [stdout] 508 | let res = if let Ok(target_metadata) = target_path.metadata() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:514:7 [INFO] [stdout] | [INFO] [stdout] 514 | } 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] 508 ~ let res = match target_path.metadata() { Ok(target_metadata) => { [INFO] [stdout] 509 | if target_metadata.is_dir() { [INFO] [stdout] ... [INFO] [stdout] 513 | } [INFO] [stdout] 514 ~ } _ => { [INFO] [stdout] 515 | std::fs::remove_file(target_path) [INFO] [stdout] 516 | .or_else(|_| std::fs::remove_dir(target_path)) [INFO] [stdout] 517 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:519:10 [INFO] [stdout] | [INFO] [stdout] 519 | if let Err(err) = 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] --> crates/punktf-lib/src/visit/deploy/mod.rs:530:7 [INFO] [stdout] | [INFO] [stdout] 530 | } 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] 519 ~ match res { Err(err) => { [INFO] [stdout] 520 | log::error!( [INFO] [stdout] ... [INFO] [stdout] 529 | ); [INFO] [stdout] 530 ~ } _ => { [INFO] [stdout] 531 | log::info!( [INFO] [stdout] ... [INFO] [stdout] 535 | ); [INFO] [stdout] 536 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:695:7 [INFO] [stdout] | [INFO] [stdout] 695 | if let Err(err) = std::fs::write(&file.target_path, content.as_bytes()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:706:4 [INFO] [stdout] | [INFO] [stdout] 706 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 695 ~ match std::fs::write(&file.target_path, content.as_bytes()) { Err(err) => { [INFO] [stdout] 696 | log::info!( [INFO] [stdout] ... [INFO] [stdout] 705 | ); [INFO] [stdout] 706 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/punktf-lib/src/visit/diff/mod.rs:106:6 [INFO] [stdout] | [INFO] [stdout] 106 | if let Err(err) = walker.walk(source, &mut resolver) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> crates/punktf-lib/src/visit/diff/mod.rs:108:3 [INFO] [stdout] | [INFO] [stdout] 108 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 106 ~ match walker.walk(source, &mut resolver) { Err(err) => { [INFO] [stdout] 107 | log::error!("Failed to execute diff: {err}"); [INFO] [stdout] 108 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `punktf_lib` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * crates/punktf-lib/src/template/resolve.rs [INFO] [stderr] * crates/punktf-lib/src/visit/deploy/mod.rs [INFO] [stderr] * crates/punktf-lib/src/visit/diff/mod.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/punktf-lib/src/visit/deploy/mod.rs:61:3 [INFO] [stderr] | [INFO] [stderr] 61 | ($builder:expr_2021, $item: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:61:23 [INFO] [stderr] | [INFO] [stderr] 61 | ($builder:expr_2021, $item: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:70:3 [INFO] [stderr] | [INFO] [stderr] 70 | ($builder:expr_2021, $item:expr_2021, $reason:expr_2021 => $ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:70:23 [INFO] [stderr] | [INFO] [stderr] 70 | ($builder:expr_2021, $item:expr_2021, $reason:expr_2021 => $ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:70:40 [INFO] [stderr] | [INFO] [stderr] 70 | ($builder:expr_2021, $item:expr_2021, $reason:expr_2021 => $ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:70:61 [INFO] [stderr] | [INFO] [stderr] 70 | ($builder:expr_2021, $item:expr_2021, $reason:expr_2021 => $ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:74:3 [INFO] [stderr] | [INFO] [stderr] 74 | ($builder:expr_2021, $item:expr_2021, $reason: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:74:23 [INFO] [stderr] | [INFO] [stderr] 74 | ($builder:expr_2021, $item:expr_2021, $reason: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:74:40 [INFO] [stderr] | [INFO] [stderr] 74 | ($builder:expr_2021, $item:expr_2021, $reason: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:84:3 [INFO] [stderr] | [INFO] [stderr] 84 | ($builder:expr_2021, $item:expr_2021, $reason:expr_2021 => Err($ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:84:23 [INFO] [stderr] | [INFO] [stderr] 84 | ($builder:expr_2021, $item:expr_2021, $reason:expr_2021 => Err($ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:84:40 [INFO] [stderr] | [INFO] [stderr] 84 | ($builder:expr_2021, $item:expr_2021, $reason:expr_2021 => Err($ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:84:65 [INFO] [stderr] | [INFO] [stderr] 84 | ($builder:expr_2021, $item:expr_2021, $reason:expr_2021 => Err($ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:88:3 [INFO] [stderr] | [INFO] [stderr] 88 | ($builder:expr_2021, $item:expr_2021, $reason:expr_2021 => $ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:88:23 [INFO] [stderr] | [INFO] [stderr] 88 | ($builder:expr_2021, $item:expr_2021, $reason:expr_2021 => $ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:88:40 [INFO] [stderr] | [INFO] [stderr] 88 | ($builder:expr_2021, $item:expr_2021, $reason:expr_2021 => $ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:88:61 [INFO] [stderr] | [INFO] [stderr] 88 | ($builder:expr_2021, $item:expr_2021, $reason:expr_2021 => $ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:92:3 [INFO] [stderr] | [INFO] [stderr] 92 | ($builder:expr_2021, $item:expr_2021, $reason:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: unexpected `cfg` condition value: `wasm` [INFO] [stdout] --> crates/punktf-lib/src/template/resolve.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | } else if #[cfg(target_os = "wasm")] { [INFO] [stdout] | ^^^^^^^^^ ------ help: there is a expected value with a similar name: `"wasi"` [INFO] [stdout] ... [INFO] [stdout] 380 | return Ok(family!().into()) [INFO] [stdout] | --------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, and `vxworks` and 5 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `family` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | ($builder:expr, $item:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 61 | ($builder:expr_2021, $item:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | ($builder:expr, $item: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] 61 | ($builder:expr, $item:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crates/punktf-lib/src/visit/deploy/mod.rs:92:23 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | ($builder:expr, $item:expr, $reason:expr => $ret: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] 70 | ($builder:expr_2021, $item:expr, $reason:expr => $ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | ($builder:expr, $item:expr, $reason:expr => $ret: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] 70 | ($builder:expr, $item:expr_2021, $reason:expr => $ret:expr ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 92 | ($builder:expr_2021, $item:expr_2021, $reason:expr_2021) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:70:38 [INFO] [stdout] | [INFO] [stdout] 70 | ($builder:expr, $item:expr, $reason:expr => $ret: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] 70 | ($builder:expr, $item:expr, $reason:expr_2021 => $ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | ($builder:expr, $item:expr, $reason:expr => $ret: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] 70 | ($builder:expr, $item:expr, $reason:expr => $ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | ($builder:expr, $item:expr, $reason: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] 74 | ($builder:expr_2021, $item:expr, $reason:expr) => { [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] --> crates/punktf-lib/src/visit/deploy/mod.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | ($builder:expr, $item:expr, $reason: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] 74 | ($builder:expr, $item:expr_2021, $reason:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:74:38 [INFO] [stdout] | [INFO] [stdout] 74 | ($builder:expr, $item:expr, $reason: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] 74 | ($builder:expr, $item:expr, $reason: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | ($builder:expr, $item:expr, $reason:expr => Err($ret: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] 84 | ($builder:expr_2021, $item:expr, $reason:expr => Err($ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | ($builder:expr, $item:expr, $reason:expr => Err($ret: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] 84 | ($builder:expr, $item:expr_2021, $reason:expr => Err($ret:expr) ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:84:38 [INFO] [stdout] | [INFO] [stdout] 84 | ($builder:expr, $item:expr, $reason:expr => Err($ret: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] 84 | ($builder:expr, $item:expr, $reason:expr_2021 => Err($ret:expr) ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crates/punktf-lib/src/visit/deploy/mod.rs:92:40 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:84:55 [INFO] [stdout] | [INFO] [stdout] 84 | ($builder:expr, $item:expr, $reason:expr => Err($ret: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] 84 | ($builder:expr, $item:expr, $reason:expr => Err($ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | ($builder:expr, $item:expr, $reason:expr => $ret: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] 88 | ($builder:expr_2021, $item:expr, $reason:expr => $ret:expr ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 92 | ($builder:expr_2021, $item:expr_2021, $reason:expr_2021) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | ($builder:expr, $item:expr, $reason:expr => $ret: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] 88 | ($builder:expr, $item:expr_2021, $reason:expr => $ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:88:38 [INFO] [stdout] | [INFO] [stdout] 88 | ($builder:expr, $item:expr, $reason:expr => $ret: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] 88 | ($builder:expr, $item:expr, $reason:expr_2021 => $ret: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] --> crates/punktf-lib/src/visit/deploy/mod.rs:88:51 [INFO] [stdout] | [INFO] [stdout] 88 | ($builder:expr, $item:expr, $reason:expr => $ret: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] 88 | ($builder:expr, $item:expr, $reason:expr => $ret:expr_2021 ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | ($builder:expr, $item:expr, $reason: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] 92 | ($builder:expr_2021, $item:expr, $reason:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | ($builder:expr, $item:expr, $reason: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] 92 | ($builder:expr, $item:expr_2021, $reason:expr) => { [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] --> crates/punktf-lib/src/visit/deploy/mod.rs:92:38 [INFO] [stdout] | [INFO] [stdout] 92 | ($builder:expr, $item:expr, $reason: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] 92 | ($builder:expr, $item:expr, $reason: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] --> crates/punktf-lib/src/visit/diff/mod.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | ($path:expr, $display_path: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] 124 | ($path:expr_2021, $display_path:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/punktf-lib/src/visit/diff/mod.rs:124:29 [INFO] [stdout] | [INFO] [stdout] 124 | ($path:expr, $display_path: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] 124 | ($path:expr, $display_path:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crates/punktf-lib/src/visit/diff/mod.rs:124:3 [INFO] [stderr] | [INFO] [stderr] 124 | ($path:expr_2021, $display_path: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] --> crates/punktf-lib/src/visit/diff/mod.rs:124:20 [INFO] [stderr] | [INFO] [stderr] 124 | ($path:expr_2021, $display_path: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] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/punktf-lib/src/template/diagnostic.rs:490:8 [INFO] [stdout] | [INFO] [stdout] 490 | if let Some(line) = self.line_map.line(line_nr) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> crates/punktf-lib/src/template/diagnostic.rs:549:5 [INFO] [stdout] | [INFO] [stdout] 549 | } [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] 490 ~ match self.line_map.line(line_nr) { Some(line) => { [INFO] [stdout] 491 | let line_nr_str = line_nr.to_string(); [INFO] [stdout] ... [INFO] [stdout] 548 | last_line_nr = Some(line_nr); [INFO] [stdout] 549 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unexpected `cfg` condition value: `wasm` [INFO] [stderr] --> crates/punktf-lib/src/template/resolve.rs:84:20 [INFO] [stderr] | [INFO] [stderr] 84 | } else if #[cfg(target_os = "wasm")] { [INFO] [stderr] | ^^^^^^^^^ ------ help: there is a expected value with a similar name: `"wasi"` [INFO] [stderr] ... [INFO] [stderr] 380 | return Ok(family!().into()) [INFO] [stderr] | --------- in this macro invocation [INFO] [stderr] | [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:201:7 [INFO] [stdout] | [INFO] [stdout] 201 | if let Err(err) = hook.execute(source.profiles()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:204:4 [INFO] [stdout] | [INFO] [stdout] 204 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 201 ~ match hook.execute(source.profiles()) { Err(err) => { [INFO] [stdout] 202 | log::error!("Failed to execute post-hook ({})", err); [INFO] [stdout] 203 | return this.builder.failed(err.to_string()); [INFO] [stdout] 204 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, and `vxworks` and 5 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `family` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 22 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:366:8 [INFO] [stdout] | [INFO] [stdout] 366 | if let Err(err) = std::fs::copy(&file.source_path, &file.target_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] --> crates/punktf-lib/src/visit/deploy/mod.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 366 ~ match std::fs::copy(&file.source_path, &file.target_path) { Err(err) => { [INFO] [stdout] 367 | log::info!( [INFO] [stdout] ... [INFO] [stdout] 372 | failed!(&mut self.builder, file, format!("Failed to copy: {err}")); [INFO] [stdout] 373 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:394:8 [INFO] [stdout] | [INFO] [stdout] 394 | if let Err(err) = std::fs::write(&file.target_path, content.as_bytes()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 405 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 394 ~ match std::fs::write(&file.target_path, content.as_bytes()) { Err(err) => { [INFO] [stdout] 395 | log::info!( [INFO] [stdout] ... [INFO] [stdout] 404 | ); [INFO] [stdout] 405 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:432:7 [INFO] [stdout] | [INFO] [stdout] 432 | if let Err(err) = std::fs::create_dir_all(&directory.target_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] --> crates/punktf-lib/src/visit/deploy/mod.rs:444:4 [INFO] [stdout] | [INFO] [stdout] 444 | } 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] 432 ~ match std::fs::create_dir_all(&directory.target_path) { Err(err) => { [INFO] [stdout] 433 | log::error!( [INFO] [stdout] ... [INFO] [stdout] 443 | ); [INFO] [stdout] 444 ~ } _ => { [INFO] [stdout] 445 | success!(&mut self.builder, directory); [INFO] [stdout] 446 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:508:20 [INFO] [stdout] | [INFO] [stdout] 508 | let res = if let Ok(target_metadata) = target_path.metadata() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:514:7 [INFO] [stdout] | [INFO] [stdout] 514 | } 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] 508 ~ let res = match target_path.metadata() { Ok(target_metadata) => { [INFO] [stdout] 509 | if target_metadata.is_dir() { [INFO] [stdout] ... [INFO] [stdout] 513 | } [INFO] [stdout] 514 ~ } _ => { [INFO] [stdout] 515 | std::fs::remove_file(target_path) [INFO] [stdout] 516 | .or_else(|_| std::fs::remove_dir(target_path)) [INFO] [stdout] 517 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:519:10 [INFO] [stdout] | [INFO] [stdout] 519 | if let Err(err) = 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] --> crates/punktf-lib/src/visit/deploy/mod.rs:530:7 [INFO] [stdout] | [INFO] [stdout] 530 | } 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] 519 ~ match res { Err(err) => { [INFO] [stdout] 520 | log::error!( [INFO] [stdout] ... [INFO] [stdout] 529 | ); [INFO] [stdout] 530 ~ } _ => { [INFO] [stdout] 531 | log::info!( [INFO] [stdout] ... [INFO] [stdout] 535 | ); [INFO] [stdout] 536 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:695:7 [INFO] [stdout] | [INFO] [stdout] 695 | if let Err(err) = std::fs::write(&file.target_path, content.as_bytes()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> crates/punktf-lib/src/visit/deploy/mod.rs:706:4 [INFO] [stdout] | [INFO] [stdout] 706 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 695 ~ match std::fs::write(&file.target_path, content.as_bytes()) { Err(err) => { [INFO] [stdout] 696 | log::info!( [INFO] [stdout] ... [INFO] [stdout] 705 | ); [INFO] [stdout] 706 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/punktf-lib/src/visit/diff/mod.rs:106:6 [INFO] [stdout] | [INFO] [stdout] 106 | if let Err(err) = walker.walk(source, &mut resolver) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> crates/punktf-lib/src/visit/diff/mod.rs:108:3 [INFO] [stdout] | [INFO] [stdout] 108 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 106 ~ match walker.walk(source, &mut resolver) { Err(err) => { [INFO] [stdout] 107 | log::error!("Failed to execute diff: {err}"); [INFO] [stdout] 108 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating crates/punktf-lib/tests/fuzz_template_parse.rs from 2021 edition to 2024 [INFO] [stderr] Migrating crates/punktf-cli/src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `punktf` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * crates/punktf-cli/src/main.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: usage of an `unsafe` block [INFO] [stderr] --> crates/punktf-cli/src/main.rs:235:2 [INFO] [stderr] | [INFO] [stderr] 235 | unsafe { std::env::set_var("PUNKTF_CURRENT_SOURCE", source.root()) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> crates/punktf-cli/src/main.rs:118:2 [INFO] [stderr] | [INFO] [stderr] 118 | unsafe_code, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> crates/punktf-cli/src/main.rs:238:3 [INFO] [stderr] | [INFO] [stderr] 238 | unsafe { std::env::set_var("PUNKTF_CURRENT_TARGET", target) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> crates/punktf-cli/src/main.rs:241:2 [INFO] [stderr] | [INFO] [stderr] 241 | unsafe { std::env::set_var("PUNKTF_CURRENT_PROFILE", profile_name) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> crates/punktf-cli/src/main.rs:234:2 [INFO] [stdout] | [INFO] [stdout] 234 | std::env::set_var("PUNKTF_CURRENT_SOURCE", source.root()); [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] 234 ~ // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 235 ~ unsafe { std::env::set_var("PUNKTF_CURRENT_SOURCE", source.root()) }; [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] --> crates/punktf-cli/src/main.rs:236:3 [INFO] [stdout] | [INFO] [stdout] 236 | std::env::set_var("PUNKTF_CURRENT_TARGET", target); [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] 236 ~ // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 237 ~ unsafe { std::env::set_var("PUNKTF_CURRENT_TARGET", target) }; [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] --> crates/punktf-cli/src/main.rs:238:2 [INFO] [stdout] | [INFO] [stdout] 238 | std::env::set_var("PUNKTF_CURRENT_PROFILE", profile_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 238 ~ // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 239 ~ unsafe { std::env::set_var("PUNKTF_CURRENT_PROFILE", profile_name) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/punktf-cli/src/main.rs:266:7 [INFO] [stdout] | [INFO] [stdout] 266 | if let Err(err) = serde_json::to_writer_pretty(&mut file, deployment) { [INFO] [stdout] | ^^^^^^^^^^^^^^^--------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> crates/punktf-cli/src/main.rs:269:4 [INFO] [stdout] | [INFO] [stdout] 269 | } [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] 266 ~ match serde_json::to_writer_pretty(&mut file, deployment) { Err(err) => { [INFO] [stdout] 267 | log::error!("Failed to write deployment status to json output file: {err}"); [INFO] [stdout] 268 | break 'json; [INFO] [stdout] 269 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/punktf-cli/src/main.rs:283:7 [INFO] [stdout] | [INFO] [stdout] 283 | if let Err(err) = serde_yaml::to_writer(&mut file, deployment) { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> crates/punktf-cli/src/main.rs:286:4 [INFO] [stdout] | [INFO] [stdout] 286 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 283 ~ match serde_yaml::to_writer(&mut file, deployment) { Err(err) => { [INFO] [stdout] 284 | log::error!("Failed to write deployment status to yaml output file: {err}"); [INFO] [stdout] 285 | break 'yaml; [INFO] [stdout] 286 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/punktf-cli/src/main.rs:391:24 [INFO] [stdout] | [INFO] [stdout] 391 | let dotfile_vars = if let Some(dotfile) = find_dotfile(profile.dotfiles(), &dotfile) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> crates/punktf-cli/src/main.rs:394:2 [INFO] [stdout] | [INFO] [stdout] 394 | } 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] 391 ~ let dotfile_vars = match find_dotfile(profile.dotfiles(), &dotfile) { Some(dotfile) => { [INFO] [stdout] 392 | log::debug!("Dotfile found in profile"); [INFO] [stdout] 393 | dotfile.variables.as_ref() [INFO] [stdout] 394 ~ } _ => { [INFO] [stdout] 395 | log::warn!("Dotfile not found in profile"); [INFO] [stdout] 396 | None [INFO] [stdout] 397 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating crates/punktf-lib/tests/template_initvim.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `punktf` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * crates/punktf-cli/src/main.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: usage of an `unsafe` block [INFO] [stderr] --> crates/punktf-cli/src/main.rs:235:2 [INFO] [stderr] | [INFO] [stderr] 235 | unsafe { std::env::set_var("PUNKTF_CURRENT_SOURCE", source.root()) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> crates/punktf-cli/src/main.rs:234:2 [INFO] [stdout] | [INFO] [stdout] 234 | std::env::set_var("PUNKTF_CURRENT_SOURCE", source.root()); [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] 234 ~ // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 235 ~ unsafe { std::env::set_var("PUNKTF_CURRENT_SOURCE", source.root()) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> crates/punktf-cli/src/main.rs:118:2 [INFO] [stderr] | [INFO] [stderr] 118 | unsafe_code, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> crates/punktf-cli/src/main.rs:238:3 [INFO] [stderr] | [INFO] [stderr] 238 | unsafe { std::env::set_var("PUNKTF_CURRENT_TARGET", target) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> crates/punktf-cli/src/main.rs:236:3 [INFO] [stdout] | [INFO] [stdout] 236 | std::env::set_var("PUNKTF_CURRENT_TARGET", target); [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] 236 ~ // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 237 ~ unsafe { std::env::set_var("PUNKTF_CURRENT_TARGET", target) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crates/punktf-cli/src/main.rs:241:2 [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> crates/punktf-cli/src/main.rs:238:2 [INFO] [stdout] | [INFO] [stdout] 238 | std::env::set_var("PUNKTF_CURRENT_PROFILE", profile_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 238 ~ // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 239 ~ unsafe { std::env::set_var("PUNKTF_CURRENT_PROFILE", profile_name) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 241 | unsafe { std::env::set_var("PUNKTF_CURRENT_PROFILE", profile_name) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/punktf-cli/src/main.rs:266:7 [INFO] [stdout] | [INFO] [stdout] 266 | if let Err(err) = serde_json::to_writer_pretty(&mut file, deployment) { [INFO] [stdout] | ^^^^^^^^^^^^^^^--------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> crates/punktf-cli/src/main.rs:269:4 [INFO] [stdout] | [INFO] [stdout] 269 | } [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] 266 ~ match serde_json::to_writer_pretty(&mut file, deployment) { Err(err) => { [INFO] [stdout] 267 | log::error!("Failed to write deployment status to json output file: {err}"); [INFO] [stdout] 268 | break 'json; [INFO] [stdout] 269 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/punktf-cli/src/main.rs:283:7 [INFO] [stdout] | [INFO] [stdout] 283 | if let Err(err) = serde_yaml::to_writer(&mut file, deployment) { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> crates/punktf-cli/src/main.rs:286:4 [INFO] [stdout] | [INFO] [stdout] 286 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 283 ~ match serde_yaml::to_writer(&mut file, deployment) { Err(err) => { [INFO] [stdout] 284 | log::error!("Failed to write deployment status to yaml output file: {err}"); [INFO] [stdout] 285 | break 'yaml; [INFO] [stdout] 286 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/punktf-cli/src/main.rs:391:24 [INFO] [stdout] | [INFO] [stdout] 391 | let dotfile_vars = if let Some(dotfile) = find_dotfile(profile.dotfiles(), &dotfile) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> crates/punktf-cli/src/main.rs:394:2 [INFO] [stdout] | [INFO] [stdout] 394 | } 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] 391 ~ let dotfile_vars = match find_dotfile(profile.dotfiles(), &dotfile) { Some(dotfile) => { [INFO] [stdout] 392 | log::debug!("Dotfile found in profile"); [INFO] [stdout] 393 | dotfile.variables.as_ref() [INFO] [stdout] 394 ~ } _ => { [INFO] [stdout] 395 | log::warn!("Dotfile not found in profile"); [INFO] [stdout] 396 | None [INFO] [stdout] 397 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed crates/punktf-lib/tests/template_initvim.rs (2 fixes) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.05s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling punktf v3.1.1 (/tmp/fixit/crates/punktf-cli) [INFO] [stderr] Checking punktf-lib v2.0.1 (/tmp/fixit/crates/punktf-lib) [INFO] [stdout] warning: unexpected `cfg` condition value: `wasm` [INFO] [stdout] --> crates/punktf-lib/src/template/resolve.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | } else if #[cfg(target_os = "wasm")] { [INFO] [stdout] | ^^^^^^^^^ ------ help: there is a expected value with a similar name: `"wasi"` [INFO] [stdout] ... [INFO] [stdout] 380 | return Ok(family!().into()) [INFO] [stdout] | --------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, and `vxworks` and 5 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `family` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `wasm` [INFO] [stdout] --> crates/punktf-lib/src/template/resolve.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | } else if #[cfg(target_os = "wasm")] { [INFO] [stdout] | ^^^^^^^^^ ------ help: there is a expected value with a similar name: `"wasi"` [INFO] [stdout] ... [INFO] [stdout] 380 | return Ok(family!().into()) [INFO] [stdout] | --------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, and `vxworks` and 5 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `family` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> crates/punktf-lib/src/template/mod.rs:213:3 [INFO] [stdout] | [INFO] [stdout] 213 | std::env::set_var("OS", "macos"); [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] --> crates/punktf-lib/src/template/mod.rs:227:3 [INFO] [stdout] | [INFO] [stdout] 227 | std::env::set_var("OS", "macos"); [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] --> crates/punktf-lib/src/template/mod.rs:241:3 [INFO] [stdout] | [INFO] [stdout] 241 | std::env::set_var("OS", "macos"); [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] --> crates/punktf-lib/src/template/mod.rs:255:3 [INFO] [stdout] | [INFO] [stdout] 255 | std::env::set_var("OS", "macos"); [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] --> crates/punktf-lib/src/template/mod.rs:269:3 [INFO] [stdout] | [INFO] [stdout] 269 | std::env::set_var("OS", "macos"); [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] --> crates/punktf-lib/src/template/mod.rs:283:3 [INFO] [stdout] | [INFO] [stdout] 283 | std::env::remove_var("OS"); [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 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 `punktf-lib` (lib test) due to 7 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> crates/punktf-cli/src/main.rs:234:2 [INFO] [stdout] | [INFO] [stdout] 234 | std::env::set_var("PUNKTF_CURRENT_SOURCE", source.root()); [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] --> crates/punktf-cli/src/main.rs:236:3 [INFO] [stdout] | [INFO] [stdout] 236 | std::env::set_var("PUNKTF_CURRENT_TARGET", target); [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] --> crates/punktf-cli/src/main.rs:238:2 [INFO] [stdout] | [INFO] [stdout] 238 | std::env::set_var("PUNKTF_CURRENT_PROFILE", profile_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> crates/punktf-cli/src/main.rs:234:2 [INFO] [stdout] | [INFO] [stdout] 234 | std::env::set_var("PUNKTF_CURRENT_SOURCE", source.root()); [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] --> crates/punktf-cli/src/main.rs:236:3 [INFO] [stdout] | [INFO] [stdout] 236 | std::env::set_var("PUNKTF_CURRENT_TARGET", target); [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] --> crates/punktf-cli/src/main.rs:238:2 [INFO] [stdout] | [INFO] [stdout] 238 | std::env::set_var("PUNKTF_CURRENT_PROFILE", profile_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] [stderr] error: could not compile `punktf` (bin "punktf" test) due to 4 previous errors [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] [stderr] error: could not compile `punktf` (bin "punktf") due to 4 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" "1afd0fe0376167db604fcdb53a366d9c06f8e02d21d853a47083bc62f3e032ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1afd0fe0376167db604fcdb53a366d9c06f8e02d21d853a47083bc62f3e032ea", kill_on_drop: false }` [INFO] [stdout] 1afd0fe0376167db604fcdb53a366d9c06f8e02d21d853a47083bc62f3e032ea