[INFO] fetching crate psnet 1.0.0... [INFO] checking psnet-1.0.0 against master#bbe853615821442ef11d6cd42a30a73432b38d89 for pr-154205 [INFO] extracting crate psnet 1.0.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate psnet 1.0.0 [INFO] finished tweaking crates.io crate psnet 1.0.0 [INFO] tweaked toml for crates.io crate psnet 1.0.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate psnet 1.0.0 on toolchain bbe853615821442ef11d6cd42a30a73432b38d89 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate psnet 1.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ipnetwork v0.20.0 [INFO] [stderr] Downloaded dns-lookup v2.1.1 [INFO] [stderr] Downloaded maxminddb v0.24.0 [INFO] [stderr] Downloaded compact_str v0.8.1 [INFO] [stderr] Downloaded ntapi v0.4.3 [INFO] [stderr] Downloaded sysinfo v0.32.1 [INFO] [stderr] Downloaded syn v2.0.115 [INFO] [stderr] Downloaded ratatui v0.29.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8092a3d7cac83014ba87e8204427f2e20b53c711b5275217df600e9f95b517a7 [INFO] running `Command { std: "docker" "start" "-a" "8092a3d7cac83014ba87e8204427f2e20b53c711b5275217df600e9f95b517a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8092a3d7cac83014ba87e8204427f2e20b53c711b5275217df600e9f95b517a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8092a3d7cac83014ba87e8204427f2e20b53c711b5275217df600e9f95b517a7", kill_on_drop: false }` [INFO] [stdout] 8092a3d7cac83014ba87e8204427f2e20b53c711b5275217df600e9f95b517a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21703c58bc3ea6407c9a97cc9e3909c2299ccf303605517101e1486706cd020d [INFO] running `Command { std: "docker" "start" "-a" "21703c58bc3ea6407c9a97cc9e3909c2299ccf303605517101e1486706cd020d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.115 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking dns-lookup v2.1.1 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking sysinfo v0.32.1 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling instability v0.3.11 [INFO] [stderr] Checking ratatui v0.29.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking ipnetwork v0.20.0 [INFO] [stderr] Checking maxminddb v0.24.0 [INFO] [stderr] Checking psnet v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find `windows` in `os` [INFO] [stdout] --> src/network/hostnames.rs:402:18 [INFO] [stdout] | [INFO] [stdout] 402 | use std::os::windows::io::{FromRawSocket, RawSocket}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/std/src/os/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/std/src/os/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `windows` in `os` [INFO] [stdout] --> src/network/hostnames.rs:577:18 [INFO] [stdout] | [INFO] [stdout] 577 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/std/src/os/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/std/src/os/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `windows` in `os` [INFO] [stdout] --> src/network/hostnames.rs:402:18 [INFO] [stdout] | [INFO] [stdout] 402 | use std::os::windows::io::{FromRawSocket, RawSocket}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/std/src/os/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/std/src/os/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `windows` in `os` [INFO] [stdout] --> src/network/hostnames.rs:577:18 [INFO] [stdout] | [INFO] [stdout] 577 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/std/src/os/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/std/src/os/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_raw_socket` found for struct `UdpSocket` in the current scope [INFO] [stdout] --> src/network/hostnames.rs:448:31 [INFO] [stdout] | [INFO] [stdout] 448 | let sock = UdpSocket::from_raw_socket(raw as RawSocket); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `UdpSocket` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `UdpSocket`, consider using `UdpSocket::bind` which returns `Result` [INFO] [stdout] --> /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/std/src/net/udp.rs:121:4 [INFO] [stdout] help: there is an associated function `from_raw_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 448 - let sock = UdpSocket::from_raw_socket(raw as RawSocket); [INFO] [stdout] 448 + let sock = UdpSocket::from_raw_fd(raw as RawSocket); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/network/hostnames.rs:592:61 [INFO] [stdout] | [INFO] [stdout] 592 | let dll_name: Vec = OsStr::new("dnsapi.dll\0").encode_wide().collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_raw_socket` found for struct `UdpSocket` in the current scope [INFO] [stdout] --> src/network/hostnames.rs:448:31 [INFO] [stdout] | [INFO] [stdout] 448 | let sock = UdpSocket::from_raw_socket(raw as RawSocket); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `UdpSocket` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `UdpSocket`, consider using `UdpSocket::bind` which returns `Result` [INFO] [stdout] --> /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/std/src/net/udp.rs:121:4 [INFO] [stdout] help: there is an associated function `from_raw_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 448 - let sock = UdpSocket::from_raw_socket(raw as RawSocket); [INFO] [stdout] 448 + let sock = UdpSocket::from_raw_fd(raw as RawSocket); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/network/hostnames.rs:592:61 [INFO] [stdout] | [INFO] [stdout] 592 | let dll_name: Vec = OsStr::new("dnsapi.dll\0").encode_wide().collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/network/networks/docker.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut cmd = Command::new(program); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/network/networks/hotspot.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut cmd = Command::new(program); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/network/networks/hyperv.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut cmd = Command::new("powershell"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/network/networks/meshvpn.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let mut cmd = Command::new(program); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/network/networks/tunnel.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut cmd = Command::new(program); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/network/networks/docker.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut cmd = Command::new(program); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/network/networks/hotspot.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut cmd = Command::new(program); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/network/networks/hyperv.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut cmd = Command::new("powershell"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/network/networks/meshvpn.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let mut cmd = Command::new(program); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/network/networks/tunnel.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut cmd = Command::new(program); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `psnet` (bin "psnet") due to 4 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `psnet` (bin "psnet" test) due to 4 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "21703c58bc3ea6407c9a97cc9e3909c2299ccf303605517101e1486706cd020d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21703c58bc3ea6407c9a97cc9e3909c2299ccf303605517101e1486706cd020d", kill_on_drop: false }` [INFO] [stdout] 21703c58bc3ea6407c9a97cc9e3909c2299ccf303605517101e1486706cd020d