[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] 2fca9bf5c104f8a74d34c8084fdf5ae95f770585 [INFO] checking nbdd0121/x11-over-vsock against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnbdd0121%2Fx11-over-vsock" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nbdd0121/x11-over-vsock on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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-4/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded humantime-serde v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6baac4f2c10ff9627c514c5cf5db78ce847e207c2715d571096ac854b299594 [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" "b6baac4f2c10ff9627c514c5cf5db78ce847e207c2715d571096ac854b299594", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6baac4f2c10ff9627c514c5cf5db78ce847e207c2715d571096ac854b299594", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6baac4f2c10ff9627c514c5cf5db78ce847e207c2715d571096ac854b299594", kill_on_drop: false }` [INFO] [stdout] b6baac4f2c10ff9627c514c5cf5db78ce847e207c2715d571096ac854b299594 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92c8b6625ba2c6eccdc6d46b0fbf2dabec11e87f4ea94d21ca531f9d2634622f [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" "92c8b6625ba2c6eccdc6d46b0fbf2dabec11e87f4ea94d21ca531f9d2634622f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling serde_derive v1.0.120 [INFO] [stderr] Compiling serde v1.0.120 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking futures-core v0.3.12 [INFO] [stderr] Checking widestring v0.4.3 [INFO] [stderr] Compiling tokio v1.0.2 [INFO] [stderr] Checking thread_local v1.1.2 [INFO] [stderr] Checking futures-lite v1.11.3 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking nb-connect v1.0.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking polling v2.0.2 [INFO] [stderr] Checking dirs v3.0.1 [INFO] [stderr] Checking async-io v1.3.1 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking humantime-serde v1.0.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking wsld v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stderr] Checking wsldhost v0.1.0 (/opt/rustwide/workdir/server) [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[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[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: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 `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 `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 `um` in `winapi` [INFO] [stdout] --> server/src/main.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | 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 `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 `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/main.rs:61:56 [INFO] [stdout] | [INFO] [stdout] 61 | 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 `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[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[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 `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[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 `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[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 `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 `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 `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 `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 `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 `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[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 `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 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] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> server/src/main.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | 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:61:56 [INFO] [stdout] | [INFO] [stdout] 61 | 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 `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[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[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 `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[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 `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[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 `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 `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 `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 `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 `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 `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[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 `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 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] error: aborting due to 46 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 46 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wsldhost` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "92c8b6625ba2c6eccdc6d46b0fbf2dabec11e87f4ea94d21ca531f9d2634622f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92c8b6625ba2c6eccdc6d46b0fbf2dabec11e87f4ea94d21ca531f9d2634622f", kill_on_drop: false }` [INFO] [stdout] 92c8b6625ba2c6eccdc6d46b0fbf2dabec11e87f4ea94d21ca531f9d2634622f