[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] building 0xflux/Rust-Remote-Process-DLL-Injection against try#334963c956d25708feab489a3816ae63f639355d for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xflux%2FRust-Remote-Process-DLL-Injection" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/0xflux/Rust-Remote-Process-DLL-Injection on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-1-tc2/source/Cargo.toml
[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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e976f145e326150378d2147fd6b90d1688b3e9f653492a1f50f86b599444c925
[INFO] running `Command { std: "docker" "start" "-a" "e976f145e326150378d2147fd6b90d1688b3e9f653492a1f50f86b599444c925", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e976f145e326150378d2147fd6b90d1688b3e9f653492a1f50f86b599444c925", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e976f145e326150378d2147fd6b90d1688b3e9f653492a1f50f86b599444c925", kill_on_drop: false }`
[INFO] [stdout] e976f145e326150378d2147fd6b90d1688b3e9f653492a1f50f86b599444c925
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 58d8cd984533df43fd368ed643077aa77666f7a227816fd396a237f2f7fdcac2
[INFO] running `Command { std: "docker" "start" "-a" "58d8cd984533df43fd368ed643077aa77666f7a227816fd396a237f2f7fdcac2", 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: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/334963c956d25708feab489a3816ae63f639355d/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/334963c956d25708feab489a3816ae63f639355d/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustc7cJ4qW/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libwindows-6e6a7c18b07ce937.rlib,libwindows_core-a6bfd9f6defa05c7.rlib,libwindows_result-fac767965d3f309b.rlib,libwindows_targets-0e09d3c147aa4200.rlib}" "/opt/rustwide/rustup-home/toolchains/334963c956d25708feab489a3816ae63f639355d/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-d6f1d924b2f4233e.rlib,libpanic_unwind-00eb06e39850f679.rlib,libobject-d0382f11baa011b6.rlib,libmemchr-b7e2e2c1a7e4643d.rlib,libaddr2line-30ced7f1999cfa29.rlib,libgimli-3ee7e14c58e31ebd.rlib,librustc_demangle-a4f649bba77ffcc5.rlib,libstd_detect-c89a3ce7ad7c3dbd.rlib,libhashbrown-e1ce1d3d110c6707.rlib,librustc_std_workspace_alloc-e0604fecbf0f39dc.rlib,libminiz_oxide-0a9c6172f04822cc.rlib,libadler2-14a33f7117abcee7.rlib,libunwind-24c16adbe5e57356.rlib,libcfg_if-d2688d4a5c8e415b.rlib,liblibc-8ff7ba6d97853f27.rlib,liballoc-5c001d095eb077ec.rlib,librustc_std_workspace_core-395a38b8e0851c9b.rlib,libcore-d453bab70303062c.rlib,libcompiler_builtins-dd545221bb4f4734.rlib}" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/opt/rustwide/rustup-home/toolchains/334963c956d25708feab489a3816ae63f639355d/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/334963c956d25708feab489a3816ae63f639355d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/dll_inject_remote-55360419e0168323" "-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-55360419e0168323.dll_inject_remote.ebfe5d5ec9c01015-cgu.0.rcgu.o:(windows::Win32::System::Diagnostics::Debug::WriteProcessMemory::he5aeb1042fb9223c)
[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-55360419e0168323.dll_inject_remote.ebfe5d5ec9c01015-cgu.0.rcgu.o:(windows::Win32::System::LibraryLoader::GetProcAddress::hfdb7e4c67e004c69)
[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-55360419e0168323.dll_inject_remote.ebfe5d5ec9c01015-cgu.0.rcgu.o:(windows::Win32::System::LibraryLoader::GetModuleHandleA::h99b0dd5ccb31c5e6)
[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-55360419e0168323.dll_inject_remote.ebfe5d5ec9c01015-cgu.0.rcgu.o:(windows::Win32::System::Memory::VirtualAllocEx::hd7e51dfd05e03196)
[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-55360419e0168323.dll_inject_remote.ebfe5d5ec9c01015-cgu.0.rcgu.o:(windows::Win32::System::Threading::OpenProcess::hf9a0a29c7328bba3)
[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-55360419e0168323.dll_inject_remote.ebfe5d5ec9c01015-cgu.0.rcgu.o:(windows::Win32::System::Threading::CreateRemoteThread::h162e4ed2971dd720)
[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-fac767965d3f309b.windows_result.1822555de76410e-cgu.0.rcgu.o:(_$LT$windows_result..strings..HeapString$u20$as$u20$core..ops..drop..Drop$GT$::drop::h0c27c5b4d63e5e16) in archive /opt/rustwide/target/debug/deps/libwindows_result-fac767965d3f309b.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-fac767965d3f309b.windows_result.1822555de76410e-cgu.0.rcgu.o:(_$LT$windows_result..strings..HeapString$u20$as$u20$core..ops..drop..Drop$GT$::drop::h0c27c5b4d63e5e16) in archive /opt/rustwide/target/debug/deps/libwindows_result-fac767965d3f309b.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-fac767965d3f309b.windows_result.1822555de76410e-cgu.0.rcgu.o:(windows_result::strings::BasicString::len::he7ff675137d26a19) in archive /opt/rustwide/target/debug/deps/libwindows_result-fac767965d3f309b.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-fac767965d3f309b.windows_result.1822555de76410e-cgu.0.rcgu.o:(_$LT$windows_result..strings..BasicString$u20$as$u20$core..ops..drop..Drop$GT$::drop::hed109b8037d944f2) in archive /opt/rustwide/target/debug/deps/libwindows_result-fac767965d3f309b.rlib
[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-fac767965d3f309b.windows_result.1822555de76410e-cgu.0.rcgu.o:(windows_result::error::Error::from_win32::hd9fa59a93d8a6166) in archive /opt/rustwide/target/debug/deps/libwindows_result-fac767965d3f309b.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-fac767965d3f309b.windows_result.1822555de76410e-cgu.0.rcgu.o:(windows_result::hresult::HRESULT::message::ha2e4e252d4c54b0a) in archive /opt/rustwide/target/debug/deps/libwindows_result-fac767965d3f309b.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-fac767965d3f309b.windows_result.1822555de76410e-cgu.0.rcgu.o:(windows_result::hresult::HRESULT::message::ha2e4e252d4c54b0a) in archive /opt/rustwide/target/debug/deps/libwindows_result-fac767965d3f309b.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" "58d8cd984533df43fd368ed643077aa77666f7a227816fd396a237f2f7fdcac2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "58d8cd984533df43fd368ed643077aa77666f7a227816fd396a237f2f7fdcac2", kill_on_drop: false }`
[INFO] [stdout] 58d8cd984533df43fd368ed643077aa77666f7a227816fd396a237f2f7fdcac2
