[INFO] cloning repository https://github.com/Arasimnida/windows-process-injection
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Arasimnida/windows-process-injection" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArasimnida%2Fwindows-process-injection", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArasimnida%2Fwindows-process-injection'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3f41ed8f98b2a22b6b0e9482578ac4c0c85c0e90
[INFO] testing Arasimnida/windows-process-injection against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArasimnida%2Fwindows-process-injection" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Arasimnida/windows-process-injection
[INFO] finished tweaking git repo https://github.com/Arasimnida/windows-process-injection
[INFO] tweaked toml for git repo https://github.com/Arasimnida/windows-process-injection written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Arasimnida/windows-process-injection on toolchain 1ef7943ee607160a564655b6596f83670ef95df5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Arasimnida/windows-process-injection 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" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded windows-core v0.56.0
[INFO] [stderr]   Downloaded windows-implement v0.56.0
[INFO] [stderr]   Downloaded windows-interface v0.56.0
[INFO] [stderr]   Downloaded windows v0.56.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 50d6d356a5aac5f04b6830317c87c702495037ef4be802e65d2f4a1656c896ae
[INFO] running `Command { std: "docker" "start" "-a" "50d6d356a5aac5f04b6830317c87c702495037ef4be802e65d2f4a1656c896ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "50d6d356a5aac5f04b6830317c87c702495037ef4be802e65d2f4a1656c896ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "50d6d356a5aac5f04b6830317c87c702495037ef4be802e65d2f4a1656c896ae", kill_on_drop: false }`
[INFO] [stdout] 50d6d356a5aac5f04b6830317c87c702495037ef4be802e65d2f4a1656c896ae
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 64d7aeaaf352e281a920960f8b29b8f938d55c74699fd1e5bdfeceff31315a41
[INFO] running `Command { std: "docker" "start" "-a" "64d7aeaaf352e281a920960f8b29b8f938d55c74699fd1e5bdfeceff31315a41", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.52.6
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling windows-targets v0.52.6
[INFO] [stderr]    Compiling windows-result v0.1.2
[INFO] [stderr]    Compiling windows-interface v0.56.0
[INFO] [stderr]    Compiling windows-implement v0.56.0
[INFO] [stderr]    Compiling windows-core v0.56.0
[INFO] [stderr]    Compiling windows v0.56.0
[INFO] [stderr]    Compiling inline_hook_test v0.1.0 (/opt/rustwide/workdir/common/inline_hook_test)
[INFO] [stderr]    Compiling payload_messagebox v0.1.0 (/opt/rustwide/workdir/common/payload_messagebox)
[INFO] [stderr]    Compiling alertable v0.1.0 (/opt/rustwide/workdir/common/alertable)
[INFO] [stderr]    Compiling hook_payload v0.1.0 (/opt/rustwide/workdir/common/hook_payload)
[INFO] [stderr]    Compiling inline_hook v0.1.0 (/opt/rustwide/workdir/common/inline_hook)
[INFO] [stderr]    Compiling injector v0.1.0 (/opt/rustwide/workdir/injector)
[INFO] [stdout] warning: enum `Arch` is never used
[INFO] [stdout]   --> injector/src/shellcode_injection/sirhijack.rs:43:10
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub enum Arch {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `full_context_flag` is never used
[INFO] [stdout]   --> injector/src/shellcode_injection/sirhijack.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl Arch {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 51 |     pub fn full_context_flag(self) -> CONTEXT_FLAGS {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inject` is never used
[INFO] [stdout]   --> injector/src/shellcode_injection/sirhijack.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn inject(pid: u32) -> windows::core::Result<()> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustcfwdd9a/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libwindows-7426c8c9bbdb8942,libwindows_core-16d2b1b4765bcdbe,libwindows_result-17e20fcd099c7851,libwindows_targets-7cf54f82ed486ad1}.rlib" "<sysroot>/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/rustcfwdd9a/raw-dylibs" "-B<sysroot>/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/windows_x86_64_gnu-0.52.6/lib" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/alertable-de57bcaaee43ae5c" "-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: undefined symbol: SleepEx
[INFO] [stdout]           >>> referenced by mod.rs:2198 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/System/Threading/mod.rs:2198)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/alertable-de57bcaaee43ae5c.alertable.463481c4f2e3721f-cgu.0.rcgu.o:(windows::Win32::System::Threading::SleepEx::h303bbf3e718c8e61)
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `alertable` (bin "alertable") 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/rustcgvIXaW/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lntdll" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libwindows-7426c8c9bbdb8942,libwindows_core-16d2b1b4765bcdbe,libwindows_result-17e20fcd099c7851,libwindows_targets-7cf54f82ed486ad1}.rlib" "<sysroot>/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/rustcgvIXaW/raw-dylibs" "-B<sysroot>/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/windows_x86_64_gnu-0.52.6/lib" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/injector-2a047488c3fda31e" "-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: unable to find library -lntdll
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `injector` (bin "injector") due to 1 previous error; 3 warnings emitted
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustcjBJyyA/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libwindows-7426c8c9bbdb8942,libwindows_core-16d2b1b4765bcdbe,libwindows_result-17e20fcd099c7851,libwindows_targets-7cf54f82ed486ad1}.rlib" "<sysroot>/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/rustcjBJyyA/raw-dylibs" "-B<sysroot>/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/windows_x86_64_gnu-0.52.6/lib" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/inline_hook_test-ca61c7da7324d06d" "-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: undefined symbol: CreateFileA
[INFO] [stdout]           >>> referenced by mod.rs:395 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/Storage/FileSystem/mod.rs:395)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/inline_hook_test-ca61c7da7324d06d.inline_hook_test.96bd9fa35c211207-cgu.0.rcgu.o:(windows::Win32::Storage::FileSystem::CreateFileA::hfde02150db8043b4)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: GetLastError
[INFO] [stdout]           >>> referenced by error.rs:43 (src/error.rs:43)
[INFO] [stdout]           >>>               windows_result-17e20fcd099c7851.windows_result.d9f34ef610adb8e6-cgu.0.rcgu.o:(windows_result::error::Error::from_win32::had35633fe00f4fce) in archive /opt/rustwide/target/debug/deps/libwindows_result-17e20fcd099c7851.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: LoadLibraryExA
[INFO] [stdout]           >>> referenced by hresult.rs:81 (src/hresult.rs:81)
[INFO] [stdout]           >>>               windows_result-17e20fcd099c7851.windows_result.d9f34ef610adb8e6-cgu.0.rcgu.o:(windows_result::hresult::HRESULT::message::h8fbe4085fe01c0e4) in archive /opt/rustwide/target/debug/deps/libwindows_result-17e20fcd099c7851.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: FormatMessageW
[INFO] [stdout]           >>> referenced by hresult.rs:84 (src/hresult.rs:84)
[INFO] [stdout]           >>>               windows_result-17e20fcd099c7851.windows_result.d9f34ef610adb8e6-cgu.0.rcgu.o:(windows_result::hresult::HRESULT::message::h8fbe4085fe01c0e4) in archive /opt/rustwide/target/debug/deps/libwindows_result-17e20fcd099c7851.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: SysStringLen
[INFO] [stdout]           >>> referenced by strings.rs:33 (src/strings.rs:33)
[INFO] [stdout]           >>>               windows_result-17e20fcd099c7851.windows_result.d9f34ef610adb8e6-cgu.0.rcgu.o:(windows_result::strings::BasicString::len::hd77946bef7b4146c) in archive /opt/rustwide/target/debug/deps/libwindows_result-17e20fcd099c7851.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: GetProcessHeap
[INFO] [stdout]           >>> referenced by strings.rs:15 (src/strings.rs:15)
[INFO] [stdout]           >>>               windows_result-17e20fcd099c7851.windows_result.d9f34ef610adb8e6-cgu.0.rcgu.o:(_$LT$windows_result..strings..HeapString$u20$as$u20$core..ops..drop..Drop$GT$::drop::hd15cdb19fdec2718) in archive /opt/rustwide/target/debug/deps/libwindows_result-17e20fcd099c7851.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: HeapFree
[INFO] [stdout]           >>> referenced by strings.rs:15 (src/strings.rs:15)
[INFO] [stdout]           >>>               windows_result-17e20fcd099c7851.windows_result.d9f34ef610adb8e6-cgu.0.rcgu.o:(_$LT$windows_result..strings..HeapString$u20$as$u20$core..ops..drop..Drop$GT$::drop::hd15cdb19fdec2718) in archive /opt/rustwide/target/debug/deps/libwindows_result-17e20fcd099c7851.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: SysFreeString
[INFO] [stdout]           >>> referenced by strings.rs:65 (src/strings.rs:65)
[INFO] [stdout]           >>>               windows_result-17e20fcd099c7851.windows_result.d9f34ef610adb8e6-cgu.0.rcgu.o:(_$LT$windows_result..strings..BasicString$u20$as$u20$core..ops..drop..Drop$GT$::drop::h3aeb1300aa11ba9d) in archive /opt/rustwide/target/debug/deps/libwindows_result-17e20fcd099c7851.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `inline_hook_test` (bin "inline_hook_test") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "64d7aeaaf352e281a920960f8b29b8f938d55c74699fd1e5bdfeceff31315a41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "64d7aeaaf352e281a920960f8b29b8f938d55c74699fd1e5bdfeceff31315a41", kill_on_drop: false }`
[INFO] [stdout] 64d7aeaaf352e281a920960f8b29b8f938d55c74699fd1e5bdfeceff31315a41
