[INFO] fetching crate slim-detours-sys 0.4.0... [INFO] testing slim-detours-sys-0.4.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate slim-detours-sys 0.4.0 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate slim-detours-sys 0.4.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 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 4043c4d7e94de953a24964da6a3ef899309a8ddf4efc1abf3f9f2b3a45e9362e [INFO] running `Command { std: "docker" "start" "-a" "4043c4d7e94de953a24964da6a3ef899309a8ddf4efc1abf3f9f2b3a45e9362e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4043c4d7e94de953a24964da6a3ef899309a8ddf4efc1abf3f9f2b3a45e9362e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4043c4d7e94de953a24964da6a3ef899309a8ddf4efc1abf3f9f2b3a45e9362e", kill_on_drop: false }` [INFO] [stdout] 4043c4d7e94de953a24964da6a3ef899309a8ddf4efc1abf3f9f2b3a45e9362e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 7608f1a017faeca05ba37f4a8557663986fe348640edb4caef12541e6e03adb4 [INFO] running `Command { std: "docker" "start" "-a" "7608f1a017faeca05ba37f4a8557663986fe348640edb4caef12541e6e03adb4", kill_on_drop: false }` [INFO] [stderr] Compiling slim-detours-sys v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling windows-link v0.2.0 [INFO] [stderr] Compiling windows-sys v0.61.0 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.39s [INFO] running `Command { std: "docker" "inspect" "7608f1a017faeca05ba37f4a8557663986fe348640edb4caef12541e6e03adb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7608f1a017faeca05ba37f4a8557663986fe348640edb4caef12541e6e03adb4", kill_on_drop: false }` [INFO] [stdout] 7608f1a017faeca05ba37f4a8557663986fe348640edb4caef12541e6e03adb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 20a37f9c32e7c2950a0b767c68ce448f6a1d3d51577d4bd4e422355804e36768 [INFO] running `Command { std: "docker" "start" "-a" "20a37f9c32e7c2950a0b767c68ce448f6a1d3d51577d4bd4e422355804e36768", kill_on_drop: false }` [INFO] [stderr] Compiling sync-unsafe-cell v0.1.1 [INFO] [stderr] Compiling windows-sys v0.61.0 [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/rustcqcphO4/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "-lKNSoft.SlimDetours" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,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/rustcqcphO4/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.6dba5de273c9067c-cgu.0.rcgu.o:(slim_detours_sys::tests::TimedSleep::ha98b52755636bd89) [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.6dba5de273c9067c-cgu.0.rcgu.o:(slim_detours_sys::tests::TimedSleep::ha98b52755636bd89) [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.6dba5de273c9067c-cgu.0.rcgu.o:(slim_detours_sys::tests::hook_self::h717b457c107db91b) [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.6dba5de273c9067c-cgu.0.rcgu.o:(slim_detours_sys::tests::hook_self::h717b457c107db91b) [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.6dba5de273c9067c-cgu.0.rcgu.o:(slim_detours_sys::tests::hook_self::h717b457c107db91b) [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.6dba5de273c9067c-cgu.0.rcgu.o:(slim_detours_sys::tests::hook_self::h717b457c107db91b) [INFO] [stdout] >>> referenced by slim_detours_sys.6dba5de273c9067c-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/slim_detours_sys-994271f60c5a7c51.slim_detours_sys.6dba5de273c9067c-cgu.0.rcgu.o:(slim_detours_sys::tests::TRUE_SLEEP::h78945271f6b26128) [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" "20a37f9c32e7c2950a0b767c68ce448f6a1d3d51577d4bd4e422355804e36768", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20a37f9c32e7c2950a0b767c68ce448f6a1d3d51577d4bd4e422355804e36768", kill_on_drop: false }` [INFO] [stdout] 20a37f9c32e7c2950a0b767c68ce448f6a1d3d51577d4bd4e422355804e36768