[INFO] cloning repository https://github.com/2lambda123/fish-shell-fish-shell [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/2lambda123/fish-shell-fish-shell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2lambda123%2Ffish-shell-fish-shell", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2lambda123%2Ffish-shell-fish-shell'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2137467f0b20cca0a8a6938e8039bbf8837cdc1c [INFO] checking 2lambda123/fish-shell-fish-shell/2137467f0b20cca0a8a6938e8039bbf8837cdc1c against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2lambda123%2Ffish-shell-fish-shell" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/2lambda123/fish-shell-fish-shell on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/2lambda123/fish-shell-fish-shell [INFO] finished tweaking git repo https://github.com/2lambda123/fish-shell-fish-shell [INFO] tweaked toml for git repo https://github.com/2lambda123/fish-shell-fish-shell written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/2lambda123/fish-shell-fish-shell 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" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fc78eab8e87b8c965c566b6f1265050c83ae886ca7eb5a419d978f94abe1c27 [INFO] running `Command { std: "docker" "start" "-a" "2fc78eab8e87b8c965c566b6f1265050c83ae886ca7eb5a419d978f94abe1c27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fc78eab8e87b8c965c566b6f1265050c83ae886ca7eb5a419d978f94abe1c27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fc78eab8e87b8c965c566b6f1265050c83ae886ca7eb5a419d978f94abe1c27", kill_on_drop: false }` [INFO] [stdout] 2fc78eab8e87b8c965c566b6f1265050c83ae886ca7eb5a419d978f94abe1c27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5a0ef24ecadb280b4439de596224259d135940c2c3d843f9355b54e0eb69aef [INFO] running `Command { std: "docker" "start" "-a" "d5a0ef24ecadb280b4439de596224259d135940c2c3d843f9355b54e0eb69aef", 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.152 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling rsconf v0.1.2 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking widestring v1.0.2 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking fast-float v0.2.0 (https://github.com/fish-shell/fast-float-rust?branch=fish#9590c33a) [INFO] [stderr] Checking hexponent v0.3.1 (https://github.com/fish-shell/hexponent?branch=fish#71febaf2) [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking lru v0.10.1 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking printf-compat v0.1.1 (https://github.com/fish-shell/printf-compat.git?branch=fish#ff460021) [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking errno v0.2.8 [INFO] [stderr] Checking parking_lot_core v0.7.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling pcre2-sys v0.2.4 (https://github.com/fish-shell/rust-pcre2?branch=master#813a4267) [INFO] [stderr] Compiling fish v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_pcg v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> build.rs:125:15 [INFO] [stdout] | [INFO] [stdout] 125 | match handler(target) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 126 | Err(e) => rsconf::warn!("{}: {}", name, e), [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `e` calls a custom destructor [INFO] [stdout] | `e` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `e` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pcre2 v0.2.3 (https://github.com/fish-shell/rust-pcre2?branch=master#813a4267) [INFO] [stderr] Compiling git-version-macro v0.3.9 [INFO] [stderr] Checking git-version v0.3.9 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Compiling serial_test_derive v0.4.0 [INFO] [stderr] Checking serial_test v0.4.0 [INFO] [stderr] Fixed src/function.rs (2 fixes) [INFO] [stderr] Fixed src/expand.rs (18 fixes) [INFO] [stderr] Fixed src/signal.rs (8 fixes) [INFO] [stderr] Fixed src/libc.rs (8 fixes) [INFO] [stderr] Fixed src/history.rs (3 fixes) [INFO] [stderr] Fixed src/event.rs (1 fix) [INFO] [stderr] Fixed src/builtins/bg.rs (1 fix) [INFO] [stderr] Fixed src/builtins/path.rs (3 fixes) [INFO] [stderr] Fixed src/wutil/gettext.rs (6 fixes) [INFO] [stderr] Fixed src/builtins/printf.rs (2 fixes) [INFO] [stderr] Fixed src/output.rs (2 fixes) [INFO] [stderr] Fixed src/complete.rs (2 fixes) [INFO] [stderr] Fixed src/wildcard.rs (1 fix) [INFO] [stderr] Fixed src/parse_execution.rs (9 fixes) [INFO] [stderr] Fixed src/builtins/block.rs (1 fix) [INFO] [stderr] Fixed src/env/mod.rs (4 fixes) [INFO] [stderr] Fixed src/fallback.rs (3 fixes) [INFO] [stderr] Fixed src/builtins/status.rs (1 fix) [INFO] [stderr] Fixed src/threads.rs (1 fix) [INFO] [stderr] Fixed src/common.rs (14 fixes) [INFO] [stderr] Fixed src/builtins/shared.rs (1 fix) [INFO] [stderr] Fixed src/wutil/mod.rs (1 fix) [INFO] [stderr] Fixed src/fork_exec/flog_safe.rs (1 fix) [INFO] [stderr] Fixed src/builtins/functions.rs (2 fixes) [INFO] [stderr] Fixed src/builtins/set_color.rs (1 fix) [INFO] [stderr] Fixed src/proc.rs (1 fix) [INFO] [stderr] Fixed src/env_dispatch.rs (2 fixes) [INFO] [stderr] Fixed src/curses.rs (1 fix) [INFO] [stderr] Fixed src/builtins/string.rs (6 fixes) [INFO] [stderr] Fixed src/builtins/function.rs (1 fix) [INFO] [stderr] Fixed src/builtins/test.rs (1 fix) [INFO] [stderr] Fixed src/reader.rs (3 fixes) [INFO] [stderr] Fixed src/env/environment_impl.rs (7 fixes) [INFO] [stderr] Fixed src/parse_util.rs (12 fixes) [INFO] [stderr] Fixed src/wutil/wcstod.rs (1 fix) [INFO] [stderr] Fixed src/builtins/jobs.rs (1 fix) [INFO] [stderr] Fixed src/flog.rs (7 fixes) [INFO] [stderr] Fixed src/exec.rs (4 fixes) [INFO] [stderr] Fixed src/screen.rs (2 fixes) [INFO] [stderr] Fixed src/topic_monitor.rs (5 fixes) [INFO] [stderr] Fixed src/highlight.rs (1 fix) [INFO] [stderr] Fixed src/wchar.rs (1 fix) [INFO] [stderr] Fixed src/builtins/disown.rs (2 fixes) [INFO] [stderr] Fixed src/wait_handle.rs (1 fix) [INFO] [stderr] Fixed src/wutil/encoding.rs (1 fix) [INFO] [stderr] Fixed src/ast.rs (35 fixes) [INFO] [stderr] Fixed src/locale.rs (3 fixes) [INFO] [stderr] Fixed src/builtins/type.rs (2 fixes) [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 671 | / append_syntax_error!( [INFO] [stdout] 672 | | errors, [INFO] [stdout] 673 | | slice_start + bad_pos, [INFO] [stdout] 674 | | "array indices start at 1, not 0." [INFO] [stdout] 675 | | ); [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 678 | append_syntax_error!(errors, slice_start + bad_pos, "Invalid index value"); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 858 | append_syntax_error!(errors, SOURCE_LOCATION_UNKNOWN, "Mismatched braces"); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 944 | append_syntax_error!(errors, SOURCE_LOCATION_UNKNOWN, "Mismatched parenthesis"); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:384:16 [INFO] [stdout] | [INFO] [stdout] 384 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1006 | append_cmdsub_error_formatted!(errors, paren_begin, paren_end, err.to_owned()); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_cmdsub_error_formatted` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1020 | / append_syntax_error!( [INFO] [stdout] 1021 | | errors, [INFO] [stdout] 1022 | | slice_begin + bad_pos, [INFO] [stdout] 1023 | | "array indices start at 1, not 0." [INFO] [stdout] 1024 | | ); [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1027 | append_syntax_error!(errors, slice_begin + bad_pos, "Invalid index value"); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:384:16 [INFO] [stdout] | [INFO] [stdout] 384 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1343 | / append_cmdsub_error!( [INFO] [stdout] 1344 | | self.errors, [INFO] [stdout] 1345 | | start, [INFO] [stdout] 1346 | | end, [INFO] [stdout] 1347 | | "command substitutions not allowed in command position. Try var=(your-cmd) $var ..." [INFO] [stdout] 1348 | | ); [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_cmdsub_error_formatted` which comes from the expansion of the macro `append_cmdsub_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1353 | append_syntax_error!(out_errors, source_start, 1, "Mismatched parenthesis"); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1278 | / append_syntax_error!( [INFO] [stdout] 1279 | | out_errors, [INFO] [stdout] 1280 | | source_start + begin, [INFO] [stdout] 1281 | | end - begin, [INFO] [stdout] 1282 | | "Incomplete escape sequence '%ls'", [INFO] [stdout] 1283 | | arg_src [INFO] [stdout] 1284 | | ); [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1287 | / append_syntax_error!( [INFO] [stdout] 1288 | | out_errors, [INFO] [stdout] 1289 | | source_start + begin, [INFO] [stdout] 1290 | | end - begin, [INFO] [stdout] 1291 | | "Invalid token '%ls'", [INFO] [stdout] 1292 | | arg_src [INFO] [stdout] 1293 | | ); [INFO] [stdout] | |_____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1410 | return append_syntax_error!( [INFO] [stdout] | ____________________- [INFO] [stdout] 1411 | | parse_errors, [INFO] [stdout] 1412 | | conjunction.source_range().start(), [INFO] [stdout] 1413 | | conjunction.source_range().length(), [INFO] [stdout] ... | [INFO] [stdout] 1419 | | } [INFO] [stdout] 1420 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1449 | errored = append_syntax_error!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1450 | | parse_errors, [INFO] [stdout] 1451 | | source_range.start(), [INFO] [stdout] 1452 | | source_range.length(), [INFO] [stdout] 1453 | | BACKGROUND_IN_CONDITIONAL_ERROR_MSG [INFO] [stdout] 1454 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1475 | errored = append_syntax_error!( [INFO] [stdout] | ___________________________- [INFO] [stdout] 1476 | | parse_errors, [INFO] [stdout] 1477 | | deco.source_range().start(), [INFO] [stdout] 1478 | | deco.source_range().length(), [INFO] [stdout] 1479 | | BOOL_AFTER_BACKGROUND_ERROR_MSG, [INFO] [stdout] 1480 | | deco_name [INFO] [stdout] 1481 | | ); [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1532 | errored = append_syntax_error!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1533 | | parse_errors, [INFO] [stdout] 1534 | | source_start, [INFO] [stdout] 1535 | | source_length, [INFO] [stdout] 1536 | | INVALID_PIPELINE_CMD_ERR_MSG, [INFO] [stdout] 1537 | | "exec" [INFO] [stdout] 1538 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1555 | errored = append_syntax_error!( [INFO] [stdout] | ___________________________- [INFO] [stdout] 1556 | | parse_errors, [INFO] [stdout] 1557 | | source_start, [INFO] [stdout] 1558 | | source_length, [INFO] [stdout] 1559 | | INVALID_PIPELINE_CMD_ERR_MSG, [INFO] [stdout] 1560 | | command [INFO] [stdout] 1561 | | ); [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1566 | errored = append_syntax_error!( [INFO] [stdout] | ___________________________- [INFO] [stdout] 1567 | | parse_errors, [INFO] [stdout] 1568 | | source_start, [INFO] [stdout] 1569 | | source_length, [INFO] [stdout] 1570 | | TIME_IN_PIPELINE_ERR_MSG [INFO] [stdout] 1571 | | ); [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1581 | errored = append_syntax_error!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1582 | | parse_errors, [INFO] [stdout] 1583 | | source_start, [INFO] [stdout] 1584 | | source_length, [INFO] [stdout] 1585 | | "$status is not valid as a command. See `help conditions`" [INFO] [stdout] 1586 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1609 | errored = append_syntax_error!( [INFO] [stdout] | _______________________- [INFO] [stdout] 1610 | | parse_errors, [INFO] [stdout] 1611 | | source_start, [INFO] [stdout] 1612 | | source_length, [INFO] [stdout] 1613 | | INVALID_PIPELINE_CMD_ERR_MSG, [INFO] [stdout] 1614 | | command [INFO] [stdout] 1615 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1647 | / append_syntax_error!( [INFO] [stdout] 1648 | | parse_errors, [INFO] [stdout] 1649 | | source_start, [INFO] [stdout] 1650 | | source_length, [INFO] [stdout] 1651 | | INVALID_BREAK_ERR_MSG [INFO] [stdout] 1652 | | ) [INFO] [stdout] | |_____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1654 | / append_syntax_error!( [INFO] [stdout] 1655 | | parse_errors, [INFO] [stdout] 1656 | | source_start, [INFO] [stdout] 1657 | | source_length, [INFO] [stdout] 1658 | | INVALID_CONTINUE_ERR_MSG [INFO] [stdout] 1659 | | ) [INFO] [stdout] | |_____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1677 | errored = append_syntax_error!( [INFO] [stdout] | ___________________________- [INFO] [stdout] 1678 | | parse_errors, [INFO] [stdout] 1679 | | source_start, [INFO] [stdout] 1680 | | source_length, [INFO] [stdout] 1681 | | UNKNOWN_BUILTIN_ERR_MSG, [INFO] [stdout] 1682 | | unexp_command [INFO] [stdout] 1683 | | ); [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1705 | return append_syntax_error!( [INFO] [stdout] | ________________- [INFO] [stdout] 1706 | | out_errors, [INFO] [stdout] 1707 | | first_arg.source_range().start(), [INFO] [stdout] 1708 | | first_arg.source_range().length(), [INFO] [stdout] 1709 | | END_ARG_ERR_MSG [INFO] [stdout] 1710 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl for<'a> FnOnce(&'a mut ())` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/complete.rs:1799:32 [INFO] [stdout] | [INFO] [stdout] 1799 | ) -> Option> { [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/complete.rs:603:6 [INFO] [stdout] | [INFO] [stdout] 603 | impl<'ctx> Completer<'ctx> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1796 | fn apply_var_assignments<'a>( [INFO] [stdout] | ^^ [INFO] [stdout] 1797 | &mut self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/complete.rs:1798:26 [INFO] [stdout] | [INFO] [stdout] 1798 | var_assignments: impl IntoIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 1796 ~ fn apply_var_assignments<'a, T: IntoIterator>( [INFO] [stdout] 1797 | &mut self, [INFO] [stdout] 1798 ~ var_assignments: T, [INFO] [stdout] 1799 ~ ) -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/output.rs:475:18 [INFO] [stdout] | [INFO] [stdout] 475 | unsafe { &mut STDOUTPUT } [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 475 | unsafe { &raw mut STDOUTPUT } [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/parser.rs:422:13 [INFO] [stdout] | [INFO] [stdout] 422 | PRINCIPAL.assert_can_execute(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/parser.rs:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | &PRINCIPAL [INFO] [stdout] | ^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 423 | &raw const PRINCIPAL [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/reader.rs:202:14 [INFO] [stdout] | [INFO] [stdout] 202 | unsafe { READER_DATA_STACK.0.get_mut() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/threads.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | if MAIN_THREAD_ID.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/tests/reader.rs (5 fixes) [INFO] [stderr] Migrating src/bin/fish.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/builtins/tests/string_tests.rs (3 fixes) [INFO] [stderr] Fixed src/wcstringutil.rs (16 fixes) [INFO] [stderr] Fixed src/tests/parse_util.rs (2 fixes) [INFO] [stderr] Fixed src/tests/pager.rs (5 fixes) [INFO] [stderr] Fixed src/tests/env_universal_common.rs (1 fix) [INFO] [stderr] Fixed src/tests/expand.rs (12 fixes) [INFO] [stderr] Fixed src/parse_util.rs (4 fixes) [INFO] [stderr] Fixed src/tests/topic_monitor.rs (2 fixes) [INFO] [stderr] Fixed src/util.rs (3 fixes) [INFO] [stderr] Fixed src/tests/abbrs.rs (10 fixes) [INFO] [stderr] Fixed src/tests/complete.rs (1 fix) [INFO] [stderr] Fixed src/tests/tokenizer.rs (3 fixes) [INFO] [stderr] Fixed src/tests/history.rs (2 fixes) [INFO] [stderr] Fixed src/fds.rs (1 fix) [INFO] [stderr] Fixed src/tests/highlight.rs (3 fixes) [INFO] [stderr] Fixed src/autoload.rs (2 fixes) [INFO] [stderr] Fixed src/tests/parser.rs (12 fixes) [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 671 | / append_syntax_error!( [INFO] [stdout] 672 | | errors, [INFO] [stdout] 673 | | slice_start + bad_pos, [INFO] [stdout] 674 | | "array indices start at 1, not 0." [INFO] [stdout] 675 | | ); [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 678 | append_syntax_error!(errors, slice_start + bad_pos, "Invalid index value"); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 858 | append_syntax_error!(errors, SOURCE_LOCATION_UNKNOWN, "Mismatched braces"); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 944 | append_syntax_error!(errors, SOURCE_LOCATION_UNKNOWN, "Mismatched parenthesis"); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:384:16 [INFO] [stdout] | [INFO] [stdout] 384 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1006 | append_cmdsub_error_formatted!(errors, paren_begin, paren_end, err.to_owned()); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_cmdsub_error_formatted` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1020 | / append_syntax_error!( [INFO] [stdout] 1021 | | errors, [INFO] [stdout] 1022 | | slice_begin + bad_pos, [INFO] [stdout] 1023 | | "array indices start at 1, not 0." [INFO] [stdout] 1024 | | ); [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1027 | append_syntax_error!(errors, slice_begin + bad_pos, "Invalid index value"); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:384:16 [INFO] [stdout] | [INFO] [stdout] 384 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1343 | / append_cmdsub_error!( [INFO] [stdout] 1344 | | self.errors, [INFO] [stdout] 1345 | | start, [INFO] [stdout] 1346 | | end, [INFO] [stdout] 1347 | | "command substitutions not allowed in command position. Try var=(your-cmd) $var ..." [INFO] [stdout] 1348 | | ); [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_cmdsub_error_formatted` which comes from the expansion of the macro `append_cmdsub_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1353 | append_syntax_error!(out_errors, source_start, 1, "Mismatched parenthesis"); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1278 | / append_syntax_error!( [INFO] [stdout] 1279 | | out_errors, [INFO] [stdout] 1280 | | source_start + begin, [INFO] [stdout] 1281 | | end - begin, [INFO] [stdout] 1282 | | "Incomplete escape sequence '%ls'", [INFO] [stdout] 1283 | | arg_src [INFO] [stdout] 1284 | | ); [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1287 | / append_syntax_error!( [INFO] [stdout] 1288 | | out_errors, [INFO] [stdout] 1289 | | source_start + begin, [INFO] [stdout] 1290 | | end - begin, [INFO] [stdout] 1291 | | "Invalid token '%ls'", [INFO] [stdout] 1292 | | arg_src [INFO] [stdout] 1293 | | ); [INFO] [stdout] | |_____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1410 | return append_syntax_error!( [INFO] [stdout] | ____________________- [INFO] [stdout] 1411 | | parse_errors, [INFO] [stdout] 1412 | | conjunction.source_range().start(), [INFO] [stdout] 1413 | | conjunction.source_range().length(), [INFO] [stdout] ... | [INFO] [stdout] 1419 | | } [INFO] [stdout] 1420 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1449 | errored = append_syntax_error!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1450 | | parse_errors, [INFO] [stdout] 1451 | | source_range.start(), [INFO] [stdout] 1452 | | source_range.length(), [INFO] [stdout] 1453 | | BACKGROUND_IN_CONDITIONAL_ERROR_MSG [INFO] [stdout] 1454 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1475 | errored = append_syntax_error!( [INFO] [stdout] | ___________________________- [INFO] [stdout] 1476 | | parse_errors, [INFO] [stdout] 1477 | | deco.source_range().start(), [INFO] [stdout] 1478 | | deco.source_range().length(), [INFO] [stdout] 1479 | | BOOL_AFTER_BACKGROUND_ERROR_MSG, [INFO] [stdout] 1480 | | deco_name [INFO] [stdout] 1481 | | ); [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1532 | errored = append_syntax_error!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1533 | | parse_errors, [INFO] [stdout] 1534 | | source_start, [INFO] [stdout] 1535 | | source_length, [INFO] [stdout] 1536 | | INVALID_PIPELINE_CMD_ERR_MSG, [INFO] [stdout] 1537 | | "exec" [INFO] [stdout] 1538 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1555 | errored = append_syntax_error!( [INFO] [stdout] | ___________________________- [INFO] [stdout] 1556 | | parse_errors, [INFO] [stdout] 1557 | | source_start, [INFO] [stdout] 1558 | | source_length, [INFO] [stdout] 1559 | | INVALID_PIPELINE_CMD_ERR_MSG, [INFO] [stdout] 1560 | | command [INFO] [stdout] 1561 | | ); [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1566 | errored = append_syntax_error!( [INFO] [stdout] | ___________________________- [INFO] [stdout] 1567 | | parse_errors, [INFO] [stdout] 1568 | | source_start, [INFO] [stdout] 1569 | | source_length, [INFO] [stdout] 1570 | | TIME_IN_PIPELINE_ERR_MSG [INFO] [stdout] 1571 | | ); [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1581 | errored = append_syntax_error!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1582 | | parse_errors, [INFO] [stdout] 1583 | | source_start, [INFO] [stdout] 1584 | | source_length, [INFO] [stdout] 1585 | | "$status is not valid as a command. See `help conditions`" [INFO] [stdout] 1586 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1609 | errored = append_syntax_error!( [INFO] [stdout] | _______________________- [INFO] [stdout] 1610 | | parse_errors, [INFO] [stdout] 1611 | | source_start, [INFO] [stdout] 1612 | | source_length, [INFO] [stdout] 1613 | | INVALID_PIPELINE_CMD_ERR_MSG, [INFO] [stdout] 1614 | | command [INFO] [stdout] 1615 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1647 | / append_syntax_error!( [INFO] [stdout] 1648 | | parse_errors, [INFO] [stdout] 1649 | | source_start, [INFO] [stdout] 1650 | | source_length, [INFO] [stdout] 1651 | | INVALID_BREAK_ERR_MSG [INFO] [stdout] 1652 | | ) [INFO] [stdout] | |_____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1654 | / append_syntax_error!( [INFO] [stdout] 1655 | | parse_errors, [INFO] [stdout] 1656 | | source_start, [INFO] [stdout] 1657 | | source_length, [INFO] [stdout] 1658 | | INVALID_CONTINUE_ERR_MSG [INFO] [stdout] 1659 | | ) [INFO] [stdout] | |_____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1677 | errored = append_syntax_error!( [INFO] [stdout] | ___________________________- [INFO] [stdout] 1678 | | parse_errors, [INFO] [stdout] 1679 | | source_start, [INFO] [stdout] 1680 | | source_length, [INFO] [stdout] 1681 | | UNKNOWN_BUILTIN_ERR_MSG, [INFO] [stdout] 1682 | | unexp_command [INFO] [stdout] 1683 | | ); [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1705 | return append_syntax_error!( [INFO] [stdout] | ________________- [INFO] [stdout] 1706 | | out_errors, [INFO] [stdout] 1707 | | first_arg.source_range().start(), [INFO] [stdout] 1708 | | first_arg.source_range().length(), [INFO] [stdout] 1709 | | END_ARG_ERR_MSG [INFO] [stdout] 1710 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl for<'a> FnOnce(&'a mut ())` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/complete.rs:1799:32 [INFO] [stdout] | [INFO] [stdout] 1799 | ) -> Option> { [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/complete.rs:603:6 [INFO] [stdout] | [INFO] [stdout] 603 | impl<'ctx> Completer<'ctx> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1796 | fn apply_var_assignments<'a>( [INFO] [stdout] | ^^ [INFO] [stdout] 1797 | &mut self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/complete.rs:1798:26 [INFO] [stdout] | [INFO] [stdout] 1798 | var_assignments: impl IntoIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 1796 ~ fn apply_var_assignments<'a, T: IntoIterator>( [INFO] [stdout] 1797 | &mut self, [INFO] [stdout] 1798 ~ var_assignments: T, [INFO] [stdout] 1799 ~ ) -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/output.rs:475:18 [INFO] [stdout] | [INFO] [stdout] 475 | unsafe { &mut STDOUTPUT } [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 475 | unsafe { &raw mut STDOUTPUT } [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/parser.rs:422:13 [INFO] [stdout] | [INFO] [stdout] 422 | PRINCIPAL.assert_can_execute(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/parser.rs:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | &PRINCIPAL [INFO] [stdout] | ^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 423 | &raw const PRINCIPAL [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/reader.rs:202:14 [INFO] [stdout] | [INFO] [stdout] 202 | unsafe { READER_DATA_STACK.0.get_mut() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/threads.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | if MAIN_THREAD_ID.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/fish_key_reader.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/fish_indent.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.88s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling fish v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0502]: cannot borrow `*self.ctx` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/complete.rs:825:12 [INFO] [stdout] | [INFO] [stdout] 824 | self.apply_var_assignments(var_assignments.iter().map(|s| s.as_utfstr())); [INFO] [stdout] | ---- mutable borrow occurs here [INFO] [stdout] 825 | if self.ctx.check_cancel() { [INFO] [stdout] | ^^^^^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 837 | } [INFO] [stdout] | - mutable borrow might be used here, when `_restore_vars` is dropped and runs the destructor for type `std::option::Option FnOnce(&'a mut ())>>` [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/complete.rs:824:13 [INFO] [stdout] | [INFO] [stdout] 824 | self.apply_var_assignments(var_assignments.iter().map(|s| s.as_utfstr())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/complete.rs:1798:26 [INFO] [stdout] | [INFO] [stdout] 1798 | var_assignments: impl IntoIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 1796 ~ fn apply_var_assignments<'a, T: IntoIterator>( [INFO] [stdout] 1797 | &mut self, [INFO] [stdout] 1798 ~ var_assignments: T, [INFO] [stdout] 1799 ~ ) -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/complete.rs:830:9 [INFO] [stdout] | [INFO] [stdout] 824 | self.apply_var_assignments(var_assignments.iter().map(|s| s.as_utfstr())); [INFO] [stdout] | ---- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 830 | self.complete_param_expand(current_argument, do_file, handle_as_special_cd); [INFO] [stdout] | ^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 837 | } [INFO] [stdout] | - first borrow might be used here, when `_restore_vars` is dropped and runs the destructor for type `std::option::Option FnOnce(&'a mut ())>>` [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/complete.rs:824:13 [INFO] [stdout] | [INFO] [stdout] 824 | self.apply_var_assignments(var_assignments.iter().map(|s| s.as_utfstr())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/complete.rs:1798:26 [INFO] [stdout] | [INFO] [stdout] 1798 | var_assignments: impl IntoIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 1796 ~ fn apply_var_assignments<'a, T: IntoIterator>( [INFO] [stdout] 1797 | &mut self, [INFO] [stdout] 1798 ~ var_assignments: T, [INFO] [stdout] 1799 ~ ) -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/complete.rs:833:9 [INFO] [stdout] | [INFO] [stdout] 824 | self.apply_var_assignments(var_assignments.iter().map(|s| s.as_utfstr())); [INFO] [stdout] | ---- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 833 | self.escape_opening_brackets(current_argument); [INFO] [stdout] | ^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 837 | } [INFO] [stdout] | - first borrow might be used here, when `_restore_vars` is dropped and runs the destructor for type `std::option::Option FnOnce(&'a mut ())>>` [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/complete.rs:824:13 [INFO] [stdout] | [INFO] [stdout] 824 | self.apply_var_assignments(var_assignments.iter().map(|s| s.as_utfstr())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/complete.rs:1798:26 [INFO] [stdout] | [INFO] [stdout] 1798 | var_assignments: impl IntoIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 1796 ~ fn apply_var_assignments<'a, T: IntoIterator>( [INFO] [stdout] 1797 | &mut self, [INFO] [stdout] 1798 ~ var_assignments: T, [INFO] [stdout] 1799 ~ ) -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/complete.rs:836:9 [INFO] [stdout] | [INFO] [stdout] 824 | self.apply_var_assignments(var_assignments.iter().map(|s| s.as_utfstr())); [INFO] [stdout] | ---- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 836 | self.mark_completions_duplicating_arguments(&cmdline, current_token, tokens); [INFO] [stdout] | ^^^^ second mutable borrow occurs here [INFO] [stdout] 837 | } [INFO] [stdout] | - first borrow might be used here, when `_restore_vars` is dropped and runs the destructor for type `std::option::Option FnOnce(&'a mut ())>>` [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/complete.rs:824:13 [INFO] [stdout] | [INFO] [stdout] 824 | self.apply_var_assignments(var_assignments.iter().map(|s| s.as_utfstr())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/complete.rs:1798:26 [INFO] [stdout] | [INFO] [stdout] 1798 | var_assignments: impl IntoIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 1796 ~ fn apply_var_assignments<'a, T: IntoIterator>( [INFO] [stdout] 1797 | &mut self, [INFO] [stdout] 1798 ~ var_assignments: T, [INFO] [stdout] 1799 ~ ) -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self.ctx` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/complete.rs:1885:12 [INFO] [stdout] | [INFO] [stdout] 1884 | self.apply_var_assignments(ad.var_assignments.iter().map(WString::as_utfstr)); [INFO] [stdout] | ---- mutable borrow occurs here [INFO] [stdout] 1885 | if self.ctx.check_cancel() { [INFO] [stdout] | ^^^^^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1897 | } [INFO] [stdout] | - mutable borrow might be used here, when `_restore_vars` is dropped and runs the destructor for type `std::option::Option FnOnce(&'a mut ())>>` [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/complete.rs:1884:13 [INFO] [stdout] | [INFO] [stdout] 1884 | self.apply_var_assignments(ad.var_assignments.iter().map(WString::as_utfstr)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/complete.rs:1798:26 [INFO] [stdout] | [INFO] [stdout] 1798 | var_assignments: impl IntoIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 1796 ~ fn apply_var_assignments<'a, T: IntoIterator>( [INFO] [stdout] 1797 | &mut self, [INFO] [stdout] 1798 ~ var_assignments: T, [INFO] [stdout] 1799 ~ ) -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/complete.rs:1890:9 [INFO] [stdout] | [INFO] [stdout] 1884 | self.apply_var_assignments(ad.var_assignments.iter().map(WString::as_utfstr)); [INFO] [stdout] | ---- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1890 | self.complete_param_for_command( [INFO] [stdout] | ^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1897 | } [INFO] [stdout] | - first borrow might be used here, when `_restore_vars` is dropped and runs the destructor for type `std::option::Option FnOnce(&'a mut ())>>` [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/complete.rs:1884:13 [INFO] [stdout] | [INFO] [stdout] 1884 | self.apply_var_assignments(ad.var_assignments.iter().map(WString::as_utfstr)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/complete.rs:1798:26 [INFO] [stdout] | [INFO] [stdout] 1798 | var_assignments: impl IntoIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 1796 ~ fn apply_var_assignments<'a, T: IntoIterator>( [INFO] [stdout] 1797 | &mut self, [INFO] [stdout] 1798 ~ var_assignments: T, [INFO] [stdout] 1799 ~ ) -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 671 | / append_syntax_error!( [INFO] [stdout] 672 | | errors, [INFO] [stdout] 673 | | slice_start + bad_pos, [INFO] [stdout] 674 | | "array indices start at 1, not 0." [INFO] [stdout] 675 | | ); [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 678 | append_syntax_error!(errors, slice_start + bad_pos, "Invalid index value"); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 858 | append_syntax_error!(errors, SOURCE_LOCATION_UNKNOWN, "Mismatched braces"); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 944 | append_syntax_error!(errors, SOURCE_LOCATION_UNKNOWN, "Mismatched parenthesis"); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:384:16 [INFO] [stdout] | [INFO] [stdout] 384 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1006 | append_cmdsub_error_formatted!(errors, paren_begin, paren_end, err.to_owned()); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_cmdsub_error_formatted` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1020 | / append_syntax_error!( [INFO] [stdout] 1021 | | errors, [INFO] [stdout] 1022 | | slice_begin + bad_pos, [INFO] [stdout] 1023 | | "array indices start at 1, not 0." [INFO] [stdout] 1024 | | ); [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1027 | append_syntax_error!(errors, slice_begin + bad_pos, "Invalid index value"); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:384:16 [INFO] [stdout] | [INFO] [stdout] 384 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1343 | / append_cmdsub_error!( [INFO] [stdout] 1344 | | self.errors, [INFO] [stdout] 1345 | | start, [INFO] [stdout] 1346 | | end, [INFO] [stdout] 1347 | | "command substitutions not allowed in command position. Try var=(your-cmd) $var ..." [INFO] [stdout] 1348 | | ); [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_cmdsub_error_formatted` which comes from the expansion of the macro `append_cmdsub_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1353 | append_syntax_error!(out_errors, source_start, 1, "Mismatched parenthesis"); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1278 | / append_syntax_error!( [INFO] [stdout] 1279 | | out_errors, [INFO] [stdout] 1280 | | source_start + begin, [INFO] [stdout] 1281 | | end - begin, [INFO] [stdout] 1282 | | "Incomplete escape sequence '%ls'", [INFO] [stdout] 1283 | | arg_src [INFO] [stdout] 1284 | | ); [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1287 | / append_syntax_error!( [INFO] [stdout] 1288 | | out_errors, [INFO] [stdout] 1289 | | source_start + begin, [INFO] [stdout] 1290 | | end - begin, [INFO] [stdout] 1291 | | "Invalid token '%ls'", [INFO] [stdout] 1292 | | arg_src [INFO] [stdout] 1293 | | ); [INFO] [stdout] | |_____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1410 | return append_syntax_error!( [INFO] [stdout] | ____________________- [INFO] [stdout] 1411 | | parse_errors, [INFO] [stdout] 1412 | | conjunction.source_range().start(), [INFO] [stdout] 1413 | | conjunction.source_range().length(), [INFO] [stdout] ... | [INFO] [stdout] 1419 | | } [INFO] [stdout] 1420 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1449 | errored = append_syntax_error!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1450 | | parse_errors, [INFO] [stdout] 1451 | | source_range.start(), [INFO] [stdout] 1452 | | source_range.length(), [INFO] [stdout] 1453 | | BACKGROUND_IN_CONDITIONAL_ERROR_MSG [INFO] [stdout] 1454 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1475 | errored = append_syntax_error!( [INFO] [stdout] | ___________________________- [INFO] [stdout] 1476 | | parse_errors, [INFO] [stdout] 1477 | | deco.source_range().start(), [INFO] [stdout] 1478 | | deco.source_range().length(), [INFO] [stdout] 1479 | | BOOL_AFTER_BACKGROUND_ERROR_MSG, [INFO] [stdout] 1480 | | deco_name [INFO] [stdout] 1481 | | ); [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1532 | errored = append_syntax_error!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1533 | | parse_errors, [INFO] [stdout] 1534 | | source_start, [INFO] [stdout] 1535 | | source_length, [INFO] [stdout] 1536 | | INVALID_PIPELINE_CMD_ERR_MSG, [INFO] [stdout] 1537 | | "exec" [INFO] [stdout] 1538 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1555 | errored = append_syntax_error!( [INFO] [stdout] | ___________________________- [INFO] [stdout] 1556 | | parse_errors, [INFO] [stdout] 1557 | | source_start, [INFO] [stdout] 1558 | | source_length, [INFO] [stdout] 1559 | | INVALID_PIPELINE_CMD_ERR_MSG, [INFO] [stdout] 1560 | | command [INFO] [stdout] 1561 | | ); [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1566 | errored = append_syntax_error!( [INFO] [stdout] | ___________________________- [INFO] [stdout] 1567 | | parse_errors, [INFO] [stdout] 1568 | | source_start, [INFO] [stdout] 1569 | | source_length, [INFO] [stdout] 1570 | | TIME_IN_PIPELINE_ERR_MSG [INFO] [stdout] 1571 | | ); [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1581 | errored = append_syntax_error!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1582 | | parse_errors, [INFO] [stdout] 1583 | | source_start, [INFO] [stdout] 1584 | | source_length, [INFO] [stdout] 1585 | | "$status is not valid as a command. See `help conditions`" [INFO] [stdout] 1586 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1609 | errored = append_syntax_error!( [INFO] [stdout] | _______________________- [INFO] [stdout] 1610 | | parse_errors, [INFO] [stdout] 1611 | | source_start, [INFO] [stdout] 1612 | | source_length, [INFO] [stdout] 1613 | | INVALID_PIPELINE_CMD_ERR_MSG, [INFO] [stdout] 1614 | | command [INFO] [stdout] 1615 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1647 | / append_syntax_error!( [INFO] [stdout] 1648 | | parse_errors, [INFO] [stdout] 1649 | | source_start, [INFO] [stdout] 1650 | | source_length, [INFO] [stdout] 1651 | | INVALID_BREAK_ERR_MSG [INFO] [stdout] 1652 | | ) [INFO] [stdout] | |_____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1654 | / append_syntax_error!( [INFO] [stdout] 1655 | | parse_errors, [INFO] [stdout] 1656 | | source_start, [INFO] [stdout] 1657 | | source_length, [INFO] [stdout] 1658 | | INVALID_CONTINUE_ERR_MSG [INFO] [stdout] 1659 | | ) [INFO] [stdout] | |_____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1677 | errored = append_syntax_error!( [INFO] [stdout] | ___________________________- [INFO] [stdout] 1678 | | parse_errors, [INFO] [stdout] 1679 | | source_start, [INFO] [stdout] 1680 | | source_length, [INFO] [stdout] 1681 | | UNKNOWN_BUILTIN_ERR_MSG, [INFO] [stdout] 1682 | | unexp_command [INFO] [stdout] 1683 | | ); [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1705 | return append_syntax_error!( [INFO] [stdout] | ________________- [INFO] [stdout] 1706 | | out_errors, [INFO] [stdout] 1707 | | first_arg.source_range().start(), [INFO] [stdout] 1708 | | first_arg.source_range().length(), [INFO] [stdout] 1709 | | END_ARG_ERR_MSG [INFO] [stdout] 1710 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0502. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fish` (lib) due to 29 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0502]: cannot borrow `*self.ctx` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/complete.rs:825:12 [INFO] [stdout] | [INFO] [stdout] 824 | self.apply_var_assignments(var_assignments.iter().map(|s| s.as_utfstr())); [INFO] [stdout] | ---- mutable borrow occurs here [INFO] [stdout] 825 | if self.ctx.check_cancel() { [INFO] [stdout] | ^^^^^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 837 | } [INFO] [stdout] | - mutable borrow might be used here, when `_restore_vars` is dropped and runs the destructor for type `std::option::Option FnOnce(&'a mut ())>>` [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/complete.rs:824:13 [INFO] [stdout] | [INFO] [stdout] 824 | self.apply_var_assignments(var_assignments.iter().map(|s| s.as_utfstr())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/complete.rs:1798:26 [INFO] [stdout] | [INFO] [stdout] 1798 | var_assignments: impl IntoIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 1796 ~ fn apply_var_assignments<'a, T: IntoIterator>( [INFO] [stdout] 1797 | &mut self, [INFO] [stdout] 1798 ~ var_assignments: T, [INFO] [stdout] 1799 ~ ) -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/complete.rs:830:9 [INFO] [stdout] | [INFO] [stdout] 824 | self.apply_var_assignments(var_assignments.iter().map(|s| s.as_utfstr())); [INFO] [stdout] | ---- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 830 | self.complete_param_expand(current_argument, do_file, handle_as_special_cd); [INFO] [stdout] | ^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 837 | } [INFO] [stdout] | - first borrow might be used here, when `_restore_vars` is dropped and runs the destructor for type `std::option::Option FnOnce(&'a mut ())>>` [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/complete.rs:824:13 [INFO] [stdout] | [INFO] [stdout] 824 | self.apply_var_assignments(var_assignments.iter().map(|s| s.as_utfstr())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/complete.rs:1798:26 [INFO] [stdout] | [INFO] [stdout] 1798 | var_assignments: impl IntoIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 1796 ~ fn apply_var_assignments<'a, T: IntoIterator>( [INFO] [stdout] 1797 | &mut self, [INFO] [stdout] 1798 ~ var_assignments: T, [INFO] [stdout] 1799 ~ ) -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/complete.rs:833:9 [INFO] [stdout] | [INFO] [stdout] 824 | self.apply_var_assignments(var_assignments.iter().map(|s| s.as_utfstr())); [INFO] [stdout] | ---- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 833 | self.escape_opening_brackets(current_argument); [INFO] [stdout] | ^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 837 | } [INFO] [stdout] | - first borrow might be used here, when `_restore_vars` is dropped and runs the destructor for type `std::option::Option FnOnce(&'a mut ())>>` [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/complete.rs:824:13 [INFO] [stdout] | [INFO] [stdout] 824 | self.apply_var_assignments(var_assignments.iter().map(|s| s.as_utfstr())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/complete.rs:1798:26 [INFO] [stdout] | [INFO] [stdout] 1798 | var_assignments: impl IntoIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 1796 ~ fn apply_var_assignments<'a, T: IntoIterator>( [INFO] [stdout] 1797 | &mut self, [INFO] [stdout] 1798 ~ var_assignments: T, [INFO] [stdout] 1799 ~ ) -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/complete.rs:836:9 [INFO] [stdout] | [INFO] [stdout] 824 | self.apply_var_assignments(var_assignments.iter().map(|s| s.as_utfstr())); [INFO] [stdout] | ---- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 836 | self.mark_completions_duplicating_arguments(&cmdline, current_token, tokens); [INFO] [stdout] | ^^^^ second mutable borrow occurs here [INFO] [stdout] 837 | } [INFO] [stdout] | - first borrow might be used here, when `_restore_vars` is dropped and runs the destructor for type `std::option::Option FnOnce(&'a mut ())>>` [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/complete.rs:824:13 [INFO] [stdout] | [INFO] [stdout] 824 | self.apply_var_assignments(var_assignments.iter().map(|s| s.as_utfstr())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/complete.rs:1798:26 [INFO] [stdout] | [INFO] [stdout] 1798 | var_assignments: impl IntoIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 1796 ~ fn apply_var_assignments<'a, T: IntoIterator>( [INFO] [stdout] 1797 | &mut self, [INFO] [stdout] 1798 ~ var_assignments: T, [INFO] [stdout] 1799 ~ ) -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self.ctx` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/complete.rs:1885:12 [INFO] [stdout] | [INFO] [stdout] 1884 | self.apply_var_assignments(ad.var_assignments.iter().map(WString::as_utfstr)); [INFO] [stdout] | ---- mutable borrow occurs here [INFO] [stdout] 1885 | if self.ctx.check_cancel() { [INFO] [stdout] | ^^^^^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1897 | } [INFO] [stdout] | - mutable borrow might be used here, when `_restore_vars` is dropped and runs the destructor for type `std::option::Option FnOnce(&'a mut ())>>` [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/complete.rs:1884:13 [INFO] [stdout] | [INFO] [stdout] 1884 | self.apply_var_assignments(ad.var_assignments.iter().map(WString::as_utfstr)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/complete.rs:1798:26 [INFO] [stdout] | [INFO] [stdout] 1798 | var_assignments: impl IntoIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 1796 ~ fn apply_var_assignments<'a, T: IntoIterator>( [INFO] [stdout] 1797 | &mut self, [INFO] [stdout] 1798 ~ var_assignments: T, [INFO] [stdout] 1799 ~ ) -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/complete.rs:1890:9 [INFO] [stdout] | [INFO] [stdout] 1884 | self.apply_var_assignments(ad.var_assignments.iter().map(WString::as_utfstr)); [INFO] [stdout] | ---- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1890 | self.complete_param_for_command( [INFO] [stdout] | ^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1897 | } [INFO] [stdout] | - first borrow might be used here, when `_restore_vars` is dropped and runs the destructor for type `std::option::Option FnOnce(&'a mut ())>>` [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/complete.rs:1884:13 [INFO] [stdout] | [INFO] [stdout] 1884 | self.apply_var_assignments(ad.var_assignments.iter().map(WString::as_utfstr)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/complete.rs:1798:26 [INFO] [stdout] | [INFO] [stdout] 1798 | var_assignments: impl IntoIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 1796 ~ fn apply_var_assignments<'a, T: IntoIterator>( [INFO] [stdout] 1797 | &mut self, [INFO] [stdout] 1798 ~ var_assignments: T, [INFO] [stdout] 1799 ~ ) -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 671 | / append_syntax_error!( [INFO] [stdout] 672 | | errors, [INFO] [stdout] 673 | | slice_start + bad_pos, [INFO] [stdout] 674 | | "array indices start at 1, not 0." [INFO] [stdout] 675 | | ); [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 678 | append_syntax_error!(errors, slice_start + bad_pos, "Invalid index value"); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 858 | append_syntax_error!(errors, SOURCE_LOCATION_UNKNOWN, "Mismatched braces"); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 944 | append_syntax_error!(errors, SOURCE_LOCATION_UNKNOWN, "Mismatched parenthesis"); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:384:16 [INFO] [stdout] | [INFO] [stdout] 384 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1006 | append_cmdsub_error_formatted!(errors, paren_begin, paren_end, err.to_owned()); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_cmdsub_error_formatted` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1020 | / append_syntax_error!( [INFO] [stdout] 1021 | | errors, [INFO] [stdout] 1022 | | slice_begin + bad_pos, [INFO] [stdout] 1023 | | "array indices start at 1, not 0." [INFO] [stdout] 1024 | | ); [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1027 | append_syntax_error!(errors, slice_begin + bad_pos, "Invalid index value"); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/expand.rs:384:16 [INFO] [stdout] | [INFO] [stdout] 384 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1343 | / append_cmdsub_error!( [INFO] [stdout] 1344 | | self.errors, [INFO] [stdout] 1345 | | start, [INFO] [stdout] 1346 | | end, [INFO] [stdout] 1347 | | "command substitutions not allowed in command position. Try var=(your-cmd) $var ..." [INFO] [stdout] 1348 | | ); [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_cmdsub_error_formatted` which comes from the expansion of the macro `append_cmdsub_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1353 | append_syntax_error!(out_errors, source_start, 1, "Mismatched parenthesis"); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1278 | / append_syntax_error!( [INFO] [stdout] 1279 | | out_errors, [INFO] [stdout] 1280 | | source_start + begin, [INFO] [stdout] 1281 | | end - begin, [INFO] [stdout] 1282 | | "Incomplete escape sequence '%ls'", [INFO] [stdout] 1283 | | arg_src [INFO] [stdout] 1284 | | ); [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1287 | / append_syntax_error!( [INFO] [stdout] 1288 | | out_errors, [INFO] [stdout] 1289 | | source_start + begin, [INFO] [stdout] 1290 | | end - begin, [INFO] [stdout] 1291 | | "Invalid token '%ls'", [INFO] [stdout] 1292 | | arg_src [INFO] [stdout] 1293 | | ); [INFO] [stdout] | |_____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1410 | return append_syntax_error!( [INFO] [stdout] | ____________________- [INFO] [stdout] 1411 | | parse_errors, [INFO] [stdout] 1412 | | conjunction.source_range().start(), [INFO] [stdout] 1413 | | conjunction.source_range().length(), [INFO] [stdout] ... | [INFO] [stdout] 1419 | | } [INFO] [stdout] 1420 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1449 | errored = append_syntax_error!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1450 | | parse_errors, [INFO] [stdout] 1451 | | source_range.start(), [INFO] [stdout] 1452 | | source_range.length(), [INFO] [stdout] 1453 | | BACKGROUND_IN_CONDITIONAL_ERROR_MSG [INFO] [stdout] 1454 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1475 | errored = append_syntax_error!( [INFO] [stdout] | ___________________________- [INFO] [stdout] 1476 | | parse_errors, [INFO] [stdout] 1477 | | deco.source_range().start(), [INFO] [stdout] 1478 | | deco.source_range().length(), [INFO] [stdout] 1479 | | BOOL_AFTER_BACKGROUND_ERROR_MSG, [INFO] [stdout] 1480 | | deco_name [INFO] [stdout] 1481 | | ); [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1532 | errored = append_syntax_error!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1533 | | parse_errors, [INFO] [stdout] 1534 | | source_start, [INFO] [stdout] 1535 | | source_length, [INFO] [stdout] 1536 | | INVALID_PIPELINE_CMD_ERR_MSG, [INFO] [stdout] 1537 | | "exec" [INFO] [stdout] 1538 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1555 | errored = append_syntax_error!( [INFO] [stdout] | ___________________________- [INFO] [stdout] 1556 | | parse_errors, [INFO] [stdout] 1557 | | source_start, [INFO] [stdout] 1558 | | source_length, [INFO] [stdout] 1559 | | INVALID_PIPELINE_CMD_ERR_MSG, [INFO] [stdout] 1560 | | command [INFO] [stdout] 1561 | | ); [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1566 | errored = append_syntax_error!( [INFO] [stdout] | ___________________________- [INFO] [stdout] 1567 | | parse_errors, [INFO] [stdout] 1568 | | source_start, [INFO] [stdout] 1569 | | source_length, [INFO] [stdout] 1570 | | TIME_IN_PIPELINE_ERR_MSG [INFO] [stdout] 1571 | | ); [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1581 | errored = append_syntax_error!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1582 | | parse_errors, [INFO] [stdout] 1583 | | source_start, [INFO] [stdout] 1584 | | source_length, [INFO] [stdout] 1585 | | "$status is not valid as a command. See `help conditions`" [INFO] [stdout] 1586 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1609 | errored = append_syntax_error!( [INFO] [stdout] | _______________________- [INFO] [stdout] 1610 | | parse_errors, [INFO] [stdout] 1611 | | source_start, [INFO] [stdout] 1612 | | source_length, [INFO] [stdout] 1613 | | INVALID_PIPELINE_CMD_ERR_MSG, [INFO] [stdout] 1614 | | command [INFO] [stdout] 1615 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1647 | / append_syntax_error!( [INFO] [stdout] 1648 | | parse_errors, [INFO] [stdout] 1649 | | source_start, [INFO] [stdout] 1650 | | source_length, [INFO] [stdout] 1651 | | INVALID_BREAK_ERR_MSG [INFO] [stdout] 1652 | | ) [INFO] [stdout] | |_____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1654 | / append_syntax_error!( [INFO] [stdout] 1655 | | parse_errors, [INFO] [stdout] 1656 | | source_start, [INFO] [stdout] 1657 | | source_length, [INFO] [stdout] 1658 | | INVALID_CONTINUE_ERR_MSG [INFO] [stdout] 1659 | | ) [INFO] [stdout] | |_____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1677 | errored = append_syntax_error!( [INFO] [stdout] | ___________________________- [INFO] [stdout] 1678 | | parse_errors, [INFO] [stdout] 1679 | | source_start, [INFO] [stdout] 1680 | | source_length, [INFO] [stdout] 1681 | | UNKNOWN_BUILTIN_ERR_MSG, [INFO] [stdout] 1682 | | unexp_command [INFO] [stdout] 1683 | | ); [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/parse_util.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if let Some(ref mut errors) = $errors { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 1705 | return append_syntax_error!( [INFO] [stdout] | ________________- [INFO] [stdout] 1706 | | out_errors, [INFO] [stdout] 1707 | | first_arg.source_range().start(), [INFO] [stdout] 1708 | | first_arg.source_range().length(), [INFO] [stdout] 1709 | | END_ARG_ERR_MSG [INFO] [stdout] 1710 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `append_syntax_error_formatted` which comes from the expansion of the macro `append_syntax_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0502. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fish` (lib test) due to 29 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" "d5a0ef24ecadb280b4439de596224259d135940c2c3d843f9355b54e0eb69aef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5a0ef24ecadb280b4439de596224259d135940c2c3d843f9355b54e0eb69aef", kill_on_drop: false }` [INFO] [stdout] d5a0ef24ecadb280b4439de596224259d135940c2c3d843f9355b54e0eb69aef