[INFO] fetching crate rs-glfw3 0.1.6... [INFO] building rs-glfw3-0.1.6 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate rs-glfw3 0.1.6 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate rs-glfw3 0.1.6 [INFO] finished tweaking crates.io crate rs-glfw3 0.1.6 [INFO] tweaked toml for crates.io crate rs-glfw3 0.1.6 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rs-glfw3 0.1.6 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 54 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.55.1 (available: v0.72.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rs-ctypes v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18c3cd20b3eb88de110fdc02b50a6f10a65a25c16891a5808603be11f85cbbcc [INFO] running `Command { std: "docker" "start" "-a" "18c3cd20b3eb88de110fdc02b50a6f10a65a25c16891a5808603be11f85cbbcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18c3cd20b3eb88de110fdc02b50a6f10a65a25c16891a5808603be11f85cbbcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18c3cd20b3eb88de110fdc02b50a6f10a65a25c16891a5808603be11f85cbbcc", kill_on_drop: false }` [INFO] [stdout] 18c3cd20b3eb88de110fdc02b50a6f10a65a25c16891a5808603be11f85cbbcc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6f66d2a1d0911836196e6df8517278280a6c41b328b28aff31a7e0f2f091b70 [INFO] running `Command { std: "docker" "start" "-a" "a6f66d2a1d0911836196e6df8517278280a6c41b328b28aff31a7e0f2f091b70", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling bindgen v0.55.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling rs-ctypes v0.1.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling rs-glfw3 v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.44s [INFO] running `Command { std: "docker" "inspect" "a6f66d2a1d0911836196e6df8517278280a6c41b328b28aff31a7e0f2f091b70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6f66d2a1d0911836196e6df8517278280a6c41b328b28aff31a7e0f2f091b70", kill_on_drop: false }` [INFO] [stdout] a6f66d2a1d0911836196e6df8517278280a6c41b328b28aff31a7e0f2f091b70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 835102a54d1f280d9b75d7af701b1a554be59cf748fad9506bd52711c3e93b1d [INFO] running `Command { std: "docker" "start" "-a" "835102a54d1f280d9b75d7af701b1a554be59cf748fad9506bd52711c3e93b1d", kill_on_drop: false }` [INFO] [stderr] Compiling rs-glfw3 v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:356:14 [INFO] [stdout] | [INFO] [stdout] 356 | &(*(::core::ptr::null::())).__clang_max_align_nonce1 as *const _ as usize [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:368:14 [INFO] [stdout] | [INFO] [stdout] 368 | &(*(::core::ptr::null::())).__clang_max_align_nonce2 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:431:19 [INFO] [stdout] | [INFO] [stdout] 431 | unsafe { &(*(::core::ptr::null::<__fsid_t>())).__val 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:889:19 [INFO] [stdout] | [INFO] [stdout] 889 | unsafe { &(*(::core::ptr::null::())).width 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:899:19 [INFO] [stdout] | [INFO] [stdout] 899 | unsafe { &(*(::core::ptr::null::())).height 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:909:19 [INFO] [stdout] | [INFO] [stdout] 909 | unsafe { &(*(::core::ptr::null::())).redBits 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:919:19 [INFO] [stdout] | [INFO] [stdout] 919 | unsafe { &(*(::core::ptr::null::())).greenBits 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:929:19 [INFO] [stdout] | [INFO] [stdout] 929 | unsafe { &(*(::core::ptr::null::())).blueBits 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:939:19 [INFO] [stdout] | [INFO] [stdout] 939 | unsafe { &(*(::core::ptr::null::())).refreshRate 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:984:19 [INFO] [stdout] | [INFO] [stdout] 984 | unsafe { &(*(::core::ptr::null::())).red 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:994:19 [INFO] [stdout] | [INFO] [stdout] 994 | unsafe { &(*(::core::ptr::null::())).green 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:1004:19 [INFO] [stdout] | [INFO] [stdout] 1004 | unsafe { &(*(::core::ptr::null::())).blue 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:1014:19 [INFO] [stdout] | [INFO] [stdout] 1014 | unsafe { &(*(::core::ptr::null::())).size 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:1054:19 [INFO] [stdout] | [INFO] [stdout] 1054 | unsafe { &(*(::core::ptr::null::())).width 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:1064:19 [INFO] [stdout] | [INFO] [stdout] 1064 | unsafe { &(*(::core::ptr::null::())).height 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:1074:19 [INFO] [stdout] | [INFO] [stdout] 1074 | unsafe { &(*(::core::ptr::null::())).pixels 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/rustcRUnUpM/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lglfw" "-lc" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/librs_ctypes-cf378d562c1adb50.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,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/rustcRUnUpM/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/workdir" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rs_glfw3-bd023c17a6880b7a" "-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 -lglfw [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rs-glfw3` (lib test) due to 1 previous error; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "835102a54d1f280d9b75d7af701b1a554be59cf748fad9506bd52711c3e93b1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "835102a54d1f280d9b75d7af701b1a554be59cf748fad9506bd52711c3e93b1d", kill_on_drop: false }` [INFO] [stdout] 835102a54d1f280d9b75d7af701b1a554be59cf748fad9506bd52711c3e93b1d