[INFO] fetching crate wintun-bindings 0.7.32... [INFO] testing wintun-bindings-0.7.32 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate wintun-bindings 0.7.32 into /workspace/builds/worker-7-tc1/source [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate wintun-bindings 0.7.32 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate wintun-bindings 0.7.32 [INFO] tweaked toml for crates.io crate wintun-bindings 0.7.32 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wintun-bindings 0.7.32 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wintun-bindings 0.7.32 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded c2rust-bitfields v0.20.0 [INFO] [stderr] Downloaded c2rust-bitfields-derive v0.20.0 [INFO] [stderr] Downloaded windows-targets v0.53.1 [INFO] [stderr] Downloaded packet v0.1.4 [INFO] [stderr] Downloaded jiff-static v0.2.14 [INFO] [stderr] Downloaded windows-sys v0.60.1 [INFO] [stderr] Downloaded jiff v0.2.14 [INFO] [stderr] Downloaded hwaddr v0.1.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3fed27844fbc808f79d18060b928a5f8942087b9b8c508dee32f0d817424793f [INFO] running `Command { std: "docker" "start" "-a" "3fed27844fbc808f79d18060b928a5f8942087b9b8c508dee32f0d817424793f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fed27844fbc808f79d18060b928a5f8942087b9b8c508dee32f0d817424793f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fed27844fbc808f79d18060b928a5f8942087b9b8c508dee32f0d817424793f", kill_on_drop: false }` [INFO] [stdout] 3fed27844fbc808f79d18060b928a5f8942087b9b8c508dee32f0d817424793f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 955476e0e680ab7d6a6a0de7c81b065d389c133d0c2fea890fde802a32c227af [INFO] running `Command { std: "docker" "start" "-a" "955476e0e680ab7d6a6a0de7c81b065d389c133d0c2fea890fde802a32c227af", kill_on_drop: false }` [INFO] [stderr] Compiling windows_x86_64_gnu v0.53.0 [INFO] [stderr] Compiling syn v2.0.102 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling windows-targets v0.53.1 [INFO] [stderr] Compiling windows-sys v0.60.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling c2rust-bitfields-derive v0.20.0 [INFO] [stderr] Compiling c2rust-bitfields v0.20.0 [INFO] [stderr] Compiling wintun-bindings v0.7.32 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/adapter.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | os::windows::prelude::OsStrExt, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/os/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/os/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/util.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/os/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/os/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::wintun_raw` [INFO] [stdout] --> src/adapter.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | wintun_raw, Wintun, [INFO] [stdout] | ^^^^^^^^^^ no `wintun_raw` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | mod wintun_raw; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wintun_raw.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::wintun_raw` [INFO] [stdout] --> src/log.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{util, wintun_raw, Wintun}; [INFO] [stdout] | ^^^^^^^^^^ no `wintun_raw` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | mod wintun_raw; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wintun_raw.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::wintun_raw` [INFO] [stdout] --> src/session.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | packet, util, wintun_raw, Adapter, Error, Wintun, [INFO] [stdout] | ^^^^^^^^^^ no `wintun_raw` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | mod wintun_raw; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wintun_raw.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wintun_raw` [INFO] [stdout] --> src/lib.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | unsafe { Ok(Arc::new(wintun_raw::wintun::new(path)?)) } [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `wintun_raw` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | mod wintun_raw; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wintun_raw.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] help: to make use of source file src/wintun_raw.rs, use `mod wintun_raw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 4 + mod wintun_raw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wintun_raw` [INFO] [stdout] --> src/lib.rs:122:26 [INFO] [stdout] | [INFO] [stdout] 122 | unsafe { Ok(Arc::new(wintun_raw::wintun::from_library(library)?)) } [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `wintun_raw` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | mod wintun_raw; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wintun_raw.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] help: to make use of source file src/wintun_raw.rs, use `mod wintun_raw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 4 + mod wintun_raw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: "stdcall" is not a supported ABI for the current target [INFO] [stdout] --> src/log.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | pub unsafe extern "stdcall" fn default_logger( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/adapter.rs:119:53 [INFO] [stdout] | [INFO] [stdout] 119 | let name_utf16: Vec = OsStr::new(name).encode_wide().chain(std::iter::once(0)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [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/util.rs:88:41 [INFO] [stdout] | [INFO] [stdout] 88 | let os_string = std::ffi::OsString::from_wide(slice); [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/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/ffi/os_str.rs:141:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 88 - let os_string = std::ffi::OsString::from_wide(slice); [INFO] [stdout] 88 + let os_string = std::ffi::OsString::from_iter(slice); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wintun_raw` [INFO] [stdout] --> src/lib.rs:43:36 [INFO] [stdout] | [INFO] [stdout] 43 | pub const MAX_RING_CAPACITY: u32 = wintun_raw::WINTUN_MAX_RING_CAPACITY; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `wintun_raw` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | mod wintun_raw; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wintun_raw.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] help: to make use of source file src/wintun_raw.rs, use `mod wintun_raw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 4 + mod wintun_raw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wintun_raw` [INFO] [stdout] --> src/lib.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | pub const MIN_RING_CAPACITY: u32 = wintun_raw::WINTUN_MIN_RING_CAPACITY; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `wintun_raw` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | mod wintun_raw; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wintun_raw.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] help: to make use of source file src/wintun_raw.rs, use `mod wintun_raw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 4 + mod wintun_raw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wintun_raw` [INFO] [stdout] --> src/lib.rs:50:37 [INFO] [stdout] | [INFO] [stdout] 50 | pub const MAX_IP_PACKET_SIZE: u32 = wintun_raw::WINTUN_MAX_IP_PACKET_SIZE; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `wintun_raw` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | mod wintun_raw; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wintun_raw.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] help: to make use of source file src/wintun_raw.rs, use `mod wintun_raw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 4 + mod wintun_raw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wintun_raw` [INFO] [stdout] --> src/lib.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | pub type Wintun = Arc; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `wintun_raw` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | mod wintun_raw; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wintun_raw.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] help: to make use of source file src/wintun_raw.rs, use `mod wintun_raw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 4 + mod wintun_raw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0570, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wintun-bindings` (lib) due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "955476e0e680ab7d6a6a0de7c81b065d389c133d0c2fea890fde802a32c227af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "955476e0e680ab7d6a6a0de7c81b065d389c133d0c2fea890fde802a32c227af", kill_on_drop: false }` [INFO] [stdout] 955476e0e680ab7d6a6a0de7c81b065d389c133d0c2fea890fde802a32c227af