[INFO] cloning repository https://github.com/0x4c37373230/outcrop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0x4c37373230/outcrop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x4c37373230%2Foutcrop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x4c37373230%2Foutcrop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 683c6d77ee36175d1ae44a9e6ae1a9a9b470d5ea [INFO] testing 0x4c37373230/outcrop against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x4c37373230%2Foutcrop" "/workspace/builds/worker-90/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-90/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/0x4c37373230/outcrop on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/0x4c37373230/outcrop [INFO] finished tweaking git repo https://github.com/0x4c37373230/outcrop [INFO] tweaked toml for git repo https://github.com/0x4c37373230/outcrop written to /workspace/builds/worker-90/source/Cargo.toml [INFO] crate git repo https://github.com/0x4c37373230/outcrop already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded native-windows-derive v1.0.4 [INFO] [stderr] Downloaded native-windows-gui v1.0.12 [INFO] [stderr] Downloaded injrs v0.1.2 [INFO] [stderr] Downloaded simple_config_parser v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d73dfd548305bad9f143791d6b436fe1e0cf351b98bec59f7c553fde7c276186 [INFO] running `Command { std: "docker" "start" "-a" "d73dfd548305bad9f143791d6b436fe1e0cf351b98bec59f7c553fde7c276186", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d73dfd548305bad9f143791d6b436fe1e0cf351b98bec59f7c553fde7c276186", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d73dfd548305bad9f143791d6b436fe1e0cf351b98bec59f7c553fde7c276186", kill_on_drop: false }` [INFO] [stdout] d73dfd548305bad9f143791d6b436fe1e0cf351b98bec59f7c553fde7c276186 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7aa91ee6fa3f42af3bbadfb180eb919c17c174a62b2248d4cf57969c31a466a [INFO] running `Command { std: "docker" "start" "-a" "b7aa91ee6fa3f42af3bbadfb180eb919c17c174a62b2248d4cf57969c31a466a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling simple_config_parser v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling native-windows-gui v1.0.12 [INFO] [stderr] Compiling stretch v0.3.2 [INFO] [stderr] Compiling injrs v0.1.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling subprocess v0.2.8 [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/process_windows.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/evelate_windows.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/winapi.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | pub use winapi::shared::ntdef::{ [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/winapi.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub use winapi::shared::minwindef::{ [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/winapi.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | pub 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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/winapi.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | pub use winapi::um::handleapi::{ [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/winapi.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | pub use winapi::um::tlhelp32::{ [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/winapi.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | pub use winapi::um::psapi::{ [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/winapi.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | pub use winapi::um::winnt::{ [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/winapi.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | pub use winapi::um::memoryapi::{ [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/winapi.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | pub 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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/winapi.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | pub use winapi::um::synchapi::{ [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/winapi.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | pub use winapi::um::wow64apiset::{ [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/winapi.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | pub use winapi::um::winbase::{ [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/winapi.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | pub use winapi::um::securitybaseapi::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/utils.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::windows::ffi::OsStrExt as _; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/process_windows.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | pub type ProcessHandle = HANDLE; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/process_windows.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | let handle = unsafe { OpenProcess(PROCESS_ALL_ACCESS, FALSE, pid) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/process_windows.rs:38:43 [INFO] [stdout] | [INFO] [stdout] 38 | let handle = unsafe { OpenProcess(PROCESS_ALL_ACCESS, FALSE, pid) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/process_windows.rs:38:63 [INFO] [stdout] | [INFO] [stdout] 38 | let handle = unsafe { OpenProcess(PROCESS_ALL_ACCESS, FALSE, pid) }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/process_windows.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | let handle = unsafe { OpenProcess(PROCESS_ALL_ACCESS, FALSE, pid) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/process_windows.rs:51:43 [INFO] [stdout] | [INFO] [stdout] 51 | let handle = unsafe { OpenProcess(PROCESS_ALL_ACCESS, FALSE, pid) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/process_windows.rs:51:63 [INFO] [stdout] | [INFO] [stdout] 51 | let handle = unsafe { OpenProcess(PROCESS_ALL_ACCESS, FALSE, pid) }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessId` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/process_windows.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 76 | let pid = unsafe { GetProcessId(handle) as u32 }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/process_windows.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | let result = unsafe{ CloseHandle(self.handle) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/process_windows.rs:97:57 [INFO] [stdout] | [INFO] [stdout] 85 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn find_module_by_name(dllname: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWow64Process` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/process_windows.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | let r = unsafe{IsWow64Process(self.handle, is_wow64.as_mut_ptr())}; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/process_windows.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | if r == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/process_windows.rs:107:46 [INFO] [stdout] | [INFO] [stdout] 107 | Ok(unsafe{is_wow64.assume_init()} == TRUE) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/process_windows.rs:119:26 [INFO] [stdout] | [INFO] [stdout] 119 | let mut buf = [0u16; MAX_PATH + 1]; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleBaseNameW` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/process_windows.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | GetModuleBaseNameW(handle, 0 as _, buf.as_mut_ptr(), MAX_PATH as DWORD + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/process_windows.rs:121:63 [INFO] [stdout] | [INFO] [stdout] 121 | GetModuleBaseNameW(handle, 0 as _, buf.as_mut_ptr(), MAX_PATH as DWORD + 1); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/process_windows.rs:121:75 [INFO] [stdout] | [INFO] [stdout] 121 | GetModuleBaseNameW(handle, 0 as _, buf.as_mut_ptr(), MAX_PATH as DWORD + 1); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/process_windows.rs:127:26 [INFO] [stdout] | [INFO] [stdout] 127 | let mut buf = [0u16; MAX_PATH + 1]; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleFileNameExW` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/process_windows.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | GetModuleFileNameExW(handle, 0 as _, buf.as_mut_ptr(), MAX_PATH as DWORD + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/process_windows.rs:129:64 [INFO] [stdout] | [INFO] [stdout] 129 | GetModuleFileNameExW(handle, 0 as _, buf.as_mut_ptr(), MAX_PATH as DWORD + 1); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/process_windows.rs:129:76 [INFO] [stdout] | [INFO] [stdout] 129 | GetModuleFileNameExW(handle, 0 as _, buf.as_mut_ptr(), MAX_PATH as DWORD + 1); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/process_windows.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0 as _) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPPROCESS` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/process_windows.rs:137:34 [INFO] [stdout] | [INFO] [stdout] 137 | CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0 as _) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/process_windows.rs:140:38 [INFO] [stdout] | [INFO] [stdout] 140 | if handle.is_null() || handle == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/process_windows.rs:150:20 [INFO] [stdout] | [INFO] [stdout] 150 | let mut entry: PROCESSENTRY32 = unsafe { ::std::mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/process_windows.rs:151:35 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn find_process_by_name(name: &str) -> Result, io::Error> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 151 | entry.dwSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32Next` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/process_windows.rs:153:25 [INFO] [stdout] | [INFO] [stdout] 153 | while 0 != unsafe { Process32Next(handle, &mut entry) } { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAllocEx` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/inject_windows.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | let r_path_addr = unsafe{VirtualAllocEx(self.handle, null_mut(), path_len, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/inject_windows.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | MEM_RESERVE | MEM_COMMIT, PAGE_EXECUTE_READWRITE)}; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/inject_windows.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | MEM_RESERVE | MEM_COMMIT, PAGE_EXECUTE_READWRITE)}; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/inject_windows.rs:43:39 [INFO] [stdout] | [INFO] [stdout] 43 | MEM_RESERVE | MEM_COMMIT, PAGE_EXECUTE_READWRITE)}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/inject_windows.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | let r = unsafe{WriteProcessMemory(self.handle, r_path_addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/inject_windows.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | if r == FALSE { [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/inject_windows.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | let r_func_addr = unsafe{GetProcAddress( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/inject_windows.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | GetModuleHandleA("kernel32.dll\0".as_ptr() as _), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateRemoteThread` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/inject_windows.rs:71:31 [INFO] [stdout] | [INFO] [stdout] 71 | let t_handle = unsafe{CreateRemoteThread( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/inject_windows.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | let r = unsafe{WaitForSingleObject(t_handle, 100)}; // INFINITE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WAIT_FAILED` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/inject_windows.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | if r == WAIT_FAILED { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFreeEx` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/inject_windows.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | unsafe{VirtualFreeEx(self.handle, r_path_addr, 1, MEM_DECOMMIT)}; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_DECOMMIT` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/inject_windows.rs:101:59 [INFO] [stdout] | [INFO] [stdout] 101 | unsafe{VirtualFreeEx(self.handle, r_path_addr, 1, MEM_DECOMMIT)}; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/inject_windows.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | unsafe{CloseHandle(t_handle)}; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/evelate_windows.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | let mut htk: HANDLE = null_mut(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TOKEN_PRIVILEGES` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/evelate_windows.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | let mut tkp = TOKEN_PRIVILEGES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LUID_AND_ATTRIBUTES` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/evelate_windows.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | Privileges: [LUID_AND_ATTRIBUTES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SE_PRIVILEGE_ENABLED` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/evelate_windows.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | Attributes: SE_PRIVILEGE_ENABLED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/evelate_windows.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | if FALSE == unsafe{OpenProcessToken(GetCurrentProcess(), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcessToken` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/evelate_windows.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | if FALSE == unsafe{OpenProcessToken(GetCurrentProcess(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/evelate_windows.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | if FALSE == unsafe{OpenProcessToken(GetCurrentProcess(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOKEN_ADJUST_PRIVILEGES` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/evelate_windows.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, &mut htk)} { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOKEN_QUERY` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/evelate_windows.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, &mut htk)} { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/evelate_windows.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | if FALSE == unsafe{LookupPrivilegeValueA(null_mut(), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LookupPrivilegeValueA` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/evelate_windows.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | if FALSE == unsafe{LookupPrivilegeValueA(null_mut(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SE_DEBUG_NAME` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/evelate_windows.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | CString::new(SE_DEBUG_NAME)?.as_ptr() as _, &mut tkp.Privileges[0].Luid)} { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/evelate_windows.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | if FALSE == unsafe{AdjustTokenPrivileges(htk, FALSE, &mut tkp, 0, null_mut(), null_mut())} { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AdjustTokenPrivileges` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/evelate_windows.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | if FALSE == unsafe{AdjustTokenPrivileges(htk, FALSE, &mut tkp, 0, null_mut(), null_mut())} { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/evelate_windows.rs:31:51 [INFO] [stdout] | [INFO] [stdout] 31 | if FALSE == unsafe{AdjustTokenPrivileges(htk, FALSE, &mut tkp, 0, null_mut(), null_mut())} { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/process_windows.rs:181:32 [INFO] [stdout] | [INFO] [stdout] 181 | Some(pos) => OsString::from_wide(&slice[..pos]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/process_windows.rs:184:27 [INFO] [stdout] | [INFO] [stdout] 184 | None => OsString::from_wide(slice).to_string_lossy().into_owned(), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/injrs-0.1.2/src/utils.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | OsStr::new(s).encode_wide().chain(Some(0)).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 75 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `injrs` due to 76 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b7aa91ee6fa3f42af3bbadfb180eb919c17c174a62b2248d4cf57969c31a466a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7aa91ee6fa3f42af3bbadfb180eb919c17c174a62b2248d4cf57969c31a466a", kill_on_drop: false }` [INFO] [stdout] b7aa91ee6fa3f42af3bbadfb180eb919c17c174a62b2248d4cf57969c31a466a