[INFO] cloning repository https://github.com/smoelius/rustfmt_if_chain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/smoelius/rustfmt_if_chain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmoelius%2Frustfmt_if_chain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmoelius%2Frustfmt_if_chain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d6eb5135ba30691ed57f8597f59661d0cc28664d [INFO] checking smoelius/rustfmt_if_chain against nightly-2024-02-05 for check-cfg-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmoelius%2Frustfmt_if_chain" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/smoelius/rustfmt_if_chain on toolchain nightly-2024-02-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/smoelius/rustfmt_if_chain [INFO] finished tweaking git repo https://github.com/smoelius/rustfmt_if_chain [INFO] tweaked toml for git repo https://github.com/smoelius/rustfmt_if_chain written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/smoelius/rustfmt_if_chain 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" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cast_checks v0.1.4 [INFO] [stderr] Downloaded cast_checks_macro v0.1.4 [INFO] [stderr] Downloaded sedregex v0.2.5 [INFO] [stderr] Downloaded predicates v3.1.0 [INFO] [stderr] Downloaded similar-asserts v1.5.0 [INFO] [stderr] Downloaded assert_cmd v2.0.13 [INFO] [stderr] Downloaded aho-corasick v1.0.1 [INFO] [stderr] Downloaded bstr v1.4.0 [INFO] [stderr] Downloaded regex-automata v0.4.4 [INFO] [stderr] Downloaded cast_checks_convert v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 207de9d76b35f2c5a2129e844760d87858f257d5c2e6c2b10dd694f436c307d4 [INFO] running `Command { std: "docker" "start" "-a" "207de9d76b35f2c5a2129e844760d87858f257d5c2e6c2b10dd694f436c307d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "207de9d76b35f2c5a2129e844760d87858f257d5c2e6c2b10dd694f436c307d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "207de9d76b35f2c5a2129e844760d87858f257d5c2e6c2b10dd694f436c307d4", kill_on_drop: false }` [INFO] [stdout] 207de9d76b35f2c5a2129e844760d87858f257d5c2e6c2b10dd694f436c307d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0524b1a16b3c59425666bb94ddcdbd6799fff60431b02ee93dd33d7f253bac6 [INFO] running `Command { std: "docker" "start" "-a" "b0524b1a16b3c59425666bb94ddcdbd6799fff60431b02ee93dd33d7f253bac6", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling semver v1.0.17 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling cast_checks_macro v0.1.4 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking once_cell v1.17.1 [INFO] [stderr] Checking anstyle v1.0.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking cast_checks_convert v0.1.4 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking aho-corasick v1.0.1 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking bstr v1.4.0 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking similar v2.2.1 [INFO] [stderr] Compiling rustfmt_if_chain v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking similar-asserts v1.5.0 [INFO] [stderr] Checking regex-automata v0.4.4 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Checking serde_json v1.0.113 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking predicates v3.1.0 [INFO] [stderr] Checking sedregex v0.2.5 [INFO] [stderr] Compiling ctor v0.2.6 [INFO] [stderr] Checking assert_cmd v2.0.13 [INFO] [stderr] Checking cast_checks v0.1.4 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.58s [INFO] running `Command { std: "docker" "inspect" "b0524b1a16b3c59425666bb94ddcdbd6799fff60431b02ee93dd33d7f253bac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0524b1a16b3c59425666bb94ddcdbd6799fff60431b02ee93dd33d7f253bac6", kill_on_drop: false }` [INFO] [stdout] b0524b1a16b3c59425666bb94ddcdbd6799fff60431b02ee93dd33d7f253bac6 [INFO] checking smoelius/rustfmt_if_chain against nightly-2024-02-05+rustflags=-Dunexpected_cfgs+cargoflags=-Zcheck-cfg for check-cfg-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmoelius%2Frustfmt_if_chain" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/smoelius/rustfmt_if_chain on toolchain nightly-2024-02-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/smoelius/rustfmt_if_chain [INFO] finished tweaking git repo https://github.com/smoelius/rustfmt_if_chain [INFO] tweaked toml for git repo https://github.com/smoelius/rustfmt_if_chain written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/smoelius/rustfmt_if_chain 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" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf41252b7a3ab2fa7c01bd3d050469664669f111b03b3c4fc77f8589afe04e4f [INFO] running `Command { std: "docker" "start" "-a" "bf41252b7a3ab2fa7c01bd3d050469664669f111b03b3c4fc77f8589afe04e4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf41252b7a3ab2fa7c01bd3d050469664669f111b03b3c4fc77f8589afe04e4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf41252b7a3ab2fa7c01bd3d050469664669f111b03b3c4fc77f8589afe04e4f", kill_on_drop: false }` [INFO] [stdout] bf41252b7a3ab2fa7c01bd3d050469664669f111b03b3c4fc77f8589afe04e4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunexpected_cfgs" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zcheck-cfg", kill_on_drop: false }` [INFO] [stdout] eeffb2e5542d91109f6596214aee46a61c5cc12a766663b45affad9ed886aaea [INFO] running `Command { std: "docker" "start" "-a" "eeffb2e5542d91109f6596214aee46a61c5cc12a766663b45affad9ed886aaea", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling semver v1.0.17 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling cast_checks_macro v0.1.4 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking anstyle v1.0.0 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking once_cell v1.17.1 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking cast_checks_convert v0.1.4 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking aho-corasick v1.0.1 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking bstr v1.4.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Compiling rustfmt_if_chain v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Checking similar v2.2.1 [INFO] [stderr] Checking similar-asserts v1.5.0 [INFO] [stderr] Checking regex-automata v0.4.4 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Checking serde_json v1.0.113 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking predicates v3.1.0 [INFO] [stderr] Checking sedregex v0.2.5 [INFO] [stderr] Checking assert_cmd v2.0.13 [INFO] [stderr] Compiling ctor v0.2.6 [INFO] [stderr] Checking cast_checks v0.1.4 [INFO] [stdout] error: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> tests/example.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(nightly, feature(test))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `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`, `unix`, `windows` [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(nightly)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: requested on the command line with `-D unexpected-cfgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> tests/example.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(nightly)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(nightly)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `dylint_lib` [INFO] [stdout] --> tests/example.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | dylint_lib = "non_thread_safe_call_in_test", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(dylint_lib, values(\"non_thread_safe_call_in_test\"))");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> tests/example.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(nightly)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(nightly)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `dylint_lib` [INFO] [stdout] --> tests/example.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | dylint_lib = "non_thread_safe_call_in_test", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(dylint_lib, values(\"non_thread_safe_call_in_test\"))");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustfmt_if_chain` (test "example") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/main.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(nightly, feature(custom_inner_attributes, proc_macro_hygiene))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `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`, `unix`, `windows` [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(nightly)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: requested on the command line with `-D unexpected-cfgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/main.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(nightly, feature(custom_inner_attributes, proc_macro_hygiene))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `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`, `unix`, `windows` [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(nightly)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: requested on the command line with `-D unexpected-cfgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/offset_based_rewriter/impls.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(nightly, cast_checks::enable)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(nightly)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/offset_based_rewriter/impls.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(nightly, cast_checks::enable)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(nightly)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `dylint_lib` [INFO] [stdout] --> src/offset_calculator/impls.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | dylint_lib = "misleading_variable_name", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(dylint_lib, values(\"misleading_variable_name\"))");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `dylint_lib` [INFO] [stdout] --> src/offset_calculator/impls.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | dylint_lib = "misleading_variable_name", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(dylint_lib, values(\"misleading_variable_name\"))");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustfmt_if_chain` (bin "rustfmt_if_chain") due to 4 previous errors [INFO] [stderr] error: could not compile `rustfmt_if_chain` (bin "rustfmt_if_chain" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "eeffb2e5542d91109f6596214aee46a61c5cc12a766663b45affad9ed886aaea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eeffb2e5542d91109f6596214aee46a61c5cc12a766663b45affad9ed886aaea", kill_on_drop: false }` [INFO] [stdout] eeffb2e5542d91109f6596214aee46a61c5cc12a766663b45affad9ed886aaea