[INFO] fetching crate babel_nar_cli 0.3.1... [INFO] checking babel_nar_cli-0.3.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate babel_nar_cli 0.3.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate babel_nar_cli 0.3.1 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 babel_nar_cli 0.3.1 [INFO] finished tweaking crates.io crate babel_nar_cli 0.3.1 [INFO] tweaked toml for crates.io crate babel_nar_cli 0.3.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate babel_nar_cli 0.3.1 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] 599e11b244f1c1da22655902bd8f292459101eb437274802fa2980dd7922158a [INFO] running `Command { std: "docker" "start" "-a" "599e11b244f1c1da22655902bd8f292459101eb437274802fa2980dd7922158a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "599e11b244f1c1da22655902bd8f292459101eb437274802fa2980dd7922158a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "599e11b244f1c1da22655902bd8f292459101eb437274802fa2980dd7922158a", kill_on_drop: false }` [INFO] [stdout] 599e11b244f1c1da22655902bd8f292459101eb437274802fa2980dd7922158a [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] 0156f1fc9e848695f4d2683f3e119ff54fb16243e9a438f522c05abb64188f88 [INFO] running `Command { std: "docker" "start" "-a" "0156f1fc9e848695f4d2683f3e119ff54fb16243e9a438f522c05abb64188f88", 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.158 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling anyhow v1.0.88 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling once_cell v1.20.0 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking nar_dev_utils v0.42.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking narsese v0.21.3 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking clap_builder v4.5.17 [INFO] [stderr] Compiling terminfo v0.8.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling pest v2.7.12 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking which v6.0.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking clap v4.5.17 [INFO] [stderr] Compiling pest_meta v2.7.12 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking ws v0.9.2 [INFO] [stderr] Compiling pest_generator v2.7.12 [INFO] [stderr] Compiling pest_derive v2.7.12 [INFO] [stderr] Checking clearscreen v3.0.0 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking deser-hjson v2.2.4 [INFO] [stderr] Checking navm v0.17.4 [INFO] [stderr] Checking babel_nar v0.26.3 [INFO] [stderr] Checking babel_nar_cli v0.3.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `babel_nar_cli` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/cli/runtime_manage.rs [INFO] [stderr] * src/cli/websocket_server.rs [INFO] [stderr] * src/support/io/output_print.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/support/io/output_print.rs:249:6 [INFO] [stderr] | [INFO] [stderr] 249 | ($navm_output: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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/support/io/output_print.rs:249:19 [INFO] [stdout] | [INFO] [stdout] 249 | ($navm_output: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] 249 | ($navm_output:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/support/io/output_print.rs:254:8 [INFO] [stderr] | [INFO] [stderr] 254 | (% $navm_output:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/support/io/output_print.rs:269:6 [INFO] [stderr] | [INFO] [stderr] 269 | ($navm_output:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/support/io/output_print.rs:274:8 [INFO] [stderr] | [INFO] [stderr] 274 | (% $navm_output:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/support/io/output_print.rs:283:7 [INFO] [stderr] | [INFO] [stderr] 283 | { $value:expr_2021 => $e:ident => $($tail:tt)* } => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cli/runtime_manage.rs:183:14 [INFO] [stderr] | [INFO] [stderr] 183 | ($v:expr_2021 => $e_id:ident $e: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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/support/io/output_print.rs:254:21 [INFO] [stdout] | [INFO] [stdout] 254 | (% $navm_output: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] 254 | (% $navm_output:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/support/io/output_print.rs:269:19 [INFO] [stdout] | [INFO] [stdout] 269 | ($navm_output: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] 269 | ($navm_output:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/support/io/output_print.rs:274:21 [INFO] [stdout] | [INFO] [stdout] 274 | (% $navm_output: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] 274 | (% $navm_output:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/cli/runtime_manage.rs:183:42 [INFO] [stderr] | [INFO] [stderr] 183 | ($v:expr_2021 => $e_id:ident $e:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cli/runtime_manage.rs:192:14 [INFO] [stderr] | [INFO] [stderr] 192 | ($v:expr_2021) => { try_break!($v => e e.into()) }; [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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/support/io/output_print.rs:283:14 [INFO] [stdout] | [INFO] [stdout] 283 | { $value:expr => $e:ident => $($tail:tt)* } => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 283 | { $value:expr_2021 => $e:ident => $($tail:tt)* } => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cli/runtime_manage.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | ($v:expr => $e_id:ident $e: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] 183 | ($v:expr_2021 => $e_id:ident $e:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/cli/runtime_manage.rs:193:21 [INFO] [stderr] | [INFO] [stderr] 193 | (anyhow $v:expr_2021) => { try_break!($v => e error_anyhow(e)) }; // * 🎯针对`PoisonError` [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] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cli/runtime_manage.rs:183:40 [INFO] [stdout] | [INFO] [stdout] 183 | ($v:expr => $e_id:ident $e: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] 183 | ($v:expr => $e_id:ident $e:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cli/runtime_manage.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | ($v:expr) => { try_break!($v => e e.into()) }; [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] 192 | ($v:expr_2021) => { try_break!($v => e e.into()) }; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cli/runtime_manage.rs:193:24 [INFO] [stdout] | [INFO] [stdout] 193 | (anyhow $v:expr) => { try_break!($v => e error_anyhow(e)) }; // * 🎯针对`PoisonError` [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] 193 | (anyhow $v:expr_2021) => { try_break!($v => e error_anyhow(e)) }; // * 🎯针对`PoisonError` [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cli/websocket_server.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | ($value:expr; $e_id:ident => $($error_msg:tt)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 27 | ($value:expr_2021; $e_id:ident => $($error_msg:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/cli/websocket_server.rs:27:6 [INFO] [stderr] | [INFO] [stderr] 27 | ($value:expr_2021; $e_id:ident => $($error_msg:tt)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 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: `impl Iterator>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/support/cin_search/path_walker.rs:95:45 [INFO] [stdout] | [INFO] [stdout] 95 | fn new_path_iter(path: &Path) -> Result>> { [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] --> src/support/cin_search/path_walker.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | impl<'a> PathWalkerV1<'a> { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn new_path_iter(path: &Path) -> Result>> { [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] 95 | fn new_path_iter(path: &Path) -> Result> + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl std::fmt::Display` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/support/io/output_print.rs:85:45 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn format_line(&self, msg: &str) -> impl Display { [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] --> src/support/io/output_print.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | impl OutputType<'_> { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn format_line(&self, msg: &str) -> impl Display { [INFO] [stdout] | ^ ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 85 | pub fn format_line(&self, msg: &str) -> impl Display + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl std::fmt::Display` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/support/io/output_print.rs:92:48 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn format_navm_output(out: &Output) -> impl Display { [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] --> src/support/io/output_print.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | impl OutputType<'_> { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn format_navm_output(out: &Output) -> impl Display { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 92 | pub fn format_navm_output(out: &Output) -> impl Display + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl std::fmt::Display` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/support/io/output_print.rs:109:61 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn format_from_navm_output_verbose(out: &Output) -> impl Display { [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] --> src/support/io/output_print.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | impl OutputType<'_> { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn format_from_navm_output_verbose(out: &Output) -> impl Display { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 109 | pub fn format_from_navm_output_verbose(out: &Output) -> impl Display + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl std::fmt::Display` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/support/io/output_print.rs:168:54 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn to_colored_str(&self, message: String) -> impl Display { [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] --> src/support/io/output_print.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | impl OutputType<'_> { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn to_colored_str(&self, message: String) -> impl Display { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 168 | pub fn to_colored_str(&self, message: String) -> impl Display + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cli/vm_config.rs:657:12 [INFO] [stdout] | [INFO] [stdout] 657 | if let Some(e) = e.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^^^-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 666 | else if let Some(e) = e.downcast_ref::() { [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] 675 | else if let Some(e) = e.downcast_ref::() { [INFO] [stdout] | - this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cli/vm_config.rs:664:9 [INFO] [stdout] | [INFO] [stdout] 664 | } [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cli/vm_config.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | } [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cli/vm_config.rs:685:9 [INFO] [stdout] | [INFO] [stdout] 685 | } [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] 657 ~ match e.downcast_ref::() { Some(e) => { [INFO] [stdout] 658 | match e.kind() { [INFO] [stdout] ... [INFO] [stdout] 663 | } [INFO] [stdout] 664 ~ } _ => { match e.downcast_ref::() { Some(e) => { [INFO] [stdout] 665 | match e.classify() { [INFO] [stdout] ... [INFO] [stdout] 670 | } [INFO] [stdout] 671 ~ } _ => { match e.downcast_ref::() { Some(e) => { [INFO] [stdout] 672 | match e { [INFO] [stdout] ... [INFO] [stdout] 680 | } [INFO] [stdout] 681 ~ } _ => { [INFO] [stdout] 682 | println_cli!([Warn] "加载外部配置时出现预期之外的错误: {}", e) [INFO] [stdout] 683 ~ }}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl IntoIterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cli/config_search.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cli/config_search.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | start: &Path, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl VmRuntime` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cli/config_launcher.rs:124:67 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn launch_by_runtime_config(config: &RuntimeConfig) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cli/config_launcher.rs:124:41 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn launch_by_runtime_config(config: &RuntimeConfig) -> Result { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 124 | pub fn launch_by_runtime_config(config: &RuntimeConfig) -> Result> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cli/runtime_manage.rs:269:23 [INFO] [stdout] | [INFO] [stdout] 269 | while let Ok(Some(output)) = runtime [INFO] [stdout] | _______________________^ - [INFO] [stdout] | |______________________________________________| [INFO] [stdout] 270 | || .try_fetch_output() [INFO] [stdout] 271 | || .inspect_err(|e| eprintln_cli!([Error] "尝试拉取NAVM运行时输出时发生错误:{e}")) [INFO] [stdout] | ||____________________________________________________________________________________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |____________________________________________________________________________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cli/runtime_manage.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cli/runtime_manage.rs:428:24 [INFO] [stdout] | [INFO] [stdout] 428 | if let Err(e) = put_result { [INFO] [stdout] | ^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cli/runtime_manage.rs:441:21 [INFO] [stdout] | [INFO] [stdout] 441 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 428 ~ match put_result { Err(e) => { [INFO] [stdout] 429 | // 无论是否严格模式,都报告错误 [INFO] [stdout] ... [INFO] [stdout] 440 | } [INFO] [stdout] 441 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/ws_server_test/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `babel_nar_cli` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/cli/arg_parse.rs [INFO] [stderr] * src/cli/runtime_manage.rs [INFO] [stderr] * src/cli/vm_config.rs [INFO] [stderr] * src/cli/websocket_server.rs [INFO] [stderr] * src/support/io/output_print.rs [INFO] [stderr] * src/tests/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] --> src/support/io/output_print.rs:249:6 [INFO] [stderr] | [INFO] [stderr] 249 | ($navm_output:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/support/io/output_print.rs:254:8 [INFO] [stderr] | [INFO] [stderr] 254 | (% $navm_output:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/support/io/output_print.rs:269:6 [INFO] [stderr] | [INFO] [stderr] 269 | ($navm_output:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/support/io/output_print.rs:274:8 [INFO] [stderr] | [INFO] [stderr] 274 | (% $navm_output:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/support/io/output_print.rs:283:7 [INFO] [stderr] | [INFO] [stderr] 283 | { $value:expr_2021 => $e:ident => $($tail:tt)* } => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cli/arg_parse.rs:145:20 [INFO] [stderr] | [INFO] [stderr] 145 | $( $args:expr_2021 => $expected:expr_2021 $(;)? )* [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cli/arg_parse.rs:145:39 [INFO] [stderr] | [INFO] [stderr] 145 | $( $args:expr_2021 => $expected:expr_2021 $(;)? )* [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cli/arg_parse.rs:153:17 [INFO] [stderr] | [INFO] [stderr] 153 | $args: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] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/support/io/output_print.rs:249:19 [INFO] [stdout] | [INFO] [stdout] 249 | ($navm_output: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] 249 | ($navm_output:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/support/io/output_print.rs:254:21 [INFO] [stdout] | [INFO] [stdout] 254 | (% $navm_output: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] 254 | (% $navm_output:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/support/io/output_print.rs:269:19 [INFO] [stdout] | [INFO] [stdout] 269 | ($navm_output: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] 269 | ($navm_output:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/support/io/output_print.rs:274:21 [INFO] [stdout] | [INFO] [stdout] 274 | (% $navm_output: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] 274 | (% $navm_output:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/cli/arg_parse.rs:233:22 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/support/io/output_print.rs:283:14 [INFO] [stdout] | [INFO] [stdout] 283 | { $value:expr => $e:ident => $($tail:tt)* } => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 283 | { $value:expr_2021 => $e:ident => $($tail:tt)* } => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cli/vm_config.rs:763:34 [INFO] [stdout] | [INFO] [stdout] 763 | macro test( $( $data:expr => $expected: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] 763 | macro test( $( $data:expr_2021 => $expected:expr )* ) { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 233 | { $( [ $($arg:expr_2021 $(,)? )* ] => $expected:expr_2021 $(;)? )* } => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cli/vm_config.rs:763:52 [INFO] [stdout] | [INFO] [stdout] 763 | macro test( $( $data:expr => $expected: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] 763 | macro test( $( $data:expr => $expected:expr_2021 )* ) { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cli/vm_config.rs:880:34 [INFO] [stdout] | [INFO] [stdout] 880 | macro test( $( $data: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] 880 | macro test( $( $data:expr_2021 )* ) { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cli/arg_parse.rs:145:26 [INFO] [stdout] | [INFO] [stdout] 145 | $( $args:expr => $expected: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] 145 | $( $args:expr_2021 => $expected: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] --> src/cli/arg_parse.rs:145:44 [INFO] [stdout] | [INFO] [stdout] 145 | $( $args:expr => $expected: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] 145 | $( $args:expr => $expected:expr_2021 $(;)? )* [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cli/arg_parse.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | $args:expr [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 153 | $args:expr_2021 [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cli/arg_parse.rs:233:27 [INFO] [stdout] | [INFO] [stdout] 233 | { $( [ $($arg:expr $(,)? )* ] => $expected: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] 233 | { $( [ $($arg:expr_2021 $(,)? )* ] => $expected:expr $(;)? )* } => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cli/arg_parse.rs:233:56 [INFO] [stdout] | [INFO] [stdout] 233 | { $( [ $($arg:expr $(,)? )* ] => $expected: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] 233 | { $( [ $($arg:expr $(,)? )* ] => $expected:expr_2021 $(;)? )* } => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cli/arg_parse.rs:237:24 [INFO] [stdout] | [INFO] [stdout] 237 | { $( $args:expr $(;)? )* } => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 237 | { $( $args:expr_2021 $(;)? )* } => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/cli/arg_parse.rs:233:51 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cli/runtime_manage.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | ($v:expr => $e_id:ident $e: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] 183 | ($v:expr_2021 => $e_id:ident $e:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cli/runtime_manage.rs:183:40 [INFO] [stdout] | [INFO] [stdout] 183 | ($v:expr => $e_id:ident $e: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] 183 | ($v:expr => $e_id:ident $e:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 233 | { $( [ $($arg:expr_2021 $(,)? )* ] => $expected:expr_2021 $(;)? )* } => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cli/runtime_manage.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | ($v:expr) => { try_break!($v => e e.into()) }; [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] 192 | ($v:expr_2021) => { try_break!($v => e e.into()) }; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cli/runtime_manage.rs:193:24 [INFO] [stdout] | [INFO] [stdout] 193 | (anyhow $v:expr) => { try_break!($v => e error_anyhow(e)) }; // * 🎯针对`PoisonError` [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] 193 | (anyhow $v:expr_2021) => { try_break!($v => e error_anyhow(e)) }; // * 🎯针对`PoisonError` [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cli/websocket_server.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | ($value:expr; $e_id:ident => $($error_msg:tt)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 27 | ($value:expr_2021; $e_id:ident => $($error_msg:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tests/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | ($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] 23 | ($path:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tests/mod.rs:78:37 [INFO] [stdout] | [INFO] [stdout] 78 | $name:ident => $config_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] 78 | $name:ident => $config_path: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: `impl Iterator>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/support/cin_search/path_walker.rs:95:45 [INFO] [stdout] | [INFO] [stdout] 95 | fn new_path_iter(path: &Path) -> Result>> { [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] --> src/support/cin_search/path_walker.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | impl<'a> PathWalkerV1<'a> { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn new_path_iter(path: &Path) -> Result>> { [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] 95 | fn new_path_iter(path: &Path) -> Result> + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `impl std::fmt::Display` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/support/io/output_print.rs:85:45 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn format_line(&self, msg: &str) -> impl Display { [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] --> src/support/io/output_print.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | impl OutputType<'_> { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn format_line(&self, msg: &str) -> impl Display { [INFO] [stdout] | ^ ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 85 | pub fn format_line(&self, msg: &str) -> impl Display + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: `impl std::fmt::Display` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/support/io/output_print.rs:92:48 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn format_navm_output(out: &Output) -> impl Display { [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] --> src/support/io/output_print.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | impl OutputType<'_> { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn format_navm_output(out: &Output) -> impl Display { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 92 | pub fn format_navm_output(out: &Output) -> impl Display + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/cli/arg_parse.rs:237:18 [INFO] [stdout] warning: `impl std::fmt::Display` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/support/io/output_print.rs:109:61 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn format_from_navm_output_verbose(out: &Output) -> impl Display { [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] --> src/support/io/output_print.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | impl OutputType<'_> { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn format_from_navm_output_verbose(out: &Output) -> impl Display { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 109 | pub fn format_from_navm_output_verbose(out: &Output) -> impl Display + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `impl std::fmt::Display` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/support/io/output_print.rs:168:54 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn to_colored_str(&self, message: String) -> impl Display { [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] --> src/support/io/output_print.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | impl OutputType<'_> { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn to_colored_str(&self, message: String) -> impl Display { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 168 | pub fn to_colored_str(&self, message: String) -> impl Display + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 237 | { $( $args:expr_2021 $(;)? )* } => { [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cli/vm_config.rs:657:12 [INFO] [stdout] | [INFO] [stdout] 657 | if let Some(e) = e.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^^^-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 666 | else if let Some(e) = e.downcast_ref::() { [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] 675 | else if let Some(e) = e.downcast_ref::() { [INFO] [stdout] | - this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cli/vm_config.rs:664:9 [INFO] [stdout] | [INFO] [stdout] 664 | } [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cli/vm_config.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | } [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cli/vm_config.rs:685:9 [INFO] [stdout] | [INFO] [stdout] 685 | } [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] 657 ~ match e.downcast_ref::() { Some(e) => { [INFO] [stdout] 658 | match e.kind() { [INFO] [stdout] ... [INFO] [stdout] 663 | } [INFO] [stdout] 664 ~ } _ => { match e.downcast_ref::() { Some(e) => { [INFO] [stdout] 665 | match e.classify() { [INFO] [stdout] ... [INFO] [stdout] 670 | } [INFO] [stdout] 671 ~ } _ => { match e.downcast_ref::() { Some(e) => { [INFO] [stdout] 672 | match e { [INFO] [stdout] ... [INFO] [stdout] 680 | } [INFO] [stdout] 681 ~ } _ => { [INFO] [stdout] 682 | println_cli!([Warn] "加载外部配置时出现预期之外的错误: {}", e) [INFO] [stdout] 683 ~ }}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stdout] warning: `impl IntoIterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cli/config_search.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cli/config_search.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | start: &Path, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cli/runtime_manage.rs:183:14 [INFO] [stderr] | [INFO] [stderr] 183 | ($v:expr_2021 => $e_id:ident $e:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cli/runtime_manage.rs:183:42 [INFO] [stderr] | [INFO] [stderr] 183 | ($v:expr_2021 => $e_id:ident $e:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cli/runtime_manage.rs:192:14 [INFO] [stderr] | [INFO] [stderr] 192 | ($v:expr_2021) => { try_break!($v => e e.into()) }; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cli/runtime_manage.rs:193:21 [INFO] [stderr] | [INFO] [stderr] 193 | (anyhow $v:expr_2021) => { try_break!($v => e error_anyhow(e)) }; // * 🎯针对`PoisonError` [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cli/websocket_server.rs:27:6 [INFO] [stderr] | [INFO] [stderr] 27 | ($value:expr_2021; $e_id:ident => $($error_msg:tt)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tests/mod.rs:23:6 [INFO] [stderr] | [INFO] [stderr] 23 | ($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] --> src/tests/mod.rs:78:24 [INFO] [stderr] | [INFO] [stderr] 78 | $name:ident => $config_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] --> src/cli/vm_config.rs:757:28 [INFO] [stderr] | [INFO] [stderr] 757 | macro test( $( $data:expr_2021 => $expected:expr_2021 )* ) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cli/vm_config.rs:757:47 [INFO] [stderr] | [INFO] [stderr] 757 | macro test( $( $data:expr_2021 => $expected:expr_2021 )* ) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cli/vm_config.rs:874:28 [INFO] [stderr] | [INFO] [stderr] 874 | macro test( $( $data: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 21 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: `impl VmRuntime` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cli/config_launcher.rs:124:67 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn launch_by_runtime_config(config: &RuntimeConfig) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cli/config_launcher.rs:124:41 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn launch_by_runtime_config(config: &RuntimeConfig) -> Result { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 124 | pub fn launch_by_runtime_config(config: &RuntimeConfig) -> Result> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cli/runtime_manage.rs:269:23 [INFO] [stdout] | [INFO] [stdout] 269 | while let Ok(Some(output)) = runtime [INFO] [stdout] | _______________________^ - [INFO] [stdout] | |______________________________________________| [INFO] [stdout] 270 | || .try_fetch_output() [INFO] [stdout] 271 | || .inspect_err(|e| eprintln_cli!([Error] "尝试拉取NAVM运行时输出时发生错误:{e}")) [INFO] [stdout] | ||____________________________________________________________________________________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |____________________________________________________________________________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cli/runtime_manage.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cli/runtime_manage.rs:428:24 [INFO] [stdout] | [INFO] [stdout] 428 | if let Err(e) = put_result { [INFO] [stdout] | ^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cli/runtime_manage.rs:441:21 [INFO] [stdout] | [INFO] [stdout] 441 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 428 ~ match put_result { Err(e) => { [INFO] [stdout] 429 | // 无论是否严格模式,都报告错误 [INFO] [stdout] ... [INFO] [stdout] 440 | } [INFO] [stdout] 441 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.82s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking babel_nar_cli v0.3.1 (/tmp/fixit) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/support/io/output_print.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn format_navm_output(out: &Output) -> impl Display { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 102 | OutputType::from(out).to_colored_str(message) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'1` [INFO] [stdout] 103 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/support/io/output_print.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn format_from_navm_output_verbose(out: &Output) -> impl Display { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 121 | OutputType::from(out).to_colored_str(message) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'1` [INFO] [stdout] 122 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `config` does not live long enough [INFO] [stdout] --> src/cli/config_launcher.rs:115:44 [INFO] [stdout] | [INFO] [stdout] 107 | let config: RuntimeConfig = config.try_into()?; [INFO] [stdout] | ------ binding `config` declared here [INFO] [stdout] ... [INFO] [stdout] 115 | let runtime = launch_by_runtime_config(&config)?; [INFO] [stdout] | -------------------------^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `config` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 119 | } [INFO] [stdout] | - `config` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `config` because it is borrowed [INFO] [stdout] --> src/cli/config_launcher.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 107 | let config: RuntimeConfig = config.try_into()?; [INFO] [stdout] | ------ binding `config` declared here [INFO] [stdout] ... [INFO] [stdout] 115 | let runtime = launch_by_runtime_config(&config)?; [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrow of `config` occurs here [INFO] [stdout] | argument requires that `config` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 118 | Ok((runtime, config)) [INFO] [stdout] | ^^^^^^ move out of `config` occurs here [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 115 | let runtime = launch_by_runtime_config(&config.clone())?; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `manager.config` does not live long enough [INFO] [stdout] --> src/cli/runtime_manage.rs:472:24 [INFO] [stdout] | [INFO] [stdout] 456 | manager: RuntimeManager, [INFO] [stdout] | ------- binding `manager` declared here [INFO] [stdout] ... [INFO] [stdout] 472 | let config_ref = &*manager.config; [INFO] [stdout] | ^^^^^^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] 473 | let new_runtime = launch_by_runtime_config(config_ref)?; [INFO] [stdout] | ------------------------------------ argument requires that `manager.config` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 478 | } [INFO] [stdout] | - `manager.config` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/support/io/output_print.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn format_navm_output(out: &Output) -> impl Display { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 102 | OutputType::from(out).to_colored_str(message) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'1` [INFO] [stdout] 103 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/support/io/output_print.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn format_from_navm_output_verbose(out: &Output) -> impl Display { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 121 | OutputType::from(out).to_colored_str(message) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'1` [INFO] [stdout] 122 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `config` does not live long enough [INFO] [stdout] --> src/cli/config_launcher.rs:115:44 [INFO] [stdout] | [INFO] [stdout] 107 | let config: RuntimeConfig = config.try_into()?; [INFO] [stdout] | ------ binding `config` declared here [INFO] [stdout] ... [INFO] [stdout] 115 | let runtime = launch_by_runtime_config(&config)?; [INFO] [stdout] | -------------------------^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `config` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 119 | } [INFO] [stdout] | - `config` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `config` because it is borrowed [INFO] [stdout] --> src/cli/config_launcher.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 107 | let config: RuntimeConfig = config.try_into()?; [INFO] [stdout] | ------ binding `config` declared here [INFO] [stdout] ... [INFO] [stdout] 115 | let runtime = launch_by_runtime_config(&config)?; [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrow of `config` occurs here [INFO] [stdout] | argument requires that `config` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 118 | Ok((runtime, config)) [INFO] [stdout] | ^^^^^^ move out of `config` occurs here [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 115 | let runtime = launch_by_runtime_config(&config.clone())?; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `manager.config` does not live long enough [INFO] [stdout] --> src/cli/runtime_manage.rs:472:24 [INFO] [stdout] | [INFO] [stdout] 456 | manager: RuntimeManager, [INFO] [stdout] | ------- binding `manager` declared here [INFO] [stdout] ... [INFO] [stdout] 472 | let config_ref = &*manager.config; [INFO] [stdout] | ^^^^^^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] 473 | let new_runtime = launch_by_runtime_config(config_ref)?; [INFO] [stdout] | ------------------------------------ argument requires that `manager.config` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 478 | } [INFO] [stdout] | - `manager.config` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `root` does not live long enough [INFO] [stdout] --> src/support/cin_search/path_walker.rs:84:61 [INFO] [stdout] | [INFO] [stdout] 79 | let root = match ancestors_stack.pop() { [INFO] [stdout] | ---- binding `root` declared here [INFO] [stdout] ... [INFO] [stdout] 84 | let current_dir_iter = Box::new(Self::new_path_iter(&root)?); [INFO] [stdout] | ^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 89 | current_dir_iter, [INFO] [stdout] | ---------------- cast requires that `root` is borrowed for `'static` [INFO] [stdout] 90 | }) [INFO] [stdout] 91 | } [INFO] [stdout] | - `root` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] = note: due to object lifetime defaults, `Box>>` actually means `Box<(dyn Iterator> + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/support/cin_search/path_walker.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 64 | impl<'a> PathWalkerV1<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 89 | current_dir_iter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cast requires that `'a` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/support/cin_search/path_walker.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 64 | impl<'a> PathWalkerV1<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 148 | self.current_dir_iter = Box::new(iter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cast requires that `'a` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/support/cin_search/path_walker.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 146 | fn change_current_path(&mut self, path: &Path) -> Result<()> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 147 | let iter = Self::new_path_iter(path)?; [INFO] [stdout] 148 | self.current_dir_iter = Box::new(iter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] help: replace `'a` with `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `root` does not live long enough [INFO] [stdout] --> src/support/cin_search/path_walker.rs:84:61 [INFO] [stdout] | [INFO] [stdout] 79 | let root = match ancestors_stack.pop() { [INFO] [stdout] | ---- binding `root` declared here [INFO] [stdout] ... [INFO] [stdout] 84 | let current_dir_iter = Box::new(Self::new_path_iter(&root)?); [INFO] [stdout] | ^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 89 | current_dir_iter, [INFO] [stdout] | ---------------- cast requires that `root` is borrowed for `'static` [INFO] [stdout] 90 | }) [INFO] [stdout] 91 | } [INFO] [stdout] | - `root` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] = note: due to object lifetime defaults, `Box>>` actually means `Box<(dyn Iterator> + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/support/cin_search/path_walker.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 64 | impl<'a> PathWalkerV1<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 89 | current_dir_iter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cast requires that `'a` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/support/cin_search/path_walker.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 64 | impl<'a> PathWalkerV1<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 148 | self.current_dir_iter = Box::new(iter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cast requires that `'a` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/support/cin_search/path_walker.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 146 | fn change_current_path(&mut self, path: &Path) -> Result<()> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 147 | let iter = Self::new_path_iter(path)?; [INFO] [stdout] 148 | self.current_dir_iter = Box::new(iter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] help: replace `'a` with `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0597, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `babel_nar_cli` (lib) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0597, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `babel_nar_cli` (lib test) due to 10 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" "0156f1fc9e848695f4d2683f3e119ff54fb16243e9a438f522c05abb64188f88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0156f1fc9e848695f4d2683f3e119ff54fb16243e9a438f522c05abb64188f88", kill_on_drop: false }` [INFO] [stdout] 0156f1fc9e848695f4d2683f3e119ff54fb16243e9a438f522c05abb64188f88