[INFO] cloning repository https://github.com/thehappycheese/windows_pen_tablet_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thehappycheese/windows_pen_tablet_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthehappycheese%2Fwindows_pen_tablet_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthehappycheese%2Fwindows_pen_tablet_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3cae6d674ca5e9600ebddbd80b9b07cc9140c99a [INFO] checking thehappycheese/windows_pen_tablet_rust against master#17ffbc81a30c094193836a5d7f90dff273b5df93 for pr-138785 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthehappycheese%2Fwindows_pen_tablet_rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thehappycheese/windows_pen_tablet_rust on toolchain 17ffbc81a30c094193836a5d7f90dff273b5df93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thehappycheese/windows_pen_tablet_rust [INFO] finished tweaking git repo https://github.com/thehappycheese/windows_pen_tablet_rust [INFO] tweaked toml for git repo https://github.com/thehappycheese/windows_pen_tablet_rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/thehappycheese/windows_pen_tablet_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded octotablet v0.1.0 [INFO] [stderr] Downloaded wintab_lite v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4895f3cbfdef61cda8f9589e3f518b6c2514d63d0858d09d475a2e00c9b5947 [INFO] running `Command { std: "docker" "start" "-a" "b4895f3cbfdef61cda8f9589e3f518b6c2514d63d0858d09d475a2e00c9b5947", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4895f3cbfdef61cda8f9589e3f518b6c2514d63d0858d09d475a2e00c9b5947", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4895f3cbfdef61cda8f9589e3f518b6c2514d63d0858d09d475a2e00c9b5947", kill_on_drop: false }` [INFO] [stdout] b4895f3cbfdef61cda8f9589e3f518b6c2514d63d0858d09d475a2e00c9b5947 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f69423d8ee162e880bd51f9c3c498008e89c12a50b6b4f01e119c0b6ca88e38 [INFO] running `Command { std: "docker" "start" "-a" "9f69423d8ee162e880bd51f9c3c498008e89c12a50b6b4f01e119c0b6ca88e38", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling cc v1.0.92 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.5 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking windows-targets v0.52.5 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking windows-result v0.1.1 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Compiling prettyplease v0.2.17 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Checking x11rb-protocol v0.13.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking windows-core v0.54.0 [INFO] [stderr] Compiling cfg_aliases v0.2.0 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Compiling octotablet v0.1.0 [INFO] [stderr] Checking windows v0.54.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking ab_glyph v0.2.24 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking test_windows_pointer_api v0.0.0 (/opt/rustwide/workdir/test_windows_pointer_api) [INFO] [stdout] warning: unused imports: `GetPointerTouchInfo` and `POINTER_TOUCH_INFO` [INFO] [stdout] --> test_windows_pointer_api/src/main.rs:12:62 [INFO] [stdout] | [INFO] [stdout] 12 | ... EnableMouseInPointer, GetPointerPenInfo, GetPointerTouchInfo, GetPointerType, POINTER_INFO, POINTER_PEN_INFO, POINTER_TOUCH_INFO [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `GET_X_LPARAM` [INFO] [stdout] --> test_windows_pointer_api/src/main.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | macro_rules! GET_X_LPARAM { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `GET_Y_LPARAM` [INFO] [stdout] --> test_windows_pointer_api/src/main.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | macro_rules! GET_Y_LPARAM { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GetPointerTouchInfo` and `POINTER_TOUCH_INFO` [INFO] [stdout] --> test_windows_pointer_api/src/main.rs:12:62 [INFO] [stdout] | [INFO] [stdout] 12 | ... EnableMouseInPointer, GetPointerPenInfo, GetPointerTouchInfo, GetPointerType, POINTER_INFO, POINTER_PEN_INFO, POINTER_TOUCH_INFO [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `GET_X_LPARAM` [INFO] [stdout] --> test_windows_pointer_api/src/main.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | macro_rules! GET_X_LPARAM { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `GET_Y_LPARAM` [INFO] [stdout] --> test_windows_pointer_api/src/main.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | macro_rules! GET_Y_LPARAM { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> test_windows_pointer_api/src/main.rs:103:63 [INFO] [stdout] | [INFO] [stdout] 103 | println!("{client_rect:?} {inner_position:?} {X} {Y} {tx} {ty}"); [INFO] [stdout] | ^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> test_windows_pointer_api/src/main.rs:103:63 [INFO] [stdout] | [INFO] [stdout] 103 | println!("{client_rect:?} {inner_position:?} {X} {Y} {tx} {ty}"); [INFO] [stdout] | ^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> test_windows_pointer_api/src/main.rs:103:67 [INFO] [stdout] | [INFO] [stdout] 103 | println!("{client_rect:?} {inner_position:?} {X} {Y} {tx} {ty}"); [INFO] [stdout] | ^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> test_windows_pointer_api/src/main.rs:103:67 [INFO] [stdout] | [INFO] [stdout] 103 | println!("{client_rect:?} {inner_position:?} {X} {Y} {tx} {ty}"); [INFO] [stdout] | ^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling windows-interface v0.56.0 [INFO] [stderr] Compiling windows-implement v0.56.0 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Checking windows-core v0.56.0 [INFO] [stderr] Checking polling v3.6.0 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking windows v0.56.0 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking wayland-cursor v0.31.1 [INFO] [stderr] Checking wintab_lite v1.0.1 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wintab_lite-1.0.1/src/c_type_aliases.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn int_part(self) -> c_uint { [INFO] [stdout] | ------ expected `u32` because of return type [INFO] [stdout] 55 | self.0 >> 16 [INFO] [stdout] | ^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 55 | (self.0 >> 16).try_into().unwrap() [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wintab_lite-1.0.1/src/c_type_aliases.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn frac_part(self) -> c_uint { [INFO] [stdout] | ------ expected `u32` because of return type [INFO] [stdout] 60 | self.0 & 0xFFFF [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 60 | (self.0 & 0xFFFF).try_into().unwrap() [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wintab_lite-1.0.1/src/c_type_aliases.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | FIX32::new(fixed_val) [INFO] [stdout] | ---------- ^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wintab_lite-1.0.1/src/c_type_aliases.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(value: DWORD) -> Self { [INFO] [stdout] | ^^^ ------------ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 79 | FIX32::new(fixed_val.into()) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wintab_lite` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9f69423d8ee162e880bd51f9c3c498008e89c12a50b6b4f01e119c0b6ca88e38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f69423d8ee162e880bd51f9c3c498008e89c12a50b6b4f01e119c0b6ca88e38", kill_on_drop: false }` [INFO] [stdout] 9f69423d8ee162e880bd51f9c3c498008e89c12a50b6b4f01e119c0b6ca88e38