[INFO] fetching crate xhook-rs 0.2.0... [INFO] building xhook-rs-0.2.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate xhook-rs 0.2.0 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate xhook-rs 0.2.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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 shlex v0.1.1 [INFO] [stderr] Downloaded which v3.1.1 [INFO] [stderr] Downloaded log v0.4.14 [INFO] [stderr] Downloaded cexpr v0.4.0 [INFO] [stderr] Downloaded glob v0.3.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.26 [INFO] [stderr] Downloaded quote v1.0.9 [INFO] [stderr] Downloaded memchr v2.4.0 [INFO] [stderr] Downloaded version_check v0.9.3 [INFO] [stderr] Downloaded cc v1.0.67 [INFO] [stderr] Downloaded clang-sys v0.29.3 [INFO] [stderr] Downloaded libloading v0.5.2 [INFO] [stderr] Downloaded regex v1.5.4 [INFO] [stderr] Downloaded hermit-abi v0.1.18 [INFO] [stderr] Downloaded unicode-width v0.1.8 [INFO] [stderr] Downloaded nom v5.1.2 [INFO] [stderr] Downloaded bindgen v0.54.0 [INFO] [stderr] Downloaded clap v2.33.3 [INFO] [stderr] Downloaded regex-syntax v0.6.25 [INFO] [stderr] Downloaded termcolor v1.1.2 [INFO] [stderr] Downloaded aho-corasick v0.7.18 [INFO] [stderr] Downloaded libc v0.2.94 [INFO] [stderr] Downloaded xhook-sys v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0000ec66e78a6d57a4718cddb6d88c264ddcca33f26a2523b818c27586f7217 [INFO] running `Command { std: "docker" "start" "-a" "c0000ec66e78a6d57a4718cddb6d88c264ddcca33f26a2523b818c27586f7217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0000ec66e78a6d57a4718cddb6d88c264ddcca33f26a2523b818c27586f7217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0000ec66e78a6d57a4718cddb6d88c264ddcca33f26a2523b818c27586f7217", kill_on_drop: false }` [INFO] [stdout] c0000ec66e78a6d57a4718cddb6d88c264ddcca33f26a2523b818c27586f7217 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 778e57db5703ac88d14d8854604c47c0421ee79ff8139ced6998f50f62d8152f [INFO] running `Command { std: "docker" "start" "-a" "778e57db5703ac88d14d8854604c47c0421ee79ff8139ced6998f50f62d8152f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling version_check v0.9.3 [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 unicode-xid v0.2.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bindgen v0.54.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.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 shlex v0.1.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [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 10.30s [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 2` [INFO] running `Command { std: "docker" "inspect" "778e57db5703ac88d14d8854604c47c0421ee79ff8139ced6998f50f62d8152f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "778e57db5703ac88d14d8854604c47c0421ee79ff8139ced6998f50f62d8152f", kill_on_drop: false }` [INFO] [stdout] 778e57db5703ac88d14d8854604c47c0421ee79ff8139ced6998f50f62d8152f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a3df1f8de6d1359a90c10d01cfa5cf7c1965eccd67ddb5a4badb50f75ff5c57 [INFO] running `Command { std: "docker" "start" "-a" "6a3df1f8de6d1359a90c10d01cfa5cf7c1965eccd67ddb5a4badb50f75ff5c57", 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/rustckDR0ml/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/rustckDR0ml/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/rustc2ooywO/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-*,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/rustc2ooywO/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" "6a3df1f8de6d1359a90c10d01cfa5cf7c1965eccd67ddb5a4badb50f75ff5c57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a3df1f8de6d1359a90c10d01cfa5cf7c1965eccd67ddb5a4badb50f75ff5c57", kill_on_drop: false }` [INFO] [stdout] 6a3df1f8de6d1359a90c10d01cfa5cf7c1965eccd67ddb5a4badb50f75ff5c57