[INFO] cloning repository https://github.com/jayong93/flask-macro [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jayong93/flask-macro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjayong93%2Fflask-macro", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjayong93%2Fflask-macro'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 031afe020449f457d5e81d33432f53b42839fbdc [INFO] checking jayong93/flask-macro against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjayong93%2Fflask-macro" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jayong93/flask-macro on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jayong93/flask-macro [INFO] finished tweaking git repo https://github.com/jayong93/flask-macro [INFO] tweaked toml for git repo https://github.com/jayong93/flask-macro written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/jayong93/flask-macro already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/jayong93/Rust-Rawinput` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2d94c87c84a6e3c86265072cc0783c71b473f9b1f58fa8fe90eca31361b2623 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a2d94c87c84a6e3c86265072cc0783c71b473f9b1f58fa8fe90eca31361b2623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2d94c87c84a6e3c86265072cc0783c71b473f9b1f58fa8fe90eca31361b2623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2d94c87c84a6e3c86265072cc0783c71b473f9b1f58fa8fe90eca31361b2623", kill_on_drop: false }` [INFO] [stdout] a2d94c87c84a6e3c86265072cc0783c71b473f9b1f58fa8fe90eca31361b2623 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b53337013cee8d36d91f3a43d91a4d69cdb136d65304975ff36f9e286898b5b6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b53337013cee8d36d91f3a43d91a4d69cdb136d65304975ff36f9e286898b5b6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling cairo-rs v0.9.1 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling gio v0.9.1 [INFO] [stderr] Checking tinystr v0.3.4 [INFO] [stderr] Compiling pango v0.9.1 [INFO] [stderr] Compiling gdk-pixbuf v0.9.0 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling gdk v0.13.2 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Compiling atk v0.9.0 [INFO] [stderr] Checking xi-unicode v0.2.0 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking fluent-syntax v0.9.3 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling standback v0.2.15 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Compiling im v15.0.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking thread_local v1.1.0 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking unic-langid-impl v0.9.0 [INFO] [stderr] Checking type-map v0.4.0 [INFO] [stderr] Checking kurbo v0.7.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking unic-ucd-bidi v0.9.0 [INFO] [stderr] Checking keyboard-types v0.5.0 [INFO] [stderr] Compiling gtk v0.9.2 [INFO] [stderr] Checking unic-langid v0.9.0 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking intl-memoizer v0.5.1 [INFO] [stderr] Checking intl_pluralrules v7.0.1 [INFO] [stderr] Checking fluent-langneg v0.13.0 [INFO] [stderr] Checking unic-bidi v0.9.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking piet v0.3.1 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_xoshiro v0.4.0 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking regex v1.4.4 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking sized-chunks v0.6.4 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling pin-project-internal v0.4.17 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling rental-impl v0.5.5 [INFO] [stderr] Compiling druid-derive v0.4.0 (https://github.com/linebender/druid#3f0e6e2f) [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking pin-project v0.4.17 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking rental v0.5.5 [INFO] [stderr] Checking fluent-bundle v0.12.0 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking rust_rawinput v0.4.3 (https://github.com/jayong93/Rust-Rawinput#0c77cb32) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/input_receiver.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | 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 `shared` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/input_receiver.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | use winapi::shared::ntdef::TRUE; [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] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/input_receiver.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | 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 `windows` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::minwindef::{BOOL, LPARAM, LRESULT, 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] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::ntdef::NULL; [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] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::libloaderapi::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] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/input_receiver.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::um::winuser; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MSG` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/input_receiver.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | let mut msg = MSG::default(); [INFO] [stdout] | ^^^ use of undeclared type `MSG` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WNDCLASSW` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:102:26 [INFO] [stdout] | [INFO] [stdout] 102 | let mut wclass = WNDCLASSW::default(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `WNDCLASSW` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RAWINPUTDEVICE` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:129:31 [INFO] [stdout] | [INFO] [stdout] 129 | let mut device_vec = vec![RAWINPUTDEVICE::default(); 2]; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `RAWINPUTDEVICE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/input_receiver.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | while TRUE as i32 == GetMessageW(&mut msg as _, hwnd as HWND, WM_INPUT, WM_INPUT) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/input_receiver.rs:61:38 [INFO] [stdout] | [INFO] [stdout] 61 | while TRUE as i32 == GetMessageW(&mut msg as _, hwnd as HWND, WM_INPUT, WM_INPUT) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/input_receiver.rs:61:73 [INFO] [stdout] | [INFO] [stdout] 61 | while TRUE as i32 == GetMessageW(&mut msg as _, hwnd as HWND, WM_INPUT, WM_INPUT) { [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] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/input_receiver.rs:61:79 [INFO] [stdout] | [INFO] [stdout] 61 | while TRUE as i32 == GetMessageW(&mut msg as _, hwnd as HWND, WM_INPUT, WM_INPUT) { [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] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/input_receiver.rs:61:89 [INFO] [stdout] | [INFO] [stdout] 61 | while TRUE as i32 == GetMessageW(&mut msg as _, hwnd as HWND, WM_INPUT, WM_INPUT) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/input_receiver.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | DispatchMessageW(&msg as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseWindow` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/input_receiver.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | CloseWindow(hwnd); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | w_param: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | l_param: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | DefWindowProcW(hwnd, msg, w_param, l_param) [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] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | GetRawInputData( [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] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | RID_INPUT, [INFO] [stdout] | ^^^^^^^^^ help: a local variable with a similar name exists: `WM_INPUT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | NULL, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUTHEADER` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe extern "system" fn wnd_proc( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 32 | size_of::() as u32, [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] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | GetRawInputData( [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] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | RID_INPUT, [INFO] [stdout] | ^^^^^^^^^ help: a local variable with a similar name exists: `WM_INPUT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUTHEADER` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe extern "system" fn wnd_proc( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 40 | size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUT` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:44:63 [INFO] [stdout] | [INFO] [stdout] 44 | let raw_input = &*(input_bytes.as_ptr() as *const RAWINPUT); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_LBUTTON` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | (Input::Mouse(VK_LBUTTON), KeyState::Down), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_LBUTTON` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:72:39 [INFO] [stdout] | [INFO] [stdout] 72 | (Input::Mouse(VK_LBUTTON), KeyState::Up), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_RBUTTON` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:73:39 [INFO] [stdout] | [INFO] [stdout] 73 | (Input::Mouse(VK_RBUTTON), KeyState::Down), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_RBUTTON` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:74:39 [INFO] [stdout] | [INFO] [stdout] 74 | (Input::Mouse(VK_RBUTTON), KeyState::Up), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_MBUTTON` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:75:39 [INFO] [stdout] | [INFO] [stdout] 75 | (Input::Mouse(VK_MBUTTON), KeyState::Down), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_MBUTTON` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:76:39 [INFO] [stdout] | [INFO] [stdout] 76 | (Input::Mouse(VK_MBUTTON), KeyState::Up), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_XBUTTON1` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:77:39 [INFO] [stdout] | [INFO] [stdout] 77 | (Input::Mouse(VK_XBUTTON1), KeyState::Down), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_XBUTTON1` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:78:39 [INFO] [stdout] | [INFO] [stdout] 78 | (Input::Mouse(VK_XBUTTON1), KeyState::Up), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_XBUTTON2` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:79:39 [INFO] [stdout] | [INFO] [stdout] 79 | (Input::Mouse(VK_XBUTTON2), KeyState::Down), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_XBUTTON2` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:80:39 [INFO] [stdout] | [INFO] [stdout] 80 | (Input::Mouse(VK_XBUTTON2), KeyState::Up), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | _ => DefWindowProcW(hwnd, msg, w_param, l_param), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:98:73 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn make_blank_window(sender: UnboundedSender<(Input, KeyState)>) -> HWND { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | let hinstance = GetModuleHandleW(null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | RegisterClassW(&wclass as *const _); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | let hwnd = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HWND_MESSAGE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | HWND_MESSAGE, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:128:38 [INFO] [stdout] | [INFO] [stdout] 128 | unsafe fn register_raw_devices(hwnd: HWND) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:128:47 [INFO] [stdout] | [INFO] [stdout] 128 | unsafe fn register_raw_devices(hwnd: HWND) -> BOOL { [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] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | mouse_dev.dwFlags = RIDEV_INPUTSINK; [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] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:139:28 [INFO] [stdout] | [INFO] [stdout] 139 | keyboard_dev.dwFlags = RIDEV_INPUTSINK; [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] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | RegisterRawInputDevices( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUTDEVICE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 128 | unsafe fn register_raw_devices(hwnd: HWND) -> BOOL { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 145 | std::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:103:57 [INFO] [stdout] | [INFO] [stdout] 103 | let class_name_vec = OsStr::new("MyMsgClass\0").encode_wide().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] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:104:48 [INFO] [stdout] | [INFO] [stdout] 104 | let win_name_vec = OsStr::new("Win\0").encode_wide().collect::>(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `usUsagePage` on type `&mut _` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-rawinput-0c834f1981836a29/0c77cb3/src/inner_window.rs:131:15 [INFO] [stdout] | [INFO] [stdout] 131 | mouse_dev.usUsagePage = 1; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 58 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_rawinput` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b53337013cee8d36d91f3a43d91a4d69cdb136d65304975ff36f9e286898b5b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b53337013cee8d36d91f3a43d91a4d69cdb136d65304975ff36f9e286898b5b6", kill_on_drop: false }` [INFO] [stdout] b53337013cee8d36d91f3a43d91a4d69cdb136d65304975ff36f9e286898b5b6