[INFO] fetching crate code-generation-example 0.2.0...
[INFO] checking code-generation-example-0.2.0 against nightly-2024-02-05 for check-cfg-2
[INFO] extracting crate code-generation-example 0.2.0 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate code-generation-example 0.2.0 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 crates.io crate code-generation-example 0.2.0
[INFO] finished tweaking crates.io crate code-generation-example 0.2.0
[INFO] tweaked toml for crates.io crate code-generation-example 0.2.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate crates.io crate code-generation-example 0.2.0 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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] a2c4d7ae4899fb241c669b4eff998f650479b301639abf7abeeeff63de91df11
[INFO] running `Command { std: "docker" "start" "-a" "a2c4d7ae4899fb241c669b4eff998f650479b301639abf7abeeeff63de91df11", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a2c4d7ae4899fb241c669b4eff998f650479b301639abf7abeeeff63de91df11", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a2c4d7ae4899fb241c669b4eff998f650479b301639abf7abeeeff63de91df11", kill_on_drop: false }`
[INFO] [stdout] a2c4d7ae4899fb241c669b4eff998f650479b301639abf7abeeeff63de91df11
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 7dae859cf882ee55f4da74c291221b8a1ca012836f8c49b1d827778cd7a2f259
[INFO] running `Command { std: "docker" "start" "-a" "7dae859cf882ee55f4da74c291221b8a1ca012836f8c49b1d827778cd7a2f259", kill_on_drop: false }`
[INFO] [stderr]    Compiling code-generation-example v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.24s
[INFO] running `Command { std: "docker" "inspect" "7dae859cf882ee55f4da74c291221b8a1ca012836f8c49b1d827778cd7a2f259", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7dae859cf882ee55f4da74c291221b8a1ca012836f8c49b1d827778cd7a2f259", kill_on_drop: false }`
[INFO] [stdout] 7dae859cf882ee55f4da74c291221b8a1ca012836f8c49b1d827778cd7a2f259
[INFO] checking code-generation-example-0.2.0 against nightly-2024-02-05+rustflags=-Dunexpected_cfgs+cargoflags=-Zcheck-cfg for check-cfg-2
[INFO] extracting crate code-generation-example 0.2.0 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate code-generation-example 0.2.0 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 crates.io crate code-generation-example 0.2.0
[INFO] finished tweaking crates.io crate code-generation-example 0.2.0
[INFO] tweaked toml for crates.io crate code-generation-example 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate crates.io crate code-generation-example 0.2.0 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 506eb30b007356cdaf274a5b723230574aefdf4eefbf8553bed23a8c6c675dbd
[INFO] running `Command { std: "docker" "start" "-a" "506eb30b007356cdaf274a5b723230574aefdf4eefbf8553bed23a8c6c675dbd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "506eb30b007356cdaf274a5b723230574aefdf4eefbf8553bed23a8c6c675dbd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "506eb30b007356cdaf274a5b723230574aefdf4eefbf8553bed23a8c6c675dbd", kill_on_drop: false }`
[INFO] [stdout] 506eb30b007356cdaf274a5b723230574aefdf4eefbf8553bed23a8c6c675dbd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] fd39f447e9255f3cf8852b3f025738597541858fd766b070ef81647870d8b382
[INFO] running `Command { std: "docker" "start" "-a" "fd39f447e9255f3cf8852b3f025738597541858fd766b070ef81647870d8b382", kill_on_drop: false }`
[INFO] [stderr]    Compiling code-generation-example v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: unexpected `cfg` condition name: `has_generated_feature`
[INFO] [stdout]  --> src/lib.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[cfg(not(has_generated_feature))]
[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(has_generated_feature)");` to the top of a `build.rs`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> 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: `has_generated_feature`
[INFO] [stdout]  --> src/lib.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[cfg(has_generated_feature)]
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(has_generated_feature)");` to the top of a `build.rs`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `has_generated_feature`
[INFO] [stdout]  --> src/lib.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[cfg(not(has_generated_feature))]
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(has_generated_feature)");` to the top of a `build.rs`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `has_generated_feature`
[INFO] [stdout]   --> src/lib.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[cfg(has_generated_feature)]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(has_generated_feature)");` to the top of a `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `has_generated_feature`
[INFO] [stdout]  --> src/lib.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[cfg(not(has_generated_feature))]
[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(has_generated_feature)");` to the top of a `build.rs`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> 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: `has_generated_feature`
[INFO] [stdout]  --> src/lib.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[cfg(has_generated_feature)]
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(has_generated_feature)");` to the top of a `build.rs`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `has_generated_feature`
[INFO] [stdout]  --> src/lib.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[cfg(not(has_generated_feature))]
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(has_generated_feature)");` to the top of a `build.rs`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `has_generated_feature`
[INFO] [stdout]   --> src/lib.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[cfg(has_generated_feature)]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(has_generated_feature)");` to the top of a `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `code-generation-example` (lib test) due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `code-generation-example` (lib) due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "fd39f447e9255f3cf8852b3f025738597541858fd766b070ef81647870d8b382", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd39f447e9255f3cf8852b3f025738597541858fd766b070ef81647870d8b382", kill_on_drop: false }`
[INFO] [stdout] fd39f447e9255f3cf8852b3f025738597541858fd766b070ef81647870d8b382
