[INFO] cloning repository https://github.com/safedv/RustPotato [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/safedv/RustPotato" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsafedv%2FRustPotato", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsafedv%2FRustPotato'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92f9ab864183347c736ffe8e3bd01cb5ae053a85 [INFO] checking safedv/RustPotato against master#17ffbc81a30c094193836a5d7f90dff273b5df93 for pr-138785 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsafedv%2FRustPotato" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/safedv/RustPotato on toolchain 17ffbc81a30c094193836a5d7f90dff273b5df93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/safedv/RustPotato [INFO] finished tweaking git repo https://github.com/safedv/RustPotato [INFO] tweaked toml for git repo https://github.com/safedv/RustPotato written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/safedv/RustPotato 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" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a77cd58968e3e48da6d7603c653cd2e8a44368f2aa7eefc5bb6859c90bd88114 [INFO] running `Command { std: "docker" "start" "-a" "a77cd58968e3e48da6d7603c653cd2e8a44368f2aa7eefc5bb6859c90bd88114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a77cd58968e3e48da6d7603c653cd2e8a44368f2aa7eefc5bb6859c90bd88114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a77cd58968e3e48da6d7603c653cd2e8a44368f2aa7eefc5bb6859c90bd88114", kill_on_drop: false }` [INFO] [stdout] a77cd58968e3e48da6d7603c653cd2e8a44368f2aa7eefc5bb6859c90bd88114 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cfb16c31fd5d397f4053e0c05ced8546fc4c89b54b4ee6f87c5cacb5061902b [INFO] running `Command { std: "docker" "start" "-a" "6cfb16c31fd5d397f4053e0c05ced8546fc4c89b54b4ee6f87c5cacb5061902b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking windows-targets v0.52.6 [INFO] [stderr] Checking windows-result v0.2.0 [INFO] [stderr] Checking windows-strings v0.1.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.92 [INFO] [stderr] Checking libc-print v0.1.23 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Checking windows-core v0.58.0 [INFO] [stderr] Checking windows v0.58.0 [INFO] [stderr] Checking RustPotato v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/context.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/context.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/rev.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/token.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::securitybaseapi::{GetSidSubAuthority, GetSidSubAuthorityCount}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/trigger.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::Win32::System::Com::Marshal::CoUnmarshalInterface; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/trigger.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::System::Com::StructuredStorage::CreateStreamOnHGlobal; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/trigger.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use windows::Win32::System::Com::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/token.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/utils.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::windows::ffi::{OsStrExt as _, OsStringExt as _}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/17ffbc81a30c094193836a5d7f90dff273b5df93/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/17ffbc81a30c094193836a5d7f90dff273b5df93/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/17ffbc81a30c094193836a5d7f90dff273b5df93/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/17ffbc81a30c094193836a5d7f90dff273b5df93/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/utils.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::ntdef::HANDLE; [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/utils.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::sddl::{ [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/utils.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::memoryapi::ReadProcessMemory; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/utils.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winbase::LookupAccountSidW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/utils.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winnt::{PSID, SECURITY_DESCRIPTOR}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/trigger.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use windows::core::{IUnknown, Interface}; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/utils.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/win32/advapi32.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/win32/def.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/win32/k32.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/win32/ldr.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/win32/ntdll.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/win32/utils.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/win32/winsock.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/context.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/context.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/rev.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/token.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::securitybaseapi::{GetSidSubAuthority, GetSidSubAuthorityCount}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/trigger.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::Win32::System::Com::Marshal::CoUnmarshalInterface; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/trigger.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::System::Com::StructuredStorage::CreateStreamOnHGlobal; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/trigger.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use windows::Win32::System::Com::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/token.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/utils.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::windows::ffi::{OsStrExt as _, OsStringExt as _}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/17ffbc81a30c094193836a5d7f90dff273b5df93/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/17ffbc81a30c094193836a5d7f90dff273b5df93/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/17ffbc81a30c094193836a5d7f90dff273b5df93/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/17ffbc81a30c094193836a5d7f90dff273b5df93/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/utils.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::ntdef::HANDLE; [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/utils.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::sddl::{ [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/utils.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::memoryapi::ReadProcessMemory; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/utils.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winbase::LookupAccountSidW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/utils.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winnt::{PSID, SECURITY_DESCRIPTOR}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/trigger.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use windows::core::{IUnknown, Interface}; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/utils.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/win32/advapi32.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/win32/def.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/win32/k32.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/win32/ldr.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/win32/ntdll.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/win32/utils.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/win32/winsock.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/context.rs:140:51 [INFO] [stdout] | [INFO] [stdout] 140 | let process = -1isize as *mut winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/context.rs:481:51 [INFO] [stdout] | [INFO] [stdout] 481 | let pipe_handle: *mut winapi::ctypes::c_void = CreateNamedPipeW( [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/context.rs:505:36 [INFO] [stdout] | [INFO] [stdout] 505 | || 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/context.rs:506:40 [INFO] [stdout] | [INFO] [stdout] 506 | ... == winapi::shared::winerror::ERROR_PIPE_CONNECTED [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/context.rs:140:51 [INFO] [stdout] | [INFO] [stdout] 140 | let process = -1isize as *mut winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/context.rs:533:85 [INFO] [stdout] | [INFO] [stdout] 533 | ... .set_token(my_primary_token as *mut winapi::ctypes::c_void); [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/context.rs:633:37 [INFO] [stdout] | [INFO] [stdout] 633 | ... winapi::um::fileapi::OPEN_EXISTING, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/context.rs:481:51 [INFO] [stdout] | [INFO] [stdout] 481 | let pipe_handle: *mut winapi::ctypes::c_void = CreateNamedPipeW( [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/def.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | pub const BAD_HANDLE: *mut winapi::ctypes::c_void = -1isize as *mut winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/def.rs:3:77 [INFO] [stdout] | [INFO] [stdout] 3 | pub const BAD_HANDLE: *mut winapi::ctypes::c_void = -1isize as *mut winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/context.rs:505:36 [INFO] [stdout] | [INFO] [stdout] 505 | || 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 `ctypes` in `winapi` [INFO] [stdout] --> src/rev.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn rs(h: &str, p: u16, c: &str, htoken: *mut winapi::ctypes::c_void) -> bool { [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/context.rs:506:40 [INFO] [stdout] | [INFO] [stdout] 506 | ... == winapi::shared::winerror::ERROR_PIPE_CONNECTED [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/trigger.rs:216:48 [INFO] [stdout] | [INFO] [stdout] 216 | CreateStreamOnHGlobal(windows::Win32::Foundation::HGLOBAL(ptr as _), true).ok()?; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/context.rs:533:85 [INFO] [stdout] | [INFO] [stdout] 533 | ... .set_token(my_primary_token as *mut winapi::ctypes::c_void); [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/utils.rs:355:42 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn to_ptr(&self) -> *mut winapi::ctypes::c_void { [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/context.rs:633:37 [INFO] [stdout] | [INFO] [stdout] 633 | ... winapi::um::fileapi::OPEN_EXISTING, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/utils.rs:365:51 [INFO] [stdout] | [INFO] [stdout] 365 | core::ptr::null_mut() as *mut winapi::ctypes::c_void [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/def.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | pub const BAD_HANDLE: *mut winapi::ctypes::c_void = -1isize as *mut winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/utils.rs:367:33 [INFO] [stdout] | [INFO] [stdout] 367 | sid as *mut winapi::ctypes::c_void [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/def.rs:3:77 [INFO] [stdout] | [INFO] [stdout] 3 | pub const BAD_HANDLE: *mut winapi::ctypes::c_void = -1isize as *mut winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/utils.rs:439:35 [INFO] [stdout] | [INFO] [stdout] 439 | pub struct RawHandle(*mut winapi::ctypes::c_void); [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/utils.rs:446:40 [INFO] [stdout] | [INFO] [stdout] 446 | pub fn as_handle(&self) -> winapi::um::winnt::HANDLE { [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/rev.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn rs(h: &str, p: u16, c: &str, htoken: *mut winapi::ctypes::c_void) -> bool { [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/utils.rs:447:27 [INFO] [stdout] | [INFO] [stdout] 447 | self.0 as winapi::um::winnt::HANDLE [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/utils.rs:481:49 [INFO] [stdout] | [INFO] [stdout] 481 | pub fn set_token(&mut self, p: *mut winapi::ctypes::c_void) { [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/win32/advapi32.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | hToken: *mut winapi::ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/trigger.rs:216:48 [INFO] [stdout] | [INFO] [stdout] 216 | CreateStreamOnHGlobal(windows::Win32::Foundation::HGLOBAL(ptr as _), true).ok()?; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/utils.rs:355:42 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn to_ptr(&self) -> *mut winapi::ctypes::c_void { [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/utils.rs:365:51 [INFO] [stdout] | [INFO] [stdout] 365 | core::ptr::null_mut() as *mut winapi::ctypes::c_void [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/utils.rs:367:33 [INFO] [stdout] | [INFO] [stdout] 367 | sid as *mut winapi::ctypes::c_void [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/utils.rs:439:35 [INFO] [stdout] | [INFO] [stdout] 439 | pub struct RawHandle(*mut winapi::ctypes::c_void); [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/utils.rs:446:40 [INFO] [stdout] | [INFO] [stdout] 446 | pub fn as_handle(&self) -> winapi::um::winnt::HANDLE { [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/utils.rs:447:27 [INFO] [stdout] | [INFO] [stdout] 447 | self.0 as winapi::um::winnt::HANDLE [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/utils.rs:481:49 [INFO] [stdout] | [INFO] [stdout] 481 | pub fn set_token(&mut self, p: *mut winapi::ctypes::c_void) { [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/win32/advapi32.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | hToken: *mut winapi::ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/win32/def.rs:481:37 [INFO] [stdout] | [INFO] [stdout] 481 | pub const FILE_GENERIC_WRITE: u32 = STANDARD_RIGHTS_WRITE [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 482 | | | FILE_WRITE_DATA [INFO] [stdout] 483 | | | FILE_WRITE_ATTRIBUTES [INFO] [stdout] 484 | | | FILE_WRITE_EA [INFO] [stdout] 485 | | | FILE_APPEND_DATA [INFO] [stdout] 486 | | | SYNCHRONIZE; [INFO] [stdout] | |_________________^ expected `u32`, found `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rev.rs:224:42 [INFO] [stdout] | [INFO] [stdout] 224 | bytes_written += io_status_block.information; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add-assign `u64` to `u32` [INFO] [stdout] --> src/rev.rs:224:39 [INFO] [stdout] | [INFO] [stdout] 224 | bytes_written += io_status_block.information; [INFO] [stdout] | ^^ no implementation for `u32 += u64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `AddAssign` is not implemented for `u32` [INFO] [stdout] = help: the following other types implement trait `AddAssign`: [INFO] [stdout] `u32` implements `AddAssign<&u32>` [INFO] [stdout] `u32` implements `AddAssign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rev.rs:269:39 [INFO] [stdout] | [INFO] [stdout] 269 | total_sent += sent as u32; [INFO] [stdout] | ^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add-assign `u32` to `u64` [INFO] [stdout] --> src/rev.rs:269:36 [INFO] [stdout] | [INFO] [stdout] 269 | total_sent += sent as u32; [INFO] [stdout] | ^^ no implementation for `u64 += u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `AddAssign` is not implemented for `u64` [INFO] [stdout] = help: the following other types implement trait `AddAssign`: [INFO] [stdout] `u64` implements `AddAssign<&u64>` [INFO] [stdout] `u64` implements `AddAssign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/token.rs:282:29 [INFO] [stdout] | [INFO] [stdout] 282 | length: core::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/token.rs:322:33 [INFO] [stdout] | [INFO] [stdout] 322 | length: core::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/token.rs:558:25 [INFO] [stdout] | [INFO] [stdout] 558 | length: core::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/utils.rs:357:14 [INFO] [stdout] | [INFO] [stdout] 356 | let wide_sid: Vec = OsStr::new(self.value.as_str()) [INFO] [stdout] | __________________________________- [INFO] [stdout] 357 | | .encode_wide() [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] | |_____________| [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] --> src/utils.rs:397:37 [INFO] [stdout] | [INFO] [stdout] 397 | let name_string = OsString::from_wide(&name[..name_size as usize]) [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/17ffbc81a30c094193836a5d7f90dff273b5df93/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] 397 - let name_string = OsString::from_wide(&name[..name_size as usize]) [INFO] [stdout] 397 + let name_string = OsString::from_iter(&name[..name_size as usize]) [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] --> src/utils.rs:400:39 [INFO] [stdout] | [INFO] [stdout] 400 | let domain_string = OsString::from_wide(&domain[..domain_size as usize]) [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/17ffbc81a30c094193836a5d7f90dff273b5df93/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] 400 - let domain_string = OsString::from_wide(&domain[..domain_size as usize]) [INFO] [stdout] 400 + let domain_string = OsString::from_iter(&domain[..domain_size as usize]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/win32/def.rs:481:37 [INFO] [stdout] | [INFO] [stdout] 481 | pub const FILE_GENERIC_WRITE: u32 = STANDARD_RIGHTS_WRITE [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 482 | | | FILE_WRITE_DATA [INFO] [stdout] 483 | | | FILE_WRITE_ATTRIBUTES [INFO] [stdout] 484 | | | FILE_WRITE_EA [INFO] [stdout] 485 | | | FILE_APPEND_DATA [INFO] [stdout] 486 | | | SYNCHRONIZE; [INFO] [stdout] | |_________________^ expected `u32`, found `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/win32/utils.rs:166:31 [INFO] [stdout] | [INFO] [stdout] 166 | let mut attributes: u32 = OBJ_CASE_INSENSITIVE; [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [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] 166 | let mut attributes: u32 = OBJ_CASE_INSENSITIVE.try_into().unwrap(); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/win32/utils.rs:175:27 [INFO] [stdout] | [INFO] [stdout] 175 | attributes |= OBJ_INHERIT; [INFO] [stdout] | ^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u32 |= u64` [INFO] [stdout] --> src/win32/utils.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | attributes |= OBJ_INHERIT; [INFO] [stdout] | ^^ no implementation for `u32 |= u64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOrAssign` is not implemented for `u32` [INFO] [stdout] = help: the following other types implement trait `BitOrAssign`: [INFO] [stdout] `u32` implements `BitOrAssign<&u32>` [INFO] [stdout] `u32` implements `BitOrAssign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/win32/utils.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 180 | ObjectAttributes::initialize( [INFO] [stdout] | ---------------------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 183 | attributes, // Case-insensitive and possibly inheritable [INFO] [stdout] | ^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/win32/def.rs:427:12 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn initialize( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | a: c_ulong, [INFO] [stdout] | ---------- [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 183 | attributes.into(), // Case-insensitive and possibly inheritable [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/win32/utils.rs:191:24 [INFO] [stdout] | [INFO] [stdout] 191 | GENERIC_READ | FILE_WRITE_ATTRIBUTES | SYNCHRONIZE, // Desired access: read, write attributes, sync [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u32 | u64` [INFO] [stdout] --> src/win32/utils.rs:191:22 [INFO] [stdout] | [INFO] [stdout] 191 | GENERIC_READ | FILE_WRITE_ATTRIBUTES | SYNCHRONIZE, // Desired access: read, write attributes, sync [INFO] [stdout] | ^ no implementation for `u32 | u64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u32` [INFO] [stdout] = help: the following other types implement trait `BitOr`: [INFO] [stdout] `&u32` implements `BitOr` [INFO] [stdout] `&u32` implements `BitOr` [INFO] [stdout] `u32` implements `BitOr<&u32>` [INFO] [stdout] `u32` implements `BitOr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/win32/utils.rs:191:48 [INFO] [stdout] | [INFO] [stdout] 191 | GENERIC_READ | FILE_WRITE_ATTRIBUTES | SYNCHRONIZE, // Desired access: read, write attributes, sync [INFO] [stdout] | ^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u32 | u64` [INFO] [stdout] --> src/win32/utils.rs:191:46 [INFO] [stdout] | [INFO] [stdout] 191 | GENERIC_READ | FILE_WRITE_ATTRIBUTES | SYNCHRONIZE, // Desired access: read, write attributes, sync [INFO] [stdout] | ^ no implementation for `u32 | u64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u32` [INFO] [stdout] = help: the following other types implement trait `BitOr`: [INFO] [stdout] `&u32` implements `BitOr` [INFO] [stdout] `&u32` implements `BitOr` [INFO] [stdout] `u32` implements `BitOr<&u32>` [INFO] [stdout] `u32` implements `BitOr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rev.rs:224:42 [INFO] [stdout] | [INFO] [stdout] 224 | bytes_written += io_status_block.information; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add-assign `u64` to `u32` [INFO] [stdout] --> src/rev.rs:224:39 [INFO] [stdout] | [INFO] [stdout] 224 | bytes_written += io_status_block.information; [INFO] [stdout] | ^^ no implementation for `u32 += u64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `AddAssign` is not implemented for `u32` [INFO] [stdout] = help: the following other types implement trait `AddAssign`: [INFO] [stdout] `u32` implements `AddAssign<&u32>` [INFO] [stdout] `u32` implements `AddAssign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rev.rs:269:39 [INFO] [stdout] | [INFO] [stdout] 269 | total_sent += sent as u32; [INFO] [stdout] | ^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add-assign `u32` to `u64` [INFO] [stdout] --> src/rev.rs:269:36 [INFO] [stdout] | [INFO] [stdout] 269 | total_sent += sent as u32; [INFO] [stdout] | ^^ no implementation for `u64 += u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `AddAssign` is not implemented for `u64` [INFO] [stdout] = help: the following other types implement trait `AddAssign`: [INFO] [stdout] `u64` implements `AddAssign<&u64>` [INFO] [stdout] `u64` implements `AddAssign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/token.rs:282:29 [INFO] [stdout] | [INFO] [stdout] 282 | length: core::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/token.rs:322:33 [INFO] [stdout] | [INFO] [stdout] 322 | length: core::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/token.rs:558:25 [INFO] [stdout] | [INFO] [stdout] 558 | length: core::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `RustPotato` (bin "RustPotato" test) due to 60 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/utils.rs:357:14 [INFO] [stdout] | [INFO] [stdout] 356 | let wide_sid: Vec = OsStr::new(self.value.as_str()) [INFO] [stdout] | __________________________________- [INFO] [stdout] 357 | | .encode_wide() [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] | |_____________| [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] --> src/utils.rs:397:37 [INFO] [stdout] | [INFO] [stdout] 397 | let name_string = OsString::from_wide(&name[..name_size as usize]) [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/17ffbc81a30c094193836a5d7f90dff273b5df93/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] 397 - let name_string = OsString::from_wide(&name[..name_size as usize]) [INFO] [stdout] 397 + let name_string = OsString::from_iter(&name[..name_size as usize]) [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] --> src/utils.rs:400:39 [INFO] [stdout] | [INFO] [stdout] 400 | let domain_string = OsString::from_wide(&domain[..domain_size as usize]) [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/17ffbc81a30c094193836a5d7f90dff273b5df93/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] 400 - let domain_string = OsString::from_wide(&domain[..domain_size as usize]) [INFO] [stdout] 400 + let domain_string = OsString::from_iter(&domain[..domain_size as usize]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/win32/utils.rs:166:31 [INFO] [stdout] | [INFO] [stdout] 166 | let mut attributes: u32 = OBJ_CASE_INSENSITIVE; [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [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] 166 | let mut attributes: u32 = OBJ_CASE_INSENSITIVE.try_into().unwrap(); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/win32/utils.rs:175:27 [INFO] [stdout] | [INFO] [stdout] 175 | attributes |= OBJ_INHERIT; [INFO] [stdout] | ^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u32 |= u64` [INFO] [stdout] --> src/win32/utils.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | attributes |= OBJ_INHERIT; [INFO] [stdout] | ^^ no implementation for `u32 |= u64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOrAssign` is not implemented for `u32` [INFO] [stdout] = help: the following other types implement trait `BitOrAssign`: [INFO] [stdout] `u32` implements `BitOrAssign<&u32>` [INFO] [stdout] `u32` implements `BitOrAssign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/win32/utils.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 180 | ObjectAttributes::initialize( [INFO] [stdout] | ---------------------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 183 | attributes, // Case-insensitive and possibly inheritable [INFO] [stdout] | ^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/win32/def.rs:427:12 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn initialize( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | a: c_ulong, [INFO] [stdout] | ---------- [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 183 | attributes.into(), // Case-insensitive and possibly inheritable [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/win32/utils.rs:191:24 [INFO] [stdout] | [INFO] [stdout] 191 | GENERIC_READ | FILE_WRITE_ATTRIBUTES | SYNCHRONIZE, // Desired access: read, write attributes, sync [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u32 | u64` [INFO] [stdout] --> src/win32/utils.rs:191:22 [INFO] [stdout] | [INFO] [stdout] 191 | GENERIC_READ | FILE_WRITE_ATTRIBUTES | SYNCHRONIZE, // Desired access: read, write attributes, sync [INFO] [stdout] | ^ no implementation for `u32 | u64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u32` [INFO] [stdout] = help: the following other types implement trait `BitOr`: [INFO] [stdout] `&u32` implements `BitOr` [INFO] [stdout] `&u32` implements `BitOr` [INFO] [stdout] `u32` implements `BitOr<&u32>` [INFO] [stdout] `u32` implements `BitOr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/win32/utils.rs:191:48 [INFO] [stdout] | [INFO] [stdout] 191 | GENERIC_READ | FILE_WRITE_ATTRIBUTES | SYNCHRONIZE, // Desired access: read, write attributes, sync [INFO] [stdout] | ^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u32 | u64` [INFO] [stdout] --> src/win32/utils.rs:191:46 [INFO] [stdout] | [INFO] [stdout] 191 | GENERIC_READ | FILE_WRITE_ATTRIBUTES | SYNCHRONIZE, // Desired access: read, write attributes, sync [INFO] [stdout] | ^ no implementation for `u32 | u64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u32` [INFO] [stdout] = help: the following other types implement trait `BitOr`: [INFO] [stdout] `&u32` implements `BitOr` [INFO] [stdout] `&u32` implements `BitOr` [INFO] [stdout] `u32` implements `BitOr<&u32>` [INFO] [stdout] `u32` implements `BitOr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `RustPotato` (bin "RustPotato") due to 60 previous errors [INFO] running `Command { std: "docker" "inspect" "6cfb16c31fd5d397f4053e0c05ced8546fc4c89b54b4ee6f87c5cacb5061902b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cfb16c31fd5d397f4053e0c05ced8546fc4c89b54b4ee6f87c5cacb5061902b", kill_on_drop: false }` [INFO] [stdout] 6cfb16c31fd5d397f4053e0c05ced8546fc4c89b54b4ee6f87c5cacb5061902b