[INFO] fetching crate xhook-rs 0.2.0... [INFO] testing xhook-rs-0.2.0 against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] extracting crate xhook-rs 0.2.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate xhook-rs 0.2.0 on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-10/source/Cargo.toml [INFO] crate crates.io crate xhook-rs 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [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-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 659c45a67955b17f1a9181230f72c5861055f632e3ec472d08ce0b1ae22594de [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "659c45a67955b17f1a9181230f72c5861055f632e3ec472d08ce0b1ae22594de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "659c45a67955b17f1a9181230f72c5861055f632e3ec472d08ce0b1ae22594de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "659c45a67955b17f1a9181230f72c5861055f632e3ec472d08ce0b1ae22594de", kill_on_drop: false }` [INFO] [stdout] 659c45a67955b17f1a9181230f72c5861055f632e3ec472d08ce0b1ae22594de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 51c374b0b0ee922147f6d07322a020e58cbec39fd4217cca601b6637a4e4eb64 [INFO] running `Command { std: "docker" "start" "-a" "51c374b0b0ee922147f6d07322a020e58cbec39fd4217cca601b6637a4e4eb64", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling bindgen v0.54.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling regex v1.5.4 [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 [unoptimized + debuginfo] target(s) in 52.24s [INFO] running `Command { std: "docker" "inspect" "51c374b0b0ee922147f6d07322a020e58cbec39fd4217cca601b6637a4e4eb64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51c374b0b0ee922147f6d07322a020e58cbec39fd4217cca601b6637a4e4eb64", kill_on_drop: false }` [INFO] [stdout] 51c374b0b0ee922147f6d07322a020e58cbec39fd4217cca601b6637a4e4eb64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c936842f93dea2a0b6ca16778a03d276bc59faf503eb2a36dfb37a5f7911a66c [INFO] running `Command { std: "docker" "start" "-a" "c936842f93dea2a0b6ca16778a03d276bc59faf503eb2a36dfb37a5f7911a66c", 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> examples/main.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 16 | pub unsafe extern "C" fn my_open(path: *const c_char, oflag: c_int, args: ...) -> c_int { [INFO] [stdout] | --------------------------------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] 17 | let c_str = unsafe { CStr::from_ptr(path) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a.main.3f4927ef-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a.main.3f4927ef-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a.main.3f4927ef-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a.main.3f4927ef-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a.main.3f4927ef-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a.main.3f4927ef-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a.main.3f4927ef-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a.main.3f4927ef-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a.main.3f4927ef-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a.main.3f4927ef-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a.main.3f4927ef-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a.main.3f4927ef-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a.main.3f4927ef-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a.main.3f4927ef-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a.main.3f4927ef-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a.main.3f4927ef-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a.5bguwa25jxxa0cy6.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/xhook-sys-0.2.0/dep" "-L" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/liblibc-607adcf3cce6ac0a.rlib" "/opt/rustwide/target/debug/deps/libxhook_rs-ea9843e3291d8d98.rlib" "/opt/rustwide/target/debug/deps/libxhook_sys-97779dd96bf7b775.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-7387d118fba15d64.rlib" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-dd8bf3fda2fc2c51.rlib" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-b69fd8507c8409af.rlib" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-2dff396b99681a6b.rlib" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-a78bd5aa183c7115.rlib" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-846c64d5a2fbc5ee.rlib" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-24c09062b6dc787b.rlib" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-ce93f351ca41a57b.rlib" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-e42af02528f038fc.rlib" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-514cb174319eb6d4.rlib" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-37c1534c42bc4f8c.rlib" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-06d0f7780fda2fd9.rlib" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-4228e28a8f7a03ba.rlib" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-88bb1ba4dd271224.rlib" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a81f2980c3f58cf2.rlib" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-0b5a376b429677a6.rlib" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2a6a2797f7a73818.rlib" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-eecefd843a0dbc02.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/libxhook_sys-97779dd96bf7b775.rlib(xhook.o): Relocations in generic ELF (EM: 183) [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libxhook_sys-97779dd96bf7b775.rlib(xhook.o): Relocations in generic ELF (EM: 183) [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libxhook_sys-97779dd96bf7b775.rlib(xhook.o): Relocations in generic ELF (EM: 183) [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libxhook_sys-97779dd96bf7b775.rlib(xhook.o): Relocations in generic ELF (EM: 183) [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libxhook_sys-97779dd96bf7b775.rlib(xhook.o): Relocations in generic ELF (EM: 183) [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libxhook_sys-97779dd96bf7b775.rlib(xhook.o): Relocations in generic ELF (EM: 183) [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libxhook_sys-97779dd96bf7b775.rlib(xhook.o): Relocations in generic ELF (EM: 183) [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libxhook_sys-97779dd96bf7b775.rlib(xhook.o): Relocations in generic ELF (EM: 183) [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libxhook_sys-97779dd96bf7b775.rlib(xhook.o): Relocations in generic ELF (EM: 183) [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libxhook_sys-97779dd96bf7b775.rlib(xhook.o): Relocations in generic ELF (EM: 183) [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libxhook_sys-97779dd96bf7b775.rlib(xhook.o): Relocations in generic ELF (EM: 183) [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libxhook_sys-97779dd96bf7b775.rlib(xhook.o): Relocations in generic ELF (EM: 183) [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libxhook_sys-97779dd96bf7b775.rlib: error adding symbols: file in wrong format [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xhook-rs` due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c936842f93dea2a0b6ca16778a03d276bc59faf503eb2a36dfb37a5f7911a66c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c936842f93dea2a0b6ca16778a03d276bc59faf503eb2a36dfb37a5f7911a66c", kill_on_drop: false }` [INFO] [stdout] c936842f93dea2a0b6ca16778a03d276bc59faf503eb2a36dfb37a5f7911a66c