[INFO] cloning repository https://github.com/YOUSOLA/AA [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YOUSOLA/AA" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYOUSOLA%2FAA", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYOUSOLA%2FAA'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 989ad446025bc47d499e0e34a3df95a0ca489dbd [INFO] checking YOUSOLA/AA/989ad446025bc47d499e0e34a3df95a0ca489dbd against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYOUSOLA%2FAA" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/YOUSOLA/AA on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/YOUSOLA/AA [INFO] finished tweaking git repo https://github.com/YOUSOLA/AA [INFO] tweaked toml for git repo https://github.com/YOUSOLA/AA written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/YOUSOLA/AA already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tract-data v0.15.3 [INFO] [stderr] Downloaded tract-onnx-opl v0.15.3 [INFO] [stderr] Downloaded core-graphics v0.18.0 [INFO] [stderr] Downloaded edit-distance v2.1.0 [INFO] [stderr] Downloaded tract-linalg v0.15.3 [INFO] [stderr] Downloaded enum-ordinalize v3.1.10 [INFO] [stderr] Downloaded proc-quote v0.3.2 [INFO] [stderr] Downloaded termcolor v1.1.2 [INFO] [stderr] Downloaded strum_macros v0.24.0 [INFO] [stderr] Downloaded ipnet v2.4.0 [INFO] [stderr] Downloaded scoped_threadpool v0.1.9 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.79 [INFO] [stderr] Downloaded pin-project-lite v0.2.8 [INFO] [stderr] Downloaded gif v0.11.2 [INFO] [stderr] Downloaded h2 v0.3.12 [INFO] [stderr] Downloaded itoa v1.0.1 [INFO] [stderr] Downloaded ntapi v0.3.7 [INFO] [stderr] Downloaded tracing-core v0.1.23 [INFO] [stderr] Downloaded adler32 v1.2.0 [INFO] [stderr] Downloaded enigo v0.0.14 [INFO] [stderr] Downloaded tiff v0.6.1 [INFO] [stderr] Downloaded cc v1.0.70 [INFO] [stderr] Downloaded radium v0.5.3 [INFO] [stderr] Downloaded web-sys v0.3.56 [INFO] [stderr] Downloaded anymap v0.12.1 [INFO] [stderr] Downloaded http v0.2.6 [INFO] [stderr] Downloaded png v0.16.8 [INFO] [stderr] Downloaded mapr v0.8.0 [INFO] [stderr] Downloaded rustversion v1.0.6 [INFO] [stderr] Downloaded bytemuck v1.7.2 [INFO] [stderr] Downloaded weezl v0.1.5 [INFO] [stderr] Downloaded downcast-rs v1.2.0 [INFO] [stderr] Downloaded num-bigint v0.4.2 [INFO] [stderr] Downloaded num-rational v0.3.2 [INFO] [stderr] Downloaded filetime v0.2.15 [INFO] [stderr] Downloaded petgraph v0.5.1 [INFO] [stderr] Downloaded prost v0.8.0 [INFO] [stderr] Downloaded native-tls v0.2.10 [INFO] [stderr] Downloaded libc v0.2.121 [INFO] [stderr] Downloaded syn v1.0.77 [INFO] [stderr] Downloaded jpeg-decoder v0.1.22 [INFO] [stderr] Downloaded image v0.23.14 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.79 [INFO] [stderr] Downloaded tract-hir v0.15.3 [INFO] [stderr] Downloaded sha-1 v0.8.2 [INFO] [stderr] Downloaded hyper v0.14.18 [INFO] [stderr] Downloaded openssl-sys v0.9.72 [INFO] [stderr] Downloaded bumpalo v3.9.1 [INFO] [stderr] Downloaded encoding_rs v0.8.30 [INFO] [stderr] Downloaded semver v1.0.7 [INFO] [stderr] Downloaded prost-derive v0.8.0 [INFO] [stderr] Downloaded liquid v0.22.0 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.79 [INFO] [stderr] Downloaded proc-quote-impl v0.3.2 [INFO] [stderr] Downloaded pest_generator v2.1.3 [INFO] [stderr] Downloaded liquid-core v0.22.0 [INFO] [stderr] Downloaded maplit v1.0.2 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.29 [INFO] [stderr] Downloaded strum v0.24.0 [INFO] [stderr] Downloaded miniz_oxide v0.4.4 [INFO] [stderr] Downloaded tar v0.4.37 [INFO] [stderr] Downloaded tokio v1.17.0 [INFO] [stderr] Downloaded bitvec v0.19.5 [INFO] [stderr] Downloaded nom v6.1.2 [INFO] [stderr] Downloaded ndarray v0.15.3 [INFO] [stderr] Downloaded tract-core v0.15.3 [INFO] [stderr] Downloaded wasm-bindgen v0.2.79 [INFO] [stderr] Downloaded reqwest v0.11.10 [INFO] [stderr] Downloaded serde_json v1.0.68 [INFO] [stderr] Downloaded heck v0.4.0 [INFO] [stderr] Downloaded flate2 v1.0.22 [INFO] [stderr] Downloaded liquid-derive v0.22.0 [INFO] [stderr] Downloaded educe v0.4.18 [INFO] [stderr] Downloaded matrixmultiply v0.3.1 [INFO] [stderr] Downloaded tinyvec v1.5.0 [INFO] [stderr] Downloaded tract-nnef v0.15.3 [INFO] [stderr] Downloaded tract-onnx v0.15.3 [INFO] [stderr] Downloaded deflate v0.8.6 [INFO] [stderr] Downloaded miniz_oxide v0.3.7 [INFO] [stderr] Downloaded os_info v3.0.7 [INFO] [stderr] Downloaded httparse v1.6.0 [INFO] [stderr] Downloaded tracing v0.1.32 [INFO] [stderr] Downloaded security-framework v2.6.1 [INFO] [stderr] Downloaded mio v0.8.2 [INFO] [stderr] Downloaded js-sys v0.3.56 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.79 [INFO] [stderr] Downloaded crc32fast v1.2.1 [INFO] [stderr] Downloaded derive-new v0.5.9 [INFO] [stderr] Downloaded liquid-lib v0.22.0 [INFO] [stderr] Downloaded anyhow v1.0.44 [INFO] [stderr] Downloaded half v1.7.1 [INFO] [stderr] Downloaded bit-set v0.5.2 [INFO] [stderr] Downloaded pest_meta v2.1.3 [INFO] [stderr] Downloaded prost-types v0.8.0 [INFO] [stderr] Downloaded dyn-clone v1.0.4 [INFO] [stderr] Downloaded pkg-config v0.3.20 [INFO] [stderr] Downloaded kstring v1.0.5 [INFO] [stderr] Downloaded fixedbitset v0.2.0 [INFO] [stderr] Downloaded xattr v0.2.2 [INFO] [stderr] Downloaded paste v1.0.5 [INFO] [stderr] Downloaded pest_derive v2.1.0 [INFO] [stderr] Downloaded prost-build v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d8b8c238d4a02d0a6efeb7df6d4526cb9d083a2bd8de998f42b7085f38661d7 [INFO] running `Command { std: "docker" "start" "-a" "1d8b8c238d4a02d0a6efeb7df6d4526cb9d083a2bd8de998f42b7085f38661d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d8b8c238d4a02d0a6efeb7df6d4526cb9d083a2bd8de998f42b7085f38661d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d8b8c238d4a02d0a6efeb7df6d4526cb9d083a2bd8de998f42b7085f38661d7", kill_on_drop: false }` [INFO] [stdout] 1d8b8c238d4a02d0a6efeb7df6d4526cb9d083a2bd8de998f42b7085f38661d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 236dbcf80dd63d7a4fe970b554c22a62b771655d8ae56cbf9b58f8b7c9c06b06 [INFO] running `Command { std: "docker" "start" "-a" "236dbcf80dd63d7a4fe970b554c22a62b771655d8ae56cbf9b58f8b7c9c06b06", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-bigint v0.4.2 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling proc-quote-impl v0.3.2 [INFO] [stderr] Checking matrixmultiply v0.3.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Checking ndarray v0.15.3 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Compiling which v4.2.2 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling prost-build v0.8.0 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking tracing-core v0.1.23 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Checking tracing v0.1.32 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tar v0.4.37 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling enigo v0.0.14 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling semver v1.0.7 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling proc-quote v0.3.2 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking mapr v0.8.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking ipnet v2.4.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking strum v0.24.0 [INFO] [stderr] Checking edit-distance v2.1.0 [INFO] [stderr] Checking h2 v0.3.12 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Compiling liquid-derive v0.22.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling enum-ordinalize v3.1.10 [INFO] [stderr] Compiling prost-derive v0.8.0 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling strum_macros v0.24.0 [INFO] [stderr] Compiling educe v0.4.18 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling prost v0.8.0 [INFO] [stderr] Compiling prost-types v0.8.0 [INFO] [stderr] Checking tract-data v0.15.3 [INFO] [stderr] Checking hyper v0.14.18 [INFO] [stderr] Compiling tract-onnx v0.15.3 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking os_info v3.0.7 [INFO] [stderr] Compiling kstring v1.0.5 [INFO] [stderr] Compiling liquid-core v0.22.0 [INFO] [stderr] Checking reqwest v0.11.10 [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] Checking tract-core v0.15.3 [INFO] [stderr] Checking tract-nnef v0.15.3 [INFO] [stderr] Checking tract-hir v0.15.3 [INFO] [stderr] Checking tract-onnx-opl v0.15.3 [INFO] [stderr] Checking yas v0.1.8 (/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] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:100:1 [INFO] [stdout] [INFO] [stdout] [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] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:100:1 [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::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:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | 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:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | 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:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | 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:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | 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:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | 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:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | 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:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | 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: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/common/utils.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | 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:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | 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] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:100:1 [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: 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] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:100:1 [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: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: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: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: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: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: 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] note: found an item that was configured out [INFO] [stdout] --> src/capture/mod.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(windows)] extern crate winapi; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/capture/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(windows)] extern crate winapi; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] note: found an item that was configured out [INFO] [stdout] --> src/capture/mod.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(windows)] extern crate winapi; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/capture/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(windows)] extern crate winapi; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] note: found an item that was configured out [INFO] [stdout] --> src/capture/mod.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(windows)] extern crate winapi; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/capture/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(windows)] extern crate winapi; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] note: found an item that was configured out [INFO] [stdout] --> src/capture/mod.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(windows)] extern crate winapi; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/capture/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(windows)] extern crate winapi; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] note: found an item that was configured out [INFO] [stdout] --> src/capture/mod.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn capture_absolute(rect: &PixelRect) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/capture/mod.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | #[cfg(windows)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] note: found an item that was configured out [INFO] [stdout] --> src/capture/mod.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn capture_absolute(rect: &PixelRect) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/capture/mod.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | #[cfg(windows)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] note: found an item that was configured out [INFO] [stdout] --> src/capture/mod.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn capture_absolute(rect: &PixelRect) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/capture/mod.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | #[cfg(windows)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] note: found an item that was configured out [INFO] [stdout] --> src/capture/mod.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn capture_absolute(rect: &PixelRect) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/capture/mod.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | #[cfg(windows)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] note: found an item that was configured out [INFO] [stdout] --> src/capture/mod.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn capture_absolute(rect: &PixelRect) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/capture/mod.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | #[cfg(windows)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] note: found an item that was configured out [INFO] [stdout] --> src/capture/mod.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn capture_absolute_image(rect: &PixelRect) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/capture/mod.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | #[cfg(windows)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] note: found an item that was configured out [INFO] [stdout] --> src/capture/mod.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn capture_absolute(rect: &PixelRect) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/capture/mod.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | #[cfg(windows)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_color` in module `capture` [INFO] [stdout] --> src/scanner/yas_scanner.rs:192:30 [INFO] [stdout] | [INFO] [stdout] 192 | let color = capture::get_color(flag_x as u32, flag_y as u32); [INFO] [stdout] | ^^^^^^^^^ not found in `capture` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/capture/mod.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn get_color(x: u32, y: u32) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/capture/mod.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | #[cfg(windows)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `capture_absolute` in module `capture` [INFO] [stdout] --> src/scanner/yas_scanner.rs:300:31 [INFO] [stdout] | [INFO] [stdout] 300 | let im = capture::capture_absolute(&rect).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `capture` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/capture/mod.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn capture_absolute(rect: &PixelRect) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/capture/mod.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | #[cfg(windows)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] note: found an item that was configured out [INFO] [stdout] --> src/capture/mod.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn capture_absolute_image(rect: &PixelRect) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/capture/mod.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | #[cfg(windows)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_color` in module `capture` [INFO] [stdout] --> src/scanner/yas_scanner.rs:192:30 [INFO] [stdout] | [INFO] [stdout] 192 | let color = capture::get_color(flag_x as u32, flag_y as u32); [INFO] [stdout] | ^^^^^^^^^ not found in `capture` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/capture/mod.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn get_color(x: u32, y: u32) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/capture/mod.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | #[cfg(windows)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `capture_absolute` in module `capture` [INFO] [stdout] --> src/scanner/yas_scanner.rs:345:31 [INFO] [stdout] | [INFO] [stdout] 345 | let u8_arr = capture::capture_absolute(&rect)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `capture` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/capture/mod.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn capture_absolute(rect: &PixelRect) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/capture/mod.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | #[cfg(windows)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_color` in module `capture` [INFO] [stdout] --> src/scanner/yas_scanner.rs:355:30 [INFO] [stdout] | [INFO] [stdout] 355 | let color = capture::get_color( [INFO] [stdout] | ^^^^^^^^^ not found in `capture` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/capture/mod.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn get_color(x: u32, y: u32) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/capture/mod.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | #[cfg(windows)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `capture_absolute` in module `capture` [INFO] [stdout] --> src/scanner/yas_scanner.rs:300:31 [INFO] [stdout] | [INFO] [stdout] 300 | let im = capture::capture_absolute(&rect).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `capture` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/capture/mod.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn capture_absolute(rect: &PixelRect) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/capture/mod.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | #[cfg(windows)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `capture_absolute` in module `capture` [INFO] [stdout] --> src/scanner/yas_scanner.rs:345:31 [INFO] [stdout] | [INFO] [stdout] 345 | let u8_arr = capture::capture_absolute(&rect)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `capture` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/capture/mod.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn capture_absolute(rect: &PixelRect) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/capture/mod.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | #[cfg(windows)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_color` in module `capture` [INFO] [stdout] --> src/scanner/yas_scanner.rs:355:30 [INFO] [stdout] | [INFO] [stdout] 355 | let color = capture::get_color( [INFO] [stdout] | ^^^^^^^^^ not found in `capture` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/capture/mod.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn get_color(x: u32, y: u32) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/capture/mod.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | #[cfg(windows)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/common/utils.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | 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: `reqwest::ClientBuilder` [INFO] [stdout] --> src/common/utils.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use reqwest::ClientBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HeaderMap` [INFO] [stdout] --> src/common/utils.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | use reqwest::header::{HeaderMap, HeaderValue, USER_AGENT}; [INFO] [stdout] | ^^^^^^^^^ [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` and `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: `info` [INFO] [stdout] --> src/common/utils.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | 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: `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 import: `reqwest::ClientBuilder` [INFO] [stdout] --> src/common/utils.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use reqwest::ClientBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PixelRectBound` and `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: `HeaderMap` [INFO] [stdout] --> src/common/utils.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | use reqwest::header::{HeaderMap, HeaderValue, USER_AGENT}; [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: `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: `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::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::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: `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 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 imports: `size_of` and `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: `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: `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 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 imports: `PixelRectBound` and `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: `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: `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: `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 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 imports: `Div` and `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: `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::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: `rand::Rng` [INFO] [stdout] --> src/scanner/yas_scanner.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::Rng; [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: `RawImage` [INFO] [stdout] --> src/scanner/yas_scanner.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::common::{utils, RawImage, PixelRect, RawCaptureImage, PixelRectBound}; [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 label [INFO] [stdout] --> src/scanner/yas_scanner.rs:588:13 [INFO] [stdout] | [INFO] [stdout] 588 | '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 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 label [INFO] [stdout] --> src/scanner/yas_scanner.rs:590:17 [INFO] [stdout] | [INFO] [stdout] 590 | 'col: for col in 0..c { [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: elided lifetime has a name [INFO] [stdout] --> src/expo/mingyu_lab.rs:142:55 [INFO] [stdout] | [INFO] [stdout] 141 | impl<'a> MingyuLabFormat<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 142 | pub fn new(results: &'a Vec) -> MingyuLabFormat { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [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` and `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: `rand::Rng` [INFO] [stdout] --> src/scanner/yas_scanner.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RawImage` [INFO] [stdout] --> src/scanner/yas_scanner.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | 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:588:13 [INFO] [stdout] | [INFO] [stdout] 588 | '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:590:17 [INFO] [stdout] | [INFO] [stdout] 590 | 'col: for col in 0..c { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/expo/mingyu_lab.rs:142:55 [INFO] [stdout] | [INFO] [stdout] 141 | impl<'a> MingyuLabFormat<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 142 | pub fn new(results: &'a Vec) -> MingyuLabFormat { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [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:25:41 [INFO] [stdout] | [INFO] [stdout] 25 | 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[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/common/utils.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 25 | 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] warning: unused variable: `name` [INFO] [stdout] --> src/inference/inference.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(name: String, dict_name: String) -> CRNNModel { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dict_name` [INFO] [stdout] --> src/inference/inference.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(name: String, dict_name: String) -> CRNNModel { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dict_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/inference/inference.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(name: String, dict_name: String) -> CRNNModel { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dict_name` [INFO] [stdout] --> src/inference/inference.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(name: String, dict_name: String) -> CRNNModel { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dict_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/inference/inference.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut bytes = include_bytes!("../../models/model_acc100-epoch15.onnx"); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/inference/inference.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut bytes = include_bytes!("../../models/model_acc100-epoch15.onnx"); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scanner/yas_scanner.rs:458:17 [INFO] [stdout] | [INFO] [stdout] 458 | let mut model = CRNNModel::new( [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scanner/yas_scanner.rs:458:17 [INFO] [stdout] | [INFO] [stdout] 458 | let mut model = CRNNModel::new( [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scanner/yas_scanner.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | let mut count = match self.get_art_count() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scanner/yas_scanner.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | let mut count = match self.get_art_count() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors; 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors; 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yas` (lib) due to 26 previous errors; 33 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `yas` (lib test) due to 26 previous errors; 33 warnings emitted [INFO] running `Command { std: "docker" "inspect" "236dbcf80dd63d7a4fe970b554c22a62b771655d8ae56cbf9b58f8b7c9c06b06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "236dbcf80dd63d7a4fe970b554c22a62b771655d8ae56cbf9b58f8b7c9c06b06", kill_on_drop: false }` [INFO] [stdout] 236dbcf80dd63d7a4fe970b554c22a62b771655d8ae56cbf9b58f8b7c9c06b06