[INFO] fetching crate dhc 0.2.1... [INFO] checking dhc-0.2.1 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate dhc 0.2.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate dhc 0.2.1 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dhc 0.2.1 [INFO] finished tweaking crates.io crate dhc 0.2.1 [INFO] tweaked toml for crates.io crate dhc 0.2.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 99 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding crossbeam v0.2.12 (latest: v0.8.4) [INFO] [stderr] Adding lock_api v0.3.4 (latest: v0.4.12) [INFO] [stderr] Adding log v0.3.9 (latest: v0.4.21) [INFO] [stderr] Adding parking_lot v0.9.0 (latest: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.6.3 (latest: v0.9.10) [INFO] [stderr] Adding redox_syscall v0.1.57 (latest: v0.5.1) [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.0) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding slog v1.7.1 (latest: v2.7.0) [INFO] [stderr] Adding slog-stdlog v3.0.5 (latest: v4.1.1) [INFO] [stderr] Adding smallvec v0.6.14 (latest: v1.13.2) [INFO] [stderr] Adding thread_local v0.3.6 (latest: v1.1.8) [INFO] [stderr] Adding toml v0.5.11 (latest: v0.8.13) [INFO] [stderr] Adding triple_buffer v5.0.6 (latest: v7.0.0) [INFO] [stderr] Adding vergen v3.2.0 (latest: v8.3.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.56.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vergen v3.2.0 [INFO] [stderr] Downloaded slog-stream v1.2.1 [INFO] [stderr] Downloaded cache-padded v1.3.0 [INFO] [stderr] Downloaded slog v1.7.1 [INFO] [stderr] Downloaded unchecked-index v0.2.2 [INFO] [stderr] Downloaded log-panics v2.1.0 [INFO] [stderr] Downloaded triple_buffer v5.0.6 [INFO] [stderr] Downloaded slog-extra v0.1.2 [INFO] [stderr] Downloaded twoway v0.2.2 [INFO] [stderr] Downloaded hwndloop v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3c3f3488b2c068f485909cc087ff166f1ace9235fa0324dbdeb8c9b88740e78 [INFO] running `Command { std: "docker" "start" "-a" "f3c3f3488b2c068f485909cc087ff166f1ace9235fa0324dbdeb8c9b88740e78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3c3f3488b2c068f485909cc087ff166f1ace9235fa0324dbdeb8c9b88740e78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3c3f3488b2c068f485909cc087ff166f1ace9235fa0324dbdeb8c9b88740e78", kill_on_drop: false }` [INFO] [stdout] f3c3f3488b2c068f485909cc087ff166f1ace9235fa0324dbdeb8c9b88740e78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83f888575ce084c46cf498d94bcbf5be83190fc4a8499b991dcdc6113ba00be5 [INFO] running `Command { std: "docker" "start" "-a" "83f888575ce084c46cf498d94bcbf5be83190fc4a8499b991dcdc6113ba00be5", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking slog v1.7.1 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking slog-scope v4.4.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking slog-extra v0.1.2 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking cache-padded v1.3.0 [INFO] [stderr] Checking crossbeam v0.2.12 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking triple_buffer v5.0.6 [INFO] [stderr] Checking hwndloop v0.1.5 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Checking slog-stream v1.2.1 [INFO] [stderr] Checking rusty-xinput v1.3.0 [INFO] [stderr] Checking log-panics v2.1.0 [INFO] [stderr] Checking slog-stdlog v3.0.5 [INFO] [stderr] Checking twoway v0.2.2 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling vergen v3.2.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Checking slog-term v2.9.1 [INFO] [stderr] Compiling dhc v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde v1.0.203 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::minwindef::MAX_PATH; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::libloaderapi::{GetModuleFileNameW, GetModuleHandleW}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/logger.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::consoleapi::AllocConsole; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/input/mod.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::minwindef::{LPARAM, LRESULT, UINT, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/input/mod.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::ntdef::HANDLE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/input/mod.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/input/mod.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::processthreadsapi::{GetCurrentThread, SetThreadPriority}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/input/mod.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winbase::THREAD_PRIORITY_HIGHEST; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/input/mod.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/input/hid.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::hidpi::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/input/hid.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::hidpi::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/input/hid.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::shared::hidpi::{HIDP_CAPS, HIDP_LINK_COLLECTION_NODE, HIDP_VALUE_CAPS, PHIDP_PREPARSED_DATA}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/input/hid.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::shared::hidsdi::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/input/hid.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::shared::minwindef::UINT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/input/hid.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::shared::ntdef::{HANDLE, NTSTATUS}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/input/hid.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::um::fileapi::{CreateFileA, OPEN_EXISTING}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/input/hid.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/input/hid.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::um::handleapi::INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/input/hid.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::um::winnt::{FILE_SHARE_READ, FILE_SHARE_WRITE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/input/hid.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/input/xinput.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::minwindef::MAX_PATH; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/input/xinput.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::sysinfoapi::GetSystemDirectoryW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::minwindef::MAX_PATH; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::libloaderapi::{GetModuleFileNameW, GetModuleHandleW}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/logger.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::consoleapi::AllocConsole; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/input/mod.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::minwindef::{LPARAM, LRESULT, UINT, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/input/mod.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::ntdef::HANDLE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/input/mod.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/input/mod.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::processthreadsapi::{GetCurrentThread, SetThreadPriority}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/input/mod.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winbase::THREAD_PRIORITY_HIGHEST; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/input/mod.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/input/hid.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::hidpi::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/input/hid.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::hidpi::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/input/hid.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::shared::hidpi::{HIDP_CAPS, HIDP_LINK_COLLECTION_NODE, HIDP_VALUE_CAPS, PHIDP_PREPARSED_DATA}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/input/hid.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::shared::hidsdi::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/input/hid.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::shared::minwindef::UINT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/input/hid.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::shared::ntdef::{HANDLE, NTSTATUS}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/input/hid.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::um::fileapi::{CreateFileA, OPEN_EXISTING}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/input/hid.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/input/hid.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::um::handleapi::INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/input/hid.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::um::winnt::{FILE_SHARE_READ, FILE_SHARE_WRITE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/input/hid.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/input/xinput.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::minwindef::MAX_PATH; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/input/xinput.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::sysinfoapi::GetSystemDirectoryW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rusty_xinput::XInputHandle` [INFO] [stdout] --> src/input/xinput.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rusty_xinput::XInputHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `XInputHandle` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rusty_xinput::XInputHandle` [INFO] [stdout] --> src/input/xinput.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rusty_xinput::XInputHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `XInputHandle` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope [INFO] [stdout] --> src/input/hid.rs:366:44 [INFO] [stdout] | [INFO] [stdout] 366 | RIDI_DEVICEINFO => std::mem::size_of::(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 364 | fn get_rawinput_device_info_impl(device_id: RawInputDeviceId, cmd: UINT) -> Vec { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIDI_DEVICENAME` in this scope [INFO] [stdout] --> src/input/hid.rs:385:61 [INFO] [stdout] | [INFO] [stdout] 385 | let mut result = get_rawinput_device_info_impl(device_id, RIDI_DEVICENAME); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope [INFO] [stdout] --> src/input/hid.rs:396:61 [INFO] [stdout] | [INFO] [stdout] 396 | fn get_rawinput_device_info(device_id: RawInputDeviceId) -> RID_DEVICE_INFO { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIDI_DEVICEINFO` in this scope [INFO] [stdout] --> src/input/hid.rs:397:56 [INFO] [stdout] | [INFO] [stdout] 397 | let bytes = get_rawinput_device_info_impl(device_id, RIDI_DEVICEINFO); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope [INFO] [stdout] --> src/input/hid.rs:400:55 [INFO] [stdout] | [INFO] [stdout] 400 | std::ptr::read_unaligned(bytes.as_ptr() as *const RID_DEVICE_INFO) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIM_TYPEHID` in this scope [INFO] [stdout] --> src/input/hid.rs:538:14 [INFO] [stdout] | [INFO] [stdout] 538 | assert_eq!(RIM_TYPEHID, info.dwType); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWHID` in this scope [INFO] [stdout] --> src/input/mod.rs:125:38 [INFO] [stdout] | [INFO] [stdout] 125 | fn handle_input(&mut self, input: &RAWHID) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `HwndLoopCallbacks` in this scope [INFO] [stdout] --> src/input/mod.rs:148:6 [INFO] [stdout] | [INFO] [stdout] 148 | impl HwndLoopCallbacks for RawInputManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_INPUT` in this scope [INFO] [stdout] --> src/input/mod.rs:154:15 [INFO] [stdout] | [INFO] [stdout] 154 | if msg == WM_INPUT { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRAWINPUT` in this scope [INFO] [stdout] --> src/input/mod.rs:155:43 [INFO] [stdout] | [INFO] [stdout] 155 | self.handle_device_input(hwnd, l as HRAWINPUT); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_INPUT_DEVICE_CHANGE` in this scope [INFO] [stdout] --> src/input/mod.rs:156:22 [INFO] [stdout] | [INFO] [stdout] 156 | } else if msg == WM_INPUT_DEVICE_CHANGE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GIDC_ARRIVAL` in this scope [INFO] [stdout] --> src/input/mod.rs:158:15 [INFO] [stdout] | [INFO] [stdout] 158 | if w == GIDC_ARRIVAL as usize { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GIDC_REMOVAL` in this scope [INFO] [stdout] --> src/input/mod.rs:160:22 [INFO] [stdout] | [INFO] [stdout] 160 | } else if w == GIDC_REMOVAL as usize { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RAWINPUTDEVICE` in this scope [INFO] [stdout] --> src/input/mod.rs:203:15 [INFO] [stdout] | [INFO] [stdout] 203 | let rid = RAWINPUTDEVICE { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIDEV_INPUTSINK` in this scope [INFO] [stdout] --> src/input/mod.rs:206:16 [INFO] [stdout] | [INFO] [stdout] 206 | dwFlags: RIDEV_INPUTSINK | RIDEV_DEVNOTIFY, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIDEV_DEVNOTIFY` in this scope [INFO] [stdout] --> src/input/mod.rs:206:34 [INFO] [stdout] | [INFO] [stdout] 206 | dwFlags: RIDEV_INPUTSINK | RIDEV_DEVNOTIFY, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUTDEVICE` in this scope [INFO] [stdout] --> src/input/mod.rs:209:80 [INFO] [stdout] | [INFO] [stdout] 209 | let result = unsafe { RegisterRawInputDevices(&rid, 1, std::mem::size_of::() as UINT) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 192 | impl RawInputManager { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RAWINPUTDEVICE` in this scope [INFO] [stdout] --> src/input/mod.rs:220:15 [INFO] [stdout] | [INFO] [stdout] 220 | let rid = RAWINPUTDEVICE { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIDEV_REMOVE` in this scope [INFO] [stdout] --> src/input/mod.rs:223:16 [INFO] [stdout] | [INFO] [stdout] 223 | dwFlags: RIDEV_REMOVE, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUTDEVICE` in this scope [INFO] [stdout] --> src/input/mod.rs:226:80 [INFO] [stdout] | [INFO] [stdout] 226 | let result = unsafe { RegisterRawInputDevices(&rid, 1, std::mem::size_of::() as UINT) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 192 | impl RawInputManager { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope [INFO] [stdout] --> src/input/hid.rs:366:44 [INFO] [stdout] | [INFO] [stdout] 366 | RIDI_DEVICEINFO => std::mem::size_of::(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 364 | fn get_rawinput_device_info_impl(device_id: RawInputDeviceId, cmd: UINT) -> Vec { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRAWINPUT` in this scope [INFO] [stdout] --> src/input/mod.rs:243:61 [INFO] [stdout] | [INFO] [stdout] 243 | fn handle_device_input(&mut self, _hwnd: HWND, hrawinput: HRAWINPUT) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIDI_DEVICENAME` in this scope [INFO] [stdout] --> src/input/hid.rs:385:61 [INFO] [stdout] | [INFO] [stdout] 385 | let mut result = get_rawinput_device_info_impl(device_id, RIDI_DEVICENAME); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RID_INPUT` in this scope [INFO] [stdout] --> src/input/mod.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | RID_INPUT, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope [INFO] [stdout] --> src/input/hid.rs:396:61 [INFO] [stdout] | [INFO] [stdout] 396 | fn get_rawinput_device_info(device_id: RawInputDeviceId) -> RID_DEVICE_INFO { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUTHEADER` in this scope [INFO] [stdout] --> src/input/mod.rs:253:29 [INFO] [stdout] | [INFO] [stdout] 253 | std::mem::size_of::() as UINT, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 192 | impl RawInputManager { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIDI_DEVICEINFO` in this scope [INFO] [stdout] --> src/input/hid.rs:397:56 [INFO] [stdout] | [INFO] [stdout] 397 | let bytes = get_rawinput_device_info_impl(device_id, RIDI_DEVICEINFO); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUT` in this scope [INFO] [stdout] --> src/input/mod.rs:262:73 [INFO] [stdout] | [INFO] [stdout] 262 | let rawinput = unsafe { *(&buffer as *const AlignedBuffer as *const RAWINPUT) }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope [INFO] [stdout] --> src/input/hid.rs:400:55 [INFO] [stdout] | [INFO] [stdout] 400 | std::ptr::read_unaligned(bytes.as_ptr() as *const RID_DEVICE_INFO) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIM_TYPEHID` in this scope [INFO] [stdout] --> src/input/hid.rs:538:14 [INFO] [stdout] | [INFO] [stdout] 538 | assert_eq!(RIM_TYPEHID, info.dwType); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIM_TYPEHID` in this scope [INFO] [stdout] --> src/input/mod.rs:270:16 [INFO] [stdout] | [INFO] [stdout] 270 | assert_eq!(RIM_TYPEHID, rawinput.header.dwType); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWHID` in this scope [INFO] [stdout] --> src/input/mod.rs:125:38 [INFO] [stdout] | [INFO] [stdout] 125 | fn handle_input(&mut self, input: &RAWHID) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HwndLoop` in this scope [INFO] [stdout] --> src/input/mod.rs:390:14 [INFO] [stdout] | [INFO] [stdout] 390 | eventloop: HwndLoop, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `HwndLoopCallbacks` in this scope [INFO] [stdout] --> src/input/mod.rs:148:6 [INFO] [stdout] | [INFO] [stdout] 148 | impl HwndLoopCallbacks for RawInputManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_INPUT` in this scope [INFO] [stdout] --> src/input/mod.rs:154:15 [INFO] [stdout] | [INFO] [stdout] 154 | if msg == WM_INPUT { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRAWINPUT` in this scope [INFO] [stdout] --> src/input/mod.rs:155:43 [INFO] [stdout] | [INFO] [stdout] 155 | self.handle_device_input(hwnd, l as HRAWINPUT); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_INPUT_DEVICE_CHANGE` in this scope [INFO] [stdout] --> src/input/mod.rs:156:22 [INFO] [stdout] | [INFO] [stdout] 156 | } else if msg == WM_INPUT_DEVICE_CHANGE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GIDC_ARRIVAL` in this scope [INFO] [stdout] --> src/input/mod.rs:158:15 [INFO] [stdout] | [INFO] [stdout] 158 | if w == GIDC_ARRIVAL as usize { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GIDC_REMOVAL` in this scope [INFO] [stdout] --> src/input/mod.rs:160:22 [INFO] [stdout] | [INFO] [stdout] 160 | } else if w == GIDC_REMOVAL as usize { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RAWINPUTDEVICE` in this scope [INFO] [stdout] --> src/input/mod.rs:203:15 [INFO] [stdout] | [INFO] [stdout] 203 | let rid = RAWINPUTDEVICE { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIDEV_INPUTSINK` in this scope [INFO] [stdout] --> src/input/mod.rs:206:16 [INFO] [stdout] | [INFO] [stdout] 206 | dwFlags: RIDEV_INPUTSINK | RIDEV_DEVNOTIFY, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIDEV_DEVNOTIFY` in this scope [INFO] [stdout] --> src/input/mod.rs:206:34 [INFO] [stdout] | [INFO] [stdout] 206 | dwFlags: RIDEV_INPUTSINK | RIDEV_DEVNOTIFY, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUTDEVICE` in this scope [INFO] [stdout] --> src/input/mod.rs:209:80 [INFO] [stdout] | [INFO] [stdout] 209 | let result = unsafe { RegisterRawInputDevices(&rid, 1, std::mem::size_of::() as UINT) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 192 | impl RawInputManager { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RAWINPUTDEVICE` in this scope [INFO] [stdout] --> src/input/mod.rs:220:15 [INFO] [stdout] | [INFO] [stdout] 220 | let rid = RAWINPUTDEVICE { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIDEV_REMOVE` in this scope [INFO] [stdout] --> src/input/mod.rs:223:16 [INFO] [stdout] | [INFO] [stdout] 223 | dwFlags: RIDEV_REMOVE, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUTDEVICE` in this scope [INFO] [stdout] --> src/input/mod.rs:226:80 [INFO] [stdout] | [INFO] [stdout] 226 | let result = unsafe { RegisterRawInputDevices(&rid, 1, std::mem::size_of::() as UINT) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 192 | impl RawInputManager { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRAWINPUT` in this scope [INFO] [stdout] --> src/input/mod.rs:243:61 [INFO] [stdout] | [INFO] [stdout] 243 | fn handle_device_input(&mut self, _hwnd: HWND, hrawinput: HRAWINPUT) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RID_INPUT` in this scope [INFO] [stdout] --> src/input/mod.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | RID_INPUT, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUTHEADER` in this scope [INFO] [stdout] --> src/input/mod.rs:253:29 [INFO] [stdout] | [INFO] [stdout] 253 | std::mem::size_of::() as UINT, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 192 | impl RawInputManager { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUT` in this scope [INFO] [stdout] --> src/input/mod.rs:262:73 [INFO] [stdout] | [INFO] [stdout] 262 | let rawinput = unsafe { *(&buffer as *const AlignedBuffer as *const RAWINPUT) }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIM_TYPEHID` in this scope [INFO] [stdout] --> src/input/mod.rs:270:16 [INFO] [stdout] | [INFO] [stdout] 270 | assert_eq!(RIM_TYPEHID, rawinput.header.dwType); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HwndLoop` in this scope [INFO] [stdout] --> src/input/mod.rs:390:14 [INFO] [stdout] | [INFO] [stdout] 390 | eventloop: HwndLoop, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HwndLoop` [INFO] [stdout] --> src/input/mod.rs:400:18 [INFO] [stdout] | [INFO] [stdout] 400 | eventloop: HwndLoop::new(Box::new(manager)), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `HwndLoop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputDeviceInfoA` in this scope [INFO] [stdout] --> src/input/hid.rs:369:25 [INFO] [stdout] | [INFO] [stdout] 369 | let rc = unsafe { GetRawInputDeviceInfoA(device_id.as_handle(), cmd, std::ptr::null_mut(), &mut received_size) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `RawInputDeviceId` [INFO] [stdout] | [INFO] [stdout] ::: src/input/mod.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct RawInputDeviceId(pub u64); [INFO] [stdout] | ------------------------------------- similarly named tuple struct `RawInputDeviceId` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputDeviceInfoA` in this scope [INFO] [stdout] --> src/input/hid.rs:378:21 [INFO] [stdout] | [INFO] [stdout] 378 | let rc = unsafe { GetRawInputDeviceInfoA(device_id.as_handle(), cmd, ptr, &mut dummy) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `RawInputDeviceId` [INFO] [stdout] | [INFO] [stdout] ::: src/input/mod.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct RawInputDeviceId(pub u64); [INFO] [stdout] | ------------------------------------- similarly named tuple struct `RawInputDeviceId` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcA` in this scope [INFO] [stdout] --> src/input/mod.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | unsafe { DefWindowProcA(hwnd, msg, w, l) } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterRawInputDevices` in this scope [INFO] [stdout] --> src/input/mod.rs:209:27 [INFO] [stdout] | [INFO] [stdout] 209 | let result = unsafe { RegisterRawInputDevices(&rid, 1, std::mem::size_of::() as UINT) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterRawInputDevices` in this scope [INFO] [stdout] --> src/input/mod.rs:226:27 [INFO] [stdout] | [INFO] [stdout] 226 | let result = unsafe { RegisterRawInputDevices(&rid, 1, std::mem::size_of::() as UINT) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputData` in this scope [INFO] [stdout] --> src/input/mod.rs:248:7 [INFO] [stdout] | [INFO] [stdout] 248 | GetRawInputData( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 56 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HwndLoop` [INFO] [stdout] --> src/input/mod.rs:400:18 [INFO] [stdout] | [INFO] [stdout] 400 | eventloop: HwndLoop::new(Box::new(manager)), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `HwndLoop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputDeviceInfoA` in this scope [INFO] [stdout] --> src/input/hid.rs:369:25 [INFO] [stdout] | [INFO] [stdout] 369 | let rc = unsafe { GetRawInputDeviceInfoA(device_id.as_handle(), cmd, std::ptr::null_mut(), &mut received_size) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `RawInputDeviceId` [INFO] [stdout] | [INFO] [stdout] ::: src/input/mod.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct RawInputDeviceId(pub u64); [INFO] [stdout] | ------------------------------------- similarly named tuple struct `RawInputDeviceId` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputDeviceInfoA` in this scope [INFO] [stdout] --> src/input/hid.rs:378:21 [INFO] [stdout] | [INFO] [stdout] 378 | let rc = unsafe { GetRawInputDeviceInfoA(device_id.as_handle(), cmd, ptr, &mut dummy) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `RawInputDeviceId` [INFO] [stdout] | [INFO] [stdout] ::: src/input/mod.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct RawInputDeviceId(pub u64); [INFO] [stdout] | ------------------------------------- similarly named tuple struct `RawInputDeviceId` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcA` in this scope [INFO] [stdout] --> src/input/mod.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | unsafe { DefWindowProcA(hwnd, msg, w, l) } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterRawInputDevices` in this scope [INFO] [stdout] --> src/input/mod.rs:209:27 [INFO] [stdout] | [INFO] [stdout] 209 | let result = unsafe { RegisterRawInputDevices(&rid, 1, std::mem::size_of::() as UINT) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterRawInputDevices` in this scope [INFO] [stdout] --> src/input/mod.rs:226:27 [INFO] [stdout] | [INFO] [stdout] 226 | let result = unsafe { RegisterRawInputDevices(&rid, 1, std::mem::size_of::() as UINT) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputData` in this scope [INFO] [stdout] --> src/input/mod.rs:248:7 [INFO] [stdout] | [INFO] [stdout] 248 | GetRawInputData( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 56 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dhc` (lib) due to 57 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `dhc` (lib test) due to 57 previous errors [INFO] running `Command { std: "docker" "inspect" "83f888575ce084c46cf498d94bcbf5be83190fc4a8499b991dcdc6113ba00be5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83f888575ce084c46cf498d94bcbf5be83190fc4a8499b991dcdc6113ba00be5", kill_on_drop: false }` [INFO] [stdout] 83f888575ce084c46cf498d94bcbf5be83190fc4a8499b991dcdc6113ba00be5 [INFO] checking dhc-0.2.1 against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] extracting crate dhc 0.2.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate dhc 0.2.1 on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dhc 0.2.1 [INFO] finished tweaking crates.io crate dhc 0.2.1 [INFO] tweaked toml for crates.io crate dhc 0.2.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 99 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding crossbeam v0.2.12 (latest: v0.8.4) [INFO] [stderr] Adding lock_api v0.3.4 (latest: v0.4.12) [INFO] [stderr] Adding log v0.3.9 (latest: v0.4.21) [INFO] [stderr] Adding parking_lot v0.9.0 (latest: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.6.3 (latest: v0.9.10) [INFO] [stderr] Adding redox_syscall v0.1.57 (latest: v0.5.1) [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.0) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding slog v1.7.1 (latest: v2.7.0) [INFO] [stderr] Adding slog-stdlog v3.0.5 (latest: v4.1.1) [INFO] [stderr] Adding smallvec v0.6.14 (latest: v1.13.2) [INFO] [stderr] Adding thread_local v0.3.6 (latest: v1.1.8) [INFO] [stderr] Adding toml v0.5.11 (latest: v0.8.13) [INFO] [stderr] Adding triple_buffer v5.0.6 (latest: v7.0.0) [INFO] [stderr] Adding vergen v3.2.0 (latest: v8.3.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.56.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6af9be9b39a35efb7c8b22f6c286fb95c420fdfbca58af97c5f632b12bf90e5 [INFO] running `Command { std: "docker" "start" "-a" "d6af9be9b39a35efb7c8b22f6c286fb95c420fdfbca58af97c5f632b12bf90e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6af9be9b39a35efb7c8b22f6c286fb95c420fdfbca58af97c5f632b12bf90e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6af9be9b39a35efb7c8b22f6c286fb95c420fdfbca58af97c5f632b12bf90e5", kill_on_drop: false }` [INFO] [stdout] d6af9be9b39a35efb7c8b22f6c286fb95c420fdfbca58af97c5f632b12bf90e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fcb4170aa2f933543a2c5988ee21b7d460b260036622595808d9c89991739c0a [INFO] running `Command { std: "docker" "start" "-a" "fcb4170aa2f933543a2c5988ee21b7d460b260036622595808d9c89991739c0a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "fcb4170aa2f933543a2c5988ee21b7d460b260036622595808d9c89991739c0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcb4170aa2f933543a2c5988ee21b7d460b260036622595808d9c89991739c0a", kill_on_drop: false }` [INFO] [stdout] fcb4170aa2f933543a2c5988ee21b7d460b260036622595808d9c89991739c0a