[INFO] cloning repository https://github.com/nbdd0121/x11-over-vsock [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nbdd0121/x11-over-vsock" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnbdd0121%2Fx11-over-vsock", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnbdd0121%2Fx11-over-vsock'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 629efbfbb2e4615ba9b3e9632e35c8d1f3516bdc [INFO] checking nbdd0121/x11-over-vsock against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnbdd0121%2Fx11-over-vsock" "/workspace/builds/worker-89/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-89/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nbdd0121/x11-over-vsock on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nbdd0121/x11-over-vsock [INFO] finished tweaking git repo https://github.com/nbdd0121/x11-over-vsock [INFO] tweaked toml for git repo https://github.com/nbdd0121/x11-over-vsock written to /workspace/builds/worker-89/source/Cargo.toml [INFO] crate git repo https://github.com/nbdd0121/x11-over-vsock already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded humantime-serde v1.0.1 [INFO] [stderr] Downloaded structopt-derive v0.4.15 [INFO] [stderr] Downloaded structopt v0.3.22 [INFO] [stderr] Downloaded tokio-macros v1.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e9d6165afe2b7c0caf6e9d68b0e6bcb79a4654a865648c51b83c742eab40f9a [INFO] running `Command { std: "docker" "start" "-a" "1e9d6165afe2b7c0caf6e9d68b0e6bcb79a4654a865648c51b83c742eab40f9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e9d6165afe2b7c0caf6e9d68b0e6bcb79a4654a865648c51b83c742eab40f9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e9d6165afe2b7c0caf6e9d68b0e6bcb79a4654a865648c51b83c742eab40f9a", kill_on_drop: false }` [INFO] [stdout] 1e9d6165afe2b7c0caf6e9d68b0e6bcb79a4654a865648c51b83c742eab40f9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3cf245ff62997895e9be629732126cff9e7cea8713ac49f05e99240d00c24aa3 [INFO] running `Command { std: "docker" "start" "-a" "3cf245ff62997895e9be629732126cff9e7cea8713ac49f05e99240d00c24aa3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking widestring v0.4.3 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking polling v2.1.0 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking async-io v1.6.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling structopt-derive v0.4.15 [INFO] [stderr] Checking structopt v0.3.22 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking humantime-serde v1.0.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking wsldhost v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stderr] Checking wsld v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> server/src/vmcompute.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::shared::minwindef::LPVOID; [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] --> server/src/vmcompute.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::shared::ntdef::{LPCWSTR, LPWSTR}; [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] --> server/src/vmcompute.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::um::combaseapi::CoTaskMemFree; [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] --> server/src/vmcompute.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::um::libloaderapi::{FreeLibrary, GetProcAddress, LoadLibraryA}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> server/src/vmsocket.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use std::os::windows::io::{AsRawSocket, FromRawSocket, RawSocket}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> server/src/vmsocket.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::shared::ws2def::SOCK_STREAM; [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] --> server/src/vmsocket.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::shared::ws2def::*; [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] --> server/src/vmsocket.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::winsock2::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::net::windows` [INFO] [stdout] --> server/src/ssh_agent.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::net::windows::named_pipe; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> server/src/vmcompute.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::shared::minwindef::LPVOID; [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] --> server/src/vmcompute.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::shared::ntdef::{LPCWSTR, LPWSTR}; [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] --> server/src/vmcompute.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::um::combaseapi::CoTaskMemFree; [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] --> server/src/vmcompute.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::um::libloaderapi::{FreeLibrary, GetProcAddress, LoadLibraryA}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> server/src/vmsocket.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use std::os::windows::io::{AsRawSocket, FromRawSocket, RawSocket}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> server/src/vmsocket.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::shared::ws2def::SOCK_STREAM; [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] --> server/src/vmsocket.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::shared::ws2def::*; [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] --> server/src/vmsocket.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::winsock2::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::net::windows` [INFO] [stdout] --> server/src/ssh_agent.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::net::windows::named_pipe; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> server/src/vmsocket.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | pub Reserved: winapi::shared::minwindef::USHORT, [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] --> server/src/vmsocket.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | pub Reserved: winapi::shared::minwindef::USHORT, [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] --> server/src/vmsocket.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | pub VmId: winapi::shared::guiddef::GUID, [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] --> server/src/vmsocket.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | pub VmId: winapi::shared::guiddef::GUID, [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] --> server/src/vmsocket.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | pub ServiceId: winapi::shared::guiddef::GUID, [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] --> server/src/vmsocket.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | pub ServiceId: winapi::shared::guiddef::GUID, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> server/src/vmsocket.rs:26:36 [INFO] [stdout] | [INFO] [stdout] 26 | const HV_PROTOCOL_RAW: winapi::ctypes::c_int = 1; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> server/src/vmsocket.rs:26:36 [INFO] [stdout] | [INFO] [stdout] 26 | const HV_PROTOCOL_RAW: winapi::ctypes::c_int = 1; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> server/src/vmsocket.rs:37:60 [INFO] [stdout] | [INFO] [stdout] 37 | std::io::Error::from_raw_os_error(unsafe { winapi::um::winsock2::WSAGetLastError() }) [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] --> server/src/vmsocket.rs:37:60 [INFO] [stdout] | [INFO] [stdout] 37 | std::io::Error::from_raw_os_error(unsafe { winapi::um::winsock2::WSAGetLastError() }) [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] --> server/src/main.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | unsafe { winapi::um::wincon::AttachConsole(winapi::um::wincon::ATTACH_PARENT_PROCESS) }; [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] --> server/src/main.rs:63:56 [INFO] [stdout] | [INFO] [stdout] 63 | unsafe { winapi::um::wincon::AttachConsole(winapi::um::wincon::ATTACH_PARENT_PROCESS) }; [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] --> server/src/main.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | unsafe { winapi::um::wincon::AttachConsole(winapi::um::wincon::ATTACH_PARENT_PROCESS) }; [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] --> server/src/main.rs:63:56 [INFO] [stdout] | [INFO] [stdout] 63 | unsafe { winapi::um::wincon::AttachConsole(winapi::um::wincon::ATTACH_PARENT_PROCESS) }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryA` in this scope [INFO] [stdout] --> server/src/vmcompute.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | let module = LoadLibraryA(CString::new("vmcompute.dll").unwrap().as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> server/src/vmcompute.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | let func = GetProcAddress( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryA` in this scope [INFO] [stdout] --> server/src/vmcompute.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | let module = LoadLibraryA(CString::new("vmcompute.dll").unwrap().as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FreeLibrary` in this scope [INFO] [stdout] --> server/src/vmcompute.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | FreeLibrary(module); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> server/src/vmcompute.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | query: LPCWSTR, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> server/src/vmcompute.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | let func = GetProcAddress( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> server/src/vmcompute.rs:43:35 [INFO] [stdout] | [INFO] [stdout] 43 | compute_systems: &mut LPWSTR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> server/src/vmcompute.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | result: &mut LPWSTR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FreeLibrary` in this scope [INFO] [stdout] --> server/src/vmcompute.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | FreeLibrary(module); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> server/src/vmcompute.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | let mut compute_systems: LPWSTR = std::ptr::null_mut(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> server/src/vmcompute.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | query: LPCWSTR, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> server/src/vmcompute.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | let mut result: LPWSTR = std::ptr::null_mut(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> server/src/vmcompute.rs:43:35 [INFO] [stdout] | [INFO] [stdout] 43 | compute_systems: &mut LPWSTR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoTaskMemFree` in this scope [INFO] [stdout] --> server/src/vmcompute.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | CoTaskMemFree(compute_systems as LPVOID); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> server/src/vmcompute.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | result: &mut LPWSTR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> server/src/vmcompute.rs:60:46 [INFO] [stdout] | [INFO] [stdout] 60 | CoTaskMemFree(compute_systems as LPVOID); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> server/src/vmcompute.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | let mut compute_systems: LPWSTR = 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 `CoTaskMemFree` in this scope [INFO] [stdout] --> server/src/vmcompute.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | CoTaskMemFree(result as LPVOID); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> server/src/vmcompute.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | let mut result: LPWSTR = std::ptr::null_mut(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> server/src/vmcompute.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | CoTaskMemFree(result as LPVOID); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoTaskMemFree` in this scope [INFO] [stdout] --> server/src/vmcompute.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | CoTaskMemFree(compute_systems as LPVOID); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FreeLibrary` in this scope [INFO] [stdout] --> server/src/vmcompute.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | FreeLibrary(module); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> server/src/vmcompute.rs:60:46 [INFO] [stdout] | [INFO] [stdout] 60 | CoTaskMemFree(compute_systems as LPVOID); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ADDRESS_FAMILY` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | pub Family: ADDRESS_FAMILY, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoTaskMemFree` in this scope [INFO] [stdout] --> server/src/vmcompute.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | CoTaskMemFree(result as LPVOID); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SOCKET` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct VmSocket(SOCKET); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> server/src/vmcompute.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | CoTaskMemFree(result as LPVOID); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsRawSocket` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | impl AsRawSocket for VmSocket { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FreeLibrary` in this scope [INFO] [stdout] --> server/src/vmcompute.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | FreeLibrary(module); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RawSocket` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:43:36 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct VmSocket(SOCKET); [INFO] [stdout] | ---------------------------- similarly named struct `VmSocket` defined here [INFO] [stdout] ... [INFO] [stdout] 43 | fn as_raw_socket(&self) -> RawSocket { [INFO] [stdout] | ^^^^^^^^^ help: a struct with a similar name exists: `VmSocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ADDRESS_FAMILY` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | pub Family: ADDRESS_FAMILY, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SOCKET` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct VmSocket(SOCKET); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsRawSocket` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | impl AsRawSocket for VmSocket { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RawSocket` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:43:36 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct VmSocket(SOCKET); [INFO] [stdout] | ---------------------------- similarly named struct `VmSocket` defined here [INFO] [stdout] ... [INFO] [stdout] 43 | fn as_raw_socket(&self) -> RawSocket { [INFO] [stdout] | ^^^^^^^^^ help: a struct with a similar name exists: `VmSocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `closesocket` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | closesocket(self.0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AF_HYPERV` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:61:37 [INFO] [stdout] | [INFO] [stdout] 61 | local_addr.Family = AF_HYPERV as _; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `closesocket` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | closesocket(self.0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `socket` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | let fd = socket(AF_HYPERV, SOCK_STREAM, HV_PROTOCOL_RAW); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AF_HYPERV` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | let fd = socket(AF_HYPERV, SOCK_STREAM, HV_PROTOCOL_RAW); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SOCK_STREAM` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:75:44 [INFO] [stdout] | [INFO] [stdout] 75 | let fd = socket(AF_HYPERV, SOCK_STREAM, HV_PROTOCOL_RAW); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AF_HYPERV` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:61:37 [INFO] [stdout] | [INFO] [stdout] 61 | local_addr.Family = AF_HYPERV as _; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_SOCKET` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | if fd == INVALID_SOCKET { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `socket` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | let fd = socket(AF_HYPERV, SOCK_STREAM, HV_PROTOCOL_RAW); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bind` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | let result = bind( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AF_HYPERV` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | let fd = socket(AF_HYPERV, SOCK_STREAM, HV_PROTOCOL_RAW); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SOCKADDR` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:82:55 [INFO] [stdout] | [INFO] [stdout] 82 | &local_addr as *const _ as *const SOCKADDR, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SOCK_STREAM` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:75:44 [INFO] [stdout] | [INFO] [stdout] 75 | let fd = socket(AF_HYPERV, SOCK_STREAM, HV_PROTOCOL_RAW); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `closesocket` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | closesocket(fd); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_SOCKET` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | if fd == INVALID_SOCKET { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `listen` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 91 | let result = listen(fd, SOMAXCONN); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bind` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | let result = bind( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SOMAXCONN` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:91:41 [INFO] [stdout] | [INFO] [stdout] 91 | let result = listen(fd, SOMAXCONN); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `closesocket` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | closesocket(fd); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SOCKADDR` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:82:55 [INFO] [stdout] | [INFO] [stdout] 82 | &local_addr as *const _ as *const SOCKADDR, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `accept` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 103 | let fd = unsafe { accept(self.0, std::ptr::null_mut(), std::ptr::null_mut()) }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `closesocket` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | closesocket(fd); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_SOCKET` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | if fd == INVALID_SOCKET { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `listen` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 91 | let result = listen(fd, SOMAXCONN); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SOMAXCONN` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:91:41 [INFO] [stdout] | [INFO] [stdout] 91 | let result = listen(fd, SOMAXCONN); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `closesocket` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | closesocket(fd); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `accept` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 103 | let fd = unsafe { accept(self.0, std::ptr::null_mut(), std::ptr::null_mut()) }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_SOCKET` in this scope [INFO] [stdout] --> server/src/vmsocket.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | if fd == INVALID_SOCKET { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> server/src/vmcompute.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[serde(rename_all = "PascalCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> server/src/vmcompute.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[serde(rename_all = "PascalCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 47 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 47 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wsldhost` due to 48 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3cf245ff62997895e9be629732126cff9e7cea8713ac49f05e99240d00c24aa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cf245ff62997895e9be629732126cff9e7cea8713ac49f05e99240d00c24aa3", kill_on_drop: false }` [INFO] [stdout] 3cf245ff62997895e9be629732126cff9e7cea8713ac49f05e99240d00c24aa3