[INFO] fetching crate randomx-bindings-sys 0.1.5... [INFO] testing randomx-bindings-sys-0.1.5 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate randomx-bindings-sys 0.1.5 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate randomx-bindings-sys 0.1.5 [INFO] finished tweaking crates.io crate randomx-bindings-sys 0.1.5 [INFO] tweaked toml for crates.io crate randomx-bindings-sys 0.1.5 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate randomx-bindings-sys 0.1.5 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 45 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.58.1 (available: v0.72.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 814714a07bfa8ae68ca7b5e6c2ad026fe247db34712965bbc15c1a84bd75aa97 [INFO] running `Command { std: "docker" "start" "-a" "814714a07bfa8ae68ca7b5e6c2ad026fe247db34712965bbc15c1a84bd75aa97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "814714a07bfa8ae68ca7b5e6c2ad026fe247db34712965bbc15c1a84bd75aa97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "814714a07bfa8ae68ca7b5e6c2ad026fe247db34712965bbc15c1a84bd75aa97", kill_on_drop: false }` [INFO] [stdout] 814714a07bfa8ae68ca7b5e6c2ad026fe247db34712965bbc15c1a84bd75aa97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1d5a192442ee4d4aedb9d636ad949e7692abe994acf08314d1eb0d2fa37451e [INFO] running `Command { std: "docker" "start" "-a" "a1d5a192442ee4d4aedb9d636ad949e7692abe994acf08314d1eb0d2fa37451e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling version_check v0.9.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 unicode-ident v1.0.19 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling bindgen v0.58.1 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.34.0 [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.8.4 [INFO] [stderr] Compiling randomx-bindings-sys v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.07s [INFO] running `Command { std: "docker" "inspect" "a1d5a192442ee4d4aedb9d636ad949e7692abe994acf08314d1eb0d2fa37451e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1d5a192442ee4d4aedb9d636ad949e7692abe994acf08314d1eb0d2fa37451e", kill_on_drop: false }` [INFO] [stdout] a1d5a192442ee4d4aedb9d636ad949e7692abe994acf08314d1eb0d2fa37451e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17aed287b747e64e4e9ba600615a5afbb067ca18f0c0a42f397dd6bf6851d726 [INFO] running `Command { std: "docker" "start" "-a" "17aed287b747e64e4e9ba600615a5afbb067ca18f0c0a42f397dd6bf6851d726", kill_on_drop: false }` [INFO] [stderr] Compiling randomx-bindings-sys v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/randomx-bindings-sys-c7ac3281a0b507e9/out/bindings.rs:3:4903 [INFO] [stdout] | [INFO] [stdout] 3 | ...eq ! (unsafe { & (* (:: std :: ptr :: null :: < max_align_t > ())) . __clang_max_align_nonce1 as * const _ as usize } , 0usize , conca... [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] --> /opt/rustwide/target/debug/build/randomx-bindings-sys-c7ac3281a0b507e9/out/bindings.rs:3:5149 [INFO] [stdout] | [INFO] [stdout] 3 | ...eq ! (unsafe { & (* (:: std :: ptr :: null :: < max_align_t > ())) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , conc... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/randomx-bindings-sys-c7ac3281a0b507e9/out/bindings.rs:3:7508 [INFO] [stdout] | [INFO] [stdout] 3 | ...t_eq ! (unsafe { & (* (:: std :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of fiel... [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/rustcyss4fA/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "-lrandomx" "-Wl,-Bdynamic" "-llibc++" "-Wl,-Bstatic" "/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/rustcyss4fA/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/target/debug/build/randomx-bindings-sys-c7ac3281a0b507e9/out/build" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/randomx_bindings_sys-6294f322ae0080d8" "-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 -llibc++ [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `randomx-bindings-sys` (lib test) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "17aed287b747e64e4e9ba600615a5afbb067ca18f0c0a42f397dd6bf6851d726", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17aed287b747e64e4e9ba600615a5afbb067ca18f0c0a42f397dd6bf6851d726", kill_on_drop: false }` [INFO] [stdout] 17aed287b747e64e4e9ba600615a5afbb067ca18f0c0a42f397dd6bf6851d726