[INFO] cloning repository https://github.com/0xsyk0/RustHarderInProcess
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xsyk0/RustHarderInProcess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xsyk0%2FRustHarderInProcess", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xsyk0%2FRustHarderInProcess'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 55a672e6ee0ad57001449770cc8e07cdc24049cf
[INFO] testing 0xsyk0/RustHarderInProcess against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xsyk0%2FRustHarderInProcess" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/0xsyk0/RustHarderInProcess
[INFO] finished tweaking git repo https://github.com/0xsyk0/RustHarderInProcess
[INFO] tweaked toml for git repo https://github.com/0xsyk0/RustHarderInProcess written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0xsyk0/RustHarderInProcess 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/0xsyk0/RustHarderInProcess 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] 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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e890622076c9669efc3d08bf6a229b7eac5e9fe9e039796ff566796ac6b0515f
[INFO] running `Command { std: "docker" "start" "-a" "e890622076c9669efc3d08bf6a229b7eac5e9fe9e039796ff566796ac6b0515f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e890622076c9669efc3d08bf6a229b7eac5e9fe9e039796ff566796ac6b0515f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e890622076c9669efc3d08bf6a229b7eac5e9fe9e039796ff566796ac6b0515f", kill_on_drop: false }`
[INFO] [stdout] e890622076c9669efc3d08bf6a229b7eac5e9fe9e039796ff566796ac6b0515f
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4c14581f2659db587862cb01994e8f1a9009c4963c77a1a82e8d1b21cdcb9ccc
[INFO] running `Command { std: "docker" "start" "-a" "4c14581f2659db587862cb01994e8f1a9009c4963c77a1a82e8d1b21cdcb9ccc", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.159
[INFO] [stderr]    Compiling bytes v1.7.2
[INFO] [stderr]    Compiling once_cell v1.20.1
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling cc v1.1.22
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling openssl v0.10.66
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.48.5
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling serde_json v1.0.128
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling rustls-pki-types v1.9.0
[INFO] [stderr]    Compiling sync_wrapper v1.0.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling ipnet v2.10.0
[INFO] [stderr]    Compiling windows-targets v0.48.5
[INFO] [stderr]    Compiling windows-sys v0.48.0
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling syn v2.0.79
[INFO] [stderr]    Compiling openssl-sys v0.9.103
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling tokio v1.40.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling h2 v0.4.6
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper v1.4.1
[INFO] [stderr]    Compiling hyper-util v0.1.9
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.8
[INFO] [stderr]    Compiling RustHarderInProcess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::shared::basetsd::SIZE_T;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::shared::basetsd::ULONG_PTR;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | use winapi::shared::minwindef::{BOOL, DWORD, FALSE, LPCVOID, LPVOID};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winapi::shared::ntdef::HANDLE;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 | use winapi::um::libloaderapi::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use winapi::um::minwinbase::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 | use winapi::um::processthreadsapi::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 | use winapi::um::sysinfoapi::{GlobalMemoryStatusEx, MEMORYSTATUSEX};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 | use winapi::um::winbase::CREATE_SUSPENDED;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 | use winapi::um::winnt::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentThreadId` in this scope
[INFO] [stdout]   --> src/main.rs:39:37
[INFO] [stdout]    |
[INFO] [stdout] 39 |             let _value: ULONG_PTR = GetCurrentThreadId() as ULONG_PTR;
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  2 + use windows_sys::Win32::System::Threading::GetCurrentThreadId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope
[INFO] [stdout]    --> src/main.rs:128:13
[INFO] [stdout]     |
[INFO] [stdout] 128 |             MEM_COMMIT | MEM_RESERVE,
[INFO] [stdout]     |             ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   2 + use windows_sys::Win32::System::Memory::MEM_COMMIT;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope
[INFO] [stdout]    --> src/main.rs:128:26
[INFO] [stdout]     |
[INFO] [stdout] 128 |             MEM_COMMIT | MEM_RESERVE,
[INFO] [stdout]     |                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   2 + use windows_sys::Win32::System::Memory::MEM_RESERVE;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope
[INFO] [stdout]    --> src/main.rs:129:13
[INFO] [stdout]     |
[INFO] [stdout] 129 |             PAGE_READWRITE,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   2 + use windows_sys::Win32::System::Memory::PAGE_READWRITE;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope
[INFO] [stdout]    --> src/main.rs:136:23
[INFO] [stdout]     |
[INFO] [stdout] 136 |         let mut old = PAGE_READWRITE;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   2 + use windows_sys::Win32::System::Memory::PAGE_READWRITE;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE` in this scope
[INFO] [stdout]    --> src/main.rs:137:59
[INFO] [stdout]     |
[INFO] [stdout] 137 |         let res = pw_virtual_protect(addr, payload.len(), PAGE_EXECUTE, &mut old);
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]   2 + use windows_sys::Win32::System::Memory::PAGE_EXECUTE;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in this scope
[INFO] [stdout]   --> src/main.rs:52:29
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let module_handle = GetModuleHandleA(module_cstr.as_ptr());
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stdout]   --> src/main.rs:57:28
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let proc_address = GetProcAddress(module_handle, proc_name_cstr.as_ptr());
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `RustHarderInProcess` (bin "RustHarderInProcess") due to 18 previous errors
[INFO] running `Command { std: "docker" "inspect" "4c14581f2659db587862cb01994e8f1a9009c4963c77a1a82e8d1b21cdcb9ccc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c14581f2659db587862cb01994e8f1a9009c4963c77a1a82e8d1b21cdcb9ccc", kill_on_drop: false }`
[INFO] [stdout] 4c14581f2659db587862cb01994e8f1a9009c4963c77a1a82e8d1b21cdcb9ccc
