[INFO] fetching crate libXNVCtrl-sys 1.29.2... [INFO] testing libXNVCtrl-sys-1.29.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate libXNVCtrl-sys 1.29.2 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate libXNVCtrl-sys 1.29.2 [INFO] finished tweaking crates.io crate libXNVCtrl-sys 1.29.2 [INFO] tweaked toml for crates.io crate libXNVCtrl-sys 1.29.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libXNVCtrl-sys 1.29.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 56 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.53.3 (available: v0.72.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8da1929d822539a5641ff43fdd8ced020e876203f1e3e3b41048d731a0b6663 [INFO] running `Command { std: "docker" "start" "-a" "d8da1929d822539a5641ff43fdd8ced020e876203f1e3e3b41048d731a0b6663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8da1929d822539a5641ff43fdd8ced020e876203f1e3e3b41048d731a0b6663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8da1929d822539a5641ff43fdd8ced020e876203f1e3e3b41048d731a0b6663", kill_on_drop: false }` [INFO] [stdout] d8da1929d822539a5641ff43fdd8ced020e876203f1e3e3b41048d731a0b6663 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b37449002ea274d83de69eb5ae180a33f83ed7ca555039d630976c0f0336854f [INFO] running `Command { std: "docker" "start" "-a" "b37449002ea274d83de69eb5ae180a33f83ed7ca555039d630976c0f0336854f", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling bindgen v0.53.3 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling libXNVCtrl-sys v1.29.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: crate `libXNVCtrl_sys` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `lib_xnvctrl_sys` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.42s [INFO] running `Command { std: "docker" "inspect" "b37449002ea274d83de69eb5ae180a33f83ed7ca555039d630976c0f0336854f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b37449002ea274d83de69eb5ae180a33f83ed7ca555039d630976c0f0336854f", kill_on_drop: false }` [INFO] [stdout] b37449002ea274d83de69eb5ae180a33f83ed7ca555039d630976c0f0336854f [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a95e527a2d381da532207395217a2b84a8b98d1b5a7c637ed76b10afcd9993c [INFO] running `Command { std: "docker" "start" "-a" "0a95e527a2d381da532207395217a2b84a8b98d1b5a7c637ed76b10afcd9993c", kill_on_drop: false }` [INFO] [stdout] warning: crate `libXNVCtrl_sys` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `lib_xnvctrl_sys` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libXNVCtrl-sys v1.29.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `bindgen_test_layout__NVCTRLAttributeValidValues__bindgen_ty_1__bindgen_ty_1` should have a snake case name [INFO] [stdout] --> src/bindings.rs:1004:4 [INFO] [stdout] | [INFO] [stdout] 1004 | fn bindgen_test_layout__NVCTRLAttributeValidValues__bindgen_ty_1__bindgen_ty_1() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bindgen_test_layout_nvctrlattribute_valid_values_bindgen_ty_1_bindgen_ty_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:1023:14 [INFO] [stdout] | [INFO] [stdout] 1023 | &(*(::std::ptr::null::<_NVCTRLAttributeValidValues__bindgen_ty_1__bindgen_ty_1>())).min [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:1036:14 [INFO] [stdout] | [INFO] [stdout] 1036 | &(*(::std::ptr::null::<_NVCTRLAttributeValidValues__bindgen_ty_1__bindgen_ty_1>())).max [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bindgen_test_layout__NVCTRLAttributeValidValues__bindgen_ty_1__bindgen_ty_2` should have a snake case name [INFO] [stdout] --> src/bindings.rs:1054:4 [INFO] [stdout] | [INFO] [stdout] 1054 | fn bindgen_test_layout__NVCTRLAttributeValidValues__bindgen_ty_1__bindgen_ty_2() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bindgen_test_layout_nvctrlattribute_valid_values_bindgen_ty_1_bindgen_ty_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:1073:14 [INFO] [stdout] | [INFO] [stdout] 1073 | &(*(::std::ptr::null::<_NVCTRLAttributeValidValues__bindgen_ty_1__bindgen_ty_2>())).ints [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bindgen_test_layout__NVCTRLAttributeValidValues__bindgen_ty_1` should have a snake case name [INFO] [stdout] --> src/bindings.rs:1086:4 [INFO] [stdout] | [INFO] [stdout] 1086 | fn bindgen_test_layout__NVCTRLAttributeValidValues__bindgen_ty_1() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bindgen_test_layout_nvctrlattribute_valid_values_bindgen_ty_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:1105:14 [INFO] [stdout] | [INFO] [stdout] 1105 | &(*(::std::ptr::null::<_NVCTRLAttributeValidValues__bindgen_ty_1>())).range as *const _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:1118:14 [INFO] [stdout] | [INFO] [stdout] 1118 | &(*(::std::ptr::null::<_NVCTRLAttributeValidValues__bindgen_ty_1>())).bits as *const _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bindgen_test_layout__NVCTRLAttributeValidValues` should have a snake case name [INFO] [stdout] --> src/bindings.rs:1131:4 [INFO] [stdout] | [INFO] [stdout] 1131 | fn bindgen_test_layout__NVCTRLAttributeValidValues() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bindgen_test_layout_nvctrlattribute_valid_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:1144:14 [INFO] [stdout] | [INFO] [stdout] 1144 | &(*(::std::ptr::null::<_NVCTRLAttributeValidValues>())).type_ as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:1155:19 [INFO] [stdout] | [INFO] [stdout] 1155 | unsafe { &(*(::std::ptr::null::<_NVCTRLAttributeValidValues>())).u as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:1166:14 [INFO] [stdout] | [INFO] [stdout] 1166 | &(*(::std::ptr::null::<_NVCTRLAttributeValidValues>())).permissions as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bindgen_test_layout__NVCTRLAttributePermissions` should have a snake case name [INFO] [stdout] --> src/bindings.rs:1185:4 [INFO] [stdout] | [INFO] [stdout] 1185 | fn bindgen_test_layout__NVCTRLAttributePermissions() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bindgen_test_layout_nvctrlattribute_permissions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:1198:14 [INFO] [stdout] | [INFO] [stdout] 1198 | &(*(::std::ptr::null::<_NVCTRLAttributePermissions>())).type_ as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:1210:14 [INFO] [stdout] | [INFO] [stdout] 1210 | &(*(::std::ptr::null::<_NVCTRLAttributePermissions>())).permissions as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcJzZngV/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lX11" "-lXNVCtrl" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libx11-edad65831da9a16f,liblibc-a58beeab2e1413cc}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*,libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcJzZngV/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libXNVCtrl_sys-e8c20122ccbcb8c9" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lXNVCtrl [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libXNVCtrl-sys` (lib test) due to 1 previous error; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0a95e527a2d381da532207395217a2b84a8b98d1b5a7c637ed76b10afcd9993c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a95e527a2d381da532207395217a2b84a8b98d1b5a7c637ed76b10afcd9993c", kill_on_drop: false }` [INFO] [stdout] 0a95e527a2d381da532207395217a2b84a8b98d1b5a7c637ed76b10afcd9993c