[INFO] cloning repository https://github.com/Lamoara/rustmachi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lamoara/rustmachi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLamoara%2Frustmachi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLamoara%2Frustmachi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 176b65da77b2759e10245db9d6ee68a48144dcf7 [INFO] checking Lamoara/rustmachi/176b65da77b2759e10245db9d6ee68a48144dcf7 against master#cb06d12710575a0d7ff71d6fe108f3bcff4f9195 for pr-128425-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLamoara%2Frustmachi" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lamoara/rustmachi on toolchain cb06d12710575a0d7ff71d6fe108f3bcff4f9195 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cb06d12710575a0d7ff71d6fe108f3bcff4f9195" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Lamoara/rustmachi [INFO] finished tweaking git repo https://github.com/Lamoara/rustmachi [INFO] tweaked toml for git repo https://github.com/Lamoara/rustmachi written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Lamoara/rustmachi 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" "+cb06d12710575a0d7ff71d6fe108f3bcff4f9195" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded c2rust-bitfields-derive v0.18.0 [INFO] [stderr] Downloaded c2rust-bitfields v0.18.0 [INFO] [stderr] Downloaded wintun v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+cb06d12710575a0d7ff71d6fe108f3bcff4f9195" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 395f54041b6c2ab77e9667b9f7ce378af05e758978cb0078349260e8d931a375 [INFO] running `Command { std: "docker" "start" "-a" "395f54041b6c2ab77e9667b9f7ce378af05e758978cb0078349260e8d931a375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "395f54041b6c2ab77e9667b9f7ce378af05e758978cb0078349260e8d931a375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "395f54041b6c2ab77e9667b9f7ce378af05e758978cb0078349260e8d931a375", kill_on_drop: false }` [INFO] [stdout] 395f54041b6c2ab77e9667b9f7ce378af05e758978cb0078349260e8d931a375 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+cb06d12710575a0d7ff71d6fe108f3bcff4f9195" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a56f4d772873922667167f19d52f1f514a7ff08e67711ea086db77fb1f84d8bd [INFO] running `Command { std: "docker" "start" "-a" "a56f4d772873922667167f19d52f1f514a7ff08e67711ea086db77fb1f84d8bd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Checking log v0.4.24 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking windows-targets v0.52.6 [INFO] [stderr] Checking windows-sys v0.52.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling c2rust-bitfields-derive v0.18.0 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking c2rust-bitfields v0.18.0 [INFO] [stderr] Checking wintun v0.5.0 [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wintun-0.5.0/src/adapter.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | 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/cb06d12710575a0d7ff71d6fe108f3bcff4f9195/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/cb06d12710575a0d7ff71d6fe108f3bcff4f9195/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/cb06d12710575a0d7ff71d6fe108f3bcff4f9195/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/cb06d12710575a0d7ff71d6fe108f3bcff4f9195/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wintun-0.5.0/src/util.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | 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/cb06d12710575a0d7ff71d6fe108f3bcff4f9195/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/cb06d12710575a0d7ff71d6fe108f3bcff4f9195/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/cb06d12710575a0d7ff71d6fe108f3bcff4f9195/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/cb06d12710575a0d7ff71d6fe108f3bcff4f9195/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wintun-0.5.0/src/adapter.rs:106:54 [INFO] [stdout] | [INFO] [stdout] 106 | let guid_struct: wintun_raw::GUID = unsafe { std::mem::transmute(GUID::from_u128(guid)) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `core::GUID` (128 bits) [INFO] [stdout] = note: target type: `_GUID` (192 bits) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wintun-0.5.0/src/adapter.rs:131:53 [INFO] [stdout] | [INFO] [stdout] 131 | 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[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wintun-0.5.0/src/adapter.rs:184:78 [INFO] [stdout] | [INFO] [stdout] 184 | let result = unsafe { self.wintun.WintunStartSession(self.adapter.0, capacity) }; [INFO] [stdout] | ------------------ ^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wintun-0.5.0/src/wintun_raw.rs:356:19 [INFO] [stdout] | [INFO] [stdout] 356 | pub unsafe fn WintunStartSession(&self, arg1: WINTUN_ADAPTER_HANDLE, arg2: DWORD) -> WINTUN_SESSION_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ----------- [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 184 | let result = unsafe { self.wintun.WintunStartSession(self.adapter.0, capacity.into()) }; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current target [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wintun-0.5.0/src/log.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / pub unsafe extern "stdcall" fn default_logger( [INFO] [stdout] 20 | | level: wintun_raw::WINTUN_LOGGER_LEVEL, [INFO] [stdout] 21 | | _timestamp: wintun_raw::DWORD64, [INFO] [stdout] 22 | | message: *const wintun_raw::WCHAR, [INFO] [stdout] 23 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wintun-0.5.0/src/session.rs:47:81 [INFO] [stdout] | [INFO] [stdout] 47 | let ptr = unsafe { self.wintun.WintunAllocateSendPacket(self.session.0, size as u32) }; [INFO] [stdout] | ------------------------ ^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wintun-0.5.0/src/wintun_raw.rs:371:19 [INFO] [stdout] | [INFO] [stdout] 371 | pub unsafe fn WintunAllocateSendPacket(&self, arg1: WINTUN_SESSION_HANDLE, arg2: DWORD) -> *mut BYTE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ----------- [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 47 | let ptr = unsafe { self.wintun.WintunAllocateSendPacket(self.session.0, (size as u32).into()) }; [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wintun-0.5.0/src/session.rs:76:76 [INFO] [stdout] | [INFO] [stdout] 76 | let ptr = unsafe { self.wintun.WintunReceivePacket(self.session.0, &mut size as *mut u32) }; [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^ expected `*mut u64`, found `*mut u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut u64` [INFO] [stdout] found raw pointer `*mut u32` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wintun-0.5.0/src/wintun_raw.rs:365:19 [INFO] [stdout] | [INFO] [stdout] 365 | pub unsafe fn WintunReceivePacket(&self, arg1: WINTUN_SESSION_HANDLE, arg2: *mut DWORD) -> *mut BYTE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ---------------- [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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wintun-0.5.0/src/util.rs:53:41 [INFO] [stdout] | [INFO] [stdout] 53 | 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/cb06d12710575a0d7ff71d6fe108f3bcff4f9195/library/std/src/ffi/os_str.rs:140:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 53 - let os_string = std::ffi::OsString::from_wide(slice); [INFO] [stdout] 53 + let os_string = std::ffi::OsString::from_iter(slice); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0512, E0570, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wintun` (lib) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a56f4d772873922667167f19d52f1f514a7ff08e67711ea086db77fb1f84d8bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a56f4d772873922667167f19d52f1f514a7ff08e67711ea086db77fb1f84d8bd", kill_on_drop: false }` [INFO] [stdout] a56f4d772873922667167f19d52f1f514a7ff08e67711ea086db77fb1f84d8bd