[INFO] cloning repository https://github.com/Kolsky/silent_shot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kolsky/silent_shot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKolsky%2Fsilent_shot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKolsky%2Fsilent_shot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02f8690268ebd753f52c1847e1174a2e4b2f681a [INFO] checking Kolsky/silent_shot against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKolsky%2Fsilent_shot" "/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/Kolsky/silent_shot on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kolsky/silent_shot [INFO] finished tweaking git repo https://github.com/Kolsky/silent_shot [INFO] tweaked toml for git repo https://github.com/Kolsky/silent_shot written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Kolsky/silent_shot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded single-instance v0.1.2 [INFO] [stderr] Downloaded dxgcap v0.2.3 [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 444e9a39048dba4487256070edbec743729a8837312fe8dc1b4a50a48f2c3009 [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" "444e9a39048dba4487256070edbec743729a8837312fe8dc1b4a50a48f2c3009", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "444e9a39048dba4487256070edbec743729a8837312fe8dc1b4a50a48f2c3009", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "444e9a39048dba4487256070edbec743729a8837312fe8dc1b4a50a48f2c3009", kill_on_drop: false }` [INFO] [stdout] 444e9a39048dba4487256070edbec743729a8837312fe8dc1b4a50a48f2c3009 [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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] db5ed5da98a8a3fffb490edff4e67f6e1ef3c8a700a81a7ee0cbac4e0bc05ce3 [INFO] running `Command { std: "docker" "start" "-a" "db5ed5da98a8a3fffb490edff4e67f6e1ef3c8a700a81a7ee0cbac4e0bc05ce3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.4.0 [INFO] [stderr] Checking widestring v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Checking miniz_oxide v0.4.1 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking crossbeam-channel v0.4.3 [INFO] [stderr] Checking wio v0.2.2 [INFO] [stderr] Checking dxgcap v0.2.3 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rayon-core v1.8.0 [INFO] [stderr] Checking num-rational v0.3.0 [INFO] [stderr] Checking rayon v1.4.0 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.23.8 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking single-instance v0.1.2 [INFO] [stderr] Checking ron v0.6.1 [INFO] [stderr] Checking silent_shot v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/keyboard.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | um::winuser::{VK_SNAPSHOT, VK_MENU}, [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/sysnio.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | um::winuser::{GetForegroundWindow, GetWindowRect}, [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/sysnio.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `user32::GetKeyState` [INFO] [stdout] --> src/keyboard.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use user32::{GetKeyState}; [INFO] [stdout] | ^^^^^^^^^^^ no `GetKeyState` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `dxgcap::DXGIManager`, `dxgcap::CaptureError` [INFO] [stdout] --> src/main.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | use dxgcap::{DXGIManager, CaptureError}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ no `CaptureError` in the root [INFO] [stdout] | | [INFO] [stdout] | no `DXGIManager` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/keyboard.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | um::winuser::{VK_SNAPSHOT, VK_MENU}, [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/sysnio.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | um::winuser::{GetForegroundWindow, GetWindowRect}, [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/sysnio.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `user32::GetKeyState` [INFO] [stdout] --> src/keyboard.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use user32::{GetKeyState}; [INFO] [stdout] | ^^^^^^^^^^^ no `GetKeyState` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `dxgcap::DXGIManager`, `dxgcap::CaptureError` [INFO] [stdout] --> src/main.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | use dxgcap::{DXGIManager, CaptureError}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ no `CaptureError` in the root [INFO] [stdout] | | [INFO] [stdout] | no `DXGIManager` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_SNAPSHOT` in this scope [INFO] [stdout] --> src/keyboard.rs:29:49 [INFO] [stdout] | [INFO] [stdout] 29 | vk_snapshot: VirtualKey(GetKeyState(VK_SNAPSHOT) as u32), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_MENU` in this scope [INFO] [stdout] --> src/keyboard.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | vk_menu: VirtualKey(GetKeyState(VK_MENU) as u32), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/sysnio.rs:89:60 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn crop_frame_and_return_dims(buf: &mut Vec, rect: RECT, width: usize, height: usize) -> (usize, usize) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/sysnio.rs:107:43 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn get_active_window_rect() -> Option { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope [INFO] [stdout] --> src/sysnio.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | let hwnd = GetForegroundWindow(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/sysnio.rs:110:33 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn get_active_window_rect() -> Option { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 110 | let mut rect = zeroed::(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/sysnio.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | match GetWindowRect(hwnd, &mut rect) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_SNAPSHOT` in this scope [INFO] [stdout] --> src/keyboard.rs:29:49 [INFO] [stdout] | [INFO] [stdout] 29 | vk_snapshot: VirtualKey(GetKeyState(VK_SNAPSHOT) as u32), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_MENU` in this scope [INFO] [stdout] --> src/keyboard.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | vk_menu: VirtualKey(GetKeyState(VK_MENU) as u32), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/sysnio.rs:89:60 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn crop_frame_and_return_dims(buf: &mut Vec, rect: RECT, width: usize, height: usize) -> (usize, usize) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/sysnio.rs:107:43 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn get_active_window_rect() -> Option { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope [INFO] [stdout] --> src/sysnio.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | let hwnd = GetForegroundWindow(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/sysnio.rs:110:33 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn get_active_window_rect() -> Option { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 110 | let mut rect = zeroed::(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/sysnio.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | match GetWindowRect(hwnd, &mut rect) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `silent_shot` [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] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "db5ed5da98a8a3fffb490edff4e67f6e1ef3c8a700a81a7ee0cbac4e0bc05ce3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db5ed5da98a8a3fffb490edff4e67f6e1ef3c8a700a81a7ee0cbac4e0bc05ce3", kill_on_drop: false }` [INFO] [stdout] db5ed5da98a8a3fffb490edff4e67f6e1ef3c8a700a81a7ee0cbac4e0bc05ce3