[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] testing montanonic/net against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmontanonic%2Fnet" "/workspace/builds/worker-101/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-101/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/montanonic/net on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-101/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d51c5700dad965b8c1dd5599ed5b600ddc92d3f6b81b4d536556f2bf9874f681 [INFO] running `Command { std: "docker" "start" "-a" "d51c5700dad965b8c1dd5599ed5b600ddc92d3f6b81b4d536556f2bf9874f681", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d51c5700dad965b8c1dd5599ed5b600ddc92d3f6b81b4d536556f2bf9874f681", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d51c5700dad965b8c1dd5599ed5b600ddc92d3f6b81b4d536556f2bf9874f681", kill_on_drop: false }` [INFO] [stdout] d51c5700dad965b8c1dd5599ed5b600ddc92d3f6b81b4d536556f2bf9874f681 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fe41bd472d5285659f44184b064c51fc1ff7571127c80ff3fc7127af84214a0 [INFO] running `Command { std: "docker" "start" "-a" "1fe41bd472d5285659f44184b064c51fc1ff7571127c80ff3fc7127af84214a0", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling net v0.1.0 (/opt/rustwide/workdir) [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] 49 | pub struct Socket { [INFO] [stdout] | ----------------- similarly named struct `Socket` defined here [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn get_handle(&self) -> SOCKET { [INFO] [stdout] | ^^^^^^ help: a struct with a similar name exists: `Socket` [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[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(associated_type_defaults)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 28 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0554, 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 29 previous errors [INFO] running `Command { std: "docker" "inspect" "1fe41bd472d5285659f44184b064c51fc1ff7571127c80ff3fc7127af84214a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fe41bd472d5285659f44184b064c51fc1ff7571127c80ff3fc7127af84214a0", kill_on_drop: false }` [INFO] [stdout] 1fe41bd472d5285659f44184b064c51fc1ff7571127c80ff3fc7127af84214a0