[INFO] fetching crate windows-drives 0.3.1... [INFO] checking windows-drives-0.3.1 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate windows-drives 0.3.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate windows-drives 0.3.1 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 crates.io crate windows-drives 0.3.1 [INFO] finished tweaking crates.io crate windows-drives 0.3.1 [INFO] tweaked toml for crates.io crate windows-drives 0.3.1 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a8b33014d842d0ade6a3b4a80d8f1c0642a69255c472b0bc62c1c3f02b44282 [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" "0a8b33014d842d0ade6a3b4a80d8f1c0642a69255c472b0bc62c1c3f02b44282", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a8b33014d842d0ade6a3b4a80d8f1c0642a69255c472b0bc62c1c3f02b44282", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a8b33014d842d0ade6a3b4a80d8f1c0642a69255c472b0bc62c1c3f02b44282", kill_on_drop: false }` [INFO] [stdout] 0a8b33014d842d0ade6a3b4a80d8f1c0642a69255c472b0bc62c1c3f02b44282 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86a174a3e5142f8aadcd0b5dcb7bf4f64d4a9f76464c5712306eab51c8badda1 [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" "86a174a3e5142f8aadcd0b5dcb7bf4f64d4a9f76464c5712306eab51c8badda1", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking windows-drives v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/drive.rs:3:2 [INFO] [stdout] | [INFO] [stdout] 3 | shared::ntdef::LARGE_INTEGER, [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/drive.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | um::{ [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/win32.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win32.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::ctypes`, `winapi::um` [INFO] [stdout] --> src/drive.rs:2:2 [INFO] [stdout] | [INFO] [stdout] 2 | ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] 3 | shared::ntdef::LARGE_INTEGER, [INFO] [stdout] 4 | um::{ [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/drive.rs:3:2 [INFO] [stdout] | [INFO] [stdout] 3 | shared::ntdef::LARGE_INTEGER, [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/drive.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | um::{ [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/win32.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win32.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::ctypes`, `winapi::um` [INFO] [stdout] --> src/drive.rs:2:2 [INFO] [stdout] | [INFO] [stdout] 2 | ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] 3 | shared::ntdef::LARGE_INTEGER, [INFO] [stdout] 4 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LARGE_INTEGER` [INFO] [stdout] --> src/drive.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 154 | let mut dist = 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/drive.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 155 | let mut new_pos = 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/drive.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 154 | let mut dist = LARGE_INTEGER::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `LARGE_INTEGER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/drive.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | handle: HANDLE, [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/drive.rs:74:35 [INFO] [stdout] | [INFO] [stdout] 74 | fs::CreateFileW(path.as_ptr(), GENERIC_READ, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LARGE_INTEGER` [INFO] [stdout] --> src/drive.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 155 | let mut new_pos = LARGE_INTEGER::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `LARGE_INTEGER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_READ` in this scope [INFO] [stdout] --> src/drive.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | FILE_SHARE_READ | FILE_SHARE_WRITE, null_mut(), [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/drive.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | FILE_SHARE_READ | FILE_SHARE_WRITE, null_mut(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OPEN_EXISTING` in this scope [INFO] [stdout] --> src/drive.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | OPEN_EXISTING, FILE_FLAG_NO_BUFFERING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_FLAG_NO_BUFFERING` in this scope [INFO] [stdout] --> src/drive.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | OPEN_EXISTING, FILE_FLAG_NO_BUFFERING, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/drive.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | if handle == INVALID_HANDLE_VALUE { [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/drive.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | fn geometry(drive: &HANDLE) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DISK_GEOMETRY` in this scope [INFO] [stdout] --> src/drive.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | let geo_ptr: *mut DISK_GEOMETRY = &mut geo; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope [INFO] [stdout] --> src/drive.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | DeviceIoControl(*drive, IOCTL_DISK_GET_DRIVE_GEOMETRY, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IOCTL_DISK_GET_DRIVE_GEOMETRY` in this scope [INFO] [stdout] --> src/drive.rs:98:28 [INFO] [stdout] | [INFO] [stdout] 98 | DeviceIoControl(*drive, IOCTL_DISK_GET_DRIVE_GEOMETRY, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DISK_GEOMETRY` in this scope [INFO] [stdout] --> src/drive.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 61 | impl PhysicalDrive { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 100 | size_of::() as u32, &mut bytes_returned, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_BEGIN` in this scope [INFO] [stdout] --> src/drive.rs:163:20 [INFO] [stdout] | [INFO] [stdout] 163 | &mut new_pos, FILE_BEGIN) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_CURRENT` in this scope [INFO] [stdout] --> src/drive.rs:170:20 [INFO] [stdout] | [INFO] [stdout] 170 | &mut new_pos, FILE_CURRENT) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_END` in this scope [INFO] [stdout] --> src/drive.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | &mut new_pos, FILE_END) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/drive.rs:196:4 [INFO] [stdout] | [INFO] [stdout] 196 | CloseHandle(self.handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DISK_GEOMETRY` in this scope [INFO] [stdout] --> src/drive.rs:326:11 [INFO] [stdout] | [INFO] [stdout] 326 | impl From for DiskGeometry { [INFO] [stdout] | - ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DISK_GEOMETRY` in this scope [INFO] [stdout] --> src/drive.rs:327:18 [INFO] [stdout] | [INFO] [stdout] 327 | fn from(geo: DISK_GEOMETRY) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/win32.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe { GetLastError() } [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/drive.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | handle: HANDLE, [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/drive.rs:74:35 [INFO] [stdout] | [INFO] [stdout] 74 | fs::CreateFileW(path.as_ptr(), GENERIC_READ, [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/drive.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | FILE_SHARE_READ | FILE_SHARE_WRITE, null_mut(), [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/drive.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | FILE_SHARE_READ | FILE_SHARE_WRITE, null_mut(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OPEN_EXISTING` in this scope [INFO] [stdout] --> src/drive.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | OPEN_EXISTING, FILE_FLAG_NO_BUFFERING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_FLAG_NO_BUFFERING` in this scope [INFO] [stdout] --> src/drive.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | OPEN_EXISTING, FILE_FLAG_NO_BUFFERING, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/drive.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | if handle == INVALID_HANDLE_VALUE { [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/drive.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | fn geometry(drive: &HANDLE) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DISK_GEOMETRY` in this scope [INFO] [stdout] --> src/drive.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | let geo_ptr: *mut DISK_GEOMETRY = &mut geo; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope [INFO] [stdout] --> src/drive.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | DeviceIoControl(*drive, IOCTL_DISK_GET_DRIVE_GEOMETRY, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IOCTL_DISK_GET_DRIVE_GEOMETRY` in this scope [INFO] [stdout] --> src/drive.rs:98:28 [INFO] [stdout] | [INFO] [stdout] 98 | DeviceIoControl(*drive, IOCTL_DISK_GET_DRIVE_GEOMETRY, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DISK_GEOMETRY` in this scope [INFO] [stdout] --> src/drive.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 61 | impl PhysicalDrive { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 100 | size_of::() as u32, &mut bytes_returned, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_BEGIN` in this scope [INFO] [stdout] --> src/drive.rs:163:20 [INFO] [stdout] | [INFO] [stdout] 163 | &mut new_pos, FILE_BEGIN) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_CURRENT` in this scope [INFO] [stdout] --> src/drive.rs:170:20 [INFO] [stdout] | [INFO] [stdout] 170 | &mut new_pos, FILE_CURRENT) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_END` in this scope [INFO] [stdout] --> src/drive.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | &mut new_pos, FILE_END) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/drive.rs:196:4 [INFO] [stdout] | [INFO] [stdout] 196 | CloseHandle(self.handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DISK_GEOMETRY` in this scope [INFO] [stdout] --> src/drive.rs:326:11 [INFO] [stdout] | [INFO] [stdout] 326 | impl From for DiskGeometry { [INFO] [stdout] | - ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DISK_GEOMETRY` in this scope [INFO] [stdout] --> src/drive.rs:327:18 [INFO] [stdout] | [INFO] [stdout] 327 | fn from(geo: DISK_GEOMETRY) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/win32.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe { GetLastError() } [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/win32.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | OsStr::new(s).encode_wide().chain(once(0)).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `windows-drives` [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[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/win32.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | OsStr::new(s).encode_wide().chain(once(0)).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "86a174a3e5142f8aadcd0b5dcb7bf4f64d4a9f76464c5712306eab51c8badda1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86a174a3e5142f8aadcd0b5dcb7bf4f64d4a9f76464c5712306eab51c8badda1", kill_on_drop: false }` [INFO] [stdout] 86a174a3e5142f8aadcd0b5dcb7bf4f64d4a9f76464c5712306eab51c8badda1