[INFO] fetching crate nvapi_sys_new 1.530.1... [INFO] testing nvapi_sys_new-1.530.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate nvapi_sys_new 1.530.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate nvapi_sys_new 1.530.1 [INFO] finished tweaking crates.io crate nvapi_sys_new 1.530.1 [INFO] tweaked toml for crates.io crate nvapi_sys_new 1.530.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nvapi_sys_new 1.530.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 46 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.65.1 (available: v0.72.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0942f0bde41cd1289aa075b2f4cf09bdf190b587031b09ecc8f5bc3ddf4b05cc [INFO] running `Command { std: "docker" "start" "-a" "0942f0bde41cd1289aa075b2f4cf09bdf190b587031b09ecc8f5bc3ddf4b05cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0942f0bde41cd1289aa075b2f4cf09bdf190b587031b09ecc8f5bc3ddf4b05cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0942f0bde41cd1289aa075b2f4cf09bdf190b587031b09ecc8f5bc3ddf4b05cc", kill_on_drop: false }` [INFO] [stdout] 0942f0bde41cd1289aa075b2f4cf09bdf190b587031b09ecc8f5bc3ddf4b05cc [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ca7bb8f9b889afb44bb3101e16a65579da601091d3a7f1d4e1d8b7699c0d3eb [INFO] running `Command { std: "docker" "start" "-a" "7ca7bb8f9b889afb44bb3101e16a65579da601091d3a7f1d4e1d8b7699c0d3eb", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling nvapi_sys_new v1.530.1 (/opt/rustwide/workdir) [INFO] [stderr] error: failed to run custom build command for `nvapi_sys_new v1.530.1 (/opt/rustwide/workdir)` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/nvapi_sys_new-2a2fa3ce785504f4/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rustc-link-search=./include/bin [INFO] [stderr] cargo:rustc-link-lib=static=nvapi64 [INFO] [stderr] cargo:rerun-if-env-changed=TARGET [INFO] [stderr] cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_x86_64-unknown-linux-gnu [INFO] [stderr] cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_x86_64_unknown_linux_gnu [INFO] [stderr] cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] ./include/nvapi.h:97:1: error: expected parameter declarator [INFO] [stderr] ./include/nvapi.h:97:1: error: expected ')' [INFO] [stderr] ./include/nvapi.h:97:1: note: to match this '(' [INFO] [stderr] ./include/nvapi.h:97:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] [INFO] [stderr] ./include/nvapi.h:97:1: error: expected ';' after top level declarator [INFO] [stderr] ./include/nvapi.h:127:1: error: expected parameter declarator [INFO] [stderr] ./include/nvapi.h:127:1: error: expected ')' [INFO] [stderr] ./include/nvapi.h:127:1: note: to match this '(' [INFO] [stderr] ./include/nvapi.h:127:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] [INFO] [stderr] ./include/nvapi.h:127:1: error: expected ';' after top level declarator [INFO] [stderr] ./include/nvapi.h:146:1: error: expected parameter declarator [INFO] [stderr] ./include/nvapi.h:146:1: error: expected ')' [INFO] [stderr] ./include/nvapi.h:146:1: note: to match this '(' [INFO] [stderr] ./include/nvapi.h:146:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] [INFO] [stderr] ./include/nvapi.h:146:1: error: expected ';' after top level declarator [INFO] [stderr] ./include/nvapi.h:167:1: error: expected parameter declarator [INFO] [stderr] ./include/nvapi.h:167:1: error: expected ')' [INFO] [stderr] ./include/nvapi.h:167:1: note: to match this '(' [INFO] [stderr] ./include/nvapi.h:167:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] [INFO] [stderr] ./include/nvapi.h:167:1: error: expected ';' after top level declarator [INFO] [stderr] ./include/nvapi.h:187:1: error: expected parameter declarator [INFO] [stderr] ./include/nvapi.h:187:1: error: expected ')' [INFO] [stderr] ./include/nvapi.h:187:1: note: to match this '(' [INFO] [stderr] ./include/nvapi.h:187:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] [INFO] [stderr] fatal error: too many errors emitted, stopping now [-ferror-limit=] [INFO] [stderr] [INFO] [stderr] thread 'main' (539) panicked at build.rs:20:10: [INFO] [stderr] Unable to generate bindings: ClangDiagnostic("./include/nvapi.h:97:1: error: expected parameter declarator\n./include/nvapi.h:97:1: error: expected ')'\n./include/nvapi.h:97:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]\n./include/nvapi.h:97:1: error: expected ';' after top level declarator\n./include/nvapi.h:127:1: error: expected parameter declarator\n./include/nvapi.h:127:1: error: expected ')'\n./include/nvapi.h:127:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]\n./include/nvapi.h:127:1: error: expected ';' after top level declarator\n./include/nvapi.h:146:1: error: expected parameter declarator\n./include/nvapi.h:146:1: error: expected ')'\n./include/nvapi.h:146:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]\n./include/nvapi.h:146:1: error: expected ';' after top level declarator\n./include/nvapi.h:167:1: error: expected parameter declarator\n./include/nvapi.h:167:1: error: expected ')'\n./include/nvapi.h:167:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]\n./include/nvapi.h:167:1: error: expected ';' after top level declarator\n./include/nvapi.h:187:1: error: expected parameter declarator\n./include/nvapi.h:187:1: error: expected ')'\n./include/nvapi.h:187:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]\nfatal error: too many errors emitted, stopping now [-ferror-limit=]\n") [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x649e00b2d2d2 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x649e00b2d2d2 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x649e00b2d2d2 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x649e00b2d2d2 - ::fmt::h52160e9da139e442 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x649e00b3e5af - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x649e00b3e5af - core::fmt::write::hf09a056a304e021a [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] 6: 0x649e00afedd1 - std::io::default_write_fmt::h7567c5950fb0173c [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x649e00afedd1 - std::io::Write::write_fmt::h361c7127187cda65 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x649e00b09ec2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x649e00b0cd9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x649e00b0cbf9 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x649e00b0d4d5 - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:834:13 [INFO] [stderr] 12: 0x649e00b0d2ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stderr] 13: 0x649e00b09ff9 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 14: 0x649e00af2cbd - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stderr] 15: 0x649e00b484c0 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stderr] 16: 0x649e00b47746 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stderr] 17: 0x649e00620964 - core::result::Result::expect::hd3fb1117babb8c59 [INFO] [stderr] 18: 0x649e0061f42d - build_script_build::main::h1d6181e79f908cc2 [INFO] [stderr] 19: 0x649e0061ff13 - core::ops::function::FnOnce::call_once::he95047abc7305be4 [INFO] [stderr] 20: 0x649e0061fe16 - std::sys::backtrace::__rust_begin_short_backtrace::h872c24d7069b6bfa [INFO] [stderr] 21: 0x649e0061fdf9 - std::rt::lang_start::{{closure}}::h1caa881fa5e0773e [INFO] [stderr] 22: 0x649e00b00930 - core::ops::function::impls:: for &F>::call_once::h92f7271baace0227 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:287:21 [INFO] [stderr] 23: 0x649e00b00930 - std::panicking::catch_unwind::do_call::hab80bc7615f9a56f [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stderr] 24: 0x649e00b00930 - std::panicking::catch_unwind::h44920ff533ed11dd [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stderr] 25: 0x649e00b00930 - std::panic::catch_unwind::hbc4760794652046f [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stderr] 26: 0x649e00b00930 - std::rt::lang_start_internal::{{closure}}::h017b9ee7d9dfccf2 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/rt.rs:175:24 [INFO] [stderr] 27: 0x649e00b00930 - std::panicking::catch_unwind::do_call::h5c448dae61c3a22b [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stderr] 28: 0x649e00b00930 - std::panicking::catch_unwind::ha3a2750d16137715 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stderr] 29: 0x649e00b00930 - std::panic::catch_unwind::ha56344eb931bca1a [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stderr] 30: 0x649e00b00930 - std::rt::lang_start_internal::h4e6c18fadc4e7470 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/rt.rs:171:5 [INFO] [stderr] 31: 0x649e0061fde1 - std::rt::lang_start::h1fa7aa0a5ceb5d01 [INFO] [stderr] 32: 0x649e00621a65 - main [INFO] [stderr] 33: 0x7e8b6941c1ca - [INFO] [stderr] 34: 0x7e8b6941c28b - __libc_start_main [INFO] [stderr] 35: 0x649e0061ef15 - _start [INFO] [stderr] 36: 0x0 - [INFO] running `Command { std: "docker" "inspect" "7ca7bb8f9b889afb44bb3101e16a65579da601091d3a7f1d4e1d8b7699c0d3eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ca7bb8f9b889afb44bb3101e16a65579da601091d3a7f1d4e1d8b7699c0d3eb", kill_on_drop: false }` [INFO] [stdout] 7ca7bb8f9b889afb44bb3101e16a65579da601091d3a7f1d4e1d8b7699c0d3eb