[INFO] fetching crate xhook-rs 0.2.0... [INFO] testing xhook-rs-0.2.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate xhook-rs 0.2.0 into /workspace/builds/worker-5-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate xhook-rs 0.2.0 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] 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 3907b0a5a5de575101a69953b99506788f4c5aed6f4ce98edfe05ab81600b1bf [INFO] running `Command { std: "docker" "start" "-a" "3907b0a5a5de575101a69953b99506788f4c5aed6f4ce98edfe05ab81600b1bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3907b0a5a5de575101a69953b99506788f4c5aed6f4ce98edfe05ab81600b1bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3907b0a5a5de575101a69953b99506788f4c5aed6f4ce98edfe05ab81600b1bf", kill_on_drop: false }` [INFO] [stdout] 3907b0a5a5de575101a69953b99506788f4c5aed6f4ce98edfe05ab81600b1bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] bfc11e06dd6d2f09d57eb364b57df7818a50603dc3edb0a08ea143db16775a7f [INFO] running `Command { std: "docker" "start" "-a" "bfc11e06dd6d2f09d57eb364b57df7818a50603dc3edb0a08ea143db16775a7f", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling log v0.4.14 [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 clang-sys v0.29.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.54.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling libloading v0.5.2 [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 25.98s [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" "bfc11e06dd6d2f09d57eb364b57df7818a50603dc3edb0a08ea143db16775a7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfc11e06dd6d2f09d57eb364b57df7818a50603dc3edb0a08ea143db16775a7f", kill_on_drop: false }` [INFO] [stdout] bfc11e06dd6d2f09d57eb364b57df7818a50603dc3edb0a08ea143db16775a7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 19b6c1ba0fb8ae481421a148c5f4654cc2dcfe7f7b26a37fa18cc7581f518cec [INFO] running `Command { std: "docker" "start" "-a" "19b6c1ba0fb8ae481421a148c5f4654cc2dcfe7f7b26a37fa18cc7581f518cec", 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/rustcg9SSWm/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/rustcg9SSWm/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` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustc7RC8iU/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/rustc7RC8iU/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] [stderr] error: could not compile `xhook-rs` (example "main") due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "19b6c1ba0fb8ae481421a148c5f4654cc2dcfe7f7b26a37fa18cc7581f518cec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19b6c1ba0fb8ae481421a148c5f4654cc2dcfe7f7b26a37fa18cc7581f518cec", kill_on_drop: false }` [INFO] [stdout] 19b6c1ba0fb8ae481421a148c5f4654cc2dcfe7f7b26a37fa18cc7581f518cec