[INFO] fetching crate msft-runtime 0.0.24... [INFO] testing msft-runtime-0.0.24 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate msft-runtime 0.0.24 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate msft-runtime 0.0.24 [INFO] finished tweaking crates.io crate msft-runtime 0.0.24 [INFO] tweaked toml for crates.io crate msft-runtime 0.0.24 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate msft-runtime 0.0.24 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] crate crates.io crate msft-runtime 0.0.24 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded win_etw_metadata v0.1.2 [INFO] [stderr] Downloaded win_etw_tracing v0.1.1 [INFO] [stderr] Downloaded trybuild v1.0.90 [INFO] [stderr] Downloaded w32-error v1.0.0 [INFO] [stderr] Downloaded win_etw_provider v0.1.9 [INFO] [stderr] Downloaded win_etw_macros v0.1.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] eb97d8a388c68e3aa4c52445cd8020f59cbf7411ac8c3be0827bccf02e301f61 [INFO] running `Command { std: "docker" "start" "-a" "eb97d8a388c68e3aa4c52445cd8020f59cbf7411ac8c3be0827bccf02e301f61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb97d8a388c68e3aa4c52445cd8020f59cbf7411ac8c3be0827bccf02e301f61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb97d8a388c68e3aa4c52445cd8020f59cbf7411ac8c3be0827bccf02e301f61", kill_on_drop: false }` [INFO] [stdout] eb97d8a388c68e3aa4c52445cd8020f59cbf7411ac8c3be0827bccf02e301f61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 3539b98bcaa8f30d18879e6a45e5eae58efec084e97195f0d57a88f01e1bbeb9 [INFO] running `Command { std: "docker" "start" "-a" "3539b98bcaa8f30d18879e6a45e5eae58efec084e97195f0d57a88f01e1bbeb9", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling msft-runtime v0.0.24 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/common/cleanup.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | os::windows::prelude::{AsRawHandle, RawHandle}, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] --> src/common/cleanup.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use windows_sys::Win32::{Foundation::TRUE, System::Threading::*}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/common/environment.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | os::windows::prelude::{AsRawHandle, FromRawHandle, RawHandle}, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] --> src/common/environment.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use windows_sys::Win32::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/common/instance.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | os::windows::prelude::{AsRawHandle, FromRawHandle, RawHandle}, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] --> src/common/instance.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use windows_sys::Win32::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/event/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | os::windows::{ [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/usb/mod.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{fmt, io, os::windows::io::AsRawHandle}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/work/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | os::windows::io::{AsRawHandle, FromRawHandle, RawHandle}, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] --> src/work/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use windows_sys::Win32::System::Threading::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] --> src/timer/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use windows_sys::Win32::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] --> src/wait/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use windows_sys::Win32::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] --> src/event/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use windows_sys::Win32::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] --> src/usb/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use windows_sys::Win32::{Devices::Communication::*, System::WindowsProgramming::*}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `windows_sys::Win32::Foundation::TRUE`, `windows_sys::Win32::Foundation::FALSE`, `windows_sys::Win32::Foundation::HMODULE`, `windows_sys::Win32::Foundation::TRUE`, `windows_sys::Win32::Foundation::FALSE`, `windows_sys::Win32::Foundation::HANDLE`, `windows_sys::Win32::Foundation::HMODULE`, `windows_sys::Win32::Foundation::FALSE`, `windows_sys::Win32::Foundation::HANDLE`, `windows_sys::Win32::Foundation::TRUE`, `windows_sys::Win32::Foundation::WAIT_ABANDONED`, `windows_sys::Win32::Foundation::WAIT_FAILED`, `windows_sys::Win32::Foundation::WAIT_OBJECT_0`, `windows_sys::Win32::Foundation::WAIT_TIMEOUT`, `windows_sys::Win32::System::Threading::CreateEventW`, `windows_sys::Win32::System::Threading::ResetEvent`, `windows_sys::Win32::System::Threading::SetEvent`, `windows_sys::Win32::System::Threading::WaitForSingleObject`, `windows_sys::Win32::System::Threading::INFINITE`, `windows_sys::Win32::Devices::Communication::*`, `windows_sys::Win32::System::WindowsProgramming::*` [INFO] [stdout] --> src/common/cleanup.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use windows_sys::Win32::{Foundation::TRUE, System::Threading::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/common/environment.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | Foundation::{FALSE, HMODULE, TRUE}, [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/common/instance.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | Foundation::{FALSE, HANDLE, HMODULE}, [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/event/mod.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | Foundation::{FALSE, HANDLE, TRUE, WAIT_ABANDONED, WAIT_FAILED, WAIT_OBJECT_0, WAIT_TIMEOUT}, [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 5 | System::Threading::{CreateEventW, ResetEvent, SetEvent, WaitForSingleObject, INFINITE}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/usb/mod.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use windows_sys::Win32::{Devices::Communication::*, System::WindowsProgramming::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PTP_CLEANUP_GROUP` in this scope [INFO] [stdout] --> src/common/cleanup.rs:25:35 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ThreadpoolCleanupGroup(PTP_CLEANUP_GROUP, *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PTP_POOL` in this scope [INFO] [stdout] --> src/common/environment.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ThreadpoolHandle(PTP_POOL); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TP_POOL_STACK_INFORMATION` in this scope [INFO] [stdout] --> src/common/environment.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | let stack = TP_POOL_STACK_INFORMATION { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TP_CALLBACK_PRIORITY_LOW` in this scope [INFO] [stdout] --> src/common/environment.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | Low = TP_CALLBACK_PRIORITY_LOW, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TP_CALLBACK_PRIORITY_NORMAL` in this scope [INFO] [stdout] --> src/common/environment.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | Normal = TP_CALLBACK_PRIORITY_NORMAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TP_CALLBACK_PRIORITY_HIGH` in this scope [INFO] [stdout] --> src/common/environment.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | High = TP_CALLBACK_PRIORITY_HIGH, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TP_CALLBACK_ENVIRON_V3` in this scope [INFO] [stdout] --> src/common/environment.rs:111:42 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct ThreadpoolCallbackEnvironment(TP_CALLBACK_ENVIRON_V3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TP_CALLBACK_ENVIRON_V3` in this scope [INFO] [stdout] --> src/common/environment.rs:121:46 [INFO] [stdout] | [INFO] [stdout] 121 | let mut env = unsafe { mem::zeroed::() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 112 | impl ThreadpoolCallbackEnvironment { [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TP_CALLBACK_PRIORITY_NORMAL` in this scope [INFO] [stdout] --> src/common/environment.rs:123:32 [INFO] [stdout] | [INFO] [stdout] 123 | env.CallbackPriority = TP_CALLBACK_PRIORITY_NORMAL; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TP_CALLBACK_ENVIRON_V3` in this scope [INFO] [stdout] --> src/common/environment.rs:124:35 [INFO] [stdout] | [INFO] [stdout] 124 | env.Size = mem::size_of::() as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 112 | impl ThreadpoolCallbackEnvironment { [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TP_CALLBACK_ENVIRON_V3` in this scope [INFO] [stdout] --> src/common/environment.rs:128:36 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn as_raw(&self) -> *const TP_CALLBACK_ENVIRON_V3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PTP_POOL` in this scope [INFO] [stdout] --> src/common/environment.rs:139:38 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn with_pool(mut self, pool: PTP_POOL) -> Self { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PTP_CLEANUP_GROUP` in this scope [INFO] [stdout] --> src/common/environment.rs:189:16 [INFO] [stdout] | [INFO] [stdout] 189 | group: PTP_CLEANUP_GROUP, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PTP_CLEANUP_GROUP_CANCEL_CALLBACK` in this scope [INFO] [stdout] --> src/common/environment.rs:190:26 [INFO] [stdout] | [INFO] [stdout] 190 | cancel_callback: PTP_CLEANUP_GROUP_CANCEL_CALLBACK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TP_CALLBACK_ENVIRON_V3` in this scope [INFO] [stdout] --> src/common/environment.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 209 | impl AsRef for ThreadpoolCallbackEnvironment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 209 | impl AsRef for ThreadpoolCallbackEnvironment { [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TP_CALLBACK_ENVIRON_V3` in this scope [INFO] [stdout] --> src/common/environment.rs:210:26 [INFO] [stdout] | [INFO] [stdout] 210 | fn as_ref(&self) -> &TP_CALLBACK_ENVIRON_V3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TP_CALLBACK_ENVIRON_V3` in this scope [INFO] [stdout] --> src/common/environment.rs:215:11 [INFO] [stdout] | [INFO] [stdout] 215 | impl From for ThreadpoolCallbackEnvironment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 215 | impl From for ThreadpoolCallbackEnvironment { [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TP_CALLBACK_ENVIRON_V3` in this scope [INFO] [stdout] --> src/common/environment.rs:216:20 [INFO] [stdout] | [INFO] [stdout] 216 | fn from(value: TP_CALLBACK_ENVIRON_V3) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TP_CALLBACK_ENVIRON_V3` in this scope [INFO] [stdout] --> src/common/environment.rs:221:46 [INFO] [stdout] | [INFO] [stdout] 221 | impl From for TP_CALLBACK_ENVIRON_V3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PTP_CALLBACK_INSTANCE` in this scope [INFO] [stdout] --> src/common/instance.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ThreadpoolCallbackInstance(PTP_CALLBACK_INSTANCE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CRITICAL_SECTION` in this scope [INFO] [stdout] --> src/common/instance.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | pcs: *mut CRITICAL_SECTION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DTR_CONTROL_DISABLE` in this scope [INFO] [stdout] --> src/usb/mod.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | Disable = DTR_CONTROL_DISABLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DTR_CONTROL_ENABLE` in this scope [INFO] [stdout] --> src/usb/mod.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | Enable = DTR_CONTROL_ENABLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DTR_CONTROL_HANDSHAKE` in this scope [INFO] [stdout] --> src/usb/mod.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | Handshake = DTR_CONTROL_HANDSHAKE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RTS_CONTROL_DISABLE` in this scope [INFO] [stdout] --> src/usb/mod.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | Disable = RTS_CONTROL_DISABLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RTS_CONTROL_ENABLE` in this scope [INFO] [stdout] --> src/usb/mod.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | Enable = RTS_CONTROL_ENABLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RTS_CONTROL_HANDSHAKE` in this scope [INFO] [stdout] --> src/usb/mod.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | Handshake = RTS_CONTROL_HANDSHAKE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RTS_CONTROL_TOGGLE` in this scope [INFO] [stdout] --> src/usb/mod.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | Toggle = RTS_CONTROL_TOGGLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOPARITY` in this scope [INFO] [stdout] --> src/usb/mod.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | None = NOPARITY, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENPARITY` in this scope [INFO] [stdout] --> src/usb/mod.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | Even = EVENPARITY, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ODDPARITY` in this scope [INFO] [stdout] --> src/usb/mod.rs:158:11 [INFO] [stdout] | [INFO] [stdout] 158 | Odd = ODDPARITY, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MARKPARITY` in this scope [INFO] [stdout] --> src/usb/mod.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | Mark = MARKPARITY, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SPACEPARITY` in this scope [INFO] [stdout] --> src/usb/mod.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | Space = SPACEPARITY, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CBR_110` in this scope [INFO] [stdout] --> src/usb/mod.rs:167:15 [INFO] [stdout] | [INFO] [stdout] 167 | CBR_110 = CBR_110, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 + use crate::usb::Baud::CBR_110; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CBR_300` in this scope [INFO] [stdout] --> src/usb/mod.rs:168:15 [INFO] [stdout] | [INFO] [stdout] 168 | CBR_300 = CBR_300, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 + use crate::usb::Baud::CBR_300; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CBR_600` in this scope [INFO] [stdout] --> src/usb/mod.rs:169:15 [INFO] [stdout] | [INFO] [stdout] 169 | CBR_600 = CBR_600, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 + use crate::usb::Baud::CBR_600; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CBR_1200` in this scope [INFO] [stdout] --> src/usb/mod.rs:170:16 [INFO] [stdout] | [INFO] [stdout] 170 | CBR_1200 = CBR_1200, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 + use crate::usb::Baud::CBR_1200; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CBR_2400` in this scope [INFO] [stdout] --> src/usb/mod.rs:171:16 [INFO] [stdout] | [INFO] [stdout] 171 | CBR_2400 = CBR_2400, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 + use crate::usb::Baud::CBR_2400; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CBR_4800` in this scope [INFO] [stdout] --> src/usb/mod.rs:172:16 [INFO] [stdout] | [INFO] [stdout] 172 | CBR_4800 = CBR_4800, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 + use crate::usb::Baud::CBR_4800; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CBR_9600` in this scope [INFO] [stdout] --> src/usb/mod.rs:173:16 [INFO] [stdout] | [INFO] [stdout] 173 | CBR_9600 = CBR_9600, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 + use crate::usb::Baud::CBR_9600; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CBR_14400` in this scope [INFO] [stdout] --> src/usb/mod.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | CBR_14400 = CBR_14400, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 + use crate::usb::Baud::CBR_14400; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CBR_19200` in this scope [INFO] [stdout] --> src/usb/mod.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | CBR_19200 = CBR_19200, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 + use crate::usb::Baud::CBR_19200; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CBR_38400` in this scope [INFO] [stdout] --> src/usb/mod.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | CBR_38400 = CBR_38400, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 + use crate::usb::Baud::CBR_38400; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CBR_57600` in this scope [INFO] [stdout] --> src/usb/mod.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | CBR_57600 = CBR_57600, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 + use crate::usb::Baud::CBR_57600; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CBR_115200` in this scope [INFO] [stdout] --> src/usb/mod.rs:178:18 [INFO] [stdout] | [INFO] [stdout] 178 | CBR_115200 = CBR_115200, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 + use crate::usb::Baud::CBR_115200; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CBR_128000` in this scope [INFO] [stdout] --> src/usb/mod.rs:179:18 [INFO] [stdout] | [INFO] [stdout] 179 | CBR_128000 = CBR_128000, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 + use crate::usb::Baud::CBR_128000; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CBR_256000` in this scope [INFO] [stdout] --> src/usb/mod.rs:180:18 [INFO] [stdout] | [INFO] [stdout] 180 | CBR_256000 = CBR_256000, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 + use crate::usb::Baud::CBR_256000; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ONESTOPBIT` in this scope [INFO] [stdout] --> src/usb/mod.rs:186:11 [INFO] [stdout] | [INFO] [stdout] 186 | One = ONESTOPBIT, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ONE5STOPBITS` in this scope [INFO] [stdout] --> src/usb/mod.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | One5 = ONE5STOPBITS, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TWOSTOPBITS` in this scope [INFO] [stdout] --> src/usb/mod.rs:188:11 [INFO] [stdout] | [INFO] [stdout] 188 | Two = TWOSTOPBITS, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DCB` in this scope [INFO] [stdout] --> src/usb/mod.rs:220:16 [INFO] [stdout] | [INFO] [stdout] 220 | pub struct Dcb(DCB); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DCB` in this scope [INFO] [stdout] --> src/usb/mod.rs:255:18 [INFO] [stdout] | [INFO] [stdout] 220 | pub struct Dcb(DCB); [INFO] [stdout] | -------------------- similarly named struct `Dcb` defined here [INFO] [stdout] ... [INFO] [stdout] 255 | let mut dcb: DCB = unsafe { std::mem::zeroed() }; [INFO] [stdout] | ^^^ help: a struct with a similar name exists: `Dcb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `COMMTIMEOUTS` in this scope [INFO] [stdout] --> src/usb/mod.rs:307:20 [INFO] [stdout] | [INFO] [stdout] 307 | let timeouts = COMMTIMEOUTS { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateThreadpoolCleanupGroup` in this scope [INFO] [stdout] --> src/common/cleanup.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ThreadpoolCleanupGroup(PTP_CLEANUP_GROUP, *mut c_void); [INFO] [stdout] | ------------------------------------------------------------------ similarly named tuple struct `ThreadpoolCleanupGroup` defined here [INFO] [stdout] ... [INFO] [stdout] 33 | unsafe { Self(CreateThreadpoolCleanupGroup(), std::ptr::null_mut()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `ThreadpoolCleanupGroup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseThreadpoolCleanupGroupMembers` in this scope [INFO] [stdout] --> src/common/cleanup.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | unsafe { CloseThreadpoolCleanupGroupMembers(self.0, TRUE, self.1) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseThreadpoolCleanupGroup` in this scope [INFO] [stdout] --> src/common/cleanup.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ThreadpoolCleanupGroup(PTP_CLEANUP_GROUP, *mut c_void); [INFO] [stdout] | ------------------------------------------------------------------ similarly named tuple struct `ThreadpoolCleanupGroup` defined here [INFO] [stdout] ... [INFO] [stdout] 45 | unsafe { CloseThreadpoolCleanupGroup(self.0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `ThreadpoolCleanupGroup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateThreadpool` in this scope [INFO] [stdout] --> src/common/environment.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | match unsafe { CreateThreadpool(std::ptr::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 `SetThreadpoolStackInformation` in this scope [INFO] [stdout] --> src/common/environment.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | match unsafe { SetThreadpoolStackInformation(self.0, &stack as *const _ as _) } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetThreadpoolThreadMinimum` in this scope [INFO] [stdout] --> src/common/environment.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | match SetThreadpoolThreadMinimum(self.0, min) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetThreadpoolThreadMaximum` in this scope [INFO] [stdout] --> src/common/environment.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe { SetThreadpoolThreadMaximum(self.0, max) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseThreadpool` in this scope [INFO] [stdout] --> src/common/environment.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | unsafe { CloseThreadpool(self.0) } [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CallbackMayRunLong` in this scope [INFO] [stdout] --> src/common/instance.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | match unsafe { CallbackMayRunLong(self.0) } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetEventWhenCallbackReturns` in this scope [INFO] [stdout] --> src/common/instance.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | unsafe { SetEventWhenCallbackReturns(self.0, event) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseSemaphoreWhenCallbackReturns` in this scope [INFO] [stdout] --> src/common/instance.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | unsafe { ReleaseSemaphoreWhenCallbackReturns(self.0, sem, crel) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseMutexWhenCallbackReturns` in this scope [INFO] [stdout] --> src/common/instance.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe { ReleaseMutexWhenCallbackReturns(self.0, mtx) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LeaveCriticalSectionWhenCallbackReturns` in this scope [INFO] [stdout] --> src/common/instance.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | unsafe { LeaveCriticalSectionWhenCallbackReturns(self.0, pcs) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FreeLibraryWhenCallbackReturns` in this scope [INFO] [stdout] --> src/common/instance.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | unsafe { FreeLibraryWhenCallbackReturns(self.0, handle) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCommState` in this scope [INFO] [stdout] --> src/usb/mod.rs:256:20 [INFO] [stdout] | [INFO] [stdout] 256 | match unsafe { GetCommState(handle.as_raw_handle() as _, &mut dcb) } { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCommState` in this scope [INFO] [stdout] --> src/usb/mod.rs:301:20 [INFO] [stdout] | [INFO] [stdout] 301 | match unsafe { SetCommState(handle.as_raw_handle() as _, &mut dcb) } { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCommTimeouts` in this scope [INFO] [stdout] --> src/usb/mod.rs:314:20 [INFO] [stdout] | [INFO] [stdout] 314 | match unsafe { SetCommTimeouts(handle.as_raw_handle() as _, &timeouts) } { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `msft-runtime` (lib) due to 85 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "3539b98bcaa8f30d18879e6a45e5eae58efec084e97195f0d57a88f01e1bbeb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3539b98bcaa8f30d18879e6a45e5eae58efec084e97195f0d57a88f01e1bbeb9", kill_on_drop: false }` [INFO] [stdout] 3539b98bcaa8f30d18879e6a45e5eae58efec084e97195f0d57a88f01e1bbeb9