[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKethku%2FWindowSniper" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kethku/WindowSniper on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-4/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slice-deque v0.1.16 [INFO] [stderr] Downloaded lewton v0.9.4 [INFO] [stderr] Downloaded clang-sys v0.21.2 [INFO] [stderr] Downloaded claxon v0.3.2 [INFO] [stderr] Downloaded bindgen v0.32.3 [INFO] [stderr] Downloaded cgmath v0.14.1 [INFO] [stderr] Downloaded cc v1.0.35 [INFO] [stderr] Downloaded coreaudio-sys v0.2.2 [INFO] [stderr] Downloaded minimp3-sys v0.3.1 [INFO] [stderr] Downloaded which v1.0.5 [INFO] [stderr] Downloaded minimp3 v0.3.2 [INFO] [stderr] Downloaded cexpr v0.2.3 [INFO] [stderr] Downloaded rodio v0.8.1 [INFO] [stderr] Downloaded cpal v0.8.2 [INFO] [stderr] Downloaded rust-embed-impl v4.3.0 [INFO] [stderr] Downloaded rust-embed v4.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59437d83ee9f4b769697b8dbfa1ed4e86acd9b275a67b4688937a944cbcd0cf2 [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" "59437d83ee9f4b769697b8dbfa1ed4e86acd9b275a67b4688937a944cbcd0cf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59437d83ee9f4b769697b8dbfa1ed4e86acd9b275a67b4688937a944cbcd0cf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59437d83ee9f4b769697b8dbfa1ed4e86acd9b275a67b4688937a944cbcd0cf2", kill_on_drop: false }` [INFO] [stdout] 59437d83ee9f4b769697b8dbfa1ed4e86acd9b275a67b4688937a944cbcd0cf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9aef71dc3c38ecedc4489a4efccf7c6761b87ba791c1384fd181466f6eb961a8 [INFO] running `Command { std: "docker" "start" "-a" "9aef71dc3c38ecedc4489a4efccf7c6761b87ba791c1384fd181466f6eb961a8", 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 libc v0.2.51 [INFO] [stderr] Compiling cc v1.0.35 [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] Checking approx v0.1.1 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking smallvec v0.6.9 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking claxon v0.3.2 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking ogg v0.7.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking slice-deque v0.1.16 [INFO] [stderr] Compiling minimp3-sys v0.3.1 [INFO] [stderr] Checking cpal v0.8.2 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking cgmath v0.14.1 [INFO] [stderr] Checking minimp3 v0.3.2 [INFO] [stderr] Compiling rust-embed-impl v4.3.0 [INFO] [stderr] Checking rust-embed v4.3.0 [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" "9aef71dc3c38ecedc4489a4efccf7c6761b87ba791c1384fd181466f6eb961a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aef71dc3c38ecedc4489a4efccf7c6761b87ba791c1384fd181466f6eb961a8", kill_on_drop: false }` [INFO] [stdout] 9aef71dc3c38ecedc4489a4efccf7c6761b87ba791c1384fd181466f6eb961a8