[INFO] cloning repository https://github.com/Kethku/WindowSniper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kethku/WindowSniper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKethku%2FWindowSniper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKethku%2FWindowSniper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2671b2b5723779cacda4702774c51eb9f4349d9b [INFO] checking Kethku/WindowSniper against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKethku%2FWindowSniper" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kethku/WindowSniper on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kethku/WindowSniper [INFO] finished tweaking git repo https://github.com/Kethku/WindowSniper [INFO] tweaked toml for git repo https://github.com/Kethku/WindowSniper written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Kethku/WindowSniper already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 195a4ccab43c320341ceb5964a5385f9b86abf3138bf8424828e7eedff487cb5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "195a4ccab43c320341ceb5964a5385f9b86abf3138bf8424828e7eedff487cb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "195a4ccab43c320341ceb5964a5385f9b86abf3138bf8424828e7eedff487cb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "195a4ccab43c320341ceb5964a5385f9b86abf3138bf8424828e7eedff487cb5", kill_on_drop: false }` [INFO] [stdout] 195a4ccab43c320341ceb5964a5385f9b86abf3138bf8424828e7eedff487cb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94c22d843eefcd99c339e220d5d580643ad00f452333c78a0bf01f07c836cbf9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "94c22d843eefcd99c339e220d5d580643ad00f452333c78a0bf01f07c836cbf9", 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] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking claxon v0.3.2 [INFO] [stderr] Compiling minimp3-sys v0.3.1 [INFO] [stderr] Checking slice-deque v0.1.16 [INFO] [stderr] Checking ogg v0.7.0 [INFO] [stderr] Compiling rust-embed-impl v4.3.0 [INFO] [stderr] Checking walkdir v2.2.7 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Checking rust-embed v4.3.0 [INFO] [stderr] Checking minimp3 v0.3.2 [INFO] [stderr] Checking cpal v0.8.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking cgmath v0.14.1 [INFO] [stderr] Checking rodio v0.8.1 [INFO] [stderr] Checking window_sniper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapi_wrappers.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winuser::{VK_LBUTTON, VK_RBUTTON, GetCursorPos, GetKeyState, WindowFromPoint, GetWindowThreadProcessId}; [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/winapi_wrappers.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::processthreadsapi::{OpenProcess, TerminateProcess}; [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/winapi_wrappers.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winnt::PROCESS_ALL_ACCESS; [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/winapi_wrappers.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::windef::{ POINT }; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/winapi_wrappers.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::ctypes::c_int; [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/winapi_wrappers.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winuser::{VK_LBUTTON, VK_RBUTTON, GetCursorPos, GetKeyState, WindowFromPoint, GetWindowThreadProcessId}; [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/winapi_wrappers.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::processthreadsapi::{OpenProcess, TerminateProcess}; [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/winapi_wrappers.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winnt::PROCESS_ALL_ACCESS; [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/winapi_wrappers.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::windef::{ POINT }; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/winapi_wrappers.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::ctypes::c_int; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyState` in this scope [INFO] [stdout] --> src/winapi_wrappers.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | GetKeyState(button) & 0x100 != 0 [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_LBUTTON` in this scope [INFO] [stdout] --> src/winapi_wrappers.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | mouse_down(VK_LBUTTON) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_RBUTTON` in this scope [INFO] [stdout] --> src/winapi_wrappers.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | mouse_down(VK_RBUTTON) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/winapi_wrappers.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | let mut cursor_position = POINT { x: 0, y: 0 }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope [INFO] [stdout] --> src/winapi_wrappers.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | GetCursorPos(&mut cursor_position); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WindowFromPoint` in this scope [INFO] [stdout] --> src/winapi_wrappers.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | let handle = WindowFromPoint(POINT { x: pos.x, y: pos.y }); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/winapi_wrappers.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | let handle = WindowFromPoint(POINT { x: pos.x, y: pos.y }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowThreadProcessId` in this scope [INFO] [stdout] --> src/winapi_wrappers.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | GetWindowThreadProcessId(handle, &mut pid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope [INFO] [stdout] --> src/winapi_wrappers.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | let handle = OpenProcess(PROCESS_ALL_ACCESS, 1, pid); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope [INFO] [stdout] --> src/winapi_wrappers.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | let handle = OpenProcess(PROCESS_ALL_ACCESS, 1, pid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TerminateProcess` in this scope [INFO] [stdout] --> src/winapi_wrappers.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | TerminateProcess(handle, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyState` in this scope [INFO] [stdout] --> src/winapi_wrappers.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | GetKeyState(button) & 0x100 != 0 [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_LBUTTON` in this scope [INFO] [stdout] --> src/winapi_wrappers.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | mouse_down(VK_LBUTTON) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_RBUTTON` in this scope [INFO] [stdout] --> src/winapi_wrappers.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | mouse_down(VK_RBUTTON) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/winapi_wrappers.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | let mut cursor_position = POINT { x: 0, y: 0 }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope [INFO] [stdout] --> src/winapi_wrappers.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | GetCursorPos(&mut cursor_position); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WindowFromPoint` in this scope [INFO] [stdout] --> src/winapi_wrappers.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | let handle = WindowFromPoint(POINT { x: pos.x, y: pos.y }); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/winapi_wrappers.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | let handle = WindowFromPoint(POINT { x: pos.x, y: pos.y }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowThreadProcessId` in this scope [INFO] [stdout] --> src/winapi_wrappers.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | GetWindowThreadProcessId(handle, &mut pid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope [INFO] [stdout] --> src/winapi_wrappers.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | let handle = OpenProcess(PROCESS_ALL_ACCESS, 1, pid); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope [INFO] [stdout] --> src/winapi_wrappers.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | let handle = OpenProcess(PROCESS_ALL_ACCESS, 1, pid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TerminateProcess` in this scope [INFO] [stdout] --> src/winapi_wrappers.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | TerminateProcess(handle, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `window_sniper` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "94c22d843eefcd99c339e220d5d580643ad00f452333c78a0bf01f07c836cbf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94c22d843eefcd99c339e220d5d580643ad00f452333c78a0bf01f07c836cbf9", kill_on_drop: false }` [INFO] [stdout] 94c22d843eefcd99c339e220d5d580643ad00f452333c78a0bf01f07c836cbf9