[INFO] fetching crate windows-drives 0.2.1... [INFO] checking windows-drives-0.2.1 against try#81275a1445c7502a974118e0c69b795ab60be991 for pr-80243 [INFO] extracting crate windows-drives 0.2.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate windows-drives 0.2.1 on toolchain 81275a1445c7502a974118e0c69b795ab60be991 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate windows-drives 0.2.1 [INFO] finished tweaking crates.io crate windows-drives 0.2.1 [INFO] tweaked toml for crates.io crate windows-drives 0.2.1 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "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] f66c7c6b3487716e26ef427bf8c805666af402ef71428dc44b1f822fbd7c9cc7 [INFO] running `Command { std: "docker" "start" "-a" "f66c7c6b3487716e26ef427bf8c805666af402ef71428dc44b1f822fbd7c9cc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f66c7c6b3487716e26ef427bf8c805666af402ef71428dc44b1f822fbd7c9cc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f66c7c6b3487716e26ef427bf8c805666af402ef71428dc44b1f822fbd7c9cc7", kill_on_drop: false }` [INFO] [stdout] f66c7c6b3487716e26ef427bf8c805666af402ef71428dc44b1f822fbd7c9cc7 [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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37a80375781d855927cd2f17e6dc5e2f4da923405fa3d61ab65b3bb5420adbf4 [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" "37a80375781d855927cd2f17e6dc5e2f4da923405fa3d61ab65b3bb5420adbf4", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking windows-drives v0.2.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 `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 `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 `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:148:18 [INFO] [stdout] | [INFO] [stdout] 148 | 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:148:18 [INFO] [stdout] | [INFO] [stdout] 148 | 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:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | 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:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | let mut new_pos = 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:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | 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:66:35 [INFO] [stdout] | [INFO] [stdout] 66 | 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:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | 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:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | 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:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | 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:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | 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:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | if handle == INVALID_HANDLE_VALUE { [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:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | CloseHandle(self.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:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | 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:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | 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:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | 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:94:28 [INFO] [stdout] | [INFO] [stdout] 94 | 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:96:15 [INFO] [stdout] | [INFO] [stdout] 53 | impl PhysicalDrive { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 96 | 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:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | &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:164:20 [INFO] [stdout] | [INFO] [stdout] 164 | &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:171:20 [INFO] [stdout] | [INFO] [stdout] 171 | &mut new_pos, FILE_END) [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:291:11 [INFO] [stdout] | [INFO] [stdout] 291 | 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:292:18 [INFO] [stdout] | [INFO] [stdout] 292 | 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:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | 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:66:35 [INFO] [stdout] | [INFO] [stdout] 66 | 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:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | 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:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | 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:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | 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:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | 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:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | if handle == INVALID_HANDLE_VALUE { [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:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | CloseHandle(self.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:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | 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:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | 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:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | 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:94:28 [INFO] [stdout] | [INFO] [stdout] 94 | 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:96:15 [INFO] [stdout] | [INFO] [stdout] 53 | impl PhysicalDrive { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 96 | 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:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | &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:164:20 [INFO] [stdout] | [INFO] [stdout] 164 | &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:171:20 [INFO] [stdout] | [INFO] [stdout] 171 | &mut new_pos, FILE_END) [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:291:11 [INFO] [stdout] | [INFO] [stdout] 291 | 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:292:18 [INFO] [stdout] | [INFO] [stdout] 292 | 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" "37a80375781d855927cd2f17e6dc5e2f4da923405fa3d61ab65b3bb5420adbf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37a80375781d855927cd2f17e6dc5e2f4da923405fa3d61ab65b3bb5420adbf4", kill_on_drop: false }` [INFO] [stdout] 37a80375781d855927cd2f17e6dc5e2f4da923405fa3d61ab65b3bb5420adbf4