[INFO] fetching crate get_adapters_addresses 0.1.1... [INFO] testing get_adapters_addresses-0.1.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate get_adapters_addresses 0.1.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate get_adapters_addresses 0.1.1 [INFO] finished tweaking crates.io crate get_adapters_addresses 0.1.1 [INFO] tweaked toml for crates.io crate get_adapters_addresses 0.1.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate get_adapters_addresses 0.1.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 15 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.18) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.61.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c88392bb52242517b5573aedd5884c727d3b8660e4e93c06471785ea150598f [INFO] running `Command { std: "docker" "start" "-a" "4c88392bb52242517b5573aedd5884c727d3b8660e4e93c06471785ea150598f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c88392bb52242517b5573aedd5884c727d3b8660e4e93c06471785ea150598f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c88392bb52242517b5573aedd5884c727d3b8660e4e93c06471785ea150598f", kill_on_drop: false }` [INFO] [stdout] 4c88392bb52242517b5573aedd5884c727d3b8660e4e93c06471785ea150598f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e89f205031631417d84b0cc8f778796e42cc073611b2756b365999748f22768 [INFO] running `Command { std: "docker" "start" "-a" "9e89f205031631417d84b0cc8f778796e42cc073611b2756b365999748f22768", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling get_adapters_addresses v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find `windows` in `os` [INFO] [stdout] --> src/win32.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ffi::OsString, net::IpAddr, os::windows::prelude::OsStringExt}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/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/562dee4820c458d823175268e41601d4c060588a/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 module or crate `windows_sys` in this scope [INFO] [stdout] --> src/win32.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use windows_sys::Win32::Networking::WinSock::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope [INFO] [stdout] --> src/win32/adapter.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use windows_sys::Win32::NetworkManagement::IpHelper::IP_ADAPTER_ADDRESSES_LH; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope [INFO] [stdout] --> src/win32/ip_addr_iter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use windows_sys::Win32::Networking::WinSock::SOCKADDR; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope [INFO] [stdout] --> src/win32/memory.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use windows_sys::Win32::System::Memory::{GetProcessHeap, HeapAlloc, HeapFree}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope [INFO] [stdout] --> src/win32/adapter/oper_status.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use windows_sys::Win32::NetworkManagement::Ndis::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope [INFO] [stdout] --> src/win32/adapters_addresses.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use windows_sys::Win32::Foundation::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope [INFO] [stdout] --> src/win32/adapters_addresses.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use windows_sys::Win32::NetworkManagement::IpHelper::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope [INFO] [stdout] --> src/win32/family.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use windows_sys::Win32::Networking::WinSock::{AF_INET, AF_INET6, AF_UNSPEC}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope [INFO] [stdout] --> src/win32/flags.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use windows_sys::Win32::NetworkManagement::IpHelper::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope [INFO] [stdout] --> src/win32/from_src.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use windows_sys::Win32::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/win32.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | break OsString::from_wide(unsafe { std::slice::from_raw_parts(p, i) }); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/ffi/os_str.rs:141:4 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 48 - break OsString::from_wide(unsafe { std::slice::from_raw_parts(p, i) }); [INFO] [stdout] 48 + break OsString::from_iter(unsafe { std::slice::from_raw_parts(p, i) }); [INFO] [stdout] | [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 `get_adapters_addresses` (lib) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "9e89f205031631417d84b0cc8f778796e42cc073611b2756b365999748f22768", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e89f205031631417d84b0cc8f778796e42cc073611b2756b365999748f22768", kill_on_drop: false }` [INFO] [stdout] 9e89f205031631417d84b0cc8f778796e42cc073611b2756b365999748f22768