[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] testing 2lambda123/fish-shell-fish-shell/2137467f0b20cca0a8a6938e8039bbf8837cdc1c against 1.81.0 for beta-1.82-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2lambda123%2Ffish-shell-fish-shell" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/2lambda123/fish-shell-fish-shell on toolchain 1.81.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.81.0" "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-5-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" "+1.81.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serial_test_derive v0.4.0 [INFO] [stderr] Downloaded serial_test v0.4.0 [INFO] [stderr] Downloaded rsconf v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c8a98e051d0360379f9d31fbd316d60898948fc8f911cdb4a9692fd6d834c93 [INFO] running `Command { std: "docker" "start" "-a" "4c8a98e051d0360379f9d31fbd316d60898948fc8f911cdb4a9692fd6d834c93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c8a98e051d0360379f9d31fbd316d60898948fc8f911cdb4a9692fd6d834c93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c8a98e051d0360379f9d31fbd316d60898948fc8f911cdb4a9692fd6d834c93", kill_on_drop: false }` [INFO] [stdout] 4c8a98e051d0360379f9d31fbd316d60898948fc8f911cdb4a9692fd6d834c93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de35659be6ac9b125f594aa460d5eed929440a547b5aafd6745087fd45917f86 [INFO] running `Command { std: "docker" "start" "-a" "de35659be6ac9b125f594aa460d5eed929440a547b5aafd6745087fd45917f86", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling rsconf v0.1.2 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling widestring v1.0.2 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling fast-float v0.2.0 (https://github.com/fish-shell/fast-float-rust?branch=fish#9590c33a) [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling hexponent v0.3.1 (https://github.com/fish-shell/hexponent?branch=fish#71febaf2) [INFO] [stderr] Compiling lru v0.10.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling printf-compat v0.1.1 (https://github.com/fish-shell/printf-compat.git?branch=fish#ff460021) [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [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 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling 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] Compiling git-version v0.3.9 [INFO] [stdout] warning: unexpected `cfg` condition name: `have_nc_cur_term` [INFO] [stdout] --> src/curses.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | #[cfg(not(have_nc_cur_term))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(have_nc_cur_term)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(have_nc_cur_term)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `have_nc_cur_term` [INFO] [stdout] --> src/curses.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg(have_nc_cur_term)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(have_nc_cur_term)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(have_nc_cur_term)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `have_nc_cur_term` [INFO] [stdout] --> src/curses.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 106 | #[cfg(have_nc_cur_term)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(have_nc_cur_term)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(have_nc_cur_term)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `have_nc_cur_term` [INFO] [stdout] --> src/curses.rs:110:15 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(not(have_nc_cur_term))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(have_nc_cur_term)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(have_nc_cur_term)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gettext` [INFO] [stdout] --> src/env_dispatch.rs:782:11 [INFO] [stdout] | [INFO] [stdout] 782 | #[cfg(gettext)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gettext)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gettext)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bsd` [INFO] [stdout] --> src/env_universal_common.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(any(bsd, target_os = "macos"))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bsd` [INFO] [stdout] --> src/env_universal_common.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(not(any(bsd, target_os = "macos")))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `FISH_USE_POSIX_SPAWN` [INFO] [stdout] --> src/exec.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(FISH_USE_POSIX_SPAWN)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(FISH_USE_POSIX_SPAWN)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(FISH_USE_POSIX_SPAWN)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `FISH_USE_POSIX_SPAWN` [INFO] [stdout] --> src/exec.rs:849:11 [INFO] [stdout] | [INFO] [stdout] 849 | #[cfg(FISH_USE_POSIX_SPAWN)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(FISH_USE_POSIX_SPAWN)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(FISH_USE_POSIX_SPAWN)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(not(HAVE_EVENTFD))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(HAVE_EVENTFD)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | #[cfg(not(HAVE_EVENTFD))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | #[cfg(HAVE_EVENTFD)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(not(HAVE_EVENTFD))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | #[cfg(HAVE_EVENTFD)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | #[cfg(not(HAVE_EVENTFD))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:116:15 [INFO] [stdout] | [INFO] [stdout] 116 | #[cfg(HAVE_EVENTFD)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | #[cfg(not(HAVE_EVENTFD))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 170 | #[cfg(HAVE_EVENTFD)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | #[cfg(not(HAVE_EVENTFD))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_PIPE2` [INFO] [stdout] --> src/fds.rs:135:11 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg(HAVE_PIPE2)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_PIPE2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_PIPE2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_PIPE2` [INFO] [stdout] --> src/fds.rs:147:15 [INFO] [stdout] | [INFO] [stdout] 147 | #[cfg(not(HAVE_PIPE2))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_PIPE2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_PIPE2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bsd` [INFO] [stdout] --> src/fork_exec/postfork.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | #[cfg(any(bsd, target_os = "macos"))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bsd` [INFO] [stdout] --> src/history.rs:1432:19 [INFO] [stdout] | [INFO] [stdout] 1432 | #[cfg(bsd)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bsd` [INFO] [stdout] --> src/history.rs:1441:23 [INFO] [stdout] | [INFO] [stdout] 1441 | #[cfg(not(bsd))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `localeconv_l` [INFO] [stdout] --> src/locale.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(localeconv_l)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(localeconv_l)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(localeconv_l)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `localeconv_l` [INFO] [stdout] --> src/locale.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 90 | #[cfg(not(localeconv_l))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(localeconv_l)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(localeconv_l)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `FISH_TSAN_WORKAROUNDS` [INFO] [stdout] --> src/parse_constants.rs:445:7 [INFO] [stdout] | [INFO] [stdout] 445 | #[cfg(feature = "FISH_TSAN_WORKAROUNDS")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `asan`, `benchmark`, and `default` [INFO] [stdout] = help: consider adding `FISH_TSAN_WORKAROUNDS` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `FISH_TSAN_WORKAROUNDS` [INFO] [stdout] --> src/parse_constants.rs:447:11 [INFO] [stdout] | [INFO] [stdout] 447 | #[cfg(not(feature = "FISH_TSAN_WORKAROUNDS"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `asan`, `benchmark`, and `default` [INFO] [stdout] = help: consider adding `FISH_TSAN_WORKAROUNDS` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_WAITSTATUS_SIGNAL_RET` [INFO] [stdout] --> src/proc.rs:158:15 [INFO] [stdout] | [INFO] [stdout] 158 | #[cfg(HAVE_WAITSTATUS_SIGNAL_RET)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_WAITSTATUS_SIGNAL_RET)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_WAITSTATUS_SIGNAL_RET)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_WAITSTATUS_SIGNAL_RET` [INFO] [stdout] --> src/proc.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 162 | #[cfg(not(HAVE_WAITSTATUS_SIGNAL_RET))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_WAITSTATUS_SIGNAL_RET)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_WAITSTATUS_SIGNAL_RET)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `FISH_TSAN_WORKAROUNDS` [INFO] [stdout] --> src/signal.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | if cfg!(feature = "FISH_TSAN_WORKAROUNDS") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `asan`, `benchmark`, and `default` [INFO] [stdout] = help: consider adding `FISH_TSAN_WORKAROUNDS` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bsd` [INFO] [stdout] --> src/signal.rs:392:15 [INFO] [stdout] | [INFO] [stdout] 392 | #[cfg(any(bsd, target_os = "macos"))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bsd` [INFO] [stdout] --> src/signal.rs:395:15 [INFO] [stdout] | [INFO] [stdout] 395 | #[cfg(any(bsd, target_os = "macos"))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `FISH_TSAN_WORKAROUNDS` [INFO] [stdout] --> src/topic_monitor.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | if cfg!(feature = "FISH_TSAN_WORKAROUNDS") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `asan`, `benchmark`, and `default` [INFO] [stdout] = help: consider adding `FISH_TSAN_WORKAROUNDS` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `FISH_TSAN_WORKAROUNDS` [INFO] [stdout] --> src/topic_monitor.rs:242:29 [INFO] [stdout] | [INFO] [stdout] 242 | if cfg!(feature = "FISH_TSAN_WORKAROUNDS") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `asan`, `benchmark`, and `default` [INFO] [stdout] = help: consider adding `FISH_TSAN_WORKAROUNDS` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gettext` [INFO] [stdout] --> src/wutil/gettext.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(gettext)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gettext)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gettext)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gettext` [INFO] [stdout] --> src/wutil/gettext.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(not(gettext))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gettext)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gettext)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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 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: `#[warn(static_mut_refs)]` on by default [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: multiple methods are never used [INFO] [stdout] --> src/ast.rs:274:8 [INFO] [stdout] | [INFO] [stdout] 272 | trait ConcreteNodeMut { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] 273 | // Cast to any sub-trait. [INFO] [stdout] 274 | fn as_mut_leaf(&mut self) -> Option<&mut dyn Leaf> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | fn as_mut_redirection(&mut self) -> Option<&mut Redirection> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | fn as_mut_argument_or_redirection(&mut self) -> Option<&mut ArgumentOrRedirection> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | fn as_mut_statement(&mut self) -> Option<&mut Statement> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | fn as_mut_job_pipeline(&mut self) -> Option<&mut JobPipeline> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | fn as_mut_job_conjunction(&mut self) -> Option<&mut JobConjunction> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | fn as_mut_for_header(&mut self) -> Option<&mut ForHeader> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | fn as_mut_while_header(&mut self) -> Option<&mut WhileHeader> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | fn as_mut_function_header(&mut self) -> Option<&mut FunctionHeader> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | fn as_mut_begin_header(&mut self) -> Option<&mut BeginHeader> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | fn as_mut_block_statement(&mut self) -> Option<&mut BlockStatement> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | fn as_mut_if_clause(&mut self) -> Option<&mut IfClause> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | fn as_mut_elseif_clause(&mut self) -> Option<&mut ElseifClause> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 333 | fn as_mut_else_clause(&mut self) -> Option<&mut ElseClause> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | fn as_mut_if_statement(&mut self) -> Option<&mut IfStatement> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | fn as_mut_case_item(&mut self) -> Option<&mut CaseItem> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | fn as_mut_switch_statement(&mut self) -> Option<&mut SwitchStatement> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | fn as_mut_decorated_statement(&mut self) -> Option<&mut DecoratedStatement> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 348 | fn as_mut_not_statement(&mut self) -> Option<&mut NotStatement> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | fn as_mut_job_conjunction_continuation(&mut self) -> Option<&mut JobConjunctionContinuation> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | fn as_mut_andor_job(&mut self) -> Option<&mut AndorJob> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.93s [INFO] running `Command { std: "docker" "inspect" "de35659be6ac9b125f594aa460d5eed929440a547b5aafd6745087fd45917f86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de35659be6ac9b125f594aa460d5eed929440a547b5aafd6745087fd45917f86", kill_on_drop: false }` [INFO] [stdout] de35659be6ac9b125f594aa460d5eed929440a547b5aafd6745087fd45917f86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8c3a069deb53e862dbc384ea5f435bf4cd55d4884c8aaca0ee3fee836a1e3b7 [INFO] running `Command { std: "docker" "start" "-a" "b8c3a069deb53e862dbc384ea5f435bf4cd55d4884c8aaca0ee3fee836a1e3b7", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling rand_pcg v0.3.1 [INFO] [stdout] warning: unexpected `cfg` condition name: `have_nc_cur_term` [INFO] [stdout] --> src/curses.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | #[cfg(not(have_nc_cur_term))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(have_nc_cur_term)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(have_nc_cur_term)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `have_nc_cur_term` [INFO] [stdout] --> src/curses.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg(have_nc_cur_term)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(have_nc_cur_term)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(have_nc_cur_term)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `have_nc_cur_term` [INFO] [stdout] --> src/curses.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 106 | #[cfg(have_nc_cur_term)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(have_nc_cur_term)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(have_nc_cur_term)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `have_nc_cur_term` [INFO] [stdout] --> src/curses.rs:110:15 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(not(have_nc_cur_term))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(have_nc_cur_term)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(have_nc_cur_term)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gettext` [INFO] [stdout] --> src/env_dispatch.rs:782:11 [INFO] [stdout] | [INFO] [stdout] 782 | #[cfg(gettext)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gettext)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gettext)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bsd` [INFO] [stdout] --> src/env_universal_common.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(any(bsd, target_os = "macos"))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bsd` [INFO] [stdout] --> src/env_universal_common.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(not(any(bsd, target_os = "macos")))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `FISH_USE_POSIX_SPAWN` [INFO] [stdout] --> src/exec.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(FISH_USE_POSIX_SPAWN)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(FISH_USE_POSIX_SPAWN)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(FISH_USE_POSIX_SPAWN)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `FISH_USE_POSIX_SPAWN` [INFO] [stdout] --> src/exec.rs:849:11 [INFO] [stdout] | [INFO] [stdout] 849 | #[cfg(FISH_USE_POSIX_SPAWN)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(FISH_USE_POSIX_SPAWN)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(FISH_USE_POSIX_SPAWN)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(not(HAVE_EVENTFD))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(HAVE_EVENTFD)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | #[cfg(not(HAVE_EVENTFD))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | #[cfg(HAVE_EVENTFD)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(not(HAVE_EVENTFD))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | #[cfg(HAVE_EVENTFD)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | #[cfg(not(HAVE_EVENTFD))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:116:15 [INFO] [stdout] | [INFO] [stdout] 116 | #[cfg(HAVE_EVENTFD)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | #[cfg(not(HAVE_EVENTFD))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 170 | #[cfg(HAVE_EVENTFD)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | #[cfg(not(HAVE_EVENTFD))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_PIPE2` [INFO] [stdout] --> src/fds.rs:135:11 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg(HAVE_PIPE2)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_PIPE2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_PIPE2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_PIPE2` [INFO] [stdout] --> src/fds.rs:147:15 [INFO] [stdout] | [INFO] [stdout] 147 | #[cfg(not(HAVE_PIPE2))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_PIPE2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_PIPE2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bsd` [INFO] [stdout] --> src/fork_exec/postfork.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | #[cfg(any(bsd, target_os = "macos"))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bsd` [INFO] [stdout] --> src/history.rs:1432:19 [INFO] [stdout] | [INFO] [stdout] 1432 | #[cfg(bsd)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bsd` [INFO] [stdout] --> src/history.rs:1441:23 [INFO] [stdout] | [INFO] [stdout] 1441 | #[cfg(not(bsd))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `localeconv_l` [INFO] [stdout] --> src/locale.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(localeconv_l)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(localeconv_l)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(localeconv_l)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `localeconv_l` [INFO] [stdout] --> src/locale.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 90 | #[cfg(not(localeconv_l))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(localeconv_l)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(localeconv_l)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `FISH_TSAN_WORKAROUNDS` [INFO] [stdout] --> src/parse_constants.rs:445:7 [INFO] [stdout] | [INFO] [stdout] 445 | #[cfg(feature = "FISH_TSAN_WORKAROUNDS")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `asan`, `benchmark`, and `default` [INFO] [stdout] = help: consider adding `FISH_TSAN_WORKAROUNDS` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `FISH_TSAN_WORKAROUNDS` [INFO] [stdout] --> src/parse_constants.rs:447:11 [INFO] [stdout] | [INFO] [stdout] 447 | #[cfg(not(feature = "FISH_TSAN_WORKAROUNDS"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `asan`, `benchmark`, and `default` [INFO] [stdout] = help: consider adding `FISH_TSAN_WORKAROUNDS` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_WAITSTATUS_SIGNAL_RET` [INFO] [stdout] --> src/proc.rs:158:15 [INFO] [stdout] | [INFO] [stdout] 158 | #[cfg(HAVE_WAITSTATUS_SIGNAL_RET)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_WAITSTATUS_SIGNAL_RET)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_WAITSTATUS_SIGNAL_RET)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_WAITSTATUS_SIGNAL_RET` [INFO] [stdout] --> src/proc.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 162 | #[cfg(not(HAVE_WAITSTATUS_SIGNAL_RET))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_WAITSTATUS_SIGNAL_RET)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_WAITSTATUS_SIGNAL_RET)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `FISH_TSAN_WORKAROUNDS` [INFO] [stdout] --> src/signal.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | if cfg!(feature = "FISH_TSAN_WORKAROUNDS") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `asan`, `benchmark`, and `default` [INFO] [stdout] = help: consider adding `FISH_TSAN_WORKAROUNDS` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bsd` [INFO] [stdout] --> src/signal.rs:392:15 [INFO] [stdout] | [INFO] [stdout] 392 | #[cfg(any(bsd, target_os = "macos"))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bsd` [INFO] [stdout] --> src/signal.rs:395:15 [INFO] [stdout] | [INFO] [stdout] 395 | #[cfg(any(bsd, target_os = "macos"))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `FISH_TSAN_WORKAROUNDS` [INFO] [stdout] --> src/topic_monitor.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | if cfg!(feature = "FISH_TSAN_WORKAROUNDS") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `asan`, `benchmark`, and `default` [INFO] [stdout] = help: consider adding `FISH_TSAN_WORKAROUNDS` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `FISH_TSAN_WORKAROUNDS` [INFO] [stdout] --> src/topic_monitor.rs:242:29 [INFO] [stdout] | [INFO] [stdout] 242 | if cfg!(feature = "FISH_TSAN_WORKAROUNDS") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `asan`, `benchmark`, and `default` [INFO] [stdout] = help: consider adding `FISH_TSAN_WORKAROUNDS` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gettext` [INFO] [stdout] --> src/wutil/gettext.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(gettext)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gettext)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gettext)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gettext` [INFO] [stdout] --> src/wutil/gettext.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(not(gettext))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gettext)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gettext)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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 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: `#[warn(static_mut_refs)]` on by default [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: multiple methods are never used [INFO] [stdout] --> src/ast.rs:274:8 [INFO] [stdout] | [INFO] [stdout] 272 | trait ConcreteNodeMut { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] 273 | // Cast to any sub-trait. [INFO] [stdout] 274 | fn as_mut_leaf(&mut self) -> Option<&mut dyn Leaf> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | fn as_mut_redirection(&mut self) -> Option<&mut Redirection> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | fn as_mut_argument_or_redirection(&mut self) -> Option<&mut ArgumentOrRedirection> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | fn as_mut_statement(&mut self) -> Option<&mut Statement> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | fn as_mut_job_pipeline(&mut self) -> Option<&mut JobPipeline> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | fn as_mut_job_conjunction(&mut self) -> Option<&mut JobConjunction> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | fn as_mut_for_header(&mut self) -> Option<&mut ForHeader> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | fn as_mut_while_header(&mut self) -> Option<&mut WhileHeader> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | fn as_mut_function_header(&mut self) -> Option<&mut FunctionHeader> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | fn as_mut_begin_header(&mut self) -> Option<&mut BeginHeader> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | fn as_mut_block_statement(&mut self) -> Option<&mut BlockStatement> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | fn as_mut_if_clause(&mut self) -> Option<&mut IfClause> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | fn as_mut_elseif_clause(&mut self) -> Option<&mut ElseifClause> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 333 | fn as_mut_else_clause(&mut self) -> Option<&mut ElseClause> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | fn as_mut_if_statement(&mut self) -> Option<&mut IfStatement> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | fn as_mut_case_item(&mut self) -> Option<&mut CaseItem> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | fn as_mut_switch_statement(&mut self) -> Option<&mut SwitchStatement> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | fn as_mut_decorated_statement(&mut self) -> Option<&mut DecoratedStatement> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 348 | fn as_mut_not_statement(&mut self) -> Option<&mut NotStatement> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | fn as_mut_job_conjunction_continuation(&mut self) -> Option<&mut JobConjunctionContinuation> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | fn as_mut_andor_job(&mut self) -> Option<&mut AndorJob> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling parking_lot_core v0.7.3 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling serial_test_derive v0.4.0 [INFO] [stderr] Compiling serial_test v0.4.0 [INFO] [stderr] Compiling fish v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `have_nc_cur_term` [INFO] [stdout] --> src/curses.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | #[cfg(not(have_nc_cur_term))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(have_nc_cur_term)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(have_nc_cur_term)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `have_nc_cur_term` [INFO] [stdout] --> src/curses.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg(have_nc_cur_term)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(have_nc_cur_term)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(have_nc_cur_term)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `have_nc_cur_term` [INFO] [stdout] --> src/curses.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 106 | #[cfg(have_nc_cur_term)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(have_nc_cur_term)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(have_nc_cur_term)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `have_nc_cur_term` [INFO] [stdout] --> src/curses.rs:110:15 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(not(have_nc_cur_term))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(have_nc_cur_term)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(have_nc_cur_term)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gettext` [INFO] [stdout] --> src/env_dispatch.rs:782:11 [INFO] [stdout] | [INFO] [stdout] 782 | #[cfg(gettext)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gettext)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gettext)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bsd` [INFO] [stdout] --> src/env_universal_common.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(any(bsd, target_os = "macos"))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bsd` [INFO] [stdout] --> src/env_universal_common.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(not(any(bsd, target_os = "macos")))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `FISH_USE_POSIX_SPAWN` [INFO] [stdout] --> src/exec.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(FISH_USE_POSIX_SPAWN)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(FISH_USE_POSIX_SPAWN)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(FISH_USE_POSIX_SPAWN)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `FISH_USE_POSIX_SPAWN` [INFO] [stdout] --> src/exec.rs:849:11 [INFO] [stdout] | [INFO] [stdout] 849 | #[cfg(FISH_USE_POSIX_SPAWN)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(FISH_USE_POSIX_SPAWN)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(FISH_USE_POSIX_SPAWN)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(not(HAVE_EVENTFD))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(HAVE_EVENTFD)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | #[cfg(not(HAVE_EVENTFD))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | #[cfg(HAVE_EVENTFD)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(not(HAVE_EVENTFD))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | #[cfg(HAVE_EVENTFD)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | #[cfg(not(HAVE_EVENTFD))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:116:15 [INFO] [stdout] | [INFO] [stdout] 116 | #[cfg(HAVE_EVENTFD)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | #[cfg(not(HAVE_EVENTFD))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 170 | #[cfg(HAVE_EVENTFD)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_EVENTFD` [INFO] [stdout] --> src/fd_monitor.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | #[cfg(not(HAVE_EVENTFD))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_EVENTFD)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_EVENTFD)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_PIPE2` [INFO] [stdout] --> src/fds.rs:135:11 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg(HAVE_PIPE2)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_PIPE2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_PIPE2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_PIPE2` [INFO] [stdout] --> src/fds.rs:147:15 [INFO] [stdout] | [INFO] [stdout] 147 | #[cfg(not(HAVE_PIPE2))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_PIPE2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_PIPE2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bsd` [INFO] [stdout] --> src/fork_exec/postfork.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | #[cfg(any(bsd, target_os = "macos"))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bsd` [INFO] [stdout] --> src/history.rs:1432:19 [INFO] [stdout] | [INFO] [stdout] 1432 | #[cfg(bsd)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bsd` [INFO] [stdout] --> src/history.rs:1441:23 [INFO] [stdout] | [INFO] [stdout] 1441 | #[cfg(not(bsd))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `localeconv_l` [INFO] [stdout] --> src/locale.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(localeconv_l)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(localeconv_l)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(localeconv_l)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `localeconv_l` [INFO] [stdout] --> src/locale.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 90 | #[cfg(not(localeconv_l))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(localeconv_l)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(localeconv_l)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `FISH_TSAN_WORKAROUNDS` [INFO] [stdout] --> src/parse_constants.rs:445:7 [INFO] [stdout] | [INFO] [stdout] 445 | #[cfg(feature = "FISH_TSAN_WORKAROUNDS")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `asan`, `benchmark`, and `default` [INFO] [stdout] = help: consider adding `FISH_TSAN_WORKAROUNDS` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `FISH_TSAN_WORKAROUNDS` [INFO] [stdout] --> src/parse_constants.rs:447:11 [INFO] [stdout] | [INFO] [stdout] 447 | #[cfg(not(feature = "FISH_TSAN_WORKAROUNDS"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `asan`, `benchmark`, and `default` [INFO] [stdout] = help: consider adding `FISH_TSAN_WORKAROUNDS` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_WAITSTATUS_SIGNAL_RET` [INFO] [stdout] --> src/proc.rs:158:15 [INFO] [stdout] | [INFO] [stdout] 158 | #[cfg(HAVE_WAITSTATUS_SIGNAL_RET)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_WAITSTATUS_SIGNAL_RET)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_WAITSTATUS_SIGNAL_RET)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `HAVE_WAITSTATUS_SIGNAL_RET` [INFO] [stdout] --> src/proc.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 162 | #[cfg(not(HAVE_WAITSTATUS_SIGNAL_RET))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(HAVE_WAITSTATUS_SIGNAL_RET)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(HAVE_WAITSTATUS_SIGNAL_RET)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `FISH_TSAN_WORKAROUNDS` [INFO] [stdout] --> src/signal.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | if cfg!(feature = "FISH_TSAN_WORKAROUNDS") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `asan`, `benchmark`, and `default` [INFO] [stdout] = help: consider adding `FISH_TSAN_WORKAROUNDS` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bsd` [INFO] [stdout] --> src/signal.rs:392:15 [INFO] [stdout] | [INFO] [stdout] 392 | #[cfg(any(bsd, target_os = "macos"))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bsd` [INFO] [stdout] --> src/signal.rs:395:15 [INFO] [stdout] | [INFO] [stdout] 395 | #[cfg(any(bsd, target_os = "macos"))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `FISH_TSAN_WORKAROUNDS` [INFO] [stdout] --> src/topic_monitor.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | if cfg!(feature = "FISH_TSAN_WORKAROUNDS") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `asan`, `benchmark`, and `default` [INFO] [stdout] = help: consider adding `FISH_TSAN_WORKAROUNDS` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `FISH_TSAN_WORKAROUNDS` [INFO] [stdout] --> src/topic_monitor.rs:242:29 [INFO] [stdout] | [INFO] [stdout] 242 | if cfg!(feature = "FISH_TSAN_WORKAROUNDS") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `asan`, `benchmark`, and `default` [INFO] [stdout] = help: consider adding `FISH_TSAN_WORKAROUNDS` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gettext` [INFO] [stdout] --> src/wutil/gettext.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(gettext)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gettext)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gettext)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gettext` [INFO] [stdout] --> src/wutil/gettext.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(not(gettext))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gettext)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gettext)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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 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: `#[warn(static_mut_refs)]` on by default [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: multiple methods are never used [INFO] [stdout] --> src/ast.rs:274:8 [INFO] [stdout] | [INFO] [stdout] 272 | trait ConcreteNodeMut { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] 273 | // Cast to any sub-trait. [INFO] [stdout] 274 | fn as_mut_leaf(&mut self) -> Option<&mut dyn Leaf> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | fn as_mut_redirection(&mut self) -> Option<&mut Redirection> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | fn as_mut_argument_or_redirection(&mut self) -> Option<&mut ArgumentOrRedirection> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | fn as_mut_statement(&mut self) -> Option<&mut Statement> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | fn as_mut_job_pipeline(&mut self) -> Option<&mut JobPipeline> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | fn as_mut_job_conjunction(&mut self) -> Option<&mut JobConjunction> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | fn as_mut_for_header(&mut self) -> Option<&mut ForHeader> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | fn as_mut_while_header(&mut self) -> Option<&mut WhileHeader> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | fn as_mut_function_header(&mut self) -> Option<&mut FunctionHeader> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | fn as_mut_begin_header(&mut self) -> Option<&mut BeginHeader> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | fn as_mut_block_statement(&mut self) -> Option<&mut BlockStatement> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | fn as_mut_if_clause(&mut self) -> Option<&mut IfClause> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | fn as_mut_elseif_clause(&mut self) -> Option<&mut ElseifClause> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 333 | fn as_mut_else_clause(&mut self) -> Option<&mut ElseClause> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | fn as_mut_if_statement(&mut self) -> Option<&mut IfStatement> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | fn as_mut_case_item(&mut self) -> Option<&mut CaseItem> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | fn as_mut_switch_statement(&mut self) -> Option<&mut SwitchStatement> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | fn as_mut_decorated_statement(&mut self) -> Option<&mut DecoratedStatement> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 348 | fn as_mut_not_statement(&mut self) -> Option<&mut NotStatement> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | fn as_mut_job_conjunction_continuation(&mut self) -> Option<&mut JobConjunctionContinuation> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | fn as_mut_andor_job(&mut self) -> Option<&mut AndorJob> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fish` (lib test); 41 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/1.81.0-x86_64-unknown-linux-gnu/bin/rustc --crate-name fish --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --allow=unstable_name_collisions '--allow=clippy::uninlined_format_args' '--allow=clippy::too_many_arguments' '--allow=clippy::redundant_slicing' '--allow=clippy::ptr_arg' '--allow=clippy::option_map_unit_fn' --allow=non_upper_case_globals --allow=non_camel_case_types '--allow=clippy::new_without_default' '--allow=clippy::needless_return' '--allow=clippy::mut_from_ref' '--allow=clippy::manual_range_contains' '--allow=clippy::manual_is_ascii_check' '--allow=clippy::len_without_is_empty' '--allow=clippy::if_same_then_else' '--allow=clippy::get_first' '--allow=clippy::field_reassign_with_default' '--allow=clippy::derivable_impls' '--allow=clippy::comparison_chain' '--allow=clippy::collapsible_if' '--allow=clippy::box_default' '--allow=clippy::bool_assert_comparison' --test --cfg 'feature="default"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("asan", "benchmark", "default"))' -C metadata=10a5d3188d675f1c -C extra-filename=-10a5d3188d675f1c --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-65124596e9f789a3.rlib --extern errno=/opt/rustwide/target/debug/deps/liberrno-a7ca217d939a201f.rlib --extern fast_float=/opt/rustwide/target/debug/deps/libfast_float-e35a1c8d315beca3.rlib --extern git_version=/opt/rustwide/target/debug/deps/libgit_version-ab0fd2488b5f79de.rlib --extern hexponent=/opt/rustwide/target/debug/deps/libhexponent-23921a42b6b52b09.rlib --extern lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-4518ae97c2d4cb4e.rlib --extern libc=/opt/rustwide/target/debug/deps/liblibc-ab0b2432180eb899.rlib --extern lru=/opt/rustwide/target/debug/deps/liblru-7c6f6b7cceaa623c.rlib --extern nix=/opt/rustwide/target/debug/deps/libnix-d8c521c66a02bb5d.rlib --extern num_traits=/opt/rustwide/target/debug/deps/libnum_traits-23a8e0ab391760b1.rlib --extern once_cell=/opt/rustwide/target/debug/deps/libonce_cell-10ed57c2fc462e78.rlib --extern pcre2=/opt/rustwide/target/debug/deps/libpcre2-8aa98283c6e33ae9.rlib --extern printf_compat=/opt/rustwide/target/debug/deps/libprintf_compat-290344757cc56de2.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-6bfdb7b25a63b58b.rlib --extern rand_pcg=/opt/rustwide/target/debug/deps/librand_pcg-a71a80a0a311187b.rlib --extern serial_test=/opt/rustwide/target/debug/deps/libserial_test-94a40cfa0c6629f5.rlib --extern widestring=/opt/rustwide/target/debug/deps/libwidestring-78b627d219b91e19.rlib --cap-lints=warn -L native=/opt/rustwide/target/debug/build/fish-8bf557dbc04e37b1/out -L /usr/local/lib -l static=flibc.a -l ncurses -L native=/usr/lib/x86_64-linux-gnu -L native=/usr/lib/x86_64-linux-gnu --cfg gettext --cfg FISH_USE_POSIX_SPAWN --cfg HAVE_PIPE2 --cfg HAVE_EVENTFD` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "b8c3a069deb53e862dbc384ea5f435bf4cd55d4884c8aaca0ee3fee836a1e3b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8c3a069deb53e862dbc384ea5f435bf4cd55d4884c8aaca0ee3fee836a1e3b7", kill_on_drop: false }` [INFO] [stdout] b8c3a069deb53e862dbc384ea5f435bf4cd55d4884c8aaca0ee3fee836a1e3b7