[INFO] cloning repository https://github.com/Cqdet/sage [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Cqdet/sage" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCqdet%2Fsage", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCqdet%2Fsage'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3032485ecb3a7d197ecd9f82668a871ffb510fb0 [INFO] checking Cqdet/sage against try#39e1293fce4b650061e85dda88aa428f726a8444 for pr-88041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCqdet%2Fsage" "/workspace/builds/worker-47/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-47/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Cqdet/sage on toolchain 39e1293fce4b650061e85dda88aa428f726a8444 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Cqdet/sage [INFO] finished tweaking git repo https://github.com/Cqdet/sage [INFO] tweaked toml for git repo https://github.com/Cqdet/sage written to /workspace/builds/worker-47/source/Cargo.toml [INFO] crate git repo https://github.com/Cqdet/sage already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "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 colour v0.6.0 [INFO] [stderr] Downloaded discord-rich-presence v0.1.7 [INFO] [stderr] Downloaded windows-named-pipe v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7dc0bafc6611c5350ed8bc1a2f7df0166a868533547f8e957a40841e1022158 [INFO] running `Command { std: "docker" "start" "-a" "c7dc0bafc6611c5350ed8bc1a2f7df0166a868533547f8e957a40841e1022158", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7dc0bafc6611c5350ed8bc1a2f7df0166a868533547f8e957a40841e1022158", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7dc0bafc6611c5350ed8bc1a2f7df0166a868533547f8e957a40841e1022158", kill_on_drop: false }` [INFO] [stdout] c7dc0bafc6611c5350ed8bc1a2f7df0166a868533547f8e957a40841e1022158 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d15db4699d072f452d4b608e5ed218e9d3a38df97484ad285341a8dd579d38a [INFO] running `Command { std: "docker" "start" "-a" "2d15db4699d072f452d4b608e5ed218e9d3a38df97484ad285341a8dd579d38a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking serde_json v1.0.66 [INFO] [stderr] Checking crossterm v0.19.0 [INFO] [stderr] Checking colour v0.6.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Checking discord-rich-presence v0.1.7 [INFO] [stderr] Checking sage v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/cheat/cheats/speed.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::memoryapi::WriteProcessMemory; [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/mem/mod.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::{shared::ntdef::HANDLE, um::memoryapi::ReadProcessMemory}; [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/mem/mod.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::{shared::ntdef::HANDLE, 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 `shared` in `winapi` [INFO] [stdout] --> src/program/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | shared::{ntdef::HANDLE, windef::HWND}, [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/program/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | um::{ [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/cheat/cheats/speed.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::memoryapi::WriteProcessMemory; [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/mem/mod.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::{shared::ntdef::HANDLE, um::memoryapi::ReadProcessMemory}; [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/mem/mod.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::{shared::ntdef::HANDLE, 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 `shared` in `winapi` [INFO] [stdout] --> src/program/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | shared::{ntdef::HANDLE, windef::HWND}, [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/program/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in this scope [INFO] [stdout] --> src/cheat/cheats/speed.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | WriteProcessMemory( [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/mem/mod.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe fn addr_from_ptr(handle: HANDLE, game_id: usize, offsets: &[usize]) -> usize { [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/mem/mod.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | ReadProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/program/mod.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Program { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 26 | pub hwnd: Option, [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/program/mod.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Program { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 26 | pub hwnd: Option, [INFO] [stdout] 27 | pub handle: Option, [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/program/mod.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | self.handle = Some(OpenProcess(PROCESS_ALL_ACCESS, 0, proc_id)); [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/program/mod.rs:46:40 [INFO] [stdout] | [INFO] [stdout] 46 | self.handle = Some(OpenProcess(PROCESS_ALL_ACCESS, 0, proc_id)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowA` in this scope [INFO] [stdout] --> src/program/mod.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | self.hwnd = Some(FindWindowA(null_mut(), name.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 `CreateToolhelp32Snapshot` in this scope [INFO] [stdout] --> src/program/mod.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | 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/program/mod.rs:58:49 [INFO] [stdout] | [INFO] [stdout] 58 | let snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); [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] --> src/program/mod.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | if snapshot != 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] --> src/program/mod.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | let mut entry: PROCESSENTRY32 = zeroed::<_>(); [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/cheat/cheats/speed.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | WriteProcessMemory( [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/program/mod.rs:61:38 [INFO] [stdout] | [INFO] [stdout] 32 | impl Program { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 61 | entry.dwSize = 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 `Process32First` in this scope [INFO] [stdout] --> src/program/mod.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | if Process32First(snapshot, &mut entry as *mut PROCESSENTRY32) != 0 { [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/program/mod.rs:62:60 [INFO] [stdout] | [INFO] [stdout] 62 | if Process32First(snapshot, &mut entry as *mut PROCESSENTRY32) != 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/program/mod.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | if Process32Next(snapshot, &mut entry as *mut PROCESSENTRY32) != 0 { [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/program/mod.rs:64:67 [INFO] [stdout] | [INFO] [stdout] 64 | if Process32Next(snapshot, &mut entry as *mut PROCESSENTRY32) != 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/program/mod.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | CloseHandle(snapshot); [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/program/mod.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | let snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, proc_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE` in this scope [INFO] [stdout] --> src/program/mod.rs:88:49 [INFO] [stdout] | [INFO] [stdout] 88 | let snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, proc_id); [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] --> src/program/mod.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | if snapshot != INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/program/mod.rs:90:28 [INFO] [stdout] | [INFO] [stdout] 90 | let mut entry: MODULEENTRY32 = zeroed::<_>(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/program/mod.rs:91:38 [INFO] [stdout] | [INFO] [stdout] 32 | impl Program { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 91 | entry.dwSize = 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 `Module32Next` in this scope [INFO] [stdout] --> src/program/mod.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | while Module32Next(snapshot, &mut entry as *mut MODULEENTRY32) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/program/mod.rs:92:61 [INFO] [stdout] | [INFO] [stdout] 92 | while Module32Next(snapshot, &mut entry as *mut MODULEENTRY32) != 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/program/mod.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | CloseHandle(snapshot); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `e_green_ln` [INFO] [stdout] --> src/program/mod.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use colour::{e_green_ln, e_red_ln}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/mem/mod.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe fn addr_from_ptr(handle: HANDLE, game_id: usize, offsets: &[usize]) -> usize { [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/mem/mod.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | ReadProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/program/mod.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Program { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 26 | pub hwnd: Option, [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/program/mod.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Program { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 26 | pub hwnd: Option, [INFO] [stdout] 27 | pub handle: Option, [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/program/mod.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | self.handle = Some(OpenProcess(PROCESS_ALL_ACCESS, 0, proc_id)); [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/program/mod.rs:46:40 [INFO] [stdout] | [INFO] [stdout] 46 | self.handle = Some(OpenProcess(PROCESS_ALL_ACCESS, 0, proc_id)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowA` in this scope [INFO] [stdout] --> src/program/mod.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | self.hwnd = Some(FindWindowA(null_mut(), name.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 `CreateToolhelp32Snapshot` in this scope [INFO] [stdout] --> src/program/mod.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | 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/program/mod.rs:58:49 [INFO] [stdout] | [INFO] [stdout] 58 | let snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); [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] --> src/program/mod.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | if snapshot != 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] --> src/program/mod.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | let mut entry: PROCESSENTRY32 = 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/program/mod.rs:61:38 [INFO] [stdout] | [INFO] [stdout] 32 | impl Program { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 61 | entry.dwSize = 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 `Process32First` in this scope [INFO] [stdout] --> src/program/mod.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | if Process32First(snapshot, &mut entry as *mut PROCESSENTRY32) != 0 { [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/program/mod.rs:62:60 [INFO] [stdout] | [INFO] [stdout] 62 | if Process32First(snapshot, &mut entry as *mut PROCESSENTRY32) != 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/program/mod.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | if Process32Next(snapshot, &mut entry as *mut PROCESSENTRY32) != 0 { [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/program/mod.rs:64:67 [INFO] [stdout] | [INFO] [stdout] 64 | if Process32Next(snapshot, &mut entry as *mut PROCESSENTRY32) != 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/program/mod.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | CloseHandle(snapshot); [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/program/mod.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | let snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, proc_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE` in this scope [INFO] [stdout] --> src/program/mod.rs:88:49 [INFO] [stdout] | [INFO] [stdout] 88 | let snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, proc_id); [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] --> src/program/mod.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | if snapshot != INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/program/mod.rs:90:28 [INFO] [stdout] | [INFO] [stdout] 90 | let mut entry: MODULEENTRY32 = zeroed::<_>(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/program/mod.rs:91:38 [INFO] [stdout] | [INFO] [stdout] 32 | impl Program { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 91 | entry.dwSize = 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 `Module32Next` in this scope [INFO] [stdout] --> src/program/mod.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | while Module32Next(snapshot, &mut entry as *mut MODULEENTRY32) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/program/mod.rs:92:61 [INFO] [stdout] | [INFO] [stdout] 92 | while Module32Next(snapshot, &mut entry as *mut MODULEENTRY32) != 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/program/mod.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | CloseHandle(snapshot); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `e_green_ln` [INFO] [stdout] --> src/program/mod.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use colour::{e_green_ln, e_red_ln}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/program/mod.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | hwnd: None, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/program/mod.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | hwnd: None, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sage` due to 33 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2d15db4699d072f452d4b608e5ed218e9d3a38df97484ad285341a8dd579d38a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d15db4699d072f452d4b608e5ed218e9d3a38df97484ad285341a8dd579d38a", kill_on_drop: false }` [INFO] [stdout] 2d15db4699d072f452d4b608e5ed218e9d3a38df97484ad285341a8dd579d38a