[INFO] fetching crate wintun-bindings 0.7.34... [INFO] testing wintun-bindings-0.7.34 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate wintun-bindings 0.7.34 into /workspace/builds/worker-1-tc2/source [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate wintun-bindings 0.7.34 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate wintun-bindings 0.7.34 [INFO] tweaked toml for crates.io crate wintun-bindings 0.7.34 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wintun-bindings 0.7.34 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wintun-bindings 0.7.34 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62d8e6cc0c87f5c18765eeff363c00e3cc2c92e1bdf49ec064766be34cbee104 [INFO] running `Command { std: "docker" "start" "-a" "62d8e6cc0c87f5c18765eeff363c00e3cc2c92e1bdf49ec064766be34cbee104", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62d8e6cc0c87f5c18765eeff363c00e3cc2c92e1bdf49ec064766be34cbee104", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62d8e6cc0c87f5c18765eeff363c00e3cc2c92e1bdf49ec064766be34cbee104", kill_on_drop: false }` [INFO] [stdout] 62d8e6cc0c87f5c18765eeff363c00e3cc2c92e1bdf49ec064766be34cbee104 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ad4e36207e84fe4f84db9bd548f8540ea275d6ed1a404087414020937e98ce5 [INFO] running `Command { std: "docker" "start" "-a" "7ad4e36207e84fe4f84db9bd548f8540ea275d6ed1a404087414020937e98ce5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling windows-link v0.2.1 [INFO] [stderr] Compiling libloading v0.9.0 [INFO] [stderr] Compiling windows-sys v0.61.2 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling c2rust-bitfields-derive v0.21.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling c2rust-bitfields v0.21.0 [INFO] [stderr] Compiling wintun-bindings v0.7.34 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find `windows` in `os` [INFO] [stdout] --> src/adapter.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | 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/dec9417b8611e34e787a3e4c37686b5131f9e5c5/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/dec9417b8611e34e787a3e4c37686b5131f9e5c5/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/util.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | 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/dec9417b8611e34e787a3e4c37686b5131f9e5c5/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/dec9417b8611e34e787a3e4c37686b5131f9e5c5/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[E0432]: unresolved import `crate::wintun_raw` [INFO] [stdout] --> src/adapter.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | wintun_raw, [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:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Wintun, util, wintun_raw}; [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:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | packet, util, wintun_raw, [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]: cannot find module or crate `wintun_raw` in this scope [INFO] [stdout] --> src/lib.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | unsafe { Ok(Arc::new(wintun_raw::wintun::new(&path2)?)) } [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]: cannot find module or crate `wintun_raw` in this scope [INFO] [stdout] --> src/lib.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | 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[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/adapter.rs:122:53 [INFO] [stdout] | [INFO] [stdout] 122 | 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:89:41 [INFO] [stdout] | [INFO] [stdout] 89 | 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/dec9417b8611e34e787a3e4c37686b5131f9e5c5/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] 89 - let os_string = std::ffi::OsString::from_wide(slice); [INFO] [stdout] 89 + let os_string = std::ffi::OsString::from_iter(slice); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wintun_raw` in this scope [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]: cannot find module or crate `wintun_raw` in this scope [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]: cannot find module or crate `wintun_raw` in this scope [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]: cannot find module or crate `wintun_raw` in this scope [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, 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 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7ad4e36207e84fe4f84db9bd548f8540ea275d6ed1a404087414020937e98ce5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ad4e36207e84fe4f84db9bd548f8540ea275d6ed1a404087414020937e98ce5", kill_on_drop: false }` [INFO] [stdout] 7ad4e36207e84fe4f84db9bd548f8540ea275d6ed1a404087414020937e98ce5