[INFO] cloning repository https://github.com/montanonic/net [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/montanonic/net" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmontanonic%2Fnet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmontanonic%2Fnet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4931e836c9dfbd845ab4787907ebed62beb8661d [INFO] checking montanonic/net against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmontanonic%2Fnet" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/montanonic/net on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/montanonic/net [INFO] finished tweaking git repo https://github.com/montanonic/net [INFO] tweaked toml for git repo https://github.com/montanonic/net written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/montanonic/net already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f81b752b580150174a53065e5fcab932d665e800d00a13f590d9055dfa5305b [INFO] running `Command { std: "docker" "start" "-a" "8f81b752b580150174a53065e5fcab932d665e800d00a13f590d9055dfa5305b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f81b752b580150174a53065e5fcab932d665e800d00a13f590d9055dfa5305b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f81b752b580150174a53065e5fcab932d665e800d00a13f590d9055dfa5305b", kill_on_drop: false }` [INFO] [stdout] 8f81b752b580150174a53065e5fcab932d665e800d00a13f590d9055dfa5305b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fa02a5991fae44c3462abbfa6c5c808d0324f10928827dbd8ef49528cc63ec7 [INFO] running `Command { std: "docker" "start" "-a" "9fa02a5991fae44c3462abbfa6c5c808d0324f10928827dbd8ef49528cc63ec7", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking net v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] error[E0583]: file not found for module `sock` [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod sock; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `sock`, create file "src/sock.rs" or "src/sock/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/winsock.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::ctypes::c_int; [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/winsock.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::ws2def::{self, ADDRINFOA, PADDRINFOA}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/winsock.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::ws2def::{self, ADDRINFOA, PADDRINFOA}; [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/winsock.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winsock2::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/winsock.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winsock2::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/winsock.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::ws2tcpip; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SOCKET` in this scope [INFO] [stdout] --> src/winsock.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | handle: SOCKET, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSAGetLastError` in this scope [INFO] [stdout] --> src/winsock.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 65 | let err_code = unsafe { WSAGetLastError() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSAGetLastError` in this scope [INFO] [stdout] --> src/winsock.rs:112:30 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe { WSAGetLastError() } [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SOCKET` in this scope [INFO] [stdout] --> src/winsock.rs:117:37 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_handle(&self) -> SOCKET { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PADDRINFOA` in this scope [INFO] [stdout] --> src/winsock.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct AddrInfo(PADDRINFOA); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ADDRINFOA` in this scope [INFO] [stdout] --> src/winsock.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 141 | type Target = ADDRINFOA; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ADDRINFOA` in this scope [INFO] [stdout] --> src/winsock.rs:142:29 [INFO] [stdout] | [INFO] [stdout] 142 | fn deref(&self) -> &ADDRINFOA { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ADDRINFOA` in this scope [INFO] [stdout] --> src/winsock.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | impl FFIListMut for AddrInfo { [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PADDRINFOA` in this scope [INFO] [stdout] --> src/winsock.rs:148:35 [INFO] [stdout] | [INFO] [stdout] 148 | fn next_ptr(&mut self) -> PADDRINFOA { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ADDRINFOA` in this scope [INFO] [stdout] --> src/winsock.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | impl FFIListMut for ADDRINFOA { [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ADDRINFOA` in this scope [INFO] [stdout] --> src/winsock.rs:153:36 [INFO] [stdout] | [INFO] [stdout] 153 | impl FFIListMut for ADDRINFOA { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PADDRINFOA` in this scope [INFO] [stdout] --> src/winsock.rs:154:35 [INFO] [stdout] | [INFO] [stdout] 154 | fn next_ptr(&mut self) -> PADDRINFOA { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ADDRINFOA` in this scope [INFO] [stdout] --> src/winsock.rs:180:24 [INFO] [stdout] | [INFO] [stdout] 180 | let mut h: ADDRINFOA = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PADDRINFOA` in this scope [INFO] [stdout] --> src/winsock.rs:189:25 [INFO] [stdout] | [INFO] [stdout] 189 | let mut result: PADDRINFOA = 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 `WSAGetLastError` in this scope [INFO] [stdout] --> src/winsock.rs:207:26 [INFO] [stdout] | [INFO] [stdout] 207 | unsafe { WSAGetLastError() } [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSACleanup` in this scope [INFO] [stdout] --> src/winsock.rs:250:37 [INFO] [stdout] | [INFO] [stdout] 250 | let code = unsafe { WSACleanup() }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSAStartup` in this scope [INFO] [stdout] --> src/winsock.rs:274:37 [INFO] [stdout] | [INFO] [stdout] 274 | let startup_code = unsafe { WSAStartup(version, wsa_data.as_mut_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WSADATA` in this scope [INFO] [stdout] --> src/winsock.rs:277:23 [INFO] [stdout] | [INFO] [stdout] 277 | let wsa_data: WSADATA = unsafe { wsa_data.assume_init() }; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ai_addr` on type `AddrInfo` [INFO] [stdout] --> src/winsock.rs:93:55 [INFO] [stdout] | [INFO] [stdout] 93 | winsock2::bind(self.handle, addr_info.ai_addr, addr_info.ai_addrlen as i32) [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ai_addrlen` on type `AddrInfo` [INFO] [stdout] --> src/winsock.rs:93:74 [INFO] [stdout] | [INFO] [stdout] 93 | winsock2::bind(self.handle, addr_info.ai_addr, addr_info.ai_addrlen as i32) [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0583, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `net` due to 28 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0583]: file not found for module `sock` [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod sock; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `sock`, create file "src/sock.rs" or "src/sock/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/winsock.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::ctypes::c_int; [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/winsock.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::ws2def::{self, ADDRINFOA, PADDRINFOA}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/winsock.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::ws2def::{self, ADDRINFOA, PADDRINFOA}; [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/winsock.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winsock2::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/winsock.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winsock2::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/winsock.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::ws2tcpip; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SOCKET` in this scope [INFO] [stdout] --> src/winsock.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | handle: SOCKET, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSAGetLastError` in this scope [INFO] [stdout] --> src/winsock.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 65 | let err_code = unsafe { WSAGetLastError() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSAGetLastError` in this scope [INFO] [stdout] --> src/winsock.rs:112:30 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe { WSAGetLastError() } [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SOCKET` in this scope [INFO] [stdout] --> src/winsock.rs:117:37 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_handle(&self) -> SOCKET { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PADDRINFOA` in this scope [INFO] [stdout] --> src/winsock.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct AddrInfo(PADDRINFOA); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ADDRINFOA` in this scope [INFO] [stdout] --> src/winsock.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 141 | type Target = ADDRINFOA; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ADDRINFOA` in this scope [INFO] [stdout] --> src/winsock.rs:142:29 [INFO] [stdout] | [INFO] [stdout] 142 | fn deref(&self) -> &ADDRINFOA { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ADDRINFOA` in this scope [INFO] [stdout] --> src/winsock.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | impl FFIListMut for AddrInfo { [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PADDRINFOA` in this scope [INFO] [stdout] --> src/winsock.rs:148:35 [INFO] [stdout] | [INFO] [stdout] 148 | fn next_ptr(&mut self) -> PADDRINFOA { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ADDRINFOA` in this scope [INFO] [stdout] --> src/winsock.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | impl FFIListMut for ADDRINFOA { [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ADDRINFOA` in this scope [INFO] [stdout] --> src/winsock.rs:153:36 [INFO] [stdout] | [INFO] [stdout] 153 | impl FFIListMut for ADDRINFOA { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PADDRINFOA` in this scope [INFO] [stdout] --> src/winsock.rs:154:35 [INFO] [stdout] | [INFO] [stdout] 154 | fn next_ptr(&mut self) -> PADDRINFOA { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ADDRINFOA` in this scope [INFO] [stdout] --> src/winsock.rs:180:24 [INFO] [stdout] | [INFO] [stdout] 180 | let mut h: ADDRINFOA = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PADDRINFOA` in this scope [INFO] [stdout] --> src/winsock.rs:189:25 [INFO] [stdout] | [INFO] [stdout] 189 | let mut result: PADDRINFOA = 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 `WSAGetLastError` in this scope [INFO] [stdout] --> src/winsock.rs:207:26 [INFO] [stdout] | [INFO] [stdout] 207 | unsafe { WSAGetLastError() } [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSACleanup` in this scope [INFO] [stdout] --> src/winsock.rs:250:37 [INFO] [stdout] | [INFO] [stdout] 250 | let code = unsafe { WSACleanup() }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSAStartup` in this scope [INFO] [stdout] --> src/winsock.rs:274:37 [INFO] [stdout] | [INFO] [stdout] 274 | let startup_code = unsafe { WSAStartup(version, wsa_data.as_mut_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WSADATA` in this scope [INFO] [stdout] --> src/winsock.rs:277:23 [INFO] [stdout] | [INFO] [stdout] 277 | let wsa_data: WSADATA = unsafe { wsa_data.assume_init() }; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ai_addr` on type `AddrInfo` [INFO] [stdout] --> src/winsock.rs:93:55 [INFO] [stdout] | [INFO] [stdout] 93 | winsock2::bind(self.handle, addr_info.ai_addr, addr_info.ai_addrlen as i32) [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ai_addrlen` on type `AddrInfo` [INFO] [stdout] --> src/winsock.rs:93:74 [INFO] [stdout] | [INFO] [stdout] 93 | winsock2::bind(self.handle, addr_info.ai_addr, addr_info.ai_addrlen as i32) [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0583, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "9fa02a5991fae44c3462abbfa6c5c808d0324f10928827dbd8ef49528cc63ec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fa02a5991fae44c3462abbfa6c5c808d0324f10928827dbd8ef49528cc63ec7", kill_on_drop: false }` [INFO] [stdout] 9fa02a5991fae44c3462abbfa6c5c808d0324f10928827dbd8ef49528cc63ec7