[INFO] fetching crate srcconsole 0.2.0... [INFO] testing srcconsole-0.2.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate srcconsole 0.2.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate srcconsole 0.2.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate srcconsole 0.2.0 [INFO] finished tweaking crates.io crate srcconsole 0.2.0 [INFO] tweaked toml for crates.io crate srcconsole 0.2.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 641b58a233335eb0540dfdc16c7b1a85fa5eb853c44c156698d742c4706e053c [INFO] running `Command { std: "docker" "start" "-a" "641b58a233335eb0540dfdc16c7b1a85fa5eb853c44c156698d742c4706e053c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "641b58a233335eb0540dfdc16c7b1a85fa5eb853c44c156698d742c4706e053c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "641b58a233335eb0540dfdc16c7b1a85fa5eb853c44c156698d742c4706e053c", kill_on_drop: false }` [INFO] [stdout] 641b58a233335eb0540dfdc16c7b1a85fa5eb853c44c156698d742c4706e053c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb2b6d7bf87d52b7f930e797705408ae941f27c27c0c2cfff6d537bbf9b31fbe [INFO] running `Command { std: "docker" "start" "-a" "cb2b6d7bf87d52b7f930e797705408ae941f27c27c0c2cfff6d537bbf9b31fbe", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling srcconsole v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/remote_ops.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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] --> src/remote_ops.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::errhandlingapi::GetLastError; [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/remote_ops.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::memoryapi::ReadProcessMemory; [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/remote_ops.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | 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] --> src/remote_ops.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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] --> src/lib.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | 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 `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | 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] --> src/lib.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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/lib.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | 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] --> src/lib.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | 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/lib.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::winnt::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/remote_ops.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::ctypes::*; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | 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] --> src/lib.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | 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] --> src/lib.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | 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] --> src/lib.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::um::psapi::{GetModuleInformation, MODULEINFO}; [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/lib.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/lib.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::ctypes::*; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/remote_ops.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/remote_ops.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) unsafe fn get_remote_module_handle( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 26 | ) -> Option { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/remote_ops.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | let mut num_modules: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcessModulesEx` in this scope [INFO] [stdout] --> src/remote_ops.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | if EnumProcessModulesEx( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/remote_ops.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) unsafe fn get_remote_module_handle( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 34 | 250 * std::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> src/remote_ops.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | &mut num_modules as LPDWORD, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LIST_MODULES_ALL` in this scope [INFO] [stdout] --> src/remote_ops.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | LIST_MODULES_ALL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcessModulesEx` in this scope [INFO] [stdout] --> src/remote_ops.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | if EnumProcessModulesEx( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/remote_ops.rs:48:47 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) unsafe fn get_remote_module_handle( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 48 | num_modules * std::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> src/remote_ops.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | &mut num_modules as LPDWORD, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LIST_MODULES_ALL` in this scope [INFO] [stdout] --> src/remote_ops.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | LIST_MODULES_ALL, [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] --> src/remote_ops.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | let mut module_name = [0; MAX_PATH]; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleBaseNameA` in this scope [INFO] [stdout] --> src/remote_ops.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | GetModuleBaseNameA( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_char` in this scope [INFO] [stdout] --> src/remote_ops.rs:66:46 [INFO] [stdout] | [INFO] [stdout] 66 | module_name.as_mut_ptr() as *mut c_char, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 66 | module_name.as_mut_ptr() as *mut char, [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_char; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ffi::c_char; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stdout] --> src/remote_ops.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | MAX_PATH as DWORD, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/remote_ops.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | MAX_PATH as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/remote_ops.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | h_process: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/remote_ops.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | h_module: HMODULE, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/remote_ops.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) unsafe fn get_remote_proc_address( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 87 | ) -> Option { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEINFO` in this scope [INFO] [stdout] --> src/remote_ops.rs:89:43 [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) unsafe fn get_remote_proc_address( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 89 | let mut remote_module_info = zeroed::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_DOS_HEADER` in this scope [INFO] [stdout] --> src/remote_ops.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) unsafe fn get_remote_proc_address( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 90 | let mut dos_header = zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/remote_ops.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | let mut signature: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_FILE_HEADER` in this scope [INFO] [stdout] --> src/remote_ops.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) unsafe fn get_remote_proc_address( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 92 | let mut file_header = zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_OPTIONAL_HEADER64` in this scope [INFO] [stdout] --> src/remote_ops.rs:93:38 [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) unsafe fn get_remote_proc_address( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 93 | let mut opt_header_64 = zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_OPTIONAL_HEADER32` in this scope [INFO] [stdout] --> src/remote_ops.rs:94:38 [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) unsafe fn get_remote_proc_address( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 94 | let mut opt_header_32 = zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_DATA_DIRECTORY` in this scope [INFO] [stdout] --> src/remote_ops.rs:95:41 [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) unsafe fn get_remote_proc_address( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 95 | let mut export_directory = zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_EXPORT_DIRECTORY` in this scope [INFO] [stdout] --> src/remote_ops.rs:96:37 [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) unsafe fn get_remote_proc_address( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 96 | let mut export_table = zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleInformation` in this scope [INFO] [stdout] --> src/remote_ops.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | try_bool!(GetModuleInformation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEINFO` in this scope [INFO] [stdout] --> src/remote_ops.rs:102:41 [INFO] [stdout] | [INFO] [stdout] 102 | &mut remote_module_info as *mut MODULEINFO, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEINFO` in this scope [INFO] [stdout] --> src/remote_ops.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) unsafe fn get_remote_proc_address( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 103 | 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 `GetLastError` in this scope [INFO] [stdout] --> src/remote_ops.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | println!("e: {}", GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 99 | / try_bool!(GetModuleInformation( [INFO] [stdout] 100 | | h_process, [INFO] [stdout] 101 | | h_module, [INFO] [stdout] 102 | | &mut remote_module_info as *mut MODULEINFO, [INFO] [stdout] 103 | | size_of::() as u32, [INFO] [stdout] 104 | | ) [INFO] [stdout] 105 | | .eq(&1))?; [INFO] [stdout] | |____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `try_bool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_DOS_SIGNATURE` in this scope [INFO] [stdout] --> src/remote_ops.rs:111:30 [INFO] [stdout] | [INFO] [stdout] 111 | if dos_header.e_magic != IMAGE_DOS_SIGNATURE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_NT_SIGNATURE` in this scope [INFO] [stdout] --> src/remote_ops.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 122 | if signature != IMAGE_NT_SIGNATURE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_OPTIONAL_HEADER64` in this scope [INFO] [stdout] --> src/remote_ops.rs:135:54 [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) unsafe fn get_remote_proc_address( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 135 | if file_header.SizeOfOptionalHeader == size_of::() as u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_OPTIONAL_HEADER32` in this scope [INFO] [stdout] --> src/remote_ops.rs:137:61 [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) unsafe fn get_remote_proc_address( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 137 | } else if file_header.SizeOfOptionalHeader == size_of::() as u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_FILE_HEADER` in this scope [INFO] [stdout] --> src/remote_ops.rs:150:29 [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) unsafe fn get_remote_proc_address( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 150 | + size_of::(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_NT_OPTIONAL_HDR64_MAGIC` in this scope [INFO] [stdout] --> src/remote_ops.rs:154:35 [INFO] [stdout] | [INFO] [stdout] 154 | if opt_header_64.Magic != IMAGE_NT_OPTIONAL_HDR64_MAGIC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_FILE_HEADER` in this scope [INFO] [stdout] --> src/remote_ops.rs:163:29 [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) unsafe fn get_remote_proc_address( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 163 | + size_of::(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_NT_OPTIONAL_HDR32_MAGIC` in this scope [INFO] [stdout] --> src/remote_ops.rs:167:35 [INFO] [stdout] | [INFO] [stdout] 167 | if opt_header_32.Magic != IMAGE_NT_OPTIONAL_HDR32_MAGIC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_DIRECTORY_ENTRY_EXPORT` in this scope [INFO] [stdout] --> src/remote_ops.rs:176:57 [INFO] [stdout] | [INFO] [stdout] 176 | if is_64_bit && opt_header_64.NumberOfRvaAndSizes > IMAGE_DIRECTORY_ENTRY_EXPORT as u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_DIRECTORY_ENTRY_EXPORT` in this scope [INFO] [stdout] --> src/remote_ops.rs:178:41 [INFO] [stdout] | [INFO] [stdout] 178 | opt_header_64.DataDirectory[IMAGE_DIRECTORY_ENTRY_EXPORT as usize].VirtualAddress; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_DIRECTORY_ENTRY_EXPORT` in this scope [INFO] [stdout] --> src/remote_ops.rs:180:41 [INFO] [stdout] | [INFO] [stdout] 180 | opt_header_64.DataDirectory[IMAGE_DIRECTORY_ENTRY_EXPORT as usize].Size; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_DIRECTORY_ENTRY_EXPORT` in this scope [INFO] [stdout] --> src/remote_ops.rs:181:51 [INFO] [stdout] | [INFO] [stdout] 181 | } else if opt_header_32.NumberOfRvaAndSizes > IMAGE_DIRECTORY_ENTRY_EXPORT as u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_DIRECTORY_ENTRY_EXPORT` in this scope [INFO] [stdout] --> src/remote_ops.rs:183:41 [INFO] [stdout] | [INFO] [stdout] 183 | opt_header_32.DataDirectory[IMAGE_DIRECTORY_ENTRY_EXPORT as usize].VirtualAddress; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_DIRECTORY_ENTRY_EXPORT` in this scope [INFO] [stdout] --> src/remote_ops.rs:185:41 [INFO] [stdout] | [INFO] [stdout] 185 | opt_header_32.DataDirectory[IMAGE_DIRECTORY_ENTRY_EXPORT as usize].Size; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/remote_ops.rs:267:35 [INFO] [stdout] | [INFO] [stdout] 267 | let real_ordinal: UINT = real_function_id.parse().ok()?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/remote_ops.rs:276:100 [INFO] [stdout] | [INFO] [stdout] 276 | Some((remote_module_base_va + export_function_table[function_table_index] as usize) as FARPROC) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/remote_ops.rs:312:43 [INFO] [stdout] | [INFO] [stdout] 312 | let real_ordinal: UINT = real_function_id.parse().ok()?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/remote_ops.rs:333:134 [INFO] [stdout] | [INFO] [stdout] 333 | ...ble[export_ordinal_table[i] as usize] as usize) as FARPROC) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/remote_ops.rs:345:16 [INFO] [stdout] | [INFO] [stdout] 345 | h_process: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadProcessMemory` in this scope [INFO] [stdout] --> src/remote_ops.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | ReadProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/remote_ops.rs:353:29 [INFO] [stdout] | [INFO] [stdout] 353 | lp_base as *mut c_void, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/remote_ops.rs:354:28 [INFO] [stdout] | [INFO] [stdout] 354 | target as *mut c_void, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/remote_ops.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | println!("e: {}", GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 350 | / try_bool!( [INFO] [stdout] 351 | | ReadProcessMemory( [INFO] [stdout] 352 | | h_process, [INFO] [stdout] 353 | | lp_base as *mut c_void, [INFO] [stdout] ... | [INFO] [stdout] 357 | | ) == 1 [INFO] [stdout] 358 | | ) [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `try_bool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/remote_ops.rs:361:49 [INFO] [stdout] | [INFO] [stdout] 361 | unsafe fn read_process_memory_string(h_process: HANDLE, lp_base: usize) -> Option { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_char` in this scope [INFO] [stdout] --> src/remote_ops.rs:368:31 [INFO] [stdout] | [INFO] [stdout] 368 | let mut ch = zeroed::(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 368 | let mut ch = zeroed::(); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_char; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ffi::c_char; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | game_process: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/lib.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | msg_func_pointer: FARPROC, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/lib.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | warning_func_pointer: FARPROC, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/lib.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | error_func_pointer: FARPROC, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/lib.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | log_func_pointer: FARPROC, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/lib.rs:46:39 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct SourceConsole { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 46 | cbuf_addtext_func_pointer: Option, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/lib.rs:56:38 [INFO] [stdout] | [INFO] [stdout] 51 | impl SourceConsole { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 56 | let mut entry = 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] --> src/lib.rs:57:38 [INFO] [stdout] | [INFO] [stdout] 51 | impl SourceConsole { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 57 | entry.dwSize = size_of::() as DWORD; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:57:59 [INFO] [stdout] | [INFO] [stdout] 57 | entry.dwSize = size_of::() as DWORD; [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] --> src/lib.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | let snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); [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] --> src/lib.rs:59:53 [INFO] [stdout] | [INFO] [stdout] 59 | let snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); [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] --> src/lib.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | while Process32Next(snapshot, &mut entry as *mut PROCESSENTRY32) == TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/lib.rs:61:62 [INFO] [stdout] | [INFO] [stdout] 61 | while Process32Next(snapshot, &mut entry as *mut PROCESSENTRY32) == TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/lib.rs:61:81 [INFO] [stdout] | [INFO] [stdout] 61 | while Process32Next(snapshot, &mut entry as *mut PROCESSENTRY32) == TRUE { [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] --> src/lib.rs:63:40 [INFO] [stdout] | [INFO] [stdout] 63 | let game_process = OpenProcess(PROCESS_ALL_ACCESS, FALSE, entry.th32ProcessID); [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] --> src/lib.rs:63:52 [INFO] [stdout] | [INFO] [stdout] 63 | let game_process = OpenProcess(PROCESS_ALL_ACCESS, FALSE, entry.th32ProcessID); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/lib.rs:63:72 [INFO] [stdout] | [INFO] [stdout] 63 | let game_process = OpenProcess(PROCESS_ALL_ACCESS, FALSE, entry.th32ProcessID); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/lib.rs:119:80 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe fn call_fn_with_string_param>(&self, string: S, func: FARPROC) { [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] --> src/lib.rs:122:26 [INFO] [stdout] | [INFO] [stdout] 122 | let string_buf = VirtualAllocEx( [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] --> src/lib.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | MEM_COMMIT | MEM_RESERVE, [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] --> src/lib.rs:126:26 [INFO] [stdout] | [INFO] [stdout] 126 | MEM_COMMIT | MEM_RESERVE, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope [INFO] [stdout] --> src/lib.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | PAGE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/lib.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 131 | println!("{}", GetLastError()); [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] --> src/lib.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | WriteProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/lib.rs:139:60 [INFO] [stdout] | [INFO] [stdout] 139 | string.as_ref().as_ptr() as *const _ as *const c_void, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 4 | use std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateRemoteThread` in this scope [INFO] [stdout] --> src/lib.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | let s = CreateRemoteThread( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPTHREAD_START_ROUTINE` in this scope [INFO] [stdout] --> src/lib.rs:148:38 [INFO] [stdout] | [INFO] [stdout] 51 | impl SourceConsole { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 148 | std::mem::transmute::<_, LPTHREAD_START_ROUTINE>(func), [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] --> src/lib.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | WaitForSingleObject(s, 0xffffffff); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TerminateThread` in this scope [INFO] [stdout] --> src/lib.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | TerminateThread(s, 0); [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] --> src/lib.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | CloseHandle(s); [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] --> src/lib.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | VirtualFreeEx(self.game_process, string_buf, buf_size, MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RELEASE` in this scope [INFO] [stdout] --> src/lib.rs:160:64 [INFO] [stdout] | [INFO] [stdout] 160 | VirtualFreeEx(self.game_process, string_buf, buf_size, MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:164:40 [INFO] [stdout] | [INFO] [stdout] 164 | unsafe fn find_cbuf_addtext(h_process: HANDLE, h_module: HMODULE) -> Option { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/lib.rs:164:58 [INFO] [stdout] | [INFO] [stdout] 164 | unsafe fn find_cbuf_addtext(h_process: HANDLE, h_module: HMODULE) -> Option { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/lib.rs:164:77 [INFO] [stdout] | [INFO] [stdout] 164 | unsafe fn find_cbuf_addtext(h_process: HANDLE, h_module: HMODULE) -> Option { [INFO] [stdout] | - ^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEINFO` in this scope [INFO] [stdout] --> src/lib.rs:165:43 [INFO] [stdout] | [INFO] [stdout] 164 | unsafe fn find_cbuf_addtext(h_process: HANDLE, h_module: HMODULE) -> Option { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 165 | let mut module_information = zeroed::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleInformation` in this scope [INFO] [stdout] --> src/lib.rs:166:15 [INFO] [stdout] | [INFO] [stdout] 166 | try_bool!(GetModuleInformation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `module_information` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEINFO` in this scope [INFO] [stdout] --> src/lib.rs:169:41 [INFO] [stdout] | [INFO] [stdout] 169 | &mut module_information as *mut MODULEINFO, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEINFO` in this scope [INFO] [stdout] --> src/lib.rs:170:19 [INFO] [stdout] | [INFO] [stdout] 164 | unsafe fn find_cbuf_addtext(h_process: HANDLE, h_module: HMODULE) -> Option { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 170 | size_of::() as u32 [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_DOS_HEADER` in this scope [INFO] [stdout] --> src/lib.rs:176:35 [INFO] [stdout] | [INFO] [stdout] 164 | unsafe fn find_cbuf_addtext(h_process: HANDLE, h_module: HMODULE) -> Option { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 176 | let mut dos_header = zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_DOS_SIGNATURE` in this scope [INFO] [stdout] --> src/lib.rs:178:30 [INFO] [stdout] | [INFO] [stdout] 178 | if dos_header.e_magic != IMAGE_DOS_SIGNATURE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_FILE_HEADER` in this scope [INFO] [stdout] --> src/lib.rs:183:36 [INFO] [stdout] | [INFO] [stdout] 164 | unsafe fn find_cbuf_addtext(h_process: HANDLE, h_module: HMODULE) -> Option { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 183 | let mut file_header = zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_DOS_HEADER` in this scope [INFO] [stdout] --> src/lib.rs:184:72 [INFO] [stdout] | [INFO] [stdout] 164 | unsafe fn find_cbuf_addtext(h_process: HANDLE, h_module: HMODULE) -> Option { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 184 | remote_ops::read_process_memory(h_process, module_base + size_of::(), &mut file_header, None)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_OPTIONAL_HEADER64` in this scope [INFO] [stdout] --> src/lib.rs:186:63 [INFO] [stdout] | [INFO] [stdout] 164 | unsafe fn find_cbuf_addtext(h_process: HANDLE, h_module: HMODULE) -> Option { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 186 | if file_header.SizeOfOptionalHeader as usize == size_of::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/lib.rs:220:67 [INFO] [stdout] | [INFO] [stdout] 220 | fn_ptr = Some((fn_addr as usize + module_base) as FARPROC); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `transmute` [INFO] [stdout] --> src/lib.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use std::mem::{size_of, transmute, zeroed}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 119 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `srcconsole` due to 120 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "cb2b6d7bf87d52b7f930e797705408ae941f27c27c0c2cfff6d537bbf9b31fbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb2b6d7bf87d52b7f930e797705408ae941f27c27c0c2cfff6d537bbf9b31fbe", kill_on_drop: false }` [INFO] [stdout] cb2b6d7bf87d52b7f930e797705408ae941f27c27c0c2cfff6d537bbf9b31fbe