[INFO] cloning repository https://github.com/xkeyC/truegear_xinput_driver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xkeyC/truegear_xinput_driver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxkeyC%2Ftruegear_xinput_driver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxkeyC%2Ftruegear_xinput_driver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 55f818ad994327fd496b1955d103dea9295e0a40 [INFO] checking xkeyC/truegear_xinput_driver against try#afeffcd090fe6cee35c99f8b5539d74aa443fe34 for pr-140956 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxkeyC%2Ftruegear_xinput_driver" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xkeyC/truegear_xinput_driver [INFO] finished tweaking git repo https://github.com/xkeyC/truegear_xinput_driver [INFO] tweaked toml for git repo https://github.com/xkeyC/truegear_xinput_driver written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xkeyC/truegear_xinput_driver on toolchain afeffcd090fe6cee35c99f8b5539d74aa443fe34 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+afeffcd090fe6cee35c99f8b5539d74aa443fe34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xkeyC/truegear_xinput_driver 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" "+afeffcd090fe6cee35c99f8b5539d74aa443fe34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking xkeyC/truegear_xinput_driver against try#afeffcd090fe6cee35c99f8b5539d74aa443fe34 for pr-140956 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxkeyC%2Ftruegear_xinput_driver" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xkeyC/truegear_xinput_driver [INFO] finished tweaking git repo https://github.com/xkeyC/truegear_xinput_driver [INFO] tweaked toml for git repo https://github.com/xkeyC/truegear_xinput_driver written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xkeyC/truegear_xinput_driver on toolchain afeffcd090fe6cee35c99f8b5539d74aa443fe34 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+afeffcd090fe6cee35c99f8b5539d74aa443fe34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xkeyC/truegear_xinput_driver 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" "+afeffcd090fe6cee35c99f8b5539d74aa443fe34" "fetch" "--manifest-path" "Cargo.toml", 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] Downloading crates ... [INFO] [stderr] Downloaded tungstenite v0.27.0 [INFO] [stderr] Downloaded tokio-tungstenite v0.27.0 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+afeffcd090fe6cee35c99f8b5539d74aa443fe34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 713e1bb3cb2c64d04a0fe9bf5aaed460221935ec425d5504f40ad265c03edad8 [INFO] running `Command { std: "docker" "start" "-a" "713e1bb3cb2c64d04a0fe9bf5aaed460221935ec425d5504f40ad265c03edad8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "713e1bb3cb2c64d04a0fe9bf5aaed460221935ec425d5504f40ad265c03edad8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "713e1bb3cb2c64d04a0fe9bf5aaed460221935ec425d5504f40ad265c03edad8", kill_on_drop: false }` [INFO] [stdout] 713e1bb3cb2c64d04a0fe9bf5aaed460221935ec425d5504f40ad265c03edad8 [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=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" "+afeffcd090fe6cee35c99f8b5539d74aa443fe34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21a7cfade81a09e43247171772ffbd1206d576165dbe77d31dc447eb9936cafb [INFO] running `Command { std: "docker" "start" "-a" "21a7cfade81a09e43247171772ffbd1206d576165dbe77d31dc447eb9936cafb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking ctrlc v3.4.7 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tungstenite v0.27.0 [INFO] [stderr] Checking tokio-tungstenite v0.27.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking truegear_xinput_driver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | os::windows::ffi::OsStringExt, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/afeffcd090fe6cee35c99f8b5539d74aa443fe34/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/afeffcd090fe6cee35c99f8b5539d74aa443fe34/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/afeffcd090fe6cee35c99f8b5539d74aa443fe34/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/afeffcd090fe6cee35c99f8b5539d74aa443fe34/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | shared::{ [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/main.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | },um::{ [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] --> src/main.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | os::windows::ffi::OsStringExt, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/afeffcd090fe6cee35c99f8b5539d74aa443fe34/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/afeffcd090fe6cee35c99f8b5539d74aa443fe34/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/afeffcd090fe6cee35c99f8b5539d74aa443fe34/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/afeffcd090fe6cee35c99f8b5539d74aa443fe34/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | shared::{ [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/main.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | },um::{ [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/inject_dll.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | shared::minwindef::{BOOL, DWORD, FALSE, HINSTANCE, LPVOID, 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] --> src/inject_dll.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | um::{ [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/inject_dll.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | shared::minwindef::{BOOL, DWORD, FALSE, HINSTANCE, LPVOID, 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] --> src/inject_dll.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | um::{ [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/main.rs:422:45 [INFO] [stdout] | [INFO] [stdout] 422 | let still_running = winapi::um::processthreadsapi::GetExitCodeProcess( [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/main.rs:422:45 [INFO] [stdout] | [INFO] [stdout] 422 | let still_running = winapi::um::processthreadsapi::GetExitCodeProcess( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target [INFO] [stdout] --> src/inject_dll.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | type XInputSetStateType = unsafe extern "stdcall" fn(u32, *const XInputVibration) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #130260 [INFO] [stdout] = note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target [INFO] [stdout] --> src/inject_dll.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | type XInputSetStateType = unsafe extern "stdcall" fn(u32, *const XInputVibration) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #130260 [INFO] [stdout] = note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/main.rs:143:34 [INFO] [stdout] | [INFO] [stdout] 143 | let path = OsString::from_wide(&path_buffer[..result as usize]); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/afeffcd090fe6cee35c99f8b5539d74aa443fe34/library/std/src/ffi/os_str.rs:140:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 143 - let path = OsString::from_wide(&path_buffer[..result as usize]); [INFO] [stdout] 143 + let path = OsString::from_iter(&path_buffer[..result as usize]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/main.rs:143:34 [INFO] [stdout] | [INFO] [stdout] 143 | let path = OsString::from_wide(&path_buffer[..result as usize]); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/afeffcd090fe6cee35c99f8b5539d74aa443fe34/library/std/src/ffi/os_str.rs:140:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 143 - let path = OsString::from_wide(&path_buffer[..result as usize]); [INFO] [stdout] 143 + let path = OsString::from_iter(&path_buffer[..result as usize]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/main.rs:170:34 [INFO] [stdout] | [INFO] [stdout] 170 | let name = OsString::from_wide(&name_buffer[..result as usize]); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/afeffcd090fe6cee35c99f8b5539d74aa443fe34/library/std/src/ffi/os_str.rs:140:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 170 - let name = OsString::from_wide(&name_buffer[..result as usize]); [INFO] [stdout] 170 + let name = OsString::from_iter(&name_buffer[..result as usize]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/main.rs:170:34 [INFO] [stdout] | [INFO] [stdout] 170 | let name = OsString::from_wide(&name_buffer[..result as usize]); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/afeffcd090fe6cee35c99f8b5539d74aa443fe34/library/std/src/ffi/os_str.rs:140:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 170 - let name = OsString::from_wide(&name_buffer[..result as usize]); [INFO] [stdout] 170 + let name = OsString::from_iter(&name_buffer[..result as usize]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `truegear_xinput_driver` (bin "truegear_xinput_driver") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `truegear_xinput_driver` (bin "truegear_xinput_driver" test) due to 6 previous errors [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/inject_dll.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | / pub unsafe extern "stdcall" fn DllMain( [INFO] [stdout] 53 | | _hinst_dll: HINSTANCE, [INFO] [stdout] 54 | | fdw_reason: DWORD, [INFO] [stdout] 55 | | _lpv_reserved: LPVOID, [INFO] [stdout] 56 | | ) -> BOOL { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/inject_dll.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | / pub unsafe extern "stdcall" fn DllMain( [INFO] [stdout] 53 | | _hinst_dll: HINSTANCE, [INFO] [stdout] 54 | | fdw_reason: DWORD, [INFO] [stdout] 55 | | _lpv_reserved: LPVOID, [INFO] [stdout] 56 | | ) -> BOOL { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/inject_dll.rs:234:1 [INFO] [stdout] | [INFO] [stdout] 234 | / unsafe extern "stdcall" fn hooked_xinput_set_state( [INFO] [stdout] 235 | | user_index: u32, [INFO] [stdout] 236 | | vibration: *const XInputVibration, [INFO] [stdout] 237 | | ) -> u32 { [INFO] [stdout] | |________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/inject_dll.rs:234:1 [INFO] [stdout] | [INFO] [stdout] 234 | / unsafe extern "stdcall" fn hooked_xinput_set_state( [INFO] [stdout] 235 | | user_index: u32, [INFO] [stdout] 236 | | vibration: *const XInputVibration, [INFO] [stdout] 237 | | ) -> u32 { [INFO] [stdout] | |________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0570. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0570. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `truegear_xinput_driver` (lib test) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] error: could not compile `truegear_xinput_driver` (lib) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "21a7cfade81a09e43247171772ffbd1206d576165dbe77d31dc447eb9936cafb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21a7cfade81a09e43247171772ffbd1206d576165dbe77d31dc447eb9936cafb", kill_on_drop: false }` [INFO] [stdout] 21a7cfade81a09e43247171772ffbd1206d576165dbe77d31dc447eb9936cafb