[INFO] fetching crate if-changed 0.3.2... [INFO] checking if-changed-0.3.2 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate if-changed 0.3.2 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate if-changed 0.3.2 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate if-changed 0.3.2 [INFO] finished tweaking crates.io crate if-changed 0.3.2 [INFO] tweaked toml for crates.io crate if-changed 0.3.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate if-changed 0.3.2 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef4017475798b0cba75d63b44040a497ea5da7f32e75a0ac6944ea45aa96f95e [INFO] running `Command { std: "docker" "start" "-a" "ef4017475798b0cba75d63b44040a497ea5da7f32e75a0ac6944ea45aa96f95e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef4017475798b0cba75d63b44040a497ea5da7f32e75a0ac6944ea45aa96f95e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef4017475798b0cba75d63b44040a497ea5da7f32e75a0ac6944ea45aa96f95e", kill_on_drop: false }` [INFO] [stdout] ef4017475798b0cba75d63b44040a497ea5da7f32e75a0ac6944ea45aa96f95e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5a5bcf3584ed70da2a89a5ff670e471bd574ddbf0c82c3bc032f3ba5e241ba4 [INFO] running `Command { std: "docker" "start" "-a" "f5a5bcf3584ed70da2a89a5ff670e471bd574ddbf0c82c3bc032f3ba5e241ba4", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling if-changed v0.3.2 (/tmp/fixit) [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking clap_builder v4.5.7 [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking genawaiter-macro v0.99.1 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking similar v2.5.0 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling libz-sys v1.1.16 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.16.2+1.7.2 [INFO] [stderr] Compiling syn-mid v0.5.4 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling genawaiter-proc-macro v0.99.1 [INFO] [stderr] Checking genawaiter v0.99.1 [INFO] [stderr] Checking clap v4.5.7 [INFO] [stderr] Checking insta v1.39.0 [INFO] [stderr] Checking git2 v0.18.3 [INFO] [stderr] Migrating if-changed.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `if_changed` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * testing.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] --> testing.rs:3:43 [INFO] [stderr] | [INFO] [stderr] 3 | ($($name:literal: [$($path:literal => $content:expr_2021),*])* $(staged: [$($spath:literal => $scontent:expr_2021),*])? $(working: [$... [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] --> testing.rs:3:99 [INFO] [stderr] | [INFO] [stderr] 3 | ($($name:literal: [$($path:literal => $content:expr_2021),*])* $(staged: [$($spath:literal => $scontent:expr_2021),*])? $(working: [$... [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] --> testing.rs:3:158 [INFO] [stderr] | [INFO] [stderr] 3 | ...content:expr_2021),*])? $(working: [$($wdpath:literal => $wdcontent:expr_2021),*])?) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> engine/git.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use genawaiter::{rc::gen, yield_}; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> engine/git.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | gen!({ [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> testing.rs:3:52 [INFO] [stdout] | [INFO] [stdout] 3 | ($($name:literal: [$($path:literal => $content:expr),*])* $(staged: [$($spath:literal => $scontent:expr),*])? $(working: [$($wdpath:l... [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] 3 | ($($name:literal: [$($path:literal => $content:expr_2021),*])* $(staged: [$($spath:literal => $scontent:expr),*])? $(working: [$($wdpath:literal => $wdcontent:expr),*])?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> testing.rs:3:104 [INFO] [stdout] | [INFO] [stdout] 3 | ($($name:literal: [$($path:literal => $content:expr),*])* $(staged: [$($spath:literal => $scontent:expr),*])? $(working: [$($wdpath:l... [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] 3 | ($($name:literal: [$($path:literal => $content:expr),*])* $(staged: [$($spath:literal => $scontent:expr_2021),*])? $(working: [$($wdpath:literal => $wdcontent:expr),*])?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> testing.rs:3:159 [INFO] [stdout] | [INFO] [stdout] 3 | ...$scontent:expr),*])? $(working: [$($wdpath:literal => $wdcontent: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] 3 | ($($name:literal: [$($path:literal => $content:expr),*])* $(staged: [$($spath:literal => $scontent:expr),*])? $(working: [$($wdpath:literal => $wdcontent:expr_2021),*])?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Engine + 'repo` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> engine/git.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | ) -> impl Engine + 'repo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> engine/git.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | from_ref: Option<&str>, [INFO] [stdout] | ^ [INFO] [stdout] 26 | to_ref: Option<&str>, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 27 | ) -> impl Engine + 'repo + use<'repo> { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating bin/if-changed.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `if_changed` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * engine/git.rs [INFO] [stderr] * parser.rs [INFO] [stderr] * testing.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] --> engine/git.rs:247:23 [INFO] [stderr] | [INFO] [stderr] 247 | ($name:ident, $val:expr_2021, @$exp:literal) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> parser.rs:348:23 [INFO] [stderr] | [INFO] [stderr] 348 | ($name:ident, $value:expr_2021, @$exp:literal) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> testing.rs:3:43 [INFO] [stderr] | [INFO] [stderr] 3 | ($($name:literal: [$($path:literal => $content:expr_2021),*])* $(staged: [$($spath:literal => $scontent:expr_2021),*])? $(working: [$... [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] --> testing.rs:3:99 [INFO] [stderr] | [INFO] [stderr] 3 | ($($name:literal: [$($path:literal => $content:expr_2021),*])* $(staged: [$($spath:literal => $scontent:expr_2021),*])? $(working: [$... [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] --> testing.rs:3:158 [INFO] [stderr] | [INFO] [stderr] 3 | ...content:expr_2021),*])? $(working: [$($wdpath:literal => $wdcontent:expr_2021),*])?) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> engine/git.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use genawaiter::{rc::gen, yield_}; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> engine/git.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | gen!({ [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> engine/git.rs:247:28 [INFO] [stdout] | [INFO] [stdout] 247 | ($name:ident, $val:expr, @$exp:literal) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 247 | ($name:ident, $val:expr_2021, @$exp:literal) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> parser.rs:348:30 [INFO] [stdout] | [INFO] [stdout] 348 | ($name:ident, $value:expr, @$exp:literal) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 348 | ($name:ident, $value:expr_2021, @$exp:literal) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> testing.rs:3:52 [INFO] [stdout] | [INFO] [stdout] 3 | ($($name:literal: [$($path:literal => $content:expr),*])* $(staged: [$($spath:literal => $scontent:expr),*])? $(working: [$($wdpath:l... [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] 3 | ($($name:literal: [$($path:literal => $content:expr_2021),*])* $(staged: [$($spath:literal => $scontent:expr),*])? $(working: [$($wdpath:literal => $wdcontent:expr),*])?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> testing.rs:3:104 [INFO] [stdout] | [INFO] [stdout] 3 | ($($name:literal: [$($path:literal => $content:expr),*])* $(staged: [$($spath:literal => $scontent:expr),*])? $(working: [$($wdpath:l... [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] 3 | ($($name:literal: [$($path:literal => $content:expr),*])* $(staged: [$($spath:literal => $scontent:expr_2021),*])? $(working: [$($wdpath:literal => $wdcontent:expr),*])?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> testing.rs:3:159 [INFO] [stdout] | [INFO] [stdout] 3 | ...$scontent:expr),*])? $(working: [$($wdpath:literal => $wdcontent: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] 3 | ($($name:literal: [$($path:literal => $content:expr),*])* $(staged: [$($spath:literal => $scontent:expr),*])? $(working: [$($wdpath:literal => $wdcontent:expr_2021),*])?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl engine::Engine + 'repo` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> engine/git.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | ) -> impl Engine + 'repo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> engine/git.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | from_ref: Option<&str>, [INFO] [stdout] | ^ [INFO] [stdout] 26 | to_ref: Option<&str>, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 27 | ) -> impl Engine + 'repo + use<'repo> { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> testing.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | let parents = if let Ok(Ok(parent_commit)) = repo.head().map(|head| head.peel_to_commit()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: engine/git.rs:266:31 [INFO] [stdout] | [INFO] [stdout] 266 | let (tempdir, repo) = git_test! { [INFO] [stdout] | _______________________________- [INFO] [stdout] 267 | | "initial commit": ["a" => "a", "b" => "b"] [INFO] [stdout] 268 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> testing.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: engine/git.rs:266:31 [INFO] [stdout] | [INFO] [stdout] 266 | let (tempdir, repo) = git_test! { [INFO] [stdout] | _______________________________- [INFO] [stdout] 267 | | "initial commit": ["a" => "a", "b" => "b"] [INFO] [stdout] 268 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `git_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> testing.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | let parents = if let Ok(Ok(parent_commit)) = repo.head().map(|head| head.peel_to_commit()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: engine/git.rs:313:31 [INFO] [stdout] | [INFO] [stdout] 313 | let (tempdir, repo) = git_test! { [INFO] [stdout] | _______________________________- [INFO] [stdout] 314 | | "initial commit": ["a" => "a", "c/a" => "a", "c/b" => "b", "d/b" => "b"] [INFO] [stdout] 315 | | staged: ["a" => "b"] [INFO] [stdout] 316 | | working: ["c/a" => "b"] [INFO] [stdout] 317 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> testing.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: engine/git.rs:313:31 [INFO] [stdout] | [INFO] [stdout] 313 | let (tempdir, repo) = git_test! { [INFO] [stdout] | _______________________________- [INFO] [stdout] 314 | | "initial commit": ["a" => "a", "c/a" => "a", "c/b" => "b", "d/b" => "b"] [INFO] [stdout] 315 | | staged: ["a" => "b"] [INFO] [stdout] 316 | | working: ["c/a" => "b"] [INFO] [stdout] 317 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `git_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> testing.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | let parents = if let Ok(Ok(parent_commit)) = repo.head().map(|head| head.peel_to_commit()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: engine/git.rs:327:31 [INFO] [stdout] | [INFO] [stdout] 327 | let (tempdir, repo) = git_test! { [INFO] [stdout] | _______________________________- [INFO] [stdout] 328 | | "initial commit": ["a" => "a", "c/a" => "a", "c/b" => "b", "d/b" => "b"] [INFO] [stdout] 329 | | staged: ["a" => "b"] [INFO] [stdout] 330 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> testing.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: engine/git.rs:327:31 [INFO] [stdout] | [INFO] [stdout] 327 | let (tempdir, repo) = git_test! { [INFO] [stdout] | _______________________________- [INFO] [stdout] 328 | | "initial commit": ["a" => "a", "c/a" => "a", "c/b" => "b", "d/b" => "b"] [INFO] [stdout] 329 | | staged: ["a" => "b"] [INFO] [stdout] 330 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `git_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> testing.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | let parents = if let Ok(Ok(parent_commit)) = repo.head().map(|head| head.peel_to_commit()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: engine/git.rs:340:31 [INFO] [stdout] | [INFO] [stdout] 340 | let (tempdir, repo) = git_test! { [INFO] [stdout] | _______________________________- [INFO] [stdout] 341 | | "initial commit": ["a" => "a", "c/a" => "a", "c/b" => "b", "d/b" => "b"] [INFO] [stdout] 342 | | working: ["a" => "b"] [INFO] [stdout] 343 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> testing.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: engine/git.rs:340:31 [INFO] [stdout] | [INFO] [stdout] 340 | let (tempdir, repo) = git_test! { [INFO] [stdout] | _______________________________- [INFO] [stdout] 341 | | "initial commit": ["a" => "a", "c/a" => "a", "c/b" => "b", "d/b" => "b"] [INFO] [stdout] 342 | | working: ["a" => "b"] [INFO] [stdout] 343 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `git_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> testing.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | let parents = if let Ok(Ok(parent_commit)) = repo.head().map(|head| head.peel_to_commit()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: engine/git.rs:353:31 [INFO] [stdout] | [INFO] [stdout] 353 | let (tempdir, repo) = git_test! { [INFO] [stdout] | _______________________________- [INFO] [stdout] 354 | | "initial commit": ["a" => "a", "c/a" => "a", "c/b" => "b", "d/b" => "b"] [INFO] [stdout] 355 | | "second commit": ["a" => "b"] [INFO] [stdout] 356 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> testing.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: engine/git.rs:353:31 [INFO] [stdout] | [INFO] [stdout] 353 | let (tempdir, repo) = git_test! { [INFO] [stdout] | _______________________________- [INFO] [stdout] 354 | | "initial commit": ["a" => "a", "c/a" => "a", "c/b" => "b", "d/b" => "b"] [INFO] [stdout] 355 | | "second commit": ["a" => "b"] [INFO] [stdout] 356 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `git_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> testing.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | let parents = if let Ok(Ok(parent_commit)) = repo.head().map(|head| head.peel_to_commit()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: engine/git.rs:367:31 [INFO] [stdout] | [INFO] [stdout] 367 | let (tempdir, repo) = git_test! { [INFO] [stdout] | _______________________________- [INFO] [stdout] 368 | | "initial commit": ["a" => "a", "c/a" => "a", "c/b" => "b", "d/b" => "b"] [INFO] [stdout] 369 | | "second commit\n\nignore-if-changed: c/a": ["a" => "b"] [INFO] [stdout] 370 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> testing.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: engine/git.rs:367:31 [INFO] [stdout] | [INFO] [stdout] 367 | let (tempdir, repo) = git_test! { [INFO] [stdout] | _______________________________- [INFO] [stdout] 368 | | "initial commit": ["a" => "a", "c/a" => "a", "c/b" => "b", "d/b" => "b"] [INFO] [stdout] 369 | | "second commit\n\nignore-if-changed: c/a": ["a" => "b"] [INFO] [stdout] 370 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `git_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> testing.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | let parents = if let Ok(Ok(parent_commit)) = repo.head().map(|head| head.peel_to_commit()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: engine.rs:151:31 [INFO] [stdout] | [INFO] [stdout] 151 | let (tempdir, repo) = git_test! { [INFO] [stdout] | _______________________________- [INFO] [stdout] 152 | | "initial commit": [ [INFO] [stdout] 153 | | "src/a.js" => indoc!{" [INFO] [stdout] 154 | | // if-changed [INFO] [stdout] ... | [INFO] [stdout] 167 | | ] [INFO] [stdout] 168 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> testing.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: engine.rs:151:31 [INFO] [stdout] | [INFO] [stdout] 151 | let (tempdir, repo) = git_test! { [INFO] [stdout] | _______________________________- [INFO] [stdout] 152 | | "initial commit": [ [INFO] [stdout] 153 | | "src/a.js" => indoc!{" [INFO] [stdout] 154 | | // if-changed [INFO] [stdout] ... | [INFO] [stdout] 167 | | ] [INFO] [stdout] 168 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `git_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> testing.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | let parents = if let Ok(Ok(parent_commit)) = repo.head().map(|head| head.peel_to_commit()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: engine.rs:179:31 [INFO] [stdout] | [INFO] [stdout] 179 | let (tempdir, repo) = git_test! { [INFO] [stdout] | _______________________________- [INFO] [stdout] 180 | | "initial commit": [ [INFO] [stdout] 181 | | "src/a.js" => indoc!{" [INFO] [stdout] 182 | | // if-changed [INFO] [stdout] ... | [INFO] [stdout] 194 | | ] [INFO] [stdout] 195 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> testing.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: engine.rs:179:31 [INFO] [stdout] | [INFO] [stdout] 179 | let (tempdir, repo) = git_test! { [INFO] [stdout] | _______________________________- [INFO] [stdout] 180 | | "initial commit": [ [INFO] [stdout] 181 | | "src/a.js" => indoc!{" [INFO] [stdout] 182 | | // if-changed [INFO] [stdout] ... | [INFO] [stdout] 194 | | ] [INFO] [stdout] 195 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `git_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> testing.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | let parents = if let Ok(Ok(parent_commit)) = repo.head().map(|head| head.peel_to_commit()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: engine.rs:206:31 [INFO] [stdout] | [INFO] [stdout] 206 | let (tempdir, repo) = git_test! { [INFO] [stdout] | _______________________________- [INFO] [stdout] 207 | | "initial commit": [ [INFO] [stdout] 208 | | "src/a.js" => indoc!{" [INFO] [stdout] 209 | | // if-changed [INFO] [stdout] ... | [INFO] [stdout] 222 | | ] [INFO] [stdout] 223 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> testing.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: engine.rs:206:31 [INFO] [stdout] | [INFO] [stdout] 206 | let (tempdir, repo) = git_test! { [INFO] [stdout] | _______________________________- [INFO] [stdout] 207 | | "initial commit": [ [INFO] [stdout] 208 | | "src/a.js" => indoc!{" [INFO] [stdout] 209 | | // if-changed [INFO] [stdout] ... | [INFO] [stdout] 222 | | ] [INFO] [stdout] 223 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `git_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> testing.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | let parents = if let Ok(Ok(parent_commit)) = repo.head().map(|head| head.peel_to_commit()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: engine.rs:249:31 [INFO] [stdout] | [INFO] [stdout] 249 | let (tempdir, repo) = git_test! { [INFO] [stdout] | _______________________________- [INFO] [stdout] 250 | | "initial commit": [ [INFO] [stdout] 251 | | "src/a.js" => indoc!{" [INFO] [stdout] 252 | | // if-changed [INFO] [stdout] ... | [INFO] [stdout] 273 | | ] [INFO] [stdout] 274 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> testing.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: engine.rs:249:31 [INFO] [stdout] | [INFO] [stdout] 249 | let (tempdir, repo) = git_test! { [INFO] [stdout] | _______________________________- [INFO] [stdout] 250 | | "initial commit": [ [INFO] [stdout] 251 | | "src/a.js" => indoc!{" [INFO] [stdout] 252 | | // if-changed [INFO] [stdout] ... | [INFO] [stdout] 273 | | ] [INFO] [stdout] 274 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `git_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> testing.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | let parents = if let Ok(Ok(parent_commit)) = repo.head().map(|head| head.peel_to_commit()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: engine.rs:285:31 [INFO] [stdout] | [INFO] [stdout] 285 | let (tempdir, repo) = git_test! { [INFO] [stdout] | _______________________________- [INFO] [stdout] 286 | | "initial commit": [ [INFO] [stdout] 287 | | "src/a.js" => indoc!{" [INFO] [stdout] 288 | | // if-changed [INFO] [stdout] ... | [INFO] [stdout] 310 | | ] [INFO] [stdout] 311 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> testing.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: engine.rs:285:31 [INFO] [stdout] | [INFO] [stdout] 285 | let (tempdir, repo) = git_test! { [INFO] [stdout] | _______________________________- [INFO] [stdout] 286 | | "initial commit": [ [INFO] [stdout] 287 | | "src/a.js" => indoc!{" [INFO] [stdout] 288 | | // if-changed [INFO] [stdout] ... | [INFO] [stdout] 310 | | ] [INFO] [stdout] 311 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `git_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> testing.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | let parents = if let Ok(Ok(parent_commit)) = repo.head().map(|head| head.peel_to_commit()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: engine.rs:322:31 [INFO] [stdout] | [INFO] [stdout] 322 | let (tempdir, repo) = git_test! { [INFO] [stdout] | _______________________________- [INFO] [stdout] 323 | | "initial commit": [ [INFO] [stdout] 324 | | "src/a.js" => indoc!{" [INFO] [stdout] 325 | | // if-changed [INFO] [stdout] ... | [INFO] [stdout] 338 | | ] [INFO] [stdout] 339 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> testing.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: engine.rs:322:31 [INFO] [stdout] | [INFO] [stdout] 322 | let (tempdir, repo) = git_test! { [INFO] [stdout] | _______________________________- [INFO] [stdout] 323 | | "initial commit": [ [INFO] [stdout] 324 | | "src/a.js" => indoc!{" [INFO] [stdout] 325 | | // if-changed [INFO] [stdout] ... | [INFO] [stdout] 338 | | ] [INFO] [stdout] 339 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `git_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed bin/if-changed.rs (2 fixes) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.84s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling if-changed v0.3.2 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> engine/git.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use genawaiter::{rc::gen, yield_}; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 8 | use genawaiter::{rc::r#gen, yield_}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> engine/git.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | gen!({ [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> engine/git.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use genawaiter::{rc::gen, yield_}; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 8 | use genawaiter::{rc::r#gen, yield_}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> engine/git.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | gen!({ [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `rc::gen` and `yield_` [INFO] [stdout] --> engine/git.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use genawaiter::{rc::gen, yield_}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `rc::gen` and `yield_` [INFO] [stdout] --> engine/git.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use genawaiter::{rc::gen, yield_}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `if-changed` (lib) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `if-changed` (lib test) due to 3 previous errors; 1 warning emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "f5a5bcf3584ed70da2a89a5ff670e471bd574ddbf0c82c3bc032f3ba5e241ba4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5a5bcf3584ed70da2a89a5ff670e471bd574ddbf0c82c3bc032f3ba5e241ba4", kill_on_drop: false }` [INFO] [stdout] f5a5bcf3584ed70da2a89a5ff670e471bd574ddbf0c82c3bc032f3ba5e241ba4