[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] testing Kethku/WindowSniper against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKethku%2FWindowSniper" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kethku/WindowSniper 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/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-2/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" "+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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded minimp3-sys v0.3.1 [INFO] [stderr] Downloaded cgmath v0.14.1 [INFO] [stderr] Downloaded cexpr v0.2.3 [INFO] [stderr] Downloaded claxon v0.3.2 [INFO] [stderr] Downloaded slice-deque v0.1.16 [INFO] [stderr] Downloaded coreaudio-sys v0.2.2 [INFO] [stderr] Downloaded minimp3 v0.3.2 [INFO] [stderr] Downloaded bindgen v0.32.3 [INFO] [stderr] Downloaded clang-sys v0.21.2 [INFO] [stderr] Downloaded which v1.0.5 [INFO] [stderr] Downloaded rodio v0.8.1 [INFO] [stderr] Downloaded cc v1.0.35 [INFO] [stderr] Downloaded rust-embed v4.3.0 [INFO] [stderr] Downloaded rust-embed-impl v4.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] f4456cac3ff422b66dc806771426aeacf60977bdca33cfe56e6a6d90d8562d95 [INFO] running `Command { std: "docker" "start" "-a" "f4456cac3ff422b66dc806771426aeacf60977bdca33cfe56e6a6d90d8562d95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4456cac3ff422b66dc806771426aeacf60977bdca33cfe56e6a6d90d8562d95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4456cac3ff422b66dc806771426aeacf60977bdca33cfe56e6a6d90d8562d95", kill_on_drop: false }` [INFO] [stdout] f4456cac3ff422b66dc806771426aeacf60977bdca33cfe56e6a6d90d8562d95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 3380268ba10065284ce5ffa9d47c43036b67d949e3b0a9c3f4150312d7775276 [INFO] running `Command { std: "docker" "start" "-a" "3380268ba10065284ce5ffa9d47c43036b67d949e3b0a9c3f4150312d7775276", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling cc v1.0.35 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling claxon v0.3.2 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling ogg v0.7.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling slice-deque v0.1.16 [INFO] [stderr] Compiling minimp3-sys v0.3.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling cpal v0.8.2 [INFO] [stderr] Compiling lewton v0.9.4 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling rust-embed-impl v4.3.0 [INFO] [stderr] Compiling cgmath v0.14.1 [INFO] [stderr] Compiling minimp3 v0.3.2 [INFO] [stderr] Compiling rust-embed v4.3.0 [INFO] [stderr] Compiling rodio v0.8.1 [INFO] [stderr] Compiling 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[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] [stderr] error: could not compile `window_sniper` due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "3380268ba10065284ce5ffa9d47c43036b67d949e3b0a9c3f4150312d7775276", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3380268ba10065284ce5ffa9d47c43036b67d949e3b0a9c3f4150312d7775276", kill_on_drop: false }` [INFO] [stdout] 3380268ba10065284ce5ffa9d47c43036b67d949e3b0a9c3f4150312d7775276