[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 master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xflux%2FRust-Remote-Process-DLL-Injection" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0xflux/Rust-Remote-Process-DLL-Injection on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9477524e965a8826c0dbc62c8412b79c2e1416bb7b4879f5e5a89a7e9c9a936c
[INFO] running `Command { std: "docker" "start" "-a" "9477524e965a8826c0dbc62c8412b79c2e1416bb7b4879f5e5a89a7e9c9a936c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9477524e965a8826c0dbc62c8412b79c2e1416bb7b4879f5e5a89a7e9c9a936c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9477524e965a8826c0dbc62c8412b79c2e1416bb7b4879f5e5a89a7e9c9a936c", kill_on_drop: false }`
[INFO] [stdout] 9477524e965a8826c0dbc62c8412b79c2e1416bb7b4879f5e5a89a7e9c9a936c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3d6f29f20c7c555c20f070a44fffe89950e5b73086ba3af7e5ca4b3b0ae06cc5
[INFO] running `Command { std: "docker" "start" "-a" "3d6f29f20c7c555c20f070a44fffe89950e5b73086ba3af7e5ca4b3b0ae06cc5", 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/rustcUhbBsd/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libwindows-7075c14c611ccd85.rlib,libwindows_core-6ba1a2ea847d57f0.rlib,libwindows_result-3a366aa711777e85.rlib,libwindows_targets-a51984daff6557d2.rlib}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcUhbBsd/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-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-7d881daf3b77dc38" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: 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-7d881daf3b77dc38.dll_inject_remote.e01940cb940dc74b-cgu.0.rcgu.o:(dll_inject_remote::main::h8a73edb1354e010d)
[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-7d881daf3b77dc38.dll_inject_remote.e01940cb940dc74b-cgu.0.rcgu.o:(dll_inject_remote::main::h8a73edb1354e010d)
[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-7d881daf3b77dc38.dll_inject_remote.e01940cb940dc74b-cgu.0.rcgu.o:(dll_inject_remote::main::h8a73edb1354e010d)
[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-7d881daf3b77dc38.dll_inject_remote.e01940cb940dc74b-cgu.0.rcgu.o:(dll_inject_remote::main::h8a73edb1354e010d)
[INFO] [stdout]           
[INFO] [stdout]           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-7d881daf3b77dc38.dll_inject_remote.e01940cb940dc74b-cgu.0.rcgu.o:(dll_inject_remote::main::h8a73edb1354e010d)
[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-7d881daf3b77dc38.dll_inject_remote.e01940cb940dc74b-cgu.0.rcgu.o:(dll_inject_remote::main::h8a73edb1354e010d)
[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-3a366aa711777e85.windows_result.e104dba73a15ddad-cgu.0.rcgu.o:(core::ptr::drop_in_place$LT$windows_result..strings..HeapString$GT$::h4add751fd8bd6733) in archive /opt/rustwide/target/debug/deps/libwindows_result-3a366aa711777e85.rlib
[INFO] [stdout]           >>> referenced by strings.rs:15 (src/strings.rs:15)
[INFO] [stdout]           >>>               windows_result-3a366aa711777e85.windows_result.e104dba73a15ddad-cgu.0.rcgu.o:(windows_result::hresult::HRESULT::message::h428ad475e8e40bc8) in archive /opt/rustwide/target/debug/deps/libwindows_result-3a366aa711777e85.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-3a366aa711777e85.windows_result.e104dba73a15ddad-cgu.0.rcgu.o:(core::ptr::drop_in_place$LT$windows_result..strings..HeapString$GT$::h4add751fd8bd6733) in archive /opt/rustwide/target/debug/deps/libwindows_result-3a366aa711777e85.rlib
[INFO] [stdout]           >>> referenced by strings.rs:15 (src/strings.rs:15)
[INFO] [stdout]           >>>               windows_result-3a366aa711777e85.windows_result.e104dba73a15ddad-cgu.0.rcgu.o:(windows_result::hresult::HRESULT::message::h428ad475e8e40bc8) in archive /opt/rustwide/target/debug/deps/libwindows_result-3a366aa711777e85.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-3a366aa711777e85.windows_result.e104dba73a15ddad-cgu.0.rcgu.o:(windows_result::error::Error::from_win32::he153a7d3fc1a53a7) in archive /opt/rustwide/target/debug/deps/libwindows_result-3a366aa711777e85.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-3a366aa711777e85.windows_result.e104dba73a15ddad-cgu.0.rcgu.o:(windows_result::error::Error::message::he03d2073aeac5102) in archive /opt/rustwide/target/debug/deps/libwindows_result-3a366aa711777e85.rlib
[INFO] [stdout]           >>> referenced by strings.rs:60 (src/strings.rs:60)
[INFO] [stdout]           >>>               windows_result-3a366aa711777e85.windows_result.e104dba73a15ddad-cgu.0.rcgu.o:(windows_result::error::Error::message::he03d2073aeac5102) in archive /opt/rustwide/target/debug/deps/libwindows_result-3a366aa711777e85.rlib
[INFO] [stdout]           >>> referenced by strings.rs:60 (src/strings.rs:60)
[INFO] [stdout]           >>>               windows_result-3a366aa711777e85.windows_result.e104dba73a15ddad-cgu.0.rcgu.o:(windows_result::error::Error::message::he03d2073aeac5102) in archive /opt/rustwide/target/debug/deps/libwindows_result-3a366aa711777e85.rlib
[INFO] [stdout]           >>> referenced 2 more times
[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-3a366aa711777e85.windows_result.e104dba73a15ddad-cgu.0.rcgu.o:(windows_result::error::Error::message::he03d2073aeac5102) in archive /opt/rustwide/target/debug/deps/libwindows_result-3a366aa711777e85.rlib
[INFO] [stdout]           >>> referenced by strings.rs:33 (src/strings.rs:33)
[INFO] [stdout]           >>>               windows_result-3a366aa711777e85.windows_result.e104dba73a15ddad-cgu.0.rcgu.o:(windows_result::error::Error::message::he03d2073aeac5102) in archive /opt/rustwide/target/debug/deps/libwindows_result-3a366aa711777e85.rlib
[INFO] [stdout]           >>> referenced by strings.rs:33 (src/strings.rs:33)
[INFO] [stdout]           >>>               windows_result-3a366aa711777e85.windows_result.e104dba73a15ddad-cgu.0.rcgu.o:(windows_result::error::Error::message::he03d2073aeac5102) in archive /opt/rustwide/target/debug/deps/libwindows_result-3a366aa711777e85.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-3a366aa711777e85.windows_result.e104dba73a15ddad-cgu.0.rcgu.o:(windows_result::hresult::HRESULT::message::h428ad475e8e40bc8) in archive /opt/rustwide/target/debug/deps/libwindows_result-3a366aa711777e85.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-3a366aa711777e85.windows_result.e104dba73a15ddad-cgu.0.rcgu.o:(windows_result::hresult::HRESULT::message::h428ad475e8e40bc8) in archive /opt/rustwide/target/debug/deps/libwindows_result-3a366aa711777e85.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" "3d6f29f20c7c555c20f070a44fffe89950e5b73086ba3af7e5ca4b3b0ae06cc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3d6f29f20c7c555c20f070a44fffe89950e5b73086ba3af7e5ca4b3b0ae06cc5", kill_on_drop: false }`
[INFO] [stdout] 3d6f29f20c7c555c20f070a44fffe89950e5b73086ba3af7e5ca4b3b0ae06cc5
