[INFO] cloning repository https://github.com/rohankumardubey/rust-bindgen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rohankumardubey/rust-bindgen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohankumardubey%2Frust-bindgen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohankumardubey%2Frust-bindgen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stderr] warning: refname 'HEAD' is ambiguous. [INFO] [stdout] bcbd72d7f89a1fdfae59fad8db47ca4892d9c940 [INFO] checking rohankumardubey/rust-bindgen against nightly-2024-02-05 for check-cfg-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohankumardubey%2Frust-bindgen" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rohankumardubey/rust-bindgen 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/rohankumardubey/rust-bindgen [INFO] finished tweaking git repo https://github.com/rohankumardubey/rust-bindgen [INFO] tweaked toml for git repo https://github.com/rohankumardubey/rust-bindgen written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rohankumardubey/rust-bindgen 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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded shlex v1.0.0 [INFO] [stderr] Downloaded unicode-width v0.1.8 [INFO] [stderr] Downloaded clang-sys v1.2.0 [INFO] [stderr] Downloaded minimal-lexical v0.1.4 [INFO] [stderr] Downloaded clap v2.33.3 [INFO] [stderr] Downloaded aho-corasick v0.7.15 [INFO] [stderr] Downloaded nom v7.0.0 [INFO] [stderr] Downloaded regex v1.4.6 [INFO] [stderr] Downloaded which v4.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad4674856321e0d711a36bb51783ba7f42a29f243814de0421f8d36a950a0bd1 [INFO] running `Command { std: "docker" "start" "-a" "ad4674856321e0d711a36bb51783ba7f42a29f243814de0421f8d36a950a0bd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad4674856321e0d711a36bb51783ba7f42a29f243814de0421f8d36a950a0bd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad4674856321e0d711a36bb51783ba7f42a29f243814de0421f8d36a950a0bd1", kill_on_drop: false }` [INFO] [stdout] ad4674856321e0d711a36bb51783ba7f42a29f243814de0421f8d36a950a0bd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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] 1a69153108427d5b41ea345278418e1748e56d32cf10641cd147b6e82c798e51 [INFO] running `Command { std: "docker" "start" "-a" "1a69153108427d5b41ea345278418e1748e56d32cf10641cd147b6e82c798e51", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking minimal-lexical v0.1.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling bindgen v0.59.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking shlex v1.0.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking peeking_take_while v0.1.2 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking which v4.2.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking cexpr v0.6.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.59s [INFO] running `Command { std: "docker" "inspect" "1a69153108427d5b41ea345278418e1748e56d32cf10641cd147b6e82c798e51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a69153108427d5b41ea345278418e1748e56d32cf10641cd147b6e82c798e51", kill_on_drop: false }` [INFO] [stdout] 1a69153108427d5b41ea345278418e1748e56d32cf10641cd147b6e82c798e51 [INFO] checking rohankumardubey/rust-bindgen 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%2Frohankumardubey%2Frust-bindgen" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rohankumardubey/rust-bindgen 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/rohankumardubey/rust-bindgen [INFO] finished tweaking git repo https://github.com/rohankumardubey/rust-bindgen [INFO] tweaked toml for git repo https://github.com/rohankumardubey/rust-bindgen written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rohankumardubey/rust-bindgen 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f0b7f144737fdf55abbc4a81aa920c3dfd5c7d345ee6ab4902875011690473d [INFO] running `Command { std: "docker" "start" "-a" "7f0b7f144737fdf55abbc4a81aa920c3dfd5c7d345ee6ab4902875011690473d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f0b7f144737fdf55abbc4a81aa920c3dfd5c7d345ee6ab4902875011690473d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f0b7f144737fdf55abbc4a81aa920c3dfd5c7d345ee6ab4902875011690473d", kill_on_drop: false }` [INFO] [stdout] 7f0b7f144737fdf55abbc4a81aa920c3dfd5c7d345ee6ab4902875011690473d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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] 2ed00ef987300918c57869df82755775530eb062c9d6682f509eb80827ae16d5 [INFO] running `Command { std: "docker" "start" "-a" "2ed00ef987300918c57869df82755775530eb062c9d6682f509eb80827ae16d5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Checking minimal-lexical v0.1.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling bindgen v0.59.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking peeking_take_while v0.1.2 [INFO] [stderr] Checking shlex v1.0.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking which v4.2.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking cexpr v0.6.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stdout] error: unexpected `cfg` condition name: `testing_only_extra_assertions` [INFO] [stdout] --> src/ir/item.rs:104:7 [INFO] [stdout] | [INFO] [stdout] 104 | #[cfg(testing_only_extra_assertions)] [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(testing_only_extra_assertions)");` 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: `testing_only_extra_assertions` [INFO] [stdout] --> src/ir/item.rs:107:11 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(not(testing_only_extra_assertions))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(testing_only_extra_assertions)");` 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: `testing_only_extra_assertions` [INFO] [stdout] --> src/ir/item.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(not(testing_only_extra_assertions))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(testing_only_extra_assertions)");` 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: `testing_only_extra_assertions` [INFO] [stdout] --> src/ir/item.rs:104:7 [INFO] [stdout] | [INFO] [stdout] 104 | #[cfg(testing_only_extra_assertions)] [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(testing_only_extra_assertions)");` 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: `testing_only_extra_assertions` [INFO] [stdout] --> src/ir/item.rs:107:11 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(not(testing_only_extra_assertions))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(testing_only_extra_assertions)");` 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: `testing_only_extra_assertions` [INFO] [stdout] --> src/ir/item.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(not(testing_only_extra_assertions))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(testing_only_extra_assertions)");` 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] [stderr] error: could not compile `bindgen` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bindgen` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "2ed00ef987300918c57869df82755775530eb062c9d6682f509eb80827ae16d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ed00ef987300918c57869df82755775530eb062c9d6682f509eb80827ae16d5", kill_on_drop: false }` [INFO] [stdout] 2ed00ef987300918c57869df82755775530eb062c9d6682f509eb80827ae16d5