[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] fcec7f969106ae94e928996b8bb50b012d8350d9 [INFO] testing Cqdet/sage against beta-2021-08-01 for beta-1.55-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCqdet%2Fsage" "/workspace/builds/worker-56/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-56/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Cqdet/sage on toolchain beta-2021-08-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "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-56/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" "+beta-2021-08-01" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b8a05cff9bd4bdf32a2b7d5ce43b30dd0953c70bfdce363dc11c7add6fb6e39 [INFO] running `Command { std: "docker" "start" "-a" "5b8a05cff9bd4bdf32a2b7d5ce43b30dd0953c70bfdce363dc11c7add6fb6e39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b8a05cff9bd4bdf32a2b7d5ce43b30dd0953c70bfdce363dc11c7add6fb6e39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b8a05cff9bd4bdf32a2b7d5ce43b30dd0953c70bfdce363dc11c7add6fb6e39", kill_on_drop: false }` [INFO] [stdout] 5b8a05cff9bd4bdf32a2b7d5ce43b30dd0953c70bfdce363dc11c7add6fb6e39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf1928e6224619ba3a8f5755212810b04190c515d377ab7e2b9713d7a8b833bb [INFO] running `Command { std: "docker" "start" "-a" "bf1928e6224619ba3a8f5755212810b04190c515d377ab7e2b9713d7a8b833bb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling signal-hook v0.1.17 [INFO] [stderr] Compiling crossterm v0.19.0 [INFO] [stderr] Compiling colour v0.6.0 [INFO] [stderr] Compiling sage v0.1.0 (/opt/rustwide/workdir) [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[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:59:24 [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/program/mod.rs:59:49 [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 `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/program/mod.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | 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:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | 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:62:38 [INFO] [stdout] | [INFO] [stdout] 32 | impl Program { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 62 | 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:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | 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:63:60 [INFO] [stdout] | [INFO] [stdout] 63 | 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:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | 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:65:67 [INFO] [stdout] | [INFO] [stdout] 65 | 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:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | 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:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | 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:89:49 [INFO] [stdout] | [INFO] [stdout] 89 | 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:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | 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:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | 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:92:38 [INFO] [stdout] | [INFO] [stdout] 32 | impl Program { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 92 | 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:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | 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:93:61 [INFO] [stdout] | [INFO] [stdout] 93 | 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:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | CloseHandle(snapshot); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [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 30 previous errors [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] [stderr] error: could not compile `sage` due to 31 previous errors [INFO] running `Command { std: "docker" "inspect" "bf1928e6224619ba3a8f5755212810b04190c515d377ab7e2b9713d7a8b833bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf1928e6224619ba3a8f5755212810b04190c515d377ab7e2b9713d7a8b833bb", kill_on_drop: false }` [INFO] [stdout] bf1928e6224619ba3a8f5755212810b04190c515d377ab7e2b9713d7a8b833bb