[INFO] cloning repository https://github.com/wormtql/yas [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wormtql/yas" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwormtql%2Fyas", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwormtql%2Fyas'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da0ffb5717de8ffa4f8bbec9e8d47e12b60aaf27 [INFO] testing wormtql/yas against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwormtql%2Fyas" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wormtql/yas on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wormtql/yas [INFO] finished tweaking git repo https://github.com/wormtql/yas [INFO] tweaked toml for git repo https://github.com/wormtql/yas written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/wormtql/yas already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", 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] 363322d65dba9124f17f35b1bbb4958a4ce1555c06bc60ee267fd3609e299d39 [INFO] running `Command { std: "docker" "start" "-a" "363322d65dba9124f17f35b1bbb4958a4ce1555c06bc60ee267fd3609e299d39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "363322d65dba9124f17f35b1bbb4958a4ce1555c06bc60ee267fd3609e299d39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "363322d65dba9124f17f35b1bbb4958a4ce1555c06bc60ee267fd3609e299d39", kill_on_drop: false }` [INFO] [stdout] 363322d65dba9124f17f35b1bbb4958a4ce1555c06bc60ee267fd3609e299d39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e501db9ca0468f21702753f301aeaa8d3e001bce991b35bcf4b1f19f27144137 [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" "e501db9ca0468f21702753f301aeaa8d3e001bce991b35bcf4b1f19f27144137", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.2 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling matrixmultiply v0.3.1 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling enigo v0.0.14 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling proc-quote-impl v0.3.2 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling ndarray v0.15.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling which v4.2.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mapr v0.8.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tar v0.4.37 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling prost-build v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling proc-quote v0.3.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling liquid-derive v0.22.0 [INFO] [stderr] Compiling enum-ordinalize v3.1.10 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling prost-derive v0.8.0 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling educe v0.4.18 [INFO] [stderr] Compiling prost v0.8.0 [INFO] [stderr] Compiling prost-types v0.8.0 [INFO] [stderr] Compiling tract-data v0.15.3 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling tract-onnx v0.15.3 [INFO] [stderr] Compiling kstring v1.0.5 [INFO] [stderr] Compiling os_info v3.0.7 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling liquid-core v0.22.0 [INFO] [stderr] Compiling liquid-lib v0.22.0 [INFO] [stderr] Compiling liquid v0.22.0 [INFO] [stderr] Compiling tract-linalg v0.15.3 [INFO] [stderr] Compiling tract-core v0.15.3 [INFO] [stderr] Compiling tract-nnef v0.15.3 [INFO] [stderr] Compiling tract-hir v0.15.3 [INFO] [stderr] Compiling tract-onnx-opl v0.15.3 [INFO] [stderr] Compiling yas v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/common/utils.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/common/utils.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winuser::{FindWindowW, GetClientRect, ClientToScreen, GetAsyncKeyState, VK_RBUTTON}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/common/utils.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::shared::windef::{HWND, RECT as WinRect, POINT as WinPoint}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/common/utils.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::winnt::{SID_IDENTIFIER_AUTHORITY, SECURITY_NT_AUTHORITY, PSID, SECURITY_BUILTIN_DOMAIN_RID, DOMAIN_ALIAS_RID_ADMINS}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/common/utils.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::securitybaseapi::{AllocateAndInitializeSid, CheckTokenMembership, FreeSid}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/common/utils.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::shared::minwindef::BOOL; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/capture/mod.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/capture/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winuser::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/capture/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::shared::windef::{HWND, HDC, RECT, HBITMAP, DPI_AWARENESS_CONTEXT}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/capture/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::shared::ntdef::NULL; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/capture/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::um::wingdi::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/capture/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use winapi::ctypes::{c_void}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/capture/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use winapi::um::winbase::{GlobalAlloc, GHND, GlobalLock}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/capture/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use winapi::shared::windef::DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `self` [INFO] [stdout] --> src/capture/mod.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | use self::winapi::um::wingdi::{GetDeviceCaps, HORZRES}; [INFO] [stdout] | ^^^^^^ could not find `winapi` in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `self` [INFO] [stdout] --> src/capture/mod.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | use self::winapi::shared::windef::DPI_AWARENESS_CONTEXT_SYSTEM_AWARE; [INFO] [stdout] | ^^^^^^ could not find `winapi` in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::capture::capture_absolute` [INFO] [stdout] --> src/common/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::capture::capture_absolute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `capture_absolute` in `capture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/common/utils.rs:24:45 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn find_window(title: String) -> Result { [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[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/common/utils.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let result: HWND = unsafe { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowW` in this scope [INFO] [stdout] --> src/common/utils.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | FindWindowW(null_mut(), wide.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/common/utils.rs:36:40 [INFO] [stdout] | [INFO] [stdout] 36 | unsafe fn get_client_rect_unsafe(hwnd: HWND) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WinRect` in this scope [INFO] [stdout] --> src/common/utils.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | let mut rect: WinRect = WinRect { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WinRect` in this scope [INFO] [stdout] --> src/common/utils.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | let mut rect: WinRect = WinRect { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/common/utils.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | GetClientRect(hwnd, &mut rect); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WinPoint` in this scope [INFO] [stdout] --> src/common/utils.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | let mut point: WinPoint = WinPoint { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WinPoint` in this scope [INFO] [stdout] --> src/common/utils.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | let mut point: WinPoint = WinPoint { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ClientToScreen` in this scope [INFO] [stdout] --> src/common/utils.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | ClientToScreen(hwnd, &mut point as *mut WinPoint); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WinPoint` in this scope [INFO] [stdout] --> src/common/utils.rs:51:45 [INFO] [stdout] | [INFO] [stdout] 51 | ClientToScreen(hwnd, &mut point as *mut WinPoint); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/common/utils.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn get_client_rect(hwnd: HWND) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SID_IDENTIFIER_AUTHORITY` in this scope [INFO] [stdout] --> src/common/utils.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | let mut authority: SID_IDENTIFIER_AUTHORITY = SID_IDENTIFIER_AUTHORITY { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SID_IDENTIFIER_AUTHORITY` in this scope [INFO] [stdout] --> src/common/utils.rs:85:51 [INFO] [stdout] | [INFO] [stdout] 85 | let mut authority: SID_IDENTIFIER_AUTHORITY = SID_IDENTIFIER_AUTHORITY { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SECURITY_NT_AUTHORITY` in this scope [INFO] [stdout] --> src/common/utils.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | Value: SECURITY_NT_AUTHORITY, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PSID` in this scope [INFO] [stdout] --> src/common/utils.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | let mut group: PSID = null_mut(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AllocateAndInitializeSid` in this scope [INFO] [stdout] --> src/common/utils.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | let mut b = AllocateAndInitializeSid( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SID_IDENTIFIER_AUTHORITY` in this scope [INFO] [stdout] --> src/common/utils.rs:90:32 [INFO] [stdout] | [INFO] [stdout] 90 | &mut authority as *mut SID_IDENTIFIER_AUTHORITY, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SECURITY_BUILTIN_DOMAIN_RID` in this scope [INFO] [stdout] --> src/common/utils.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | SECURITY_BUILTIN_DOMAIN_RID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DOMAIN_ALIAS_RID_ADMINS` in this scope [INFO] [stdout] --> src/common/utils.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | DOMAIN_ALIAS_RID_ADMINS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PSID` in this scope [INFO] [stdout] --> src/common/utils.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | &mut group as *mut PSID, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CheckTokenMembership` in this scope [INFO] [stdout] --> src/common/utils.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | let r = CheckTokenMembership(null_mut(), group, &mut b as *mut BOOL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/common/utils.rs:98:72 [INFO] [stdout] | [INFO] [stdout] 98 | let r = CheckTokenMembership(null_mut(), group, &mut b as *mut BOOL); [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FreeSid` in this scope [INFO] [stdout] --> src/common/utils.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | FreeSid(group); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope [INFO] [stdout] --> src/common/utils.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | let state = GetAsyncKeyState(VK_RBUTTON); [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/common/utils.rs:116:38 [INFO] [stdout] | [INFO] [stdout] 116 | let state = GetAsyncKeyState(VK_RBUTTON); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `capture_absolute` in module `capture` [INFO] [stdout] --> src/common/mod.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | let raw_u8 = capture::capture_absolute(&rect).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `capture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `capture_absolute` in module `capture` [INFO] [stdout] --> src/common/mod.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | let raw_u8 = capture::capture_absolute(&rect).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `capture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `capture_absolute_image` in module `capture` [INFO] [stdout] --> src/common/mod.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | capture::capture_absolute_image(&rect) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in `capture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_color` in module `capture` [INFO] [stdout] --> src/scanner/yas_scanner.rs:191:30 [INFO] [stdout] | [INFO] [stdout] 191 | let color = capture::get_color(flag_x as u32, flag_y as u32); [INFO] [stdout] | ^^^^^^^^^ not found in `capture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `capture_absolute` in module `capture` [INFO] [stdout] --> src/scanner/yas_scanner.rs:296:31 [INFO] [stdout] | [INFO] [stdout] 296 | let im = capture::capture_absolute(&rect).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `capture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `capture_absolute` in module `capture` [INFO] [stdout] --> src/scanner/yas_scanner.rs:328:31 [INFO] [stdout] | [INFO] [stdout] 328 | let u8_arr = capture::capture_absolute(&rect)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `capture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_color` in module `capture` [INFO] [stdout] --> src/scanner/yas_scanner.rs:338:30 [INFO] [stdout] | [INFO] [stdout] 338 | let color = capture::get_color( [INFO] [stdout] | ^^^^^^^^^ not found in `capture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/common/utils.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use log::{error, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error` [INFO] [stdout] --> src/capture/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OsStr` [INFO] [stdout] --> src/capture/mod.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ffi::{OsStr}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::once` [INFO] [stdout] --> src/capture/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::once; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::null_mut` [INFO] [stdout] --> src/capture/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ptr::null_mut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `size_of`, `transmute` [INFO] [stdout] --> src/capture/mod.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use std::mem::{size_of, transmute}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::ImageBuffer` [INFO] [stdout] --> src/capture/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use image::ImageBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PixelRectBound`, `PixelRect` [INFO] [stdout] --> src/capture/mod.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | use crate::common::{PixelRect, PixelRectBound}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::color::Color` [INFO] [stdout] --> src/capture/mod.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use crate::common::color::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::imageops::colorops::grayscale` [INFO] [stdout] --> src/inference/pre_process.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use image::imageops::colorops::grayscale; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RgbImage` [INFO] [stdout] --> src/inference/pre_process.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use image::{RgbImage, GrayImage, ImageBuffer}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/inference/inference.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/inference/inference.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tract_onnx::Onnx` [INFO] [stdout] --> src/inference/inference.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tract_onnx::Onnx; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/inference/inference.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::{Result, Value}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::utils` [INFO] [stdout] --> src/inference/inference.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::common::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PixelRect` [INFO] [stdout] --> src/info/info.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::common::{PixelRect, PixelRectBound}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/info/window_info.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Div`, `Mul` [INFO] [stdout] --> src/info/window_info.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Div, Mul}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::stdin` [INFO] [stdout] --> src/scanner/yas_scanner.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::stdin; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/scanner/yas_scanner.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | use log::{info, warn, error, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RawImage` [INFO] [stdout] --> src/scanner/yas_scanner.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::common::{utils, RawImage, PixelRect, RawCaptureImage, PixelRectBound}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/scanner/yas_scanner.rs:571:13 [INFO] [stdout] | [INFO] [stdout] 571 | 'row: for row in start_row..self.row { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/scanner/yas_scanner.rs:573:17 [INFO] [stdout] | [INFO] [stdout] 573 | 'col: for col in 0..c { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/common/utils.rs:20:41 [INFO] [stdout] | [INFO] [stdout] 20 | let wide: Vec = OsStr::new(&s).encode_wide().chain(once(0)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 51 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yas` due to 52 previous errors; 24 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e501db9ca0468f21702753f301aeaa8d3e001bce991b35bcf4b1f19f27144137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e501db9ca0468f21702753f301aeaa8d3e001bce991b35bcf4b1f19f27144137", kill_on_drop: false }` [INFO] [stdout] e501db9ca0468f21702753f301aeaa8d3e001bce991b35bcf4b1f19f27144137