[INFO] fetching crate wintun-bindings 0.7.32... [INFO] checking wintun-bindings-0.7.32 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate wintun-bindings 0.7.32 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.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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wintun-bindings 0.7.32 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c370846487e90cd8f7e051edef114efdd40d30396d303f008e237887e4412df6 [INFO] running `Command { std: "docker" "start" "-a" "c370846487e90cd8f7e051edef114efdd40d30396d303f008e237887e4412df6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c370846487e90cd8f7e051edef114efdd40d30396d303f008e237887e4412df6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c370846487e90cd8f7e051edef114efdd40d30396d303f008e237887e4412df6", kill_on_drop: false }` [INFO] [stdout] c370846487e90cd8f7e051edef114efdd40d30396d303f008e237887e4412df6 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1eb41bf39001627496bd6e60b7a07ea2751485d3905bfe6595d259341b7d26f [INFO] running `Command { std: "docker" "start" "-a" "d1eb41bf39001627496bd6e60b7a07ea2751485d3905bfe6595d259341b7d26f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling syn v2.0.102 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hwaddr v0.1.7 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking windows-targets v0.53.1 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking windows-sys v0.60.1 [INFO] [stderr] Checking byteorder_slice v3.0.0 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Checking jiff v0.2.14 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking subprocess v0.2.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling c2rust-bitfields-derive v0.20.0 [INFO] [stderr] Compiling derive-into-owned v0.2.0 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking c2rust-bitfields v0.20.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking packet v0.1.4 [INFO] [stderr] Checking pcap-file v2.0.0 [INFO] [stderr] Checking 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/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:120:1 [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/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:120:1 [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] note: the item is gated behind the `windows` feature [INFO] [stdout] --> src/wintun_raw.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg(target_os = "windows")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [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] note: the item is gated behind the `windows` feature [INFO] [stdout] --> src/wintun_raw.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg(target_os = "windows")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [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] note: the item is gated behind the `windows` feature [INFO] [stdout] --> src/wintun_raw.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg(target_os = "windows")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:120:1 [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/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:120:1 [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] 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] 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[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] note: the item is gated behind the `windows` feature [INFO] [stdout] --> src/wintun_raw.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg(target_os = "windows")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [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] note: the item is gated behind the `windows` feature [INFO] [stdout] --> src/wintun_raw.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg(target_os = "windows")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [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] note: the item is gated behind the `windows` feature [INFO] [stdout] --> src/wintun_raw.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg(target_os = "windows")] [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: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] 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] 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/998b6603a58e47f42ccce7a67943234e96b6839e/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[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[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] 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] 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] 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] 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] [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/998b6603a58e47f42ccce7a67943234e96b6839e/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] 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] 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] 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] 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 test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "d1eb41bf39001627496bd6e60b7a07ea2751485d3905bfe6595d259341b7d26f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1eb41bf39001627496bd6e60b7a07ea2751485d3905bfe6595d259341b7d26f", kill_on_drop: false }` [INFO] [stdout] d1eb41bf39001627496bd6e60b7a07ea2751485d3905bfe6595d259341b7d26f