[INFO] cloning repository https://github.com/piscisaureus/ums [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/piscisaureus/ums" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpiscisaureus%2Fums", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpiscisaureus%2Fums'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c41e96f685d39a3098b9548fa7b85d32b1e64f34 [INFO] checking piscisaureus/ums against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpiscisaureus%2Fums" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/piscisaureus/ums on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-9/source/.cargo/config [INFO] started tweaking git repo https://github.com/piscisaureus/ums [INFO] finished tweaking git repo https://github.com/piscisaureus/ums [INFO] tweaked toml for git repo https://github.com/piscisaureus/ums written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/piscisaureus/ums already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d491a10dbedf5bfe30d6f27e2b97a9d1cbbce6de8a778608f771c5df9feda1d1 [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" "d491a10dbedf5bfe30d6f27e2b97a9d1cbbce6de8a778608f771c5df9feda1d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d491a10dbedf5bfe30d6f27e2b97a9d1cbbce6de8a778608f771c5df9feda1d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d491a10dbedf5bfe30d6f27e2b97a9d1cbbce6de8a778608f771c5df9feda1d1", kill_on_drop: false }` [INFO] [stdout] d491a10dbedf5bfe30d6f27e2b97a9d1cbbce6de8a778608f771c5df9feda1d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bed7adaeb0448062fa50d78e879ff1e70475d4ed1cc269fcf564885f6cff4f9d [INFO] running `Command { std: "docker" "start" "-a" "bed7adaeb0448062fa50d78e879ff1e70475d4ed1cc269fcf564885f6cff4f9d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling ntapi v0.3.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling derive_deref v1.1.0 [INFO] [stderr] Checking ums v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win_result.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::BOOL; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win_result.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win_result.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef::FALSE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win_result.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::minwindef::TRUE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win_result.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::ntdef::HANDLE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win_result.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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 `um` in `winapi` [INFO] [stdout] --> src/win_result.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::errhandlingapi::GetLastError; [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/win_result.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::handleapi::INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win_result.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::BOOL; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win_result.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win_result.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef::FALSE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapi_extra.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::basetsd::DWORD_PTR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapi_extra.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win_result.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::minwindef::TRUE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win_result.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::ntdef::HANDLE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win_result.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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 `um` in `winapi` [INFO] [stdout] --> src/win_result.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::errhandlingapi::GetLastError; [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/winapi_extra.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winnt::RTL_UMS_SCHEDULER_REASON; [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/win_result.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::handleapi::INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapi_extra.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::basetsd::DWORD_PTR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapi_extra.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::minwindef::DWORD; [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/winapi_extra.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winnt::RTL_UMS_SCHEDULER_REASON; [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/winapi_extra.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winnt::RTL_UMS_VERSION; [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/winapi_extra.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winnt::RTL_UMS_VERSION; [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/lib.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::shared::basetsd::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::shared::minwindef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | use winapi::shared::winerror::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | use winapi::um::handleapi::*; [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/lib.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::shared::basetsd::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use winapi::um::processthreadsapi::*; [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/lib.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | use winapi::um::synchapi::*; [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/lib.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | use winapi::um::winbase::*; [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/lib.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | use winapi::um::winnt::*; [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/lib.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::shared::minwindef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::ctypes`, `TopLevelJobState`, `BlockingJobState` [INFO] [stdout] --> src/lib.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | use TopLevelJobState as S; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | use BlockingJobState as S; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/winapi_extra.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | use winapi::shared::winerror::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | use winapi::um::handleapi::*; [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/lib.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use winapi::um::processthreadsapi::*; [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/lib.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | use winapi::um::synchapi::*; [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/lib.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | use winapi::um::winbase::*; [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/lib.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | use winapi::um::winnt::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::ctypes`, `TopLevelJobState`, `BlockingJobState` [INFO] [stdout] --> src/lib.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | use TopLevelJobState as S; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | use BlockingJobState as S; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/winapi_extra.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `INVALID_HANDLE_VALUE` is not bound in all patterns [INFO] [stdout] --> src/win_result.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | NULL | INVALID_HANDLE_VALUE => None, [INFO] [stdout] | ^^^^ -------------------- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `INVALID_HANDLE_VALUE` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::INVALID_HANDLE_VALUE` [INFO] [stdout] --> src/win_result.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | NULL | INVALID_HANDLE_VALUE => None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `NULL` is not bound in all patterns [INFO] [stdout] --> src/win_result.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | NULL | INVALID_HANDLE_VALUE => None, [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^ pattern doesn't bind `NULL` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::NULL` [INFO] [stdout] --> src/win_result.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | NULL | INVALID_HANDLE_VALUE => None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `INVALID_HANDLE_VALUE` is not bound in all patterns [INFO] [stdout] --> src/win_result.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | NULL | INVALID_HANDLE_VALUE => None, [INFO] [stdout] | ^^^^ -------------------- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `INVALID_HANDLE_VALUE` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::INVALID_HANDLE_VALUE` [INFO] [stdout] --> src/win_result.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | NULL | INVALID_HANDLE_VALUE => None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `NULL` is not bound in all patterns [INFO] [stdout] --> src/win_result.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | NULL | INVALID_HANDLE_VALUE => None, [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^ pattern doesn't bind `NULL` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::NULL` [INFO] [stdout] --> src/win_result.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | NULL | INVALID_HANDLE_VALUE => None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DWORD` [INFO] [stdout] --> src/lib.rs:767:15 [INFO] [stdout] | [INFO] [stdout] 767 | .ok_or_else(DWORD::get_last_error); [INFO] [stdout] | ^^^^^ use of undeclared type `DWORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/win_result.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | impl WinResult for BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/win_result.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | impl WinResult for HANDLE { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/win_result.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | impl WinError for DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/win_result.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | unsafe { GetLastError() } [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RTL_UMS_SCHEDULER_REASON` in this scope [INFO] [stdout] --> src/winapi_extra.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | pub type UMS_SCHEDULER_REASON = RTL_UMS_SCHEDULER_REASON; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/winapi_extra.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | pub const UMS_VERSION: DWORD = RTL_UMS_VERSION; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RTL_UMS_VERSION` in this scope [INFO] [stdout] --> src/winapi_extra.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | pub const UMS_VERSION: DWORD = RTL_UMS_VERSION; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD_PTR` in this scope [INFO] [stdout] --> src/winapi_extra.rs:17:45 [INFO] [stdout] | [INFO] [stdout] 17 | pub const PROC_THREAD_ATTRIBUTE_UMS_THREAD: DWORD_PTR = 0x0003_0006; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/winapi_extra.rs:18:46 [INFO] [stdout] | [INFO] [stdout] 18 | pub const STACK_SIZE_PARAM_IS_A_RESERVATION: DWORD = 0x0001_0000; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentUmsThread` in this scope [INFO] [stdout] --> src/lib.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 129 | invoker: unsafe { GetCurrentUmsThread() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UmsThreadYield` in this scope [INFO] [stdout] --> src/lib.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | unsafe { UmsThreadYield(self.event.as_ptr() as *mut VOID) }.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VOID` in this scope [INFO] [stdout] --> src/lib.rs:137:57 [INFO] [stdout] | [INFO] [stdout] 137 | unsafe { UmsThreadYield(self.event.as_ptr() as *mut VOID) }.unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VOID` in this scope [INFO] [stdout] --> src/lib.rs:229:41 [INFO] [stdout] | [INFO] [stdout] 229 | as *mut Cell as *mut VOID; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UmsThreadYield` in this scope [INFO] [stdout] --> src/lib.rs:230:14 [INFO] [stdout] | [INFO] [stdout] 230 | unsafe { UmsThreadYield(param) }.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VOID` in this scope [INFO] [stdout] --> src/lib.rs:238:47 [INFO] [stdout] | [INFO] [stdout] 238 | unsafe extern "system" fn thread_main(_: *mut VOID) -> DWORD { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:238:56 [INFO] [stdout] | [INFO] [stdout] 238 | unsafe extern "system" fn thread_main(_: *mut VOID) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SleepEx` in this scope [INFO] [stdout] --> src/lib.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | match SleepEx(10_000, TRUE) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/lib.rs:249:33 [INFO] [stdout] | [INFO] [stdout] 249 | match SleepEx(10_000, TRUE) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/lib.rs:265:31 [INFO] [stdout] | [INFO] [stdout] 265 | let mut io_pending_flag = FALSE; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetThreadIOPendingFlag` in this scope [INFO] [stdout] --> src/lib.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | GetThreadIOPendingFlag(GetCurrentThread(), &mut io_pending_flag) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentThread` in this scope [INFO] [stdout] --> src/lib.rs:266:28 [INFO] [stdout] | [INFO] [stdout] 266 | GetThreadIOPendingFlag(GetCurrentThread(), &mut io_pending_flag) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BYTE` in this scope [INFO] [stdout] --> src/lib.rs:387:14 [INFO] [stdout] | [INFO] [stdout] 387 | cpu_num: BYTE, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD_PTR` in this scope [INFO] [stdout] --> src/lib.rs:388:20 [INFO] [stdout] | [INFO] [stdout] 388 | original_mask: DWORD_PTR, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD_PTR` in this scope [INFO] [stdout] --> src/lib.rs:401:15 [INFO] [stdout] | [INFO] [stdout] 401 | new_mask: DWORD_PTR, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD_PTR` in this scope [INFO] [stdout] --> src/lib.rs:402:19 [INFO] [stdout] | [INFO] [stdout] 398 | impl ThreadAffinity { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 402 | ) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetThreadAffinityMask` in this scope [INFO] [stdout] --> src/lib.rs:403:22 [INFO] [stdout] | [INFO] [stdout] 403 | let r = unsafe { SetThreadAffinityMask(GetCurrentThread(), new_mask) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentThread` in this scope [INFO] [stdout] --> src/lib.rs:403:44 [INFO] [stdout] | [INFO] [stdout] 403 | let r = unsafe { SetThreadAffinityMask(GetCurrentThread(), new_mask) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BYTE` in this scope [INFO] [stdout] --> src/lib.rs:421:46 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn bind_to_cpu(&mut self, new_cpu_num: BYTE) -> io::Result<()> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAXIMUM_PROCESSORS` in this scope [INFO] [stdout] --> src/lib.rs:422:27 [INFO] [stdout] | [INFO] [stdout] 422 | assert!(new_cpu_num < MAXIMUM_PROCESSORS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD_PTR` in this scope [INFO] [stdout] --> src/lib.rs:423:19 [INFO] [stdout] | [INFO] [stdout] 423 | let new_mask: DWORD_PTR = 1 << new_cpu_num; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcessorNumber` in this scope [INFO] [stdout] --> src/lib.rs:443:28 [INFO] [stdout] | [INFO] [stdout] 443 | let cpu_num = unsafe { GetCurrentProcessorNumber() }.try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VOID` in this scope [INFO] [stdout] --> src/lib.rs:493:23 [INFO] [stdout] | [INFO] [stdout] 493 | Yield { param: *mut VOID }, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VOID` in this scope [INFO] [stdout] --> src/lib.rs:504:17 [INFO] [stdout] | [INFO] [stdout] 504 | param: *mut VOID, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG_PTR` in this scope [INFO] [stdout] --> src/lib.rs:518:25 [INFO] [stdout] | [INFO] [stdout] 518 | activation_payload: ULONG_PTR, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VOID` in this scope [INFO] [stdout] --> src/lib.rs:519:27 [INFO] [stdout] | [INFO] [stdout] 519 | scheduler_param: *mut VOID, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:548:12 [INFO] [stdout] | [INFO] [stdout] 548 | error: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UmsThreadIsTerminated` in this scope [INFO] [stdout] --> src/lib.rs:555:9 [INFO] [stdout] | [INFO] [stdout] 555 | UmsThreadIsTerminated, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UmsThreadIsSuspended` in this scope [INFO] [stdout] --> src/lib.rs:562:9 [INFO] [stdout] | [INFO] [stdout] 562 | UmsThreadIsSuspended, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UMS_THREAD_INFO_CLASS` in this scope [INFO] [stdout] --> src/lib.rs:580:28 [INFO] [stdout] | [INFO] [stdout] 580 | ums_thread_info_class: UMS_THREAD_INFO_CLASS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOLEAN` in this scope [INFO] [stdout] --> src/lib.rs:582:27 [INFO] [stdout] | [INFO] [stdout] 515 | impl SchedulerEntryCause { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 582 | get_ums_thread_info::( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG_PTR` in this scope [INFO] [stdout] --> src/lib.rs:593:23 [INFO] [stdout] | [INFO] [stdout] 593 | activation_payload: ULONG_PTR, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VOID` in this scope [INFO] [stdout] --> src/lib.rs:594:25 [INFO] [stdout] | [INFO] [stdout] 594 | scheduler_param: *mut VOID, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExecuteUmsThread` in this scope [INFO] [stdout] --> src/lib.rs:607:26 [INFO] [stdout] | [INFO] [stdout] 607 | let error = unsafe { ExecuteUmsThread(ums_thread_context) }.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentUmsThread` in this scope [INFO] [stdout] --> src/lib.rs:618:5 [INFO] [stdout] | [INFO] [stdout] 618 | GetCurrentUmsThread() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UmsThreadUserContext` in this scope [INFO] [stdout] --> src/lib.rs:623:51 [INFO] [stdout] | [INFO] [stdout] 623 | set_ums_thread_info(ums_thread_context, UmsThreadUserContext, state) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UmsThreadUserContext` in this scope [INFO] [stdout] --> src/lib.rs:626:54 [INFO] [stdout] | [INFO] [stdout] 626 | _ => get_ums_thread_info(ums_thread_context, UmsThreadUserContext), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteUmsThreadContext` in this scope [INFO] [stdout] --> src/lib.rs:677:16 [INFO] [stdout] | [INFO] [stdout] 677 | unsafe { DeleteUmsThreadContext(ums_thread_context) }.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:756:19 [INFO] [stdout] | [INFO] [stdout] 754 | fn poll_ums_completion_list( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 755 | state: &mut SchedulerState, [INFO] [stdout] 756 | timeout: Option, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INFINITE` in this scope [INFO] [stdout] --> src/lib.rs:758:41 [INFO] [stdout] | [INFO] [stdout] 758 | let timeout_dword = timeout.unwrap_or(INFINITE); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DequeueUmsCompletionListItems` in this scope [INFO] [stdout] --> src/lib.rs:761:5 [INFO] [stdout] | [INFO] [stdout] 761 | DequeueUmsCompletionListItems( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetNextUmsListItem` in this scope [INFO] [stdout] --> src/lib.rs:775:20 [INFO] [stdout] | [INFO] [stdout] 775 | unsafe { GetNextUmsListItem(ums_thread_context_list_head) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateUmsCompletionList` in this scope [INFO] [stdout] --> src/lib.rs:791:5 [INFO] [stdout] | [INFO] [stdout] 791 | CreateUmsCompletionList(&mut ums_completion_list).result()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteUmsCompletionList` in this scope [INFO] [stdout] --> src/lib.rs:794:7 [INFO] [stdout] | [INFO] [stdout] 794 | DeleteUmsCompletionList(l).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `UMS_SCHEDULER_STARTUP_INFO` in this scope [INFO] [stdout] --> src/lib.rs:805:38 [INFO] [stdout] | [INFO] [stdout] 805 | let mut scheduler_startup_info = UMS_SCHEDULER_STARTUP_INFO { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VOID` in this scope [INFO] [stdout] --> src/lib.rs:809:62 [INFO] [stdout] | [INFO] [stdout] 809 | SchedulerParam: &mut scheduler_state as *mut _ as *mut VOID, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnterUmsSchedulingMode` in this scope [INFO] [stdout] --> src/lib.rs:811:18 [INFO] [stdout] | [INFO] [stdout] 811 | let result = EnterUmsSchedulingMode(&mut scheduler_startup_info).result(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateUmsThreadContext` in this scope [INFO] [stdout] --> src/lib.rs:824:5 [INFO] [stdout] | [INFO] [stdout] 824 | CreateUmsThreadContext(&mut ums_thread_context).result()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteUmsThreadContext` in this scope [INFO] [stdout] --> src/lib.rs:826:7 [INFO] [stdout] | [INFO] [stdout] 826 | DeleteUmsThreadContext(c).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InitializeProcThreadAttributeList` in this scope [INFO] [stdout] --> src/lib.rs:830:5 [INFO] [stdout] | [INFO] [stdout] 830 | InitializeProcThreadAttributeList(null_mut(), 1, 0, &mut attr_list_size) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROC_THREAD_ATTRIBUTE_LIST` in this scope [INFO] [stdout] --> src/lib.rs:835:25 [INFO] [stdout] | [INFO] [stdout] 835 | let attr_list: *mut PROC_THREAD_ATTRIBUTE_LIST = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InitializeProcThreadAttributeList` in this scope [INFO] [stdout] --> src/lib.rs:838:5 [INFO] [stdout] | [INFO] [stdout] 838 | InitializeProcThreadAttributeList(attr_list, 1, 0, &mut attr_list_size) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteProcThreadAttributeList` in this scope [INFO] [stdout] --> src/lib.rs:840:42 [INFO] [stdout] | [INFO] [stdout] 840 | let attr_list = guard(attr_list, |p| DeleteProcThreadAttributeList(p)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `UMS_CREATE_THREAD_ATTRIBUTES` in this scope [INFO] [stdout] --> src/lib.rs:842:16 [INFO] [stdout] | [INFO] [stdout] 842 | let attr = UMS_CREATE_THREAD_ATTRIBUTES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UpdateProcThreadAttribute` in this scope [INFO] [stdout] --> src/lib.rs:848:5 [INFO] [stdout] | [INFO] [stdout] 848 | UpdateProcThreadAttribute( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateRemoteThreadEx` in this scope [INFO] [stdout] --> src/lib.rs:859:25 [INFO] [stdout] | [INFO] [stdout] 859 | let thread_handle = CreateRemoteThreadEx( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope [INFO] [stdout] --> src/lib.rs:860:7 [INFO] [stdout] | [INFO] [stdout] 860 | GetCurrentProcess(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/lib.rs:871:5 [INFO] [stdout] | [INFO] [stdout] 871 | CloseHandle(thread_handle).result()?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UMS_THREAD_INFO_CLASS` in this scope [INFO] [stdout] --> src/lib.rs:879:26 [INFO] [stdout] | [INFO] [stdout] 879 | ums_thread_info_class: UMS_THREAD_INFO_CLASS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:882:40 [INFO] [stdout] | [INFO] [stdout] 882 | let info_size_in = size_of::() as ULONG; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:883:41 [INFO] [stdout] | [INFO] [stdout] 877 | fn get_ums_thread_info( [INFO] [stdout] | - help: you might be missing a type parameter: `, ULONG` [INFO] [stdout] ... [INFO] [stdout] 883 | let mut info_size_out = MaybeUninit::::uninit(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryUmsThreadInformation` in this scope [INFO] [stdout] --> src/lib.rs:885:5 [INFO] [stdout] | [INFO] [stdout] 885 | QueryUmsThreadInformation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VOID` in this scope [INFO] [stdout] --> src/lib.rs:888:33 [INFO] [stdout] | [INFO] [stdout] 888 | info.as_mut_ptr() as *mut VOID, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UMS_THREAD_INFO_CLASS` in this scope [INFO] [stdout] --> src/lib.rs:900:26 [INFO] [stdout] | [INFO] [stdout] 900 | ums_thread_info_class: UMS_THREAD_INFO_CLASS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetUmsThreadInformation` in this scope [INFO] [stdout] --> src/lib.rs:904:5 [INFO] [stdout] | [INFO] [stdout] 904 | SetUmsThreadInformation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VOID` in this scope [INFO] [stdout] --> src/lib.rs:907:43 [INFO] [stdout] | [INFO] [stdout] 907 | &info as *const T as *mut T as *mut VOID, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:908:25 [INFO] [stdout] | [INFO] [stdout] 908 | size_of::() as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VOID` in this scope [INFO] [stdout] --> src/lib.rs:922:42 [INFO] [stdout] | [INFO] [stdout] 922 | fn cast_mut_void(p: *const T) -> *mut VOID { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VOID` in this scope [INFO] [stdout] --> src/lib.rs:923:23 [INFO] [stdout] | [INFO] [stdout] 923 | p as *mut T as *mut VOID [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DWORD` [INFO] [stdout] --> src/lib.rs:767:15 [INFO] [stdout] | [INFO] [stdout] 767 | .ok_or_else(DWORD::get_last_error); [INFO] [stdout] | ^^^^^ use of undeclared type `DWORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/win_result.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | impl WinResult for BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/win_result.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | impl WinResult for HANDLE { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/win_result.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | impl WinError for DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/win_result.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | unsafe { GetLastError() } [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RTL_UMS_SCHEDULER_REASON` in this scope [INFO] [stdout] --> src/winapi_extra.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | pub type UMS_SCHEDULER_REASON = RTL_UMS_SCHEDULER_REASON; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/winapi_extra.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | pub const UMS_VERSION: DWORD = RTL_UMS_VERSION; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RTL_UMS_VERSION` in this scope [INFO] [stdout] --> src/winapi_extra.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | pub const UMS_VERSION: DWORD = RTL_UMS_VERSION; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD_PTR` in this scope [INFO] [stdout] --> src/winapi_extra.rs:17:45 [INFO] [stdout] | [INFO] [stdout] 17 | pub const PROC_THREAD_ATTRIBUTE_UMS_THREAD: DWORD_PTR = 0x0003_0006; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/winapi_extra.rs:18:46 [INFO] [stdout] | [INFO] [stdout] 18 | pub const STACK_SIZE_PARAM_IS_A_RESERVATION: DWORD = 0x0001_0000; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentUmsThread` in this scope [INFO] [stdout] --> src/lib.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 129 | invoker: unsafe { GetCurrentUmsThread() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UmsThreadYield` in this scope [INFO] [stdout] --> src/lib.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | unsafe { UmsThreadYield(self.event.as_ptr() as *mut VOID) }.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VOID` in this scope [INFO] [stdout] --> src/lib.rs:137:57 [INFO] [stdout] | [INFO] [stdout] 137 | unsafe { UmsThreadYield(self.event.as_ptr() as *mut VOID) }.unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VOID` in this scope [INFO] [stdout] --> src/lib.rs:229:41 [INFO] [stdout] | [INFO] [stdout] 229 | as *mut Cell as *mut VOID; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UmsThreadYield` in this scope [INFO] [stdout] --> src/lib.rs:230:14 [INFO] [stdout] | [INFO] [stdout] 230 | unsafe { UmsThreadYield(param) }.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VOID` in this scope [INFO] [stdout] --> src/lib.rs:238:47 [INFO] [stdout] | [INFO] [stdout] 238 | unsafe extern "system" fn thread_main(_: *mut VOID) -> DWORD { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:238:56 [INFO] [stdout] | [INFO] [stdout] 238 | unsafe extern "system" fn thread_main(_: *mut VOID) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SleepEx` in this scope [INFO] [stdout] --> src/lib.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | match SleepEx(10_000, TRUE) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/lib.rs:249:33 [INFO] [stdout] | [INFO] [stdout] 249 | match SleepEx(10_000, TRUE) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/lib.rs:265:31 [INFO] [stdout] | [INFO] [stdout] 265 | let mut io_pending_flag = FALSE; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetThreadIOPendingFlag` in this scope [INFO] [stdout] --> src/lib.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | GetThreadIOPendingFlag(GetCurrentThread(), &mut io_pending_flag) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentThread` in this scope [INFO] [stdout] --> src/lib.rs:266:28 [INFO] [stdout] | [INFO] [stdout] 266 | GetThreadIOPendingFlag(GetCurrentThread(), &mut io_pending_flag) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BYTE` in this scope [INFO] [stdout] --> src/lib.rs:387:14 [INFO] [stdout] | [INFO] [stdout] 387 | cpu_num: BYTE, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD_PTR` in this scope [INFO] [stdout] --> src/lib.rs:388:20 [INFO] [stdout] | [INFO] [stdout] 388 | original_mask: DWORD_PTR, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD_PTR` in this scope [INFO] [stdout] --> src/lib.rs:401:15 [INFO] [stdout] | [INFO] [stdout] 401 | new_mask: DWORD_PTR, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD_PTR` in this scope [INFO] [stdout] --> src/lib.rs:402:19 [INFO] [stdout] | [INFO] [stdout] 398 | impl ThreadAffinity { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 402 | ) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetThreadAffinityMask` in this scope [INFO] [stdout] --> src/lib.rs:403:22 [INFO] [stdout] | [INFO] [stdout] 403 | let r = unsafe { SetThreadAffinityMask(GetCurrentThread(), new_mask) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentThread` in this scope [INFO] [stdout] --> src/lib.rs:403:44 [INFO] [stdout] | [INFO] [stdout] 403 | let r = unsafe { SetThreadAffinityMask(GetCurrentThread(), new_mask) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BYTE` in this scope [INFO] [stdout] --> src/lib.rs:421:46 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn bind_to_cpu(&mut self, new_cpu_num: BYTE) -> io::Result<()> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAXIMUM_PROCESSORS` in this scope [INFO] [stdout] --> src/lib.rs:422:27 [INFO] [stdout] | [INFO] [stdout] 422 | assert!(new_cpu_num < MAXIMUM_PROCESSORS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD_PTR` in this scope [INFO] [stdout] --> src/lib.rs:423:19 [INFO] [stdout] | [INFO] [stdout] 423 | let new_mask: DWORD_PTR = 1 << new_cpu_num; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcessorNumber` in this scope [INFO] [stdout] --> src/lib.rs:443:28 [INFO] [stdout] | [INFO] [stdout] 443 | let cpu_num = unsafe { GetCurrentProcessorNumber() }.try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VOID` in this scope [INFO] [stdout] --> src/lib.rs:493:23 [INFO] [stdout] | [INFO] [stdout] 493 | Yield { param: *mut VOID }, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VOID` in this scope [INFO] [stdout] --> src/lib.rs:504:17 [INFO] [stdout] | [INFO] [stdout] 504 | param: *mut VOID, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG_PTR` in this scope [INFO] [stdout] --> src/lib.rs:518:25 [INFO] [stdout] | [INFO] [stdout] 518 | activation_payload: ULONG_PTR, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VOID` in this scope [INFO] [stdout] --> src/lib.rs:519:27 [INFO] [stdout] | [INFO] [stdout] 519 | scheduler_param: *mut VOID, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:548:12 [INFO] [stdout] | [INFO] [stdout] 548 | error: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UmsThreadIsTerminated` in this scope [INFO] [stdout] --> src/lib.rs:555:9 [INFO] [stdout] | [INFO] [stdout] 555 | UmsThreadIsTerminated, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UmsThreadIsSuspended` in this scope [INFO] [stdout] --> src/lib.rs:562:9 [INFO] [stdout] | [INFO] [stdout] 562 | UmsThreadIsSuspended, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UMS_THREAD_INFO_CLASS` in this scope [INFO] [stdout] --> src/lib.rs:580:28 [INFO] [stdout] | [INFO] [stdout] 580 | ums_thread_info_class: UMS_THREAD_INFO_CLASS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOLEAN` in this scope [INFO] [stdout] --> src/lib.rs:582:27 [INFO] [stdout] | [INFO] [stdout] 515 | impl SchedulerEntryCause { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 582 | get_ums_thread_info::( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG_PTR` in this scope [INFO] [stdout] --> src/lib.rs:593:23 [INFO] [stdout] | [INFO] [stdout] 593 | activation_payload: ULONG_PTR, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VOID` in this scope [INFO] [stdout] --> src/lib.rs:594:25 [INFO] [stdout] | [INFO] [stdout] 594 | scheduler_param: *mut VOID, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExecuteUmsThread` in this scope [INFO] [stdout] --> src/lib.rs:607:26 [INFO] [stdout] | [INFO] [stdout] 607 | let error = unsafe { ExecuteUmsThread(ums_thread_context) }.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentUmsThread` in this scope [INFO] [stdout] --> src/lib.rs:618:5 [INFO] [stdout] | [INFO] [stdout] 618 | GetCurrentUmsThread() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UmsThreadUserContext` in this scope [INFO] [stdout] --> src/lib.rs:623:51 [INFO] [stdout] | [INFO] [stdout] 623 | set_ums_thread_info(ums_thread_context, UmsThreadUserContext, state) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UmsThreadUserContext` in this scope [INFO] [stdout] --> src/lib.rs:626:54 [INFO] [stdout] | [INFO] [stdout] 626 | _ => get_ums_thread_info(ums_thread_context, UmsThreadUserContext), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteUmsThreadContext` in this scope [INFO] [stdout] --> src/lib.rs:677:16 [INFO] [stdout] | [INFO] [stdout] 677 | unsafe { DeleteUmsThreadContext(ums_thread_context) }.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:756:19 [INFO] [stdout] | [INFO] [stdout] 754 | fn poll_ums_completion_list( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 755 | state: &mut SchedulerState, [INFO] [stdout] 756 | timeout: Option, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INFINITE` in this scope [INFO] [stdout] --> src/lib.rs:758:41 [INFO] [stdout] | [INFO] [stdout] 758 | let timeout_dword = timeout.unwrap_or(INFINITE); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DequeueUmsCompletionListItems` in this scope [INFO] [stdout] --> src/lib.rs:761:5 [INFO] [stdout] | [INFO] [stdout] 761 | DequeueUmsCompletionListItems( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetNextUmsListItem` in this scope [INFO] [stdout] --> src/lib.rs:775:20 [INFO] [stdout] | [INFO] [stdout] 775 | unsafe { GetNextUmsListItem(ums_thread_context_list_head) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateUmsCompletionList` in this scope [INFO] [stdout] --> src/lib.rs:791:5 [INFO] [stdout] | [INFO] [stdout] 791 | CreateUmsCompletionList(&mut ums_completion_list).result()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteUmsCompletionList` in this scope [INFO] [stdout] --> src/lib.rs:794:7 [INFO] [stdout] | [INFO] [stdout] 794 | DeleteUmsCompletionList(l).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `UMS_SCHEDULER_STARTUP_INFO` in this scope [INFO] [stdout] --> src/lib.rs:805:38 [INFO] [stdout] | [INFO] [stdout] 805 | let mut scheduler_startup_info = UMS_SCHEDULER_STARTUP_INFO { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VOID` in this scope [INFO] [stdout] --> src/lib.rs:809:62 [INFO] [stdout] | [INFO] [stdout] 809 | SchedulerParam: &mut scheduler_state as *mut _ as *mut VOID, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnterUmsSchedulingMode` in this scope [INFO] [stdout] --> src/lib.rs:811:18 [INFO] [stdout] | [INFO] [stdout] 811 | let result = EnterUmsSchedulingMode(&mut scheduler_startup_info).result(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateUmsThreadContext` in this scope [INFO] [stdout] --> src/lib.rs:824:5 [INFO] [stdout] | [INFO] [stdout] 824 | CreateUmsThreadContext(&mut ums_thread_context).result()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteUmsThreadContext` in this scope [INFO] [stdout] --> src/lib.rs:826:7 [INFO] [stdout] | [INFO] [stdout] 826 | DeleteUmsThreadContext(c).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InitializeProcThreadAttributeList` in this scope [INFO] [stdout] --> src/lib.rs:830:5 [INFO] [stdout] | [INFO] [stdout] 830 | InitializeProcThreadAttributeList(null_mut(), 1, 0, &mut attr_list_size) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROC_THREAD_ATTRIBUTE_LIST` in this scope [INFO] [stdout] --> src/lib.rs:835:25 [INFO] [stdout] | [INFO] [stdout] 835 | let attr_list: *mut PROC_THREAD_ATTRIBUTE_LIST = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InitializeProcThreadAttributeList` in this scope [INFO] [stdout] --> src/lib.rs:838:5 [INFO] [stdout] | [INFO] [stdout] 838 | InitializeProcThreadAttributeList(attr_list, 1, 0, &mut attr_list_size) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteProcThreadAttributeList` in this scope [INFO] [stdout] --> src/lib.rs:840:42 [INFO] [stdout] | [INFO] [stdout] 840 | let attr_list = guard(attr_list, |p| DeleteProcThreadAttributeList(p)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `UMS_CREATE_THREAD_ATTRIBUTES` in this scope [INFO] [stdout] --> src/lib.rs:842:16 [INFO] [stdout] | [INFO] [stdout] 842 | let attr = UMS_CREATE_THREAD_ATTRIBUTES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UpdateProcThreadAttribute` in this scope [INFO] [stdout] --> src/lib.rs:848:5 [INFO] [stdout] | [INFO] [stdout] 848 | UpdateProcThreadAttribute( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateRemoteThreadEx` in this scope [INFO] [stdout] --> src/lib.rs:859:25 [INFO] [stdout] | [INFO] [stdout] 859 | let thread_handle = CreateRemoteThreadEx( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope [INFO] [stdout] --> src/lib.rs:860:7 [INFO] [stdout] | [INFO] [stdout] 860 | GetCurrentProcess(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/lib.rs:871:5 [INFO] [stdout] | [INFO] [stdout] 871 | CloseHandle(thread_handle).result()?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UMS_THREAD_INFO_CLASS` in this scope [INFO] [stdout] --> src/lib.rs:879:26 [INFO] [stdout] | [INFO] [stdout] 879 | ums_thread_info_class: UMS_THREAD_INFO_CLASS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:882:40 [INFO] [stdout] | [INFO] [stdout] 882 | let info_size_in = size_of::() as ULONG; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:883:41 [INFO] [stdout] | [INFO] [stdout] 877 | fn get_ums_thread_info( [INFO] [stdout] | - help: you might be missing a type parameter: `, ULONG` [INFO] [stdout] ... [INFO] [stdout] 883 | let mut info_size_out = MaybeUninit::::uninit(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryUmsThreadInformation` in this scope [INFO] [stdout] --> src/lib.rs:885:5 [INFO] [stdout] | [INFO] [stdout] 885 | QueryUmsThreadInformation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VOID` in this scope [INFO] [stdout] --> src/lib.rs:888:33 [INFO] [stdout] | [INFO] [stdout] 888 | info.as_mut_ptr() as *mut VOID, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UMS_THREAD_INFO_CLASS` in this scope [INFO] [stdout] --> src/lib.rs:900:26 [INFO] [stdout] | [INFO] [stdout] 900 | ums_thread_info_class: UMS_THREAD_INFO_CLASS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetUmsThreadInformation` in this scope [INFO] [stdout] --> src/lib.rs:904:5 [INFO] [stdout] | [INFO] [stdout] 904 | SetUmsThreadInformation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VOID` in this scope [INFO] [stdout] --> src/lib.rs:907:43 [INFO] [stdout] | [INFO] [stdout] 907 | &info as *const T as *mut T as *mut VOID, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:908:25 [INFO] [stdout] | [INFO] [stdout] 908 | size_of::() as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VOID` in this scope [INFO] [stdout] --> src/lib.rs:922:42 [INFO] [stdout] | [INFO] [stdout] 922 | fn cast_mut_void(p: *const T) -> *mut VOID { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VOID` in this scope [INFO] [stdout] --> src/lib.rs:923:23 [INFO] [stdout] | [INFO] [stdout] 923 | p as *mut T as *mut VOID [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::win_result::WinResult` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::win_result::WinResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 102 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0408, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0408`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ums` [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] [stdout] warning: unused import: `crate::win_result::WinResult` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::win_result::WinResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 102 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0408, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0408`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "bed7adaeb0448062fa50d78e879ff1e70475d4ed1cc269fcf564885f6cff4f9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bed7adaeb0448062fa50d78e879ff1e70475d4ed1cc269fcf564885f6cff4f9d", kill_on_drop: false }` [INFO] [stdout] bed7adaeb0448062fa50d78e879ff1e70475d4ed1cc269fcf564885f6cff4f9d