[INFO] fetching crate windows-drives 0.4.3... [INFO] checking windows-drives-0.4.3 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate windows-drives 0.4.3 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate windows-drives 0.4.3 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate windows-drives 0.4.3 [INFO] finished tweaking crates.io crate windows-drives 0.4.3 [INFO] tweaked toml for crates.io crate windows-drives 0.4.3 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6380e03e8cb4a393e29894f1453294059f4bd49fe0ddc75dd4c283b9c5153c91 [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" "6380e03e8cb4a393e29894f1453294059f4bd49fe0ddc75dd4c283b9c5153c91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6380e03e8cb4a393e29894f1453294059f4bd49fe0ddc75dd4c283b9c5153c91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6380e03e8cb4a393e29894f1453294059f4bd49fe0ddc75dd4c283b9c5153c91", kill_on_drop: false }` [INFO] [stdout] 6380e03e8cb4a393e29894f1453294059f4bd49fe0ddc75dd4c283b9c5153c91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11ee4d295c98d036b5a3d03158f326ca697c0e825f91e7077ec67dfdc903475d [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" "11ee4d295c98d036b5a3d03158f326ca697c0e825f91e7077ec67dfdc903475d", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking windows-drives v0.4.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/drive.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | 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:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | 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:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] 10 | shared::ntdef::LARGE_INTEGER, [INFO] [stdout] 11 | 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:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | 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:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | 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:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] 10 | shared::ntdef::LARGE_INTEGER, [INFO] [stdout] 11 | 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/macros.rs:64:36 [INFO] [stdout] | [INFO] [stdout] 64 | let mut dist = LARGE_INTEGER::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `LARGE_INTEGER` [INFO] [stdout] | [INFO] [stdout] ::: src/drive.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | impl_physical!(PhysicalDrive, HarddiskVolume); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LARGE_INTEGER` [INFO] [stdout] --> src/macros.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | let mut new_pos = LARGE_INTEGER::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `LARGE_INTEGER` [INFO] [stdout] | [INFO] [stdout] ::: src/drive.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | impl_physical!(PhysicalDrive, HarddiskVolume); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LARGE_INTEGER` [INFO] [stdout] --> src/macros.rs:64:36 [INFO] [stdout] | [INFO] [stdout] 64 | let mut dist = LARGE_INTEGER::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `LARGE_INTEGER` [INFO] [stdout] | [INFO] [stdout] ::: src/drive.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | impl_physical!(PhysicalDrive, HarddiskVolume); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LARGE_INTEGER` [INFO] [stdout] --> src/macros.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | let mut new_pos = LARGE_INTEGER::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `LARGE_INTEGER` [INFO] [stdout] | [INFO] [stdout] ::: src/drive.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | impl_physical!(PhysicalDrive, HarddiskVolume); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/drive.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | handle: HANDLE, [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:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | handle: HANDLE, [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/macros.rs:72:87 [INFO] [stdout] | [INFO] [stdout] 72 | ... fs::SetFilePointerEx(self.handle, dist, &mut new_pos, FILE_BEGIN) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/drive.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | impl_physical!(PhysicalDrive, HarddiskVolume); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_CURRENT` in this scope [INFO] [stdout] --> src/macros.rs:78:87 [INFO] [stdout] | [INFO] [stdout] 78 | ... fs::SetFilePointerEx(self.handle, dist, &mut new_pos, FILE_CURRENT) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/drive.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | impl_physical!(PhysicalDrive, HarddiskVolume); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_END` in this scope [INFO] [stdout] --> src/macros.rs:84:87 [INFO] [stdout] | [INFO] [stdout] 84 | ... fs::SetFilePointerEx(self.handle, dist, &mut new_pos, FILE_END) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/drive.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | impl_physical!(PhysicalDrive, HarddiskVolume); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/macros.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | CloseHandle(self.handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/drive.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | impl_physical!(PhysicalDrive, HarddiskVolume); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DISK_GEOMETRY` in this scope [INFO] [stdout] --> src/drive.rs:186:11 [INFO] [stdout] | [INFO] [stdout] 186 | 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:187:18 [INFO] [stdout] | [INFO] [stdout] 187 | fn from(geo: DISK_GEOMETRY) -> Self { [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:198:38 [INFO] [stdout] | [INFO] [stdout] 198 | fn open_handle(path: &str) -> Result { [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[E0425]: cannot find value `GENERIC_READ` in this scope [INFO] [stdout] --> src/drive.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | 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:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | 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/drive.rs:204:31 [INFO] [stdout] | [INFO] [stdout] 204 | FILE_SHARE_READ | FILE_SHARE_WRITE, [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:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | OPEN_EXISTING, [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:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | 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:211:18 [INFO] [stdout] | [INFO] [stdout] 211 | 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:225:21 [INFO] [stdout] | [INFO] [stdout] 225 | 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:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | 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:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | DeviceIoControl( [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:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | 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:236:23 [INFO] [stdout] | [INFO] [stdout] 225 | fn geometry(drive: &HANDLE) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 236 | size_of::() as u32, [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] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/drive.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | io::{self, Cursor, ErrorKind, Read, Seek, SeekFrom}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/drive.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | handle: HANDLE, [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:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | handle: HANDLE, [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/macros.rs:72:87 [INFO] [stdout] | [INFO] [stdout] 72 | ... fs::SetFilePointerEx(self.handle, dist, &mut new_pos, FILE_BEGIN) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/drive.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | impl_physical!(PhysicalDrive, HarddiskVolume); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_CURRENT` in this scope [INFO] [stdout] --> src/macros.rs:78:87 [INFO] [stdout] | [INFO] [stdout] 78 | ... fs::SetFilePointerEx(self.handle, dist, &mut new_pos, FILE_CURRENT) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/drive.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | impl_physical!(PhysicalDrive, HarddiskVolume); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_END` in this scope [INFO] [stdout] --> src/macros.rs:84:87 [INFO] [stdout] | [INFO] [stdout] 84 | ... fs::SetFilePointerEx(self.handle, dist, &mut new_pos, FILE_END) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/drive.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | impl_physical!(PhysicalDrive, HarddiskVolume); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/macros.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | CloseHandle(self.handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/drive.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | impl_physical!(PhysicalDrive, HarddiskVolume); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DISK_GEOMETRY` in this scope [INFO] [stdout] --> src/drive.rs:186:11 [INFO] [stdout] | [INFO] [stdout] 186 | 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:187:18 [INFO] [stdout] | [INFO] [stdout] 187 | fn from(geo: DISK_GEOMETRY) -> Self { [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:198:38 [INFO] [stdout] | [INFO] [stdout] 198 | fn open_handle(path: &str) -> Result { [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[E0425]: cannot find value `GENERIC_READ` in this scope [INFO] [stdout] --> src/drive.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | 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:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | 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/drive.rs:204:31 [INFO] [stdout] | [INFO] [stdout] 204 | FILE_SHARE_READ | FILE_SHARE_WRITE, [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:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | OPEN_EXISTING, [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:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | 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:211:18 [INFO] [stdout] | [INFO] [stdout] 211 | 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:225:21 [INFO] [stdout] | [INFO] [stdout] 225 | 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:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | 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:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | DeviceIoControl( [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:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | 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:236:23 [INFO] [stdout] | [INFO] [stdout] 225 | fn geometry(drive: &HANDLE) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 236 | size_of::() as u32, [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] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/drive.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | io::{self, Cursor, ErrorKind, Read, Seek, SeekFrom}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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[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 29 previous errors; 1 warning emitted [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] [stdout] error: aborting due to 29 previous errors; 1 warning emitted [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "11ee4d295c98d036b5a3d03158f326ca697c0e825f91e7077ec67dfdc903475d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11ee4d295c98d036b5a3d03158f326ca697c0e825f91e7077ec67dfdc903475d", kill_on_drop: false }` [INFO] [stdout] 11ee4d295c98d036b5a3d03158f326ca697c0e825f91e7077ec67dfdc903475d