[INFO] cloning repository https://github.com/geegee4iee/grrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/geegee4iee/grrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgeegee4iee%2Fgrrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgeegee4iee%2Fgrrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 385f707986a95c014c38cf8ab59680ec6991a3f4 [INFO] testing geegee4iee/grrs against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgeegee4iee%2Fgrrs" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/geegee4iee/grrs 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/geegee4iee/grrs [INFO] finished tweaking git repo https://github.com/geegee4iee/grrs [INFO] tweaked toml for git repo https://github.com/geegee4iee/grrs written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/geegee4iee/grrs 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] 3245a7892b44c79b5d4f9a5385dab06431d6e70c12f2e0e251a6803b8b841c12 [INFO] running `Command { std: "docker" "start" "-a" "3245a7892b44c79b5d4f9a5385dab06431d6e70c12f2e0e251a6803b8b841c12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3245a7892b44c79b5d4f9a5385dab06431d6e70c12f2e0e251a6803b8b841c12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3245a7892b44c79b5d4f9a5385dab06431d6e70c12f2e0e251a6803b8b841c12", kill_on_drop: false }` [INFO] [stdout] 3245a7892b44c79b5d4f9a5385dab06431d6e70c12f2e0e251a6803b8b841c12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] 98b7def1f6e2652232d5a944b5a94698f6828790da74e56ec9768e87287d2fba [INFO] running `Command { std: "docker" "start" "-a" "98b7def1f6e2652232d5a944b5a94698f6828790da74e56ec9768e87287d2fba", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Compiling grrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | 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/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | 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/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::processthreadsapi::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | 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/main.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::winbase::{ [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/main.rs:48:36 [INFO] [stdout] | [INFO] [stdout] 48 | fn get_process_app_memory(handle : HANDLE) -> AppMemoryInformation { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/main.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | let lpvoid : LPVOID = process_memory_struct_ptr as LPVOID; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/main.rs:56:56 [INFO] [stdout] | [INFO] [stdout] 56 | let lpvoid : LPVOID = process_memory_struct_ptr as LPVOID; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessInformation` in this scope [INFO] [stdout] --> src/main.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | ... let success = GetProcessInformation(handle, PROCESS_INFORMATION_CLASS::ProcessAppMemoryInfo as u32, lpvoid, size_of:: src/main.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | if success == TRUE { [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/main.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | } else if success == FALSE { [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/main.rs:70:35 [INFO] [stdout] | [INFO] [stdout] 70 | fn get_active_process_handle() -> 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] --> src/main.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | let handle : HANDLE; [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/main.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | let desired_access : DWORD = 0x0400 | 0x0010; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in crate `user32` [INFO] [stdout] --> src/main.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | let ptr = user32::GetForegroundWindow(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowThreadProcessId` in crate `user32` [INFO] [stdout] --> src/main.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | user32::GetWindowThreadProcessId(ptr, process_id_ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope [INFO] [stdout] --> src/main.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | handle = OpenProcess(desired_access, FALSE, process_id); [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/main.rs:82:46 [INFO] [stdout] | [INFO] [stdout] 82 | handle = OpenProcess(desired_access, FALSE, process_id); [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/main.rs:88:30 [INFO] [stdout] | [INFO] [stdout] 88 | fn get_process_name(handle : HANDLE) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPSTR` in this scope [INFO] [stdout] --> src/main.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | let buffer : LPSTR = buffer_content.as_mut_ptr() as *mut i8; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryFullProcessImageNameA` in this scope [INFO] [stdout] --> src/main.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | let success = QueryFullProcessImageNameA(handle, 0, buffer, whatisit); [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/main.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | if success == TRUE { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::slice; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PROCESS_INFORMATION_CLASS` should have an upper camel case name [INFO] [stdout] --> src/main.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 34 | enum PROCESS_INFORMATION_CLASS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ProcessInformationClass` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `grrs` due to 23 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "98b7def1f6e2652232d5a944b5a94698f6828790da74e56ec9768e87287d2fba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98b7def1f6e2652232d5a944b5a94698f6828790da74e56ec9768e87287d2fba", kill_on_drop: false }` [INFO] [stdout] 98b7def1f6e2652232d5a944b5a94698f6828790da74e56ec9768e87287d2fba