[INFO] fetching crate dhc 0.2.1... [INFO] testing dhc-0.2.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate dhc 0.2.1 into /workspace/builds/worker-2-tc1/source [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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dhc 0.2.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 104 packages to latest compatible versions [INFO] [stderr] Adding parking_lot v0.9.0 (available: v0.12.4) [INFO] [stderr] Adding slog-stdlog v3.0.5 (available: v4.1.1) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.23) [INFO] [stderr] Adding triple_buffer v5.0.6 (available: v8.1.1) [INFO] [stderr] Adding vergen v3.2.0 (available: v9.0.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slog-stdlog v3.0.5 [INFO] [stderr] Downloaded triple_buffer v5.0.6 [INFO] [stderr] Downloaded slog-extra v0.1.2 [INFO] [stderr] Downloaded hwndloop v0.1.5 [INFO] [stderr] Downloaded slog-stream v1.2.1 [INFO] [stderr] Downloaded slog v1.7.1 [INFO] [stderr] Downloaded vergen v3.2.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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c89b0a006977b61152b08ab841939acd67298fadcc1a3dd4549fa2c44c15d927 [INFO] running `Command { std: "docker" "start" "-a" "c89b0a006977b61152b08ab841939acd67298fadcc1a3dd4549fa2c44c15d927", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c89b0a006977b61152b08ab841939acd67298fadcc1a3dd4549fa2c44c15d927", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c89b0a006977b61152b08ab841939acd67298fadcc1a3dd4549fa2c44c15d927", kill_on_drop: false }` [INFO] [stdout] c89b0a006977b61152b08ab841939acd67298fadcc1a3dd4549fa2c44c15d927 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e672cd44c22b494bc8593f805e4c5f636fe9ae284dbc0745824ae3e2976642ac [INFO] running `Command { std: "docker" "start" "-a" "e672cd44c22b494bc8593f805e4c5f636fe9ae284dbc0745824ae3e2976642ac", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling slog v1.7.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling cache-padded v1.3.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling slog-extra v0.1.2 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling slog-scope v4.4.0 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling slog-stream v1.2.1 [INFO] [stderr] Compiling triple_buffer v5.0.6 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling rusty-xinput v1.3.0 [INFO] [stderr] Compiling log-panics v2.1.0 [INFO] [stderr] Compiling slog-stdlog v3.0.5 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling hwndloop v0.1.5 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling twoway v0.2.2 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling vergen v3.2.0 [INFO] [stderr] Compiling slog-term v2.9.1 [INFO] [stderr] Compiling dhc v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [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[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 `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] warning: unused import: `hwndloop::*` [INFO] [stdout] --> src/input/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use hwndloop::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/input/mod.rs:245:41 [INFO] [stdout] | [INFO] [stdout] 245 | let mut buffer = unsafe { std::mem::uninitialized::() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/input/hid.rs:150:39 [INFO] [stdout] | [INFO] [stdout] 150 | let mut caps = unsafe { std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/hid.rs:121:30 [INFO] [stdout] | [INFO] [stdout] 121 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 121 | fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | +++ [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] 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 56 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e672cd44c22b494bc8593f805e4c5f636fe9ae284dbc0745824ae3e2976642ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e672cd44c22b494bc8593f805e4c5f636fe9ae284dbc0745824ae3e2976642ac", kill_on_drop: false }` [INFO] [stdout] e672cd44c22b494bc8593f805e4c5f636fe9ae284dbc0745824ae3e2976642ac