[INFO] cloning repository https://github.com/0xflux/Rust-Remote-Process-DLL-Injection
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xflux/Rust-Remote-Process-DLL-Injection" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xflux%2FRust-Remote-Process-DLL-Injection", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xflux%2FRust-Remote-Process-DLL-Injection'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5a6a94eda9106328f2647aba0188568a5f69d944
[INFO] testing 0xflux/Rust-Remote-Process-DLL-Injection against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xflux%2FRust-Remote-Process-DLL-Injection" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/0xflux/Rust-Remote-Process-DLL-Injection
[INFO] finished tweaking git repo https://github.com/0xflux/Rust-Remote-Process-DLL-Injection
[INFO] tweaked toml for git repo https://github.com/0xflux/Rust-Remote-Process-DLL-Injection written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0xflux/Rust-Remote-Process-DLL-Injection on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/0xflux/Rust-Remote-Process-DLL-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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bb0e5bc2dbc329bce7738d97817020ad1bd6baa36dfd8c6b510bb30e8c7a07a2
[INFO] running `Command { std: "docker" "start" "-a" "bb0e5bc2dbc329bce7738d97817020ad1bd6baa36dfd8c6b510bb30e8c7a07a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bb0e5bc2dbc329bce7738d97817020ad1bd6baa36dfd8c6b510bb30e8c7a07a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bb0e5bc2dbc329bce7738d97817020ad1bd6baa36dfd8c6b510bb30e8c7a07a2", kill_on_drop: false }`
[INFO] [stdout] bb0e5bc2dbc329bce7738d97817020ad1bd6baa36dfd8c6b510bb30e8c7a07a2
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 99584d37cb23ffe1fa7826d7bb6c5dbb3d1852777034cb63b5e6037b6c758cb0
[INFO] running `Command { std: "docker" "start" "-a" "99584d37cb23ffe1fa7826d7bb6c5dbb3d1852777034cb63b5e6037b6c758cb0", kill_on_drop: false }`
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.52.4
[INFO] [stderr]    Compiling windows-targets v0.52.4
[INFO] [stderr]    Compiling windows-result v0.1.0
[INFO] [stderr]    Compiling windows-core v0.54.0
[INFO] [stderr]    Compiling windows v0.54.0
[INFO] [stderr]    Compiling dll_inject_remote v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustcp6Rx4d/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libwindows-925f20ffe54789d9,libwindows_core-8ed9d8e78775653b,libwindows_result-f376408ab405e89a,libwindows_targets-17b21a3d6d5802ab}.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/rustcp6Rx4d/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" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/dll_inject_remote-8737c4b8725f54d1" "-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: WriteProcessMemory
[INFO] [stdout]           >>> referenced by mod.rs:2606 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.54.0/src/Windows/Win32/System/Diagnostics/Debug/mod.rs:2606)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/dll_inject_remote-8737c4b8725f54d1.dll_inject_remote.f98f17f7233eeb1-cgu.0.rcgu.o:(windows::Win32::System::Diagnostics::Debug::WriteProcessMemory::h7874b56887ca2a54)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: GetProcAddress
[INFO] [stdout]           >>> referenced by mod.rs:288 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.54.0/src/Windows/Win32/System/LibraryLoader/mod.rs:288)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/dll_inject_remote-8737c4b8725f54d1.dll_inject_remote.f98f17f7233eeb1-cgu.0.rcgu.o:(windows::Win32::System::LibraryLoader::GetProcAddress::h525adc04e59d9a55)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: GetModuleHandleA
[INFO] [stdout]           >>> referenced by mod.rs:253 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.54.0/src/Windows/Win32/System/LibraryLoader/mod.rs:253)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/dll_inject_remote-8737c4b8725f54d1.dll_inject_remote.f98f17f7233eeb1-cgu.0.rcgu.o:(windows::Win32::System::LibraryLoader::GetModuleHandleA::h2fbe3101d253a7da)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: VirtualAllocEx
[INFO] [stdout]           >>> referenced by mod.rs:673 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.54.0/src/Windows/Win32/System/Memory/mod.rs:673)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/dll_inject_remote-8737c4b8725f54d1.dll_inject_remote.f98f17f7233eeb1-cgu.0.rcgu.o:(windows::Win32::System::Memory::VirtualAllocEx::h1f00149c4c1566b0)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: OpenProcess
[INFO] [stdout]           >>> referenced by mod.rs:1410 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.54.0/src/Windows/Win32/System/Threading/mod.rs:1410)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/dll_inject_remote-8737c4b8725f54d1.dll_inject_remote.f98f17f7233eeb1-cgu.0.rcgu.o:(windows::Win32::System::Threading::OpenProcess::h8e08a745ea716077)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: CreateRemoteThread
[INFO] [stdout]           >>> referenced by mod.rs:479 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.54.0/src/Windows/Win32/System/Threading/mod.rs:479)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/dll_inject_remote-8737c4b8725f54d1.dll_inject_remote.f98f17f7233eeb1-cgu.0.rcgu.o:(windows::Win32::System::Threading::CreateRemoteThread::h2637bfa426352284)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: GetLastError
[INFO] [stdout]           >>> referenced by error.rs:42 (src/error.rs:42)
[INFO] [stdout]           >>>               windows_result-f376408ab405e89a.windows_result.2cafb0c0a0f77a42-cgu.0.rcgu.o:(windows_result::error::Error::from_win32::h8001173acf243bde) in archive /opt/rustwide/target/debug/deps/libwindows_result-f376408ab405e89a.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-f376408ab405e89a.windows_result.2cafb0c0a0f77a42-cgu.0.rcgu.o:(windows_result::hresult::HRESULT::message::hdc0a7e3a070a4171) in archive /opt/rustwide/target/debug/deps/libwindows_result-f376408ab405e89a.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-f376408ab405e89a.windows_result.2cafb0c0a0f77a42-cgu.0.rcgu.o:(windows_result::hresult::HRESULT::message::hdc0a7e3a070a4171) in archive /opt/rustwide/target/debug/deps/libwindows_result-f376408ab405e89a.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-f376408ab405e89a.windows_result.2cafb0c0a0f77a42-cgu.0.rcgu.o:(windows_result::strings::BasicString::len::hebad0c99857c1e17) in archive /opt/rustwide/target/debug/deps/libwindows_result-f376408ab405e89a.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-f376408ab405e89a.windows_result.2cafb0c0a0f77a42-cgu.0.rcgu.o:(_$LT$windows_result..strings..HeapString$u20$as$u20$core..ops..drop..Drop$GT$::drop::h6537563c8bcd39e8) in archive /opt/rustwide/target/debug/deps/libwindows_result-f376408ab405e89a.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-f376408ab405e89a.windows_result.2cafb0c0a0f77a42-cgu.0.rcgu.o:(_$LT$windows_result..strings..HeapString$u20$as$u20$core..ops..drop..Drop$GT$::drop::h6537563c8bcd39e8) in archive /opt/rustwide/target/debug/deps/libwindows_result-f376408ab405e89a.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: SysFreeString
[INFO] [stdout]           >>> referenced by strings.rs:60 (src/strings.rs:60)
[INFO] [stdout]           >>>               windows_result-f376408ab405e89a.windows_result.2cafb0c0a0f77a42-cgu.0.rcgu.o:(_$LT$windows_result..strings..BasicString$u20$as$u20$core..ops..drop..Drop$GT$::drop::h4ad756a354bed697) in archive /opt/rustwide/target/debug/deps/libwindows_result-f376408ab405e89a.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dll_inject_remote` (bin "dll_inject_remote") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "99584d37cb23ffe1fa7826d7bb6c5dbb3d1852777034cb63b5e6037b6c758cb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "99584d37cb23ffe1fa7826d7bb6c5dbb3d1852777034cb63b5e6037b6c758cb0", kill_on_drop: false }`
[INFO] [stdout] 99584d37cb23ffe1fa7826d7bb6c5dbb3d1852777034cb63b5e6037b6c758cb0
