[INFO] fetching crate slim-detours-sys 0.4.0... [INFO] building slim-detours-sys-0.4.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate slim-detours-sys 0.4.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate slim-detours-sys 0.4.0 [INFO] finished tweaking crates.io crate slim-detours-sys 0.4.0 [INFO] tweaked toml for crates.io crate slim-detours-sys 0.4.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate slim-detours-sys 0.4.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate slim-detours-sys 0.4.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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa103321b90dc12a0dcb88b11d1d7bbc6c441467d5ec7e83b54c0681078816e5 [INFO] running `Command { std: "docker" "start" "-a" "fa103321b90dc12a0dcb88b11d1d7bbc6c441467d5ec7e83b54c0681078816e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa103321b90dc12a0dcb88b11d1d7bbc6c441467d5ec7e83b54c0681078816e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa103321b90dc12a0dcb88b11d1d7bbc6c441467d5ec7e83b54c0681078816e5", kill_on_drop: false }` [INFO] [stdout] fa103321b90dc12a0dcb88b11d1d7bbc6c441467d5ec7e83b54c0681078816e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b7cef20f78d372e1a738dfd0387cd12f262792c924ab1a4dc658fcba36b685f [INFO] running `Command { std: "docker" "start" "-a" "9b7cef20f78d372e1a738dfd0387cd12f262792c924ab1a4dc658fcba36b685f", kill_on_drop: false }` [INFO] [stderr] Compiling windows-link v0.2.0 [INFO] [stderr] Compiling slim-detours-sys v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling windows-sys v0.61.0 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.23s [INFO] running `Command { std: "docker" "inspect" "9b7cef20f78d372e1a738dfd0387cd12f262792c924ab1a4dc658fcba36b685f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b7cef20f78d372e1a738dfd0387cd12f262792c924ab1a4dc658fcba36b685f", kill_on_drop: false }` [INFO] [stdout] 9b7cef20f78d372e1a738dfd0387cd12f262792c924ab1a4dc658fcba36b685f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4092945b719c50a35989e9a38ab207df7d1f0da5c6a334dd8b6fd46a44e0576 [INFO] running `Command { std: "docker" "start" "-a" "d4092945b719c50a35989e9a38ab207df7d1f0da5c6a334dd8b6fd46a44e0576", kill_on_drop: false }` [INFO] [stderr] Compiling windows-sys v0.61.0 [INFO] [stderr] Compiling sync-unsafe-cell v0.1.1 [INFO] [stderr] Compiling slim-detours-sys v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcXJIJsc/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "-lKNSoft.SlimDetours" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libsync_unsafe_cell-3fcbb43ec1e3af0c,libwindows_sys-aa1d6ee62343b1e3,libwindows_link-cfe4717d121f0df3}.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/rustcXJIJsc/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/workdir/native/x86_64" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/slim_detours_sys-994271f60c5a7c51" "-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: warning: /opt/rustwide/workdir/native/x86_64/libKNSoft.SlimDetours.a: archive member 'slim-detours-sys\native\x86_64\4aa703797ce9d806-Transaction.o' is neither ET_REL nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/workdir/native/x86_64/libKNSoft.SlimDetours.a: archive member 'slim-detours-sys\native\x86_64\4aa703797ce9d806-Trampoline.o' is neither ET_REL nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/workdir/native/x86_64/libKNSoft.SlimDetours.a: archive member 'slim-detours-sys\native\x86_64\4aa703797ce9d806-Thread.o' is neither ET_REL nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/workdir/native/x86_64/libKNSoft.SlimDetours.a: archive member 'slim-detours-sys\native\x86_64\4aa703797ce9d806-Memory.o' is neither ET_REL nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/workdir/native/x86_64/libKNSoft.SlimDetours.a: archive member 'slim-detours-sys\native\x86_64\4aa703797ce9d806-Instruction.o' is neither ET_REL nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/workdir/native/x86_64/libKNSoft.SlimDetours.a: archive member 'slim-detours-sys\native\x86_64\4aa703797ce9d806-InlineHook.o' is neither ET_REL nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/workdir/native/x86_64/libKNSoft.SlimDetours.a: archive member 'slim-detours-sys\native\x86_64\4aa703797ce9d806-Disassembler.o' is neither ET_REL nor LLVM bitcode [INFO] [stdout] rust-lld: error: undefined symbol: GetTickCount [INFO] [stdout] >>> referenced by lib.rs:94 (src/lib.rs:94) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/slim_detours_sys-994271f60c5a7c51.slim_detours_sys.8537f1ba990e8dea-cgu.0.rcgu.o:(slim_detours_sys::tests::TimedSleep::h9444ab41e4c16132) [INFO] [stdout] >>> referenced by lib.rs:96 (src/lib.rs:96) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/slim_detours_sys-994271f60c5a7c51.slim_detours_sys.8537f1ba990e8dea-cgu.0.rcgu.o:(slim_detours_sys::tests::TimedSleep::h9444ab41e4c16132) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: SlimDetoursInlineHook [INFO] [stdout] >>> referenced by lib.rs:107 (src/lib.rs:107) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/slim_detours_sys-994271f60c5a7c51.slim_detours_sys.8537f1ba990e8dea-cgu.0.rcgu.o:(slim_detours_sys::tests::hook_self::hf2d7acef90a90d5b) [INFO] [stdout] >>> referenced by lib.rs:113 (src/lib.rs:113) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/slim_detours_sys-994271f60c5a7c51.slim_detours_sys.8537f1ba990e8dea-cgu.0.rcgu.o:(slim_detours_sys::tests::hook_self::hf2d7acef90a90d5b) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: Sleep [INFO] [stdout] >>> referenced by lib.rs:109 (src/lib.rs:109) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/slim_detours_sys-994271f60c5a7c51.slim_detours_sys.8537f1ba990e8dea-cgu.0.rcgu.o:(slim_detours_sys::tests::hook_self::hf2d7acef90a90d5b) [INFO] [stdout] >>> referenced by lib.rs:114 (src/lib.rs:114) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/slim_detours_sys-994271f60c5a7c51.slim_detours_sys.8537f1ba990e8dea-cgu.0.rcgu.o:(slim_detours_sys::tests::hook_self::hf2d7acef90a90d5b) [INFO] [stdout] >>> referenced by slim_detours_sys.8537f1ba990e8dea-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/slim_detours_sys-994271f60c5a7c51.slim_detours_sys.8537f1ba990e8dea-cgu.0.rcgu.o:(slim_detours_sys::tests::TRUE_SLEEP::h92b793c2b5118f30) [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `slim-detours-sys` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "d4092945b719c50a35989e9a38ab207df7d1f0da5c6a334dd8b6fd46a44e0576", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4092945b719c50a35989e9a38ab207df7d1f0da5c6a334dd8b6fd46a44e0576", kill_on_drop: false }` [INFO] [stdout] d4092945b719c50a35989e9a38ab207df7d1f0da5c6a334dd8b6fd46a44e0576