[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] testing Kolsky/silent_shot against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKolsky%2Fsilent_shot" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kolsky/silent_shot on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-3/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--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 single-instance v0.1.2 [INFO] [stderr] Downloaded ron v0.6.1 [INFO] [stderr] Downloaded dxgcap v0.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6dd41ca996fff0f9fce63638e00930313de0507162169bcb1e031071687299c3 [INFO] running `Command { std: "docker" "start" "-a" "6dd41ca996fff0f9fce63638e00930313de0507162169bcb1e031071687299c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6dd41ca996fff0f9fce63638e00930313de0507162169bcb1e031071687299c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dd41ca996fff0f9fce63638e00930313de0507162169bcb1e031071687299c3", kill_on_drop: false }` [INFO] [stdout] 6dd41ca996fff0f9fce63638e00930313de0507162169bcb1e031071687299c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 767845e6c6a3e8450453e707c248215b008e2ef915465640b21323c7609bfc63 [INFO] running `Command { std: "docker" "start" "-a" "767845e6c6a3e8450453e707c248215b008e2ef915465640b21323c7609bfc63", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.8.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling bytemuck v1.4.0 [INFO] [stderr] Compiling widestring v0.2.2 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling miniz_oxide v0.4.1 [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling wio v0.2.2 [INFO] [stderr] Compiling dxgcap v0.2.3 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling crossbeam-channel v0.4.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling image v0.23.8 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling single-instance v0.1.2 [INFO] [stderr] Compiling ron v0.6.1 [INFO] [stderr] Compiling 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[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] running `Command { std: "docker" "inspect" "767845e6c6a3e8450453e707c248215b008e2ef915465640b21323c7609bfc63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "767845e6c6a3e8450453e707c248215b008e2ef915465640b21323c7609bfc63", kill_on_drop: false }` [INFO] [stdout] 767845e6c6a3e8450453e707c248215b008e2ef915465640b21323c7609bfc63