[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] b4929bcaaf2b528996c53e0573d0f5531c43beb2 [INFO] checking hyd-dev/advance-anon-pipe against master#4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 for pr-81174 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhyd-dev%2Fadvance-anon-pipe" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hyd-dev/advance-anon-pipe on toolchain 4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "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-8/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" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cvt-trait v1.0.1 [INFO] [stderr] Downloaded apply-macro v1.0.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 367f0e7014396b099c2e3443da4a17627f6e456506ac9ae02a27886badf09211 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "367f0e7014396b099c2e3443da4a17627f6e456506ac9ae02a27886badf09211", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "367f0e7014396b099c2e3443da4a17627f6e456506ac9ae02a27886badf09211", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "367f0e7014396b099c2e3443da4a17627f6e456506ac9ae02a27886badf09211", kill_on_drop: false }` [INFO] [stdout] 367f0e7014396b099c2e3443da4a17627f6e456506ac9ae02a27886badf09211 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d84f57dc31c233e1a5d7ccc3ed8e06412150711705d2005391c8625b0a162c1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5d84f57dc31c233e1a5d7ccc3ed8e06412150711705d2005391c8625b0a162c1", kill_on_drop: false }` [INFO] [stderr] Compiling apply-macro v1.0.10 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling ntapi v0.3.6 [INFO] [stderr] Compiling seq-macro v0.2.1 [INFO] [stderr] Checking cvt-trait v1.0.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling hut-macros v0.0.0 (https://github.com/hyd-dev/rust-hut.git#97aac6c6) [INFO] [stderr] Compiling hut v0.0.0 (https://github.com/hyd-dev/rust-hut.git#97aac6c6) [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:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | shared::ntdef::{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:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | 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:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | 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:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | 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:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `ntapi::ntioapi`, `ntapi::ntobapi`, `super::Mode`, `super::Options`, `super::Pipe`, `super::SynchronousAlert`, `super::SynchronousNonAlert` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | ntioapi::{ [INFO] [stdout] | ^^^^^^^ could not find `ntioapi` in `ntapi` [INFO] [stdout] ... [INFO] [stdout] 13 | ntobapi::NtClose, [INFO] [stdout] | ^^^^^^^ could not find `ntobapi` in `ntapi` [INFO] [stdout] ... [INFO] [stdout] 254 | use super::{Mode, Options, Pipe, SynchronousAlert, SynchronousNonAlert}; [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LARGE_INTEGER` [INFO] [stdout] --> src/lib.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | 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: 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:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | shared::ntdef::{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:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | um::winnt::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `ntapi::ntioapi`, `ntapi::ntobapi` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | ntioapi::{ [INFO] [stdout] | ^^^^^^^ could not find `ntioapi` in `ntapi` [INFO] [stdout] ... [INFO] [stdout] 13 | ntobapi::NtClose, [INFO] [stdout] | ^^^^^^^ could not find `ntobapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | 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:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | 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:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | 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:119:69 [INFO] [stdout] | [INFO] [stdout] 119 | 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:123:47 [INFO] [stdout] | [INFO] [stdout] 123 | 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:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | 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:124:29 [INFO] [stdout] | [INFO] [stdout] 124 | 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:124:68 [INFO] [stdout] | [INFO] [stdout] 124 | 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:128:33 [INFO] [stdout] | [INFO] [stdout] 128 | 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:128:40 [INFO] [stdout] | [INFO] [stdout] 128 | 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:132:33 [INFO] [stdout] | [INFO] [stdout] 132 | 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:132:40 [INFO] [stdout] | [INFO] [stdout] 132 | 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:139:44 [INFO] [stdout] | [INFO] [stdout] 127 | impl Options { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 139 | fn default_timeout(self) -> io::Result { [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:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | 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:161:28 [INFO] [stdout] | [INFO] [stdout] 161 | 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:166:28 [INFO] [stdout] | [INFO] [stdout] 166 | 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:167:31 [INFO] [stdout] | [INFO] [stdout] 157 | impl Pipe { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 167 | 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:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | 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:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | 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:177:35 [INFO] [stdout] | [INFO] [stdout] 177 | 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:177:54 [INFO] [stdout] | [INFO] [stdout] 177 | 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:183:26 [INFO] [stdout] | [INFO] [stdout] 183 | 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:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | 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:196:35 [INFO] [stdout] | [INFO] [stdout] 196 | 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_READ` in this scope [INFO] [stdout] --> src/lib.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | 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:218:35 [INFO] [stdout] | [INFO] [stdout] 218 | 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:218:54 [INFO] [stdout] | [INFO] [stdout] 218 | 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:227:6 [INFO] [stdout] | [INFO] [stdout] 227 | 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:228:39 [INFO] [stdout] | [INFO] [stdout] 228 | 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:233:6 [INFO] [stdout] | [INFO] [stdout] 233 | impl AsRawHandle 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:234:32 [INFO] [stdout] | [INFO] [stdout] 234 | 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:239:6 [INFO] [stdout] | [INFO] [stdout] 239 | 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:240:33 [INFO] [stdout] | [INFO] [stdout] 240 | fn into_raw_handle(self) -> RawHandle { [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:286:65 [INFO] [stdout] | [INFO] [stdout] 286 | 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:289:17 [INFO] [stdout] | [INFO] [stdout] 289 | 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:289:91 [INFO] [stdout] | [INFO] [stdout] 289 | 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:301:17 [INFO] [stdout] | [INFO] [stdout] 301 | 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:311:45 [INFO] [stdout] | [INFO] [stdout] 311 | if e.raw_os_error() == Some(ERROR_IO_PENDING as _) { Ok(()) } else { Err(e) } [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:322:17 [INFO] [stdout] | [INFO] [stdout] 322 | 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:332:45 [INFO] [stdout] | [INFO] [stdout] 332 | if e.raw_os_error() == Some(ERROR_IO_PENDING as _) { Ok(()) } else { Err(e) } [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:345:74 [INFO] [stdout] | [INFO] [stdout] 345 | 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:346:72 [INFO] [stdout] | [INFO] [stdout] 346 | 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:440:33 [INFO] [stdout] | [INFO] [stdout] 440 | 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:440:57 [INFO] [stdout] | [INFO] [stdout] 440 | 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 52 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] [stdout] error[E0433]: failed to resolve: use of undeclared type `LARGE_INTEGER` [INFO] [stdout] --> src/lib.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | 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:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | 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:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | 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:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | 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:119:69 [INFO] [stdout] | [INFO] [stdout] 119 | 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:123:47 [INFO] [stdout] | [INFO] [stdout] 123 | 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:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | 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:124:29 [INFO] [stdout] | [INFO] [stdout] 124 | 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:124:68 [INFO] [stdout] | [INFO] [stdout] 124 | 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:128:33 [INFO] [stdout] | [INFO] [stdout] 128 | 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:128:40 [INFO] [stdout] | [INFO] [stdout] 128 | 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:132:33 [INFO] [stdout] | [INFO] [stdout] 132 | 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:132:40 [INFO] [stdout] | [INFO] [stdout] 132 | 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:139:44 [INFO] [stdout] | [INFO] [stdout] 127 | impl Options { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 139 | fn default_timeout(self) -> io::Result { [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:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | 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:161:28 [INFO] [stdout] | [INFO] [stdout] 161 | 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:166:28 [INFO] [stdout] | [INFO] [stdout] 166 | 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:167:31 [INFO] [stdout] | [INFO] [stdout] 157 | impl Pipe { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 167 | 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:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | 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:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | 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:177:35 [INFO] [stdout] | [INFO] [stdout] 177 | 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:177:54 [INFO] [stdout] | [INFO] [stdout] 177 | 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:183:26 [INFO] [stdout] | [INFO] [stdout] 183 | 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:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | 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:196:35 [INFO] [stdout] | [INFO] [stdout] 196 | 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_READ` in this scope [INFO] [stdout] --> src/lib.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | 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:218:35 [INFO] [stdout] | [INFO] [stdout] 218 | 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:218:54 [INFO] [stdout] | [INFO] [stdout] 218 | 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:227:6 [INFO] [stdout] | [INFO] [stdout] 227 | 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:228:39 [INFO] [stdout] | [INFO] [stdout] 228 | 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:233:6 [INFO] [stdout] | [INFO] [stdout] 233 | impl AsRawHandle 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:234:32 [INFO] [stdout] | [INFO] [stdout] 234 | 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:239:6 [INFO] [stdout] | [INFO] [stdout] 239 | 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:240:33 [INFO] [stdout] | [INFO] [stdout] 240 | fn into_raw_handle(self) -> RawHandle { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 38 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: build failed [INFO] running `Command { std: "docker" "inspect" "5d84f57dc31c233e1a5d7ccc3ed8e06412150711705d2005391c8625b0a162c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d84f57dc31c233e1a5d7ccc3ed8e06412150711705d2005391c8625b0a162c1", kill_on_drop: false }` [INFO] [stdout] 5d84f57dc31c233e1a5d7ccc3ed8e06412150711705d2005391c8625b0a162c1