[INFO] fetching crate xhook-rs 0.2.0... [INFO] testing xhook-rs-0.2.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate xhook-rs 0.2.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate xhook-rs 0.2.0 [INFO] finished tweaking crates.io crate xhook-rs 0.2.0 [INFO] tweaked toml for crates.io crate xhook-rs 0.2.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate xhook-rs 0.2.0 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] crate crates.io crate xhook-rs 0.2.0 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded which v3.1.1 [INFO] [stderr] Downloaded memchr v2.4.0 [INFO] [stderr] Downloaded rustc-hash v1.1.0 [INFO] [stderr] Downloaded shlex v0.1.1 [INFO] [stderr] Downloaded bindgen v0.54.0 [INFO] [stderr] Downloaded strsim v0.8.0 [INFO] [stderr] Downloaded cexpr v0.4.0 [INFO] [stderr] Downloaded libloading v0.5.2 [INFO] [stderr] Downloaded cfg-if v0.1.10 [INFO] [stderr] Downloaded termcolor v1.1.2 [INFO] [stderr] Downloaded hermit-abi v0.1.18 [INFO] [stderr] Downloaded lazy_static v1.4.0 [INFO] [stderr] Downloaded unicode-width v0.1.8 [INFO] [stderr] Downloaded cc v1.0.67 [INFO] [stderr] Downloaded nom v5.1.2 [INFO] [stderr] Downloaded humantime v1.3.0 [INFO] [stderr] Downloaded clap v2.33.3 [INFO] [stderr] Downloaded proc-macro2 v1.0.26 [INFO] [stderr] Downloaded libc v0.2.94 [INFO] [stderr] Downloaded ansi_term v0.11.0 [INFO] [stderr] Downloaded textwrap v0.11.0 [INFO] [stderr] Downloaded version_check v0.9.3 [INFO] [stderr] Downloaded glob v0.3.0 [INFO] [stderr] Downloaded winapi-util v0.1.5 [INFO] [stderr] Downloaded log v0.4.14 [INFO] [stderr] Downloaded unicode-xid v0.2.2 [INFO] [stderr] Downloaded xhook-sys v0.2.0 [INFO] [stderr] Downloaded clang-sys v0.29.3 [INFO] [stderr] Downloaded bitflags v1.2.1 [INFO] [stderr] Downloaded quick-error v1.2.3 [INFO] [stderr] Downloaded vec_map v0.8.2 [INFO] [stderr] Downloaded lazycell v1.3.0 [INFO] [stderr] Downloaded quote v1.0.9 [INFO] [stderr] Downloaded atty v0.2.14 [INFO] [stderr] Downloaded cfg-if v1.0.0 [INFO] [stderr] Downloaded env_logger v0.7.1 [INFO] [stderr] Downloaded peeking_take_while v0.1.2 [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] b7de5deaf1ce024155f91641b5f953e4cf5a6de08a2ea0b04d76833a3b81e21c [INFO] running `Command { std: "docker" "start" "-a" "b7de5deaf1ce024155f91641b5f953e4cf5a6de08a2ea0b04d76833a3b81e21c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7de5deaf1ce024155f91641b5f953e4cf5a6de08a2ea0b04d76833a3b81e21c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7de5deaf1ce024155f91641b5f953e4cf5a6de08a2ea0b04d76833a3b81e21c", kill_on_drop: false }` [INFO] [stdout] b7de5deaf1ce024155f91641b5f953e4cf5a6de08a2ea0b04d76833a3b81e21c [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] 2111a460670c4025aea075cd793378516b5b313164a7ca63fc99de1c52e551bf [INFO] running `Command { std: "docker" "start" "-a" "2111a460670c4025aea075cd793378516b5b313164a7ca63fc99de1c52e551bf", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling bindgen v0.54.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling xhook-sys v0.2.0 [INFO] [stderr] Compiling xhook-rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.09s [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 4` [INFO] running `Command { std: "docker" "inspect" "2111a460670c4025aea075cd793378516b5b313164a7ca63fc99de1c52e551bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2111a460670c4025aea075cd793378516b5b313164a7ca63fc99de1c52e551bf", kill_on_drop: false }` [INFO] [stdout] 2111a460670c4025aea075cd793378516b5b313164a7ca63fc99de1c52e551bf [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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ab73f6f10e73af3719cbd4c75f0801737f574c7f06576f0b5538cd6c5c0bc78 [INFO] running `Command { std: "docker" "start" "-a" "8ab73f6f10e73af3719cbd4c75f0801737f574c7f06576f0b5538cd6c5c0bc78", kill_on_drop: false }` [INFO] [stderr] Compiling xhook-rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::slice` [INFO] [stdout] --> examples/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::slice; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> examples/main.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let buf = libc::malloc(10); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustc5y38U2/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{liblibc-0bc93a18944c32ad,libxhook_rs-be627f6c9cdc1013,libxhook_sys-6f6761c9684468c1}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{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/rustc5y38U2/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/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xhook-sys-0.2.0/dep" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/main-b431ef49e1607518" "-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: /opt/rustwide/target/debug/deps/libxhook_sys-6f6761c9684468c1.rlib(xhook.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/deps/libxhook_sys-6f6761c9684468c1.rlib(xh_core.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/deps/libxhook_sys-6f6761c9684468c1.rlib(xh_elf.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/deps/libxhook_sys-6f6761c9684468c1.rlib(xh_jni.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/deps/libxhook_sys-6f6761c9684468c1.rlib(xh_log.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/deps/libxhook_sys-6f6761c9684468c1.rlib(xh_util.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/deps/libxhook_sys-6f6761c9684468c1.rlib(xh_version.o) is incompatible with elf64-x86-64 [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcAg1tYj/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libxhook_sys-6f6761c9684468c1.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/rustcAg1tYj/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/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xhook-sys-0.2.0/dep" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/xhook_rs-9db55518d12d84a6" "-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: /opt/rustwide/target/debug/deps/libxhook_sys-6f6761c9684468c1.rlib(xhook.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/deps/libxhook_sys-6f6761c9684468c1.rlib(xh_core.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/deps/libxhook_sys-6f6761c9684468c1.rlib(xh_elf.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/deps/libxhook_sys-6f6761c9684468c1.rlib(xh_jni.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/deps/libxhook_sys-6f6761c9684468c1.rlib(xh_log.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/deps/libxhook_sys-6f6761c9684468c1.rlib(xh_util.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/deps/libxhook_sys-6f6761c9684468c1.rlib(xh_version.o) is incompatible with elf64-x86-64 [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xhook-rs` (example "main") due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `xhook-rs` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "8ab73f6f10e73af3719cbd4c75f0801737f574c7f06576f0b5538cd6c5c0bc78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ab73f6f10e73af3719cbd4c75f0801737f574c7f06576f0b5538cd6c5c0bc78", kill_on_drop: false }` [INFO] [stdout] 8ab73f6f10e73af3719cbd4c75f0801737f574c7f06576f0b5538cd6c5c0bc78