[INFO] fetching crate wireguard-nt 0.3.0... [INFO] testing wireguard-nt-0.3.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate wireguard-nt 0.3.0 into /workspace/builds/worker-61/source [INFO] validating manifest of crates.io crate wireguard-nt 0.3.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wireguard-nt 0.3.0 [INFO] finished tweaking crates.io crate wireguard-nt 0.3.0 [INFO] tweaked toml for crates.io crate wireguard-nt 0.3.0 written to /workspace/builds/worker-61/source/Cargo.toml [INFO] crate crates.io crate wireguard-nt 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4f112f317d5d864a5af04462d001fc0d197fa8bd36b7cd4689f0f33960f83a2 [INFO] running `Command { std: "docker" "start" "-a" "e4f112f317d5d864a5af04462d001fc0d197fa8bd36b7cd4689f0f33960f83a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4f112f317d5d864a5af04462d001fc0d197fa8bd36b7cd4689f0f33960f83a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4f112f317d5d864a5af04462d001fc0d197fa8bd36b7cd4689f0f33960f83a2", kill_on_drop: false }` [INFO] [stdout] e4f112f317d5d864a5af04462d001fc0d197fa8bd36b7cd4689f0f33960f83a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f55fc7b05b4a033f77f9d27ec2b9503f6092b42b17124a113db4db3da5f236b [INFO] running `Command { std: "docker" "start" "-a" "7f55fc7b05b4a033f77f9d27ec2b9503f6092b42b17124a113db4db3da5f236b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling widestring v0.4.3 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling wireguard-nt v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/adapter.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::shared::winerror::ERROR_MORE_DATA; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/adapter.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/adapter.rs:351:25 [INFO] [stdout] | [INFO] [stdout] 351 | use winapi::shared::netioapi::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/adapter.rs:354:25 [INFO] [stdout] | [INFO] [stdout] 354 | use winapi::shared::nldef::IpDadStatePreferred; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/adapter.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | use winapi::shared::netioapi::{CreateIpForwardEntry2, CreateUnicastIpAddressEntry}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/adapter.rs:357:25 [INFO] [stdout] | [INFO] [stdout] 357 | use winapi::shared::winerror::{ERROR_OBJECT_ALREADY_EXISTS, ERROR_SUCCESS}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/adapter.rs:358:25 [INFO] [stdout] | [INFO] [stdout] 358 | use winapi::shared::ws2def::{AF_INET, AF_INET6}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/adapter.rs:361:29 [INFO] [stdout] | [INFO] [stdout] 361 | use winapi::shared::netioapi::{InitializeIpForwardEntry, MIB_IPFORWARD_ROW2}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/adapter.rs:422:25 [INFO] [stdout] | [INFO] [stdout] 422 | use winapi::shared::netioapi::{InitializeIpInterfaceEntry, MIB_IPINTERFACE_ROW}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/adapter.rs:428:25 [INFO] [stdout] | [INFO] [stdout] 428 | use winapi::shared::netioapi::{GetIpInterfaceEntry, SetIpInterfaceEntry}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/adapter.rs:289:64 [INFO] [stdout] | [INFO] [stdout] 289 | wg_peer.Endpoint.Ipv4.sin_family = winapi::shared::ws2def::AF_INET as u16; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/adapter.rs:296:65 [INFO] [stdout] | [INFO] [stdout] 296 | wg_peer.Endpoint.Ipv6.sin6_family = winapi::shared::ws2def::AF_INET6 as u16; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/adapter.rs:312:63 [INFO] [stdout] | [INFO] [stdout] 312 | wg_allowed_ip.AddressFamily = winapi::shared::ws2def::AF_INET as u16; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/adapter.rs:318:63 [INFO] [stdout] | [INFO] [stdout] 318 | wg_allowed_ip.AddressFamily = winapi::shared::ws2def::AF_INET6 as u16; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/adapter.rs:550:25 [INFO] [stdout] | [INFO] [stdout] 550 | winapi::shared::ws2def::AF_INET => { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/adapter.rs:559:25 [INFO] [stdout] | [INFO] [stdout] 559 | winapi::shared::ws2def::AF_INET6 => { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/adapter.rs:596:29 [INFO] [stdout] | [INFO] [stdout] 596 | winapi::shared::ws2def::AF_INET => { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/adapter.rs:602:29 [INFO] [stdout] | [INFO] [stdout] 602 | winapi::shared::ws2def::AF_INET6 => { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MIB_IPFORWARD_ROW2` in this scope [INFO] [stdout] --> src/adapter.rs:362:40 [INFO] [stdout] | [INFO] [stdout] 362 | let mut default_route: MIB_IPFORWARD_ROW2 = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InitializeIpForwardEntry` in this scope [INFO] [stdout] --> src/adapter.rs:363:17 [INFO] [stdout] | [INFO] [stdout] 363 | InitializeIpForwardEntry(&mut default_route); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AF_INET` in this scope [INFO] [stdout] --> src/adapter.rs:367:83 [INFO] [stdout] | [INFO] [stdout] 367 | *default_route.DestinationPrefix.Prefix.si_family_mut() = AF_INET as u16; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AF_INET` in this scope [INFO] [stdout] --> src/adapter.rs:376:66 [INFO] [stdout] | [INFO] [stdout] 376 | *default_route.NextHop.si_family_mut() = AF_INET as u16; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AF_INET6` in this scope [INFO] [stdout] --> src/adapter.rs:379:83 [INFO] [stdout] | [INFO] [stdout] 379 | *default_route.DestinationPrefix.Prefix.si_family_mut() = AF_INET6 as u16; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AF_INET6` in this scope [INFO] [stdout] --> src/adapter.rs:385:66 [INFO] [stdout] | [INFO] [stdout] 385 | *default_route.NextHop.si_family_mut() = AF_INET6 as u16; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateIpForwardEntry2` in this scope [INFO] [stdout] --> src/adapter.rs:390:27 [INFO] [stdout] | [INFO] [stdout] 390 | let err = CreateIpForwardEntry2(&default_route); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> src/adapter.rs:391:27 [INFO] [stdout] | [INFO] [stdout] 391 | if err != ERROR_SUCCESS && err != ERROR_OBJECT_ALREADY_EXISTS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_OBJECT_ALREADY_EXISTS` in this scope [INFO] [stdout] --> src/adapter.rs:391:51 [INFO] [stdout] | [INFO] [stdout] 391 | if err != ERROR_SUCCESS && err != ERROR_OBJECT_ALREADY_EXISTS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MIB_UNICASTIPADDRESS_ROW` in this scope [INFO] [stdout] --> src/adapter.rs:397:38 [INFO] [stdout] | [INFO] [stdout] 397 | let mut address_row: MIB_UNICASTIPADDRESS_ROW = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InitializeUnicastIpAddressEntry` in this scope [INFO] [stdout] --> src/adapter.rs:398:17 [INFO] [stdout] | [INFO] [stdout] 398 | InitializeUnicastIpAddressEntry(&mut address_row); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IpDadStatePreferred` in this scope [INFO] [stdout] --> src/adapter.rs:401:40 [INFO] [stdout] | [INFO] [stdout] 401 | address_row.DadState = IpDadStatePreferred; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AF_INET` in this scope [INFO] [stdout] --> src/adapter.rs:405:69 [INFO] [stdout] | [INFO] [stdout] 405 | address_row.Address.Ipv4_mut().sin_family = AF_INET as u16; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AF_INET6` in this scope [INFO] [stdout] --> src/adapter.rs:410:70 [INFO] [stdout] | [INFO] [stdout] 410 | address_row.Address.Ipv6_mut().sin6_family = AF_INET6 as u16; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateUnicastIpAddressEntry` in this scope [INFO] [stdout] --> src/adapter.rs:416:27 [INFO] [stdout] | [INFO] [stdout] 416 | let err = CreateUnicastIpAddressEntry(&address_row); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> src/adapter.rs:417:27 [INFO] [stdout] | [INFO] [stdout] 417 | if err != ERROR_SUCCESS && err != ERROR_OBJECT_ALREADY_EXISTS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_OBJECT_ALREADY_EXISTS` in this scope [INFO] [stdout] --> src/adapter.rs:417:51 [INFO] [stdout] | [INFO] [stdout] 417 | if err != ERROR_SUCCESS && err != ERROR_OBJECT_ALREADY_EXISTS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MIB_IPINTERFACE_ROW` in this scope [INFO] [stdout] --> src/adapter.rs:423:35 [INFO] [stdout] | [INFO] [stdout] 423 | let mut ip_interface: MIB_IPINTERFACE_ROW = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InitializeIpInterfaceEntry` in this scope [INFO] [stdout] --> src/adapter.rs:424:13 [INFO] [stdout] | [INFO] [stdout] 424 | InitializeIpInterfaceEntry(&mut ip_interface); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AF_INET6` in this scope [INFO] [stdout] --> src/adapter.rs:426:35 [INFO] [stdout] | [INFO] [stdout] 426 | ip_interface.Family = AF_INET6 as u16; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetIpInterfaceEntry` in this scope [INFO] [stdout] --> src/adapter.rs:429:23 [INFO] [stdout] | [INFO] [stdout] 429 | let err = GetIpInterfaceEntry(&mut ip_interface); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> src/adapter.rs:430:23 [INFO] [stdout] | [INFO] [stdout] 430 | if err != ERROR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetIpInterfaceEntry` in this scope [INFO] [stdout] --> src/adapter.rs:437:23 [INFO] [stdout] | [INFO] [stdout] 437 | let err = SetIpInterfaceEntry(&mut ip_interface); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> src/adapter.rs:438:23 [INFO] [stdout] | [INFO] [stdout] 438 | if err != ERROR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/adapter.rs:504:29 [INFO] [stdout] | [INFO] [stdout] 504 | assert_eq!(unsafe { GetLastError() }, ERROR_MORE_DATA); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_MORE_DATA` in this scope [INFO] [stdout] --> src/adapter.rs:504:47 [INFO] [stdout] | [INFO] [stdout] 504 | assert_eq!(unsafe { GetLastError() }, ERROR_MORE_DATA); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/adapter.rs:259:32 [INFO] [stdout] | [INFO] [stdout] 259 | interface.PeersCount = config.peers.len() as u32; [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/adapter.rs:302:39 [INFO] [stdout] | [INFO] [stdout] 302 | wg_peer.AllowedIPsCount = peer.allowed_ips.len() as u32; [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/adapter.rs:332:17 [INFO] [stdout] | [INFO] [stdout] 332 | size as u32, [INFO] [stdout] | ^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 332 | (size as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/adapter.rs:565:69 [INFO] [stdout] | [INFO] [stdout] 565 | SocketAddr::V6(SocketAddrV6::new(address, port, flow_info, scope_id)) [INFO] [stdout] | ^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 565 | SocketAddr::V6(SocketAddrV6::new(address, port, flow_info.try_into().unwrap(), scope_id)) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/adapter.rs:565:80 [INFO] [stdout] | [INFO] [stdout] 565 | SocketAddr::V6(SocketAddrV6::new(address, port, flow_info, scope_id)) [INFO] [stdout] | ^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 565 | SocketAddr::V6(SocketAddrV6::new(address, port, flow_info, scope_id.try_into().unwrap())) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&mut u32` as `*mut u64` is invalid [INFO] [stdout] --> src/adapter.rs:500:17 [INFO] [stdout] | [INFO] [stdout] 500 | &mut size as _, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&mut u32` as `*mut u64` is invalid [INFO] [stdout] --> src/adapter.rs:512:17 [INFO] [stdout] | [INFO] [stdout] 512 | &mut size as _, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get_running_driver_version(wireguard: &Arc) -> u32 { [INFO] [stdout] | --- expected `u32` because of return type [INFO] [stdout] 18 | unsafe { wireguard.WireGuardGetRunningDriverVersion() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 18 | unsafe { wireguard.WireGuardGetRunningDriverVersion().try_into().unwrap() } [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 52 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0433, E0606. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wireguard-nt` due to 53 previous errors [INFO] running `Command { std: "docker" "inspect" "7f55fc7b05b4a033f77f9d27ec2b9503f6092b42b17124a113db4db3da5f236b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f55fc7b05b4a033f77f9d27ec2b9503f6092b42b17124a113db4db3da5f236b", kill_on_drop: false }` [INFO] [stdout] 7f55fc7b05b4a033f77f9d27ec2b9503f6092b42b17124a113db4db3da5f236b