[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#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKolsky%2Fsilent_shot" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kolsky/silent_shot on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-6/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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 miniz_oxide v0.4.1 [INFO] [stderr] Downloaded crossbeam-channel v0.4.3 [INFO] [stderr] Downloaded ron v0.6.1 [INFO] [stderr] Downloaded bytemuck v1.4.0 [INFO] [stderr] Downloaded widestring v0.2.2 [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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27aa429c37a5754a48442bde231a04876ca63be88c408dfe9988a1e6ea6d4650 [INFO] running `Command { std: "docker" "start" "-a" "27aa429c37a5754a48442bde231a04876ca63be88c408dfe9988a1e6ea6d4650", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27aa429c37a5754a48442bde231a04876ca63be88c408dfe9988a1e6ea6d4650", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27aa429c37a5754a48442bde231a04876ca63be88c408dfe9988a1e6ea6d4650", kill_on_drop: false }` [INFO] [stdout] 27aa429c37a5754a48442bde231a04876ca63be88c408dfe9988a1e6ea6d4650 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f291249b246ec4e4b72872cce6701a45f5d64bcf3448fa614e64268d5f9ecbb0 [INFO] running `Command { std: "docker" "start" "-a" "f291249b246ec4e4b72872cce6701a45f5d64bcf3448fa614e64268d5f9ecbb0", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] winapi v0.3.9: synchapi [INFO] [stderr] [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling rayon-core v1.8.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking either v1.6.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking bytemuck v1.4.0 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking widestring v0.2.2 [INFO] [stderr] Checking miniz_oxide v0.4.1 [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-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Checking wio v0.2.2 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking dxgcap v0.2.3 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking crossbeam-channel v0.4.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Compiling failure_derive v0.1.8 [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 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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` due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "f291249b246ec4e4b72872cce6701a45f5d64bcf3448fa614e64268d5f9ecbb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f291249b246ec4e4b72872cce6701a45f5d64bcf3448fa614e64268d5f9ecbb0", kill_on_drop: false }` [INFO] [stdout] f291249b246ec4e4b72872cce6701a45f5d64bcf3448fa614e64268d5f9ecbb0