[INFO] cloning repository https://github.com/TinkerBoard-Android/rockchip-android-external-rust-crates-bindgen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TinkerBoard-Android/rockchip-android-external-rust-crates-bindgen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTinkerBoard-Android%2Frockchip-android-external-rust-crates-bindgen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTinkerBoard-Android%2Frockchip-android-external-rust-crates-bindgen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a334643ba9a4321b52b43737673c811560fb510 [INFO] checking TinkerBoard-Android/rockchip-android-external-rust-crates-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%2FTinkerBoard-Android%2Frockchip-android-external-rust-crates-bindgen" "/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/TinkerBoard-Android/rockchip-android-external-rust-crates-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/TinkerBoard-Android/rockchip-android-external-rust-crates-bindgen [INFO] finished tweaking git repo https://github.com/TinkerBoard-Android/rockchip-android-external-rust-crates-bindgen [INFO] tweaked toml for git repo https://github.com/TinkerBoard-Android/rockchip-android-external-rust-crates-bindgen written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/TinkerBoard-Android/rockchip-android-external-rust-crates-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 humantime v2.0.1 [INFO] [stderr] Downloaded termcolor v1.1.0 [INFO] [stderr] Downloaded clang-sys v1.0.3 [INFO] [stderr] Downloaded which v3.1.1 [INFO] [stderr] Downloaded shlex v1.0.0 [INFO] [stderr] Downloaded cexpr v0.4.0 [INFO] [stderr] Downloaded unicode-xid v0.2.1 [INFO] [stderr] Downloaded memchr v2.3.4 [INFO] [stderr] Downloaded proc-macro2 v1.0.24 [INFO] [stderr] Downloaded log v0.4.11 [INFO] [stderr] Downloaded aho-corasick v0.7.15 [INFO] [stderr] Downloaded regex v1.4.2 [INFO] [stderr] Downloaded libc v0.2.80 [INFO] [stderr] Downloaded regex-syntax v0.6.21 [INFO] [stderr] Downloaded nom v5.1.2 [INFO] [stderr] Downloaded quote v1.0.7 [INFO] [stderr] Downloaded version_check v0.9.2 [INFO] [stderr] Downloaded libloading v0.6.5 [INFO] [stderr] Downloaded env_logger v0.8.1 [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] 1186fd239635a29279a2a4b37374a1821a29d7b7b7ecb00a3d526ab3650b3be6 [INFO] running `Command { std: "docker" "start" "-a" "1186fd239635a29279a2a4b37374a1821a29d7b7b7ecb00a3d526ab3650b3be6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1186fd239635a29279a2a4b37374a1821a29d7b7b7ecb00a3d526ab3650b3be6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1186fd239635a29279a2a4b37374a1821a29d7b7b7ecb00a3d526ab3650b3be6", kill_on_drop: false }` [INFO] [stdout] 1186fd239635a29279a2a4b37374a1821a29d7b7b7ecb00a3d526ab3650b3be6 [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] 8b4b52c86f3176b3b74ed064e04a19bcbaf40c3f23d7b6a6b5dcbf2871350fbf [INFO] running `Command { std: "docker" "start" "-a" "8b4b52c86f3176b3b74ed064e04a19bcbaf40c3f23d7b6a6b5dcbf2871350fbf", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking unicode-xid v0.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking libloading v0.6.5 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling bindgen v0.58.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking shlex v1.0.0 [INFO] [stderr] Checking peeking_take_while v0.1.2 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling clang-sys v1.0.3 [INFO] [stderr] Checking quote v1.0.7 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking which v3.1.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking env_logger v0.8.1 [INFO] [stderr] Checking cexpr v0.4.0 [INFO] [stdout] warning: fields `namespaced_constants` and `msvc_mangling` are never read [INFO] [stdout] --> src/lib.rs:1765:5 [INFO] [stdout] | [INFO] [stdout] 1607 | struct BindgenOptions { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1765 | namespaced_constants: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1768 | msvc_mangling: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindgenOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `cannot_derive_copy_in_array` are never read [INFO] [stdout] --> src/ir/context.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 308 | pub struct BindgenContext { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 365 | index: clang::Index, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | cannot_derive_copy_in_array: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindgenContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comment` is never read [INFO] [stdout] --> src/ir/function.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Function { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 88 | comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `namespaced_constants` and `msvc_mangling` are never read [INFO] [stdout] --> src/lib.rs:1765:5 [INFO] [stdout] | [INFO] [stdout] 1607 | struct BindgenOptions { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1765 | namespaced_constants: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1768 | msvc_mangling: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindgenOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `cannot_derive_copy_in_array` are never read [INFO] [stdout] --> src/ir/context.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 308 | pub struct BindgenContext { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 365 | index: clang::Index, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | cannot_derive_copy_in_array: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindgenContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comment` is never read [INFO] [stdout] --> src/ir/function.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Function { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 88 | comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.89s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "8b4b52c86f3176b3b74ed064e04a19bcbaf40c3f23d7b6a6b5dcbf2871350fbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b4b52c86f3176b3b74ed064e04a19bcbaf40c3f23d7b6a6b5dcbf2871350fbf", kill_on_drop: false }` [INFO] [stdout] 8b4b52c86f3176b3b74ed064e04a19bcbaf40c3f23d7b6a6b5dcbf2871350fbf [INFO] checking TinkerBoard-Android/rockchip-android-external-rust-crates-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%2FTinkerBoard-Android%2Frockchip-android-external-rust-crates-bindgen" "/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/TinkerBoard-Android/rockchip-android-external-rust-crates-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/TinkerBoard-Android/rockchip-android-external-rust-crates-bindgen [INFO] finished tweaking git repo https://github.com/TinkerBoard-Android/rockchip-android-external-rust-crates-bindgen [INFO] tweaked toml for git repo https://github.com/TinkerBoard-Android/rockchip-android-external-rust-crates-bindgen written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/TinkerBoard-Android/rockchip-android-external-rust-crates-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-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] 8c2d81bd0fe9d51faadab9d9c957eb5dfc1a4334867dc920847a6218fcc72dd1 [INFO] running `Command { std: "docker" "start" "-a" "8c2d81bd0fe9d51faadab9d9c957eb5dfc1a4334867dc920847a6218fcc72dd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c2d81bd0fe9d51faadab9d9c957eb5dfc1a4334867dc920847a6218fcc72dd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c2d81bd0fe9d51faadab9d9c957eb5dfc1a4334867dc920847a6218fcc72dd1", kill_on_drop: false }` [INFO] [stdout] 8c2d81bd0fe9d51faadab9d9c957eb5dfc1a4334867dc920847a6218fcc72dd1 [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] a3836611423adc13ee54aab1eebabe108563643b022f237a4cdb6e6febec9410 [INFO] running `Command { std: "docker" "start" "-a" "a3836611423adc13ee54aab1eebabe108563643b022f237a4cdb6e6febec9410", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking unicode-xid v0.2.1 [INFO] [stderr] Compiling bindgen v0.58.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking libloading v0.6.5 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking shlex v1.0.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] Compiling nom v5.1.2 [INFO] [stderr] Compiling clang-sys v1.0.3 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking which v3.1.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking cexpr v0.4.0 [INFO] [stderr] Checking env_logger v0.8.1 [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] warning: fields `namespaced_constants` and `msvc_mangling` are never read [INFO] [stdout] --> src/lib.rs:1765:5 [INFO] [stdout] | [INFO] [stdout] 1607 | struct BindgenOptions { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1765 | namespaced_constants: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1768 | msvc_mangling: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindgenOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `cannot_derive_copy_in_array` are never read [INFO] [stdout] --> src/ir/context.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 308 | pub struct BindgenContext { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 365 | index: clang::Index, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | cannot_derive_copy_in_array: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindgenContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comment` is never read [INFO] [stdout] --> src/ir/function.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Function { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 88 | comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bindgen` (lib) due to 4 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `namespaced_constants` and `msvc_mangling` are never read [INFO] [stdout] --> src/lib.rs:1765:5 [INFO] [stdout] | [INFO] [stdout] 1607 | struct BindgenOptions { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1765 | namespaced_constants: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1768 | msvc_mangling: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindgenOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `cannot_derive_copy_in_array` are never read [INFO] [stdout] --> src/ir/context.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 308 | pub struct BindgenContext { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 365 | index: clang::Index, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | cannot_derive_copy_in_array: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindgenContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comment` is never read [INFO] [stdout] --> src/ir/function.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Function { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 88 | comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bindgen` (lib test) due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a3836611423adc13ee54aab1eebabe108563643b022f237a4cdb6e6febec9410", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3836611423adc13ee54aab1eebabe108563643b022f237a4cdb6e6febec9410", kill_on_drop: false }` [INFO] [stdout] a3836611423adc13ee54aab1eebabe108563643b022f237a4cdb6e6febec9410