[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 against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2lambda123%2Ffish-shell-fish-shell" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/2lambda123/fish-shell-fish-shell on toolchain 91c0823ee63e793d990bb9fed898dc95b5d6db51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "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-7-tc1/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" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/fish-shell/fast-float-rust` [INFO] [stderr] Updating git submodule `https://github.com/lemire/fast_float_supplemental_tests.git` [INFO] [stderr] Updating git submodule `https://github.com/lemire/simple_fastfloat_benchmark.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/fish-shell/hexponent` [INFO] [stderr] Updating git repository `https://github.com/fish-shell/rust-pcre2` [INFO] [stderr] Updating git submodule `https://github.com/BurntSushi/pcre2-mirror` [INFO] [stderr] Updating git repository `https://github.com/fish-shell/printf-compat.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded git-version v0.3.9 [INFO] [stderr] Downloaded lock_api v0.3.4 [INFO] [stderr] Downloaded serial_test v0.4.0 [INFO] [stderr] Downloaded parking_lot_core v0.7.3 [INFO] [stderr] Downloaded git-version-macro v0.3.9 [INFO] [stderr] Downloaded parking_lot v0.10.2 [INFO] [stderr] Downloaded errno v0.2.8 [INFO] [stderr] Downloaded serial_test_derive v0.4.0 [INFO] [stderr] Downloaded rsconf v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1618f255d3270859db6c10a18f3b7e8a1b51a991005ee1265aade243d1e19d29 [INFO] running `Command { std: "docker" "start" "-a" "1618f255d3270859db6c10a18f3b7e8a1b51a991005ee1265aade243d1e19d29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1618f255d3270859db6c10a18f3b7e8a1b51a991005ee1265aade243d1e19d29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1618f255d3270859db6c10a18f3b7e8a1b51a991005ee1265aade243d1e19d29", kill_on_drop: false }` [INFO] [stdout] 1618f255d3270859db6c10a18f3b7e8a1b51a991005ee1265aade243d1e19d29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83ed2bc5ea3b9324470b7938c2a6c64ed5df37dbbda38d6657c3e0acd1cb0232 [INFO] running `Command { std: "docker" "start" "-a" "83ed2bc5ea3b9324470b7938c2a6c64ed5df37dbbda38d6657c3e0acd1cb0232", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling rsconf v0.1.2 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking either v1.9.0 [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] Compiling syn v1.0.109 [INFO] [stderr] Checking fast-float v0.2.0 (https://github.com/fish-shell/fast-float-rust?branch=fish#9590c33a) [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking hexponent v0.3.1 (https://github.com/fish-shell/hexponent?branch=fish#71febaf2) [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking lru v0.10.1 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking errno v0.2.8 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking printf-compat v0.1.1 (https://github.com/fish-shell/printf-compat.git?branch=fish#ff460021) [INFO] [stderr] Checking parking_lot_core v0.7.3 [INFO] [stderr] Compiling pcre2-sys v0.2.4 (https://github.com/fish-shell/rust-pcre2?branch=master#813a4267) [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_pcg v0.3.1 [INFO] [stderr] Compiling fish v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking rand v0.8.5 [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] Compiling serial_test_derive v0.4.0 [INFO] [stderr] Checking serial_test v0.4.0 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.32s [INFO] running `Command { std: "docker" "inspect" "83ed2bc5ea3b9324470b7938c2a6c64ed5df37dbbda38d6657c3e0acd1cb0232", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83ed2bc5ea3b9324470b7938c2a6c64ed5df37dbbda38d6657c3e0acd1cb0232", kill_on_drop: false }` [INFO] [stdout] 83ed2bc5ea3b9324470b7938c2a6c64ed5df37dbbda38d6657c3e0acd1cb0232 [INFO] checking 2lambda123/fish-shell-fish-shell against try#519d6e23a6cb73c4d0f295f71ad37db8e95c54ab for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2lambda123%2Ffish-shell-fish-shell" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/2lambda123/fish-shell-fish-shell on toolchain 519d6e23a6cb73c4d0f295f71ad37db8e95c54ab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "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-7-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" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c244fc0efcf901c776eb4682b5b80f70b7f5a45822f65f4260df9b1f3d6da2c1 [INFO] running `Command { std: "docker" "start" "-a" "c244fc0efcf901c776eb4682b5b80f70b7f5a45822f65f4260df9b1f3d6da2c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c244fc0efcf901c776eb4682b5b80f70b7f5a45822f65f4260df9b1f3d6da2c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c244fc0efcf901c776eb4682b5b80f70b7f5a45822f65f4260df9b1f3d6da2c1", kill_on_drop: false }` [INFO] [stdout] c244fc0efcf901c776eb4682b5b80f70b7f5a45822f65f4260df9b1f3d6da2c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6efee6722929abb1b649cf819a69ea6c360c4350fe5d58e6d7346fd11cdee909 [INFO] running `Command { std: "docker" "start" "-a" "6efee6722929abb1b649cf819a69ea6c360c4350fe5d58e6d7346fd11cdee909", 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 rsconf v0.1.2 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking widestring v1.0.2 [INFO] [stderr] Checking fast-float v0.2.0 (https://github.com/fish-shell/fast-float-rust?branch=fish#9590c33a) [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking hexponent v0.3.1 (https://github.com/fish-shell/hexponent?branch=fish#71febaf2) [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Checking lru v0.10.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking errno v0.2.8 [INFO] [stderr] Checking printf-compat v0.1.1 (https://github.com/fish-shell/printf-compat.git?branch=fish#ff460021) [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] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_pcg v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [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 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/env/environment_impl.rs (4 fixes) [INFO] [stderr] Fixed src/locale.rs (3 fixes) [INFO] [stderr] Fixed src/signal.rs (8 fixes) [INFO] [stderr] Fixed src/topic_monitor.rs (5 fixes) [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(static_mut_refs)]` [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 475 | unsafe { addr_of_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:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | &PRINCIPAL [INFO] [stdout] | ^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 423 | addr_of!(PRINCIPAL) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/tests/topic_monitor.rs (2 fixes) [INFO] [stderr] Migrating src/bin/fish_indent.rs from 2021 edition to 2024 [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(static_mut_refs)]` [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 475 | unsafe { addr_of_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:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | &PRINCIPAL [INFO] [stdout] | ^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 423 | addr_of!(PRINCIPAL) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/fish_key_reader.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/fish.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 29s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling fish v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [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: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 475 | unsafe { addr_of_mut!(STDOUTPUT) } [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [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: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 423 | addr_of!(PRINCIPAL) [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: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] [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] [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] [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] [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] [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] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/reader.rs:3909:13 [INFO] [stdout] | [INFO] [stdout] 3875 | fn update_autosuggestion(&mut self) { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 3909 | self.parser(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/reader.rs:4029:13 [INFO] [stdout] | [INFO] [stdout] 4016 | fn super_highlight_me_plenty(&mut self) { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 4029 | get_highlight_performer(self.parser(), &self.command_line, /*io_ok=*/ true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0502, E0521, E0796. [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 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [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: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 475 | unsafe { addr_of_mut!(STDOUTPUT) } [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [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: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 423 | addr_of!(PRINCIPAL) [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: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] [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] [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] [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] [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] [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] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/reader.rs:3909:13 [INFO] [stdout] | [INFO] [stdout] 3875 | fn update_autosuggestion(&mut self) { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 3909 | self.parser(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/reader.rs:4029:13 [INFO] [stdout] | [INFO] [stdout] 4016 | fn super_highlight_me_plenty(&mut self) { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 4029 | get_highlight_performer(self.parser(), &self.command_line, /*io_ok=*/ true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0502, E0521, E0796. [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 11 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" "6efee6722929abb1b649cf819a69ea6c360c4350fe5d58e6d7346fd11cdee909", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6efee6722929abb1b649cf819a69ea6c360c4350fe5d58e6d7346fd11cdee909", kill_on_drop: false }` [INFO] [stdout] 6efee6722929abb1b649cf819a69ea6c360c4350fe5d58e6d7346fd11cdee909