[INFO] cloning repository https://github.com/hyd-dev/advance-anon-pipe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hyd-dev/advance-anon-pipe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhyd-dev%2Fadvance-anon-pipe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhyd-dev%2Fadvance-anon-pipe'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23c5130eef6aaf78efe92e66980011490920ba85 [INFO] checking hyd-dev/advance-anon-pipe against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhyd-dev%2Fadvance-anon-pipe" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hyd-dev/advance-anon-pipe on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hyd-dev/advance-anon-pipe [INFO] finished tweaking git repo https://github.com/hyd-dev/advance-anon-pipe [INFO] tweaked toml for git repo https://github.com/hyd-dev/advance-anon-pipe written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/hyd-dev/advance-anon-pipe already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 30cbb13c3bbf61626fa737f1bb8692b76570ae215eaff2b2733386bcb245556e [INFO] running `Command { std: "docker" "start" "-a" "30cbb13c3bbf61626fa737f1bb8692b76570ae215eaff2b2733386bcb245556e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30cbb13c3bbf61626fa737f1bb8692b76570ae215eaff2b2733386bcb245556e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30cbb13c3bbf61626fa737f1bb8692b76570ae215eaff2b2733386bcb245556e", kill_on_drop: false }` [INFO] [stdout] 30cbb13c3bbf61626fa737f1bb8692b76570ae215eaff2b2733386bcb245556e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c88b20187e4a8f49679a49bef81e30627989e6bbd361e02db8e2347acef86386 [INFO] running `Command { std: "docker" "start" "-a" "c88b20187e4a8f49679a49bef81e30627989e6bbd361e02db8e2347acef86386", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling ntapi v0.3.6 [INFO] [stderr] Compiling seq-macro v0.2.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling hut-macros v0.0.0 (https://github.com/hyd-dev/rust-hut#56bad419) [INFO] [stderr] Compiling hut v0.0.0 (https://github.com/hyd-dev/rust-hut#56bad419) [INFO] [stderr] Checking advance-anon-pipe v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | os::windows::prelude::*, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | shared::ntdef::{NTSTATUS, NT_SUCCESS, OBJECT_ATTRIBUTES, ULONG, UNICODE_STRING}, [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/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | um::winnt::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `ntapi::ntioapi`, `ntapi::ntobapi`, `ntapi::ntrtl` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | ntioapi::{ [INFO] [stdout] | ^^^^^^^ could not find `ntioapi` in `ntapi` [INFO] [stdout] ... [INFO] [stdout] 12 | ntobapi::NtClose, [INFO] [stdout] | ^^^^^^^ could not find `ntobapi` in `ntapi` [INFO] [stdout] 13 | ntrtl::RtlNtStatusToDosError, [INFO] [stdout] | ^^^^^ could not find `ntrtl` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | os::windows::prelude::*, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | shared::ntdef::{NTSTATUS, NT_SUCCESS, OBJECT_ATTRIBUTES, ULONG, UNICODE_STRING}, [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/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | um::winnt::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/lib.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | os::windows::prelude::*, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | shared::{ [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/lib.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `ntapi::ntioapi`, `ntapi::ntobapi`, `ntapi::ntrtl` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | ntioapi::{ [INFO] [stdout] | ^^^^^^^ could not find `ntioapi` in `ntapi` [INFO] [stdout] ... [INFO] [stdout] 12 | ntobapi::NtClose, [INFO] [stdout] | ^^^^^^^ could not find `ntobapi` in `ntapi` [INFO] [stdout] 13 | ntrtl::RtlNtStatusToDosError, [INFO] [stdout] | ^^^^^ could not find `ntrtl` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LARGE_INTEGER` [INFO] [stdout] --> src/lib.rs:142:29 [INFO] [stdout] | [INFO] [stdout] 142 | let mut large_int = LARGE_INTEGER::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `LARGE_INTEGER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LARGE_INTEGER` [INFO] [stdout] --> src/lib.rs:142:29 [INFO] [stdout] | [INFO] [stdout] 142 | let mut large_int = LARGE_INTEGER::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `LARGE_INTEGER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | fn pipe_type(self) -> ULONG { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 46 | fn pipe_mode(self) -> ULONG { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | fn create_options(self) -> ULONG { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:120:69 [INFO] [stdout] | [INFO] [stdout] 120 | fn create_options(synchronous: Synchronous, write_through: bool) -> ULONG { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:124:47 [INFO] [stdout] | [INFO] [stdout] 124 | fn desired_access(read: bool, write: bool) -> ULONG { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SYNCHRONIZE` in this scope [INFO] [stdout] --> src/lib.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | SYNCHRONIZE | if read { GENERIC_READ } else { 0 } | if write { GENERIC_WRITE } else { 0 } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | fn pipe_type(self) -> ULONG { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_READ` in this scope [INFO] [stdout] --> src/lib.rs:125:29 [INFO] [stdout] | [INFO] [stdout] 125 | SYNCHRONIZE | if read { GENERIC_READ } else { 0 } | if write { GENERIC_WRITE } else { 0 } [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_WRITE` in this scope [INFO] [stdout] --> src/lib.rs:125:68 [INFO] [stdout] | [INFO] [stdout] 125 | SYNCHRONIZE | if read { GENERIC_READ } else { 0 } | if write { GENERIC_WRITE } else { 0 } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:129:33 [INFO] [stdout] | [INFO] [stdout] 129 | fn desired_access(self) -> (ULONG, ULONG) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:129:40 [INFO] [stdout] | [INFO] [stdout] 129 | fn desired_access(self) -> (ULONG, ULONG) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:133:33 [INFO] [stdout] | [INFO] [stdout] 133 | fn create_options(self) -> (ULONG, ULONG) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:133:40 [INFO] [stdout] | [INFO] [stdout] 133 | fn create_options(self) -> (ULONG, ULONG) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stdout] --> src/lib.rs:140:51 [INFO] [stdout] | [INFO] [stdout] 128 | impl Options { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 140 | fn default_timeout(self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/lib.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | impl Cvt for NTSTATUS { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NT_SUCCESS` in this scope [INFO] [stdout] --> src/lib.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | if NT_SUCCESS(self) { [INFO] [stdout] | ^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | help: try calling `NT_SUCCESS` as a method: `self.NT_SUCCESS()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct Pipe(HANDLE); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `UNICODE_STRING` in this scope [INFO] [stdout] --> src/lib.rs:177:28 [INFO] [stdout] | [INFO] [stdout] 177 | let mut dnp_path = UNICODE_STRING { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `OBJECT_ATTRIBUTES` in this scope [INFO] [stdout] --> src/lib.rs:182:28 [INFO] [stdout] | [INFO] [stdout] 182 | let mut obj_attr = OBJECT_ATTRIBUTES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OBJECT_ATTRIBUTES` in this scope [INFO] [stdout] --> src/lib.rs:183:31 [INFO] [stdout] | [INFO] [stdout] 173 | impl Pipe { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 183 | Length: size_of::() as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SYNCHRONIZE` in this scope [INFO] [stdout] --> src/lib.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | SYNCHRONIZE, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_READ` in this scope [INFO] [stdout] --> src/lib.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 46 | fn pipe_mode(self) -> ULONG { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | fn create_options(self) -> ULONG { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:120:69 [INFO] [stdout] | [INFO] [stdout] 120 | fn create_options(synchronous: Synchronous, write_through: bool) -> ULONG { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope [INFO] [stdout] --> src/lib.rs:193:35 [INFO] [stdout] | [INFO] [stdout] 193 | FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:124:47 [INFO] [stdout] | [INFO] [stdout] 124 | fn desired_access(read: bool, write: bool) -> ULONG { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SYNCHRONIZE` in this scope [INFO] [stdout] --> src/lib.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | SYNCHRONIZE | if read { GENERIC_READ } else { 0 } | if write { GENERIC_WRITE } else { 0 } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_READ` in this scope [INFO] [stdout] --> src/lib.rs:125:29 [INFO] [stdout] | [INFO] [stdout] 125 | SYNCHRONIZE | if read { GENERIC_READ } else { 0 } | if write { GENERIC_WRITE } else { 0 } [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_DELETE` in this scope [INFO] [stdout] --> src/lib.rs:193:54 [INFO] [stdout] | [INFO] [stdout] 193 | FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_WRITE` in this scope [INFO] [stdout] --> src/lib.rs:125:68 [INFO] [stdout] | [INFO] [stdout] 125 | SYNCHRONIZE | if read { GENERIC_READ } else { 0 } | if write { GENERIC_WRITE } else { 0 } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:129:33 [INFO] [stdout] | [INFO] [stdout] 129 | fn desired_access(self) -> (ULONG, ULONG) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:129:40 [INFO] [stdout] | [INFO] [stdout] 129 | fn desired_access(self) -> (ULONG, ULONG) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NT_SUCCESS` in this scope [INFO] [stdout] --> src/lib.rs:199:26 [INFO] [stdout] | [INFO] [stdout] 199 | defer! { assert!(NT_SUCCESS(unsafe { NtClose(dnp_handle) })) } [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:133:33 [INFO] [stdout] | [INFO] [stdout] 133 | fn create_options(self) -> (ULONG, ULONG) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:133:40 [INFO] [stdout] | [INFO] [stdout] 133 | fn create_options(self) -> (ULONG, ULONG) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_READ` in this scope [INFO] [stdout] --> src/lib.rs:212:17 [INFO] [stdout] | [INFO] [stdout] 212 | FILE_SHARE_READ | FILE_SHARE_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stdout] --> src/lib.rs:140:51 [INFO] [stdout] | [INFO] [stdout] 128 | impl Options { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 140 | fn default_timeout(self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope [INFO] [stdout] --> src/lib.rs:212:35 [INFO] [stdout] | [INFO] [stdout] 212 | FILE_SHARE_READ | FILE_SHARE_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/lib.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | impl Cvt for NTSTATUS { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NT_SUCCESS` in this scope [INFO] [stdout] --> src/lib.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | if NT_SUCCESS(self) { [INFO] [stdout] | ^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | help: try calling `NT_SUCCESS` as a method: `self.NT_SUCCESS()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_READ` in this scope [INFO] [stdout] --> src/lib.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct Pipe(HANDLE); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `UNICODE_STRING` in this scope [INFO] [stdout] --> src/lib.rs:177:28 [INFO] [stdout] | [INFO] [stdout] 177 | let mut dnp_path = UNICODE_STRING { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope [INFO] [stdout] --> src/lib.rs:234:35 [INFO] [stdout] | [INFO] [stdout] 234 | FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_DELETE` in this scope [INFO] [stdout] --> src/lib.rs:234:54 [INFO] [stdout] | [INFO] [stdout] 234 | FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FromRawHandle` in this scope [INFO] [stdout] --> src/lib.rs:243:6 [INFO] [stdout] | [INFO] [stdout] 243 | impl FromRawHandle for Pipe { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `OBJECT_ATTRIBUTES` in this scope [INFO] [stdout] --> src/lib.rs:182:28 [INFO] [stdout] | [INFO] [stdout] 182 | let mut obj_attr = OBJECT_ATTRIBUTES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OBJECT_ATTRIBUTES` in this scope [INFO] [stdout] --> src/lib.rs:183:31 [INFO] [stdout] | [INFO] [stdout] 173 | impl Pipe { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 183 | Length: size_of::() as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SYNCHRONIZE` in this scope [INFO] [stdout] --> src/lib.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | SYNCHRONIZE, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_READ` in this scope [INFO] [stdout] --> src/lib.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope [INFO] [stdout] --> src/lib.rs:193:35 [INFO] [stdout] | [INFO] [stdout] 193 | FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_DELETE` in this scope [INFO] [stdout] --> src/lib.rs:193:54 [INFO] [stdout] | [INFO] [stdout] 193 | FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NT_SUCCESS` in this scope [INFO] [stdout] --> src/lib.rs:199:26 [INFO] [stdout] | [INFO] [stdout] 199 | defer! { assert!(NT_SUCCESS(unsafe { NtClose(dnp_handle) })) } [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_READ` in this scope [INFO] [stdout] --> src/lib.rs:212:17 [INFO] [stdout] | [INFO] [stdout] 212 | FILE_SHARE_READ | FILE_SHARE_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope [INFO] [stdout] --> src/lib.rs:212:35 [INFO] [stdout] | [INFO] [stdout] 212 | FILE_SHARE_READ | FILE_SHARE_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RawHandle` in this scope [INFO] [stdout] --> src/lib.rs:244:39 [INFO] [stdout] | [INFO] [stdout] 244 | unsafe fn from_raw_handle(handle: RawHandle) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_READ` in this scope [INFO] [stdout] --> src/lib.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope [INFO] [stdout] --> src/lib.rs:234:35 [INFO] [stdout] | [INFO] [stdout] 234 | FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsRawHandle` in this scope [INFO] [stdout] --> src/lib.rs:249:6 [INFO] [stdout] | [INFO] [stdout] 249 | impl AsRawHandle for Pipe { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_DELETE` in this scope [INFO] [stdout] --> src/lib.rs:234:54 [INFO] [stdout] | [INFO] [stdout] 234 | FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FromRawHandle` in this scope [INFO] [stdout] --> src/lib.rs:243:6 [INFO] [stdout] | [INFO] [stdout] 243 | impl FromRawHandle for Pipe { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RawHandle` in this scope [INFO] [stdout] --> src/lib.rs:250:32 [INFO] [stdout] | [INFO] [stdout] 250 | fn as_raw_handle(&self) -> RawHandle { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RawHandle` in this scope [INFO] [stdout] --> src/lib.rs:244:39 [INFO] [stdout] | [INFO] [stdout] 244 | unsafe fn from_raw_handle(handle: RawHandle) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsRawHandle` in this scope [INFO] [stdout] --> src/lib.rs:249:6 [INFO] [stdout] | [INFO] [stdout] 249 | impl AsRawHandle for Pipe { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoRawHandle` in this scope [INFO] [stdout] --> src/lib.rs:255:6 [INFO] [stdout] | [INFO] [stdout] 255 | impl IntoRawHandle for Pipe { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RawHandle` in this scope [INFO] [stdout] --> src/lib.rs:250:32 [INFO] [stdout] | [INFO] [stdout] 250 | fn as_raw_handle(&self) -> RawHandle { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoRawHandle` in this scope [INFO] [stdout] --> src/lib.rs:255:6 [INFO] [stdout] | [INFO] [stdout] 255 | impl IntoRawHandle for Pipe { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RawHandle` in this scope [INFO] [stdout] --> src/lib.rs:256:33 [INFO] [stdout] | [INFO] [stdout] 256 | fn into_raw_handle(self) -> RawHandle { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NT_SUCCESS` in this scope [INFO] [stdout] --> src/lib.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | assert!(NT_SUCCESS(unsafe { NtClose(self.0) })); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RawHandle` in this scope [INFO] [stdout] --> src/lib.rs:256:33 [INFO] [stdout] | [INFO] [stdout] 256 | fn into_raw_handle(self) -> RawHandle { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NT_SUCCESS` in this scope [INFO] [stdout] --> src/lib.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | assert!(NT_SUCCESS(unsafe { NtClose(self.0) })); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED` in this scope [INFO] [stdout] --> src/lib.rs:300:65 [INFO] [stdout] | [INFO] [stdout] 300 | unsafe fn get_overlapped_result(&self, overlapped: *mut OVERLAPPED) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetOverlappedResult` in this scope [INFO] [stdout] --> src/lib.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | GetOverlappedResult(self.0.as_raw_handle(), overlapped, nbt.as_mut_ptr(), TRUE) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/lib.rs:303:91 [INFO] [stdout] | [INFO] [stdout] 303 | GetOverlappedResult(self.0.as_raw_handle(), overlapped, nbt.as_mut_ptr(), TRUE) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadFile` in this scope [INFO] [stdout] --> src/lib.rs:318:17 [INFO] [stdout] | [INFO] [stdout] 318 | ReadFile( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_IO_PENDING` in this scope [INFO] [stdout] --> src/lib.rs:329:49 [INFO] [stdout] | [INFO] [stdout] 329 | if e.raw_os_error() != Some(ERROR_IO_PENDING as _) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteFile` in this scope [INFO] [stdout] --> src/lib.rs:345:17 [INFO] [stdout] | [INFO] [stdout] 345 | WriteFile( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_IO_PENDING` in this scope [INFO] [stdout] --> src/lib.rs:356:49 [INFO] [stdout] | [INFO] [stdout] 356 | if e.raw_os_error() != Some(ERROR_IO_PENDING as _) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_ACCESS_DENIED` in this scope [INFO] [stdout] --> src/lib.rs:373:74 [INFO] [stdout] | [INFO] [stdout] 373 | assert_eq!(p1.write(TEST_DATA).unwrap_err().raw_os_error(), Some(ERROR_ACCESS_DENIED as _)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_ACCESS_DENIED` in this scope [INFO] [stdout] --> src/lib.rs:374:72 [INFO] [stdout] | [INFO] [stdout] 374 | assert_eq!(p2.read(&mut [0]).unwrap_err().raw_os_error(), Some(ERROR_ACCESS_DENIED as _)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueueUserAPC` in this scope [INFO] [stdout] --> src/lib.rs:470:33 [INFO] [stdout] | [INFO] [stdout] 470 | assert_ne!(unsafe { QueueUserAPC(Some(apc), GetCurrentThread(), 0) }, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentThread` in this scope [INFO] [stdout] --> src/lib.rs:470:57 [INFO] [stdout] | [INFO] [stdout] 470 | assert_ne!(unsafe { QueueUserAPC(Some(apc), GetCurrentThread(), 0) }, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 41 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 55 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advance-anon-pipe` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c88b20187e4a8f49679a49bef81e30627989e6bbd361e02db8e2347acef86386", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c88b20187e4a8f49679a49bef81e30627989e6bbd361e02db8e2347acef86386", kill_on_drop: false }` [INFO] [stdout] c88b20187e4a8f49679a49bef81e30627989e6bbd361e02db8e2347acef86386