[INFO] fetching crate windows-drives 0.5.0... [INFO] testing windows-drives-0.5.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate windows-drives 0.5.0 into /workspace/builds/worker-105/source [INFO] validating manifest of crates.io crate windows-drives 0.5.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate windows-drives 0.5.0 [INFO] finished tweaking crates.io crate windows-drives 0.5.0 [INFO] tweaked toml for crates.io crate windows-drives 0.5.0 written to /workspace/builds/worker-105/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded derive-try-from-primitive v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c25968f55f83de35552addd53e9d5158fffa2290fb24a3d7f925966cce4b8ed6 [INFO] running `Command { std: "docker" "start" "-a" "c25968f55f83de35552addd53e9d5158fffa2290fb24a3d7f925966cce4b8ed6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c25968f55f83de35552addd53e9d5158fffa2290fb24a3d7f925966cce4b8ed6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c25968f55f83de35552addd53e9d5158fffa2290fb24a3d7f925966cce4b8ed6", kill_on_drop: false }` [INFO] [stdout] c25968f55f83de35552addd53e9d5158fffa2290fb24a3d7f925966cce4b8ed6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7dea5a0149a22fbf335b1b1adb1c5f4dbe142b8d39063c99851102707f6542de [INFO] running `Command { std: "docker" "start" "-a" "7dea5a0149a22fbf335b1b1adb1c5f4dbe142b8d39063c99851102707f6542de", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling derive-try-from-primitive v1.0.0 [INFO] [stderr] Compiling windows-drives v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/drive.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | 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:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | 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:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] 12 | shared::ntdef::LARGE_INTEGER, [INFO] [stdout] 13 | 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:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | impl_physical!(PhysicalDrive, HarddiskVolume); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_physical` (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:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | impl_physical!(PhysicalDrive, HarddiskVolume); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_physical` (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:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | 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:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PARTITION_STYLE_GPT` in this scope [INFO] [stdout] --> src/drive.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | Gpt = PARTITION_STYLE_GPT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PARTITION_STYLE_MBR` in this scope [INFO] [stdout] --> src/drive.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | Mbr = PARTITION_STYLE_MBR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PARTITION_STYLE_RAW` in this scope [INFO] [stdout] --> src/drive.rs:93:11 [INFO] [stdout] | [INFO] [stdout] 93 | Raw = PARTITION_STYLE_RAW, [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:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | impl_physical!(PhysicalDrive, HarddiskVolume); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_physical` (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:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | impl_physical!(PhysicalDrive, HarddiskVolume); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_physical` (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:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | CloseHandle(self.handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/drive.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | impl_physical!(PhysicalDrive, HarddiskVolume); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_physical` (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:237:11 [INFO] [stdout] | [INFO] [stdout] 237 | 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:238:18 [INFO] [stdout] | [INFO] [stdout] 238 | fn from(geo: DISK_GEOMETRY) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PARTITION_INFORMATION_EX` in this scope [INFO] [stdout] --> src/drive.rs:249:11 [INFO] [stdout] | [INFO] [stdout] 249 | impl From for PartitionInfo { [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 `PARTITION_INFORMATION_EX` in this scope [INFO] [stdout] --> src/drive.rs:250:19 [INFO] [stdout] | [INFO] [stdout] 250 | fn from(info: PARTITION_INFORMATION_EX) -> 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:260:38 [INFO] [stdout] | [INFO] [stdout] 260 | 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:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | 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:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | 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:266:31 [INFO] [stdout] | [INFO] [stdout] 266 | 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:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | 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:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | 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:273:18 [INFO] [stdout] | [INFO] [stdout] 273 | 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:287:21 [INFO] [stdout] | [INFO] [stdout] 287 | 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:290:23 [INFO] [stdout] | [INFO] [stdout] 290 | 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:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | 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:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | 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:298:23 [INFO] [stdout] | [INFO] [stdout] 287 | fn geometry(drive: &HANDLE) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 298 | size_of::() as u32, [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:315:31 [INFO] [stdout] | [INFO] [stdout] 315 | fn partition_info(partition: &HANDLE) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PARTITION_INFORMATION_EX` in this scope [INFO] [stdout] --> src/drive.rs:318:24 [INFO] [stdout] | [INFO] [stdout] 318 | let info_ptr: *mut PARTITION_INFORMATION_EX = &mut info; [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:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | DeviceIoControl( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IOCTL_DISK_GET_PARTITION_INFO_EX` in this scope [INFO] [stdout] --> src/drive.rs:322:13 [INFO] [stdout] | [INFO] [stdout] 322 | IOCTL_DISK_GET_PARTITION_INFO_EX, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PARTITION_INFORMATION_EX` in this scope [INFO] [stdout] --> src/drive.rs:326:23 [INFO] [stdout] | [INFO] [stdout] 315 | fn partition_info(partition: &HANDLE) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 326 | 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] 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 38 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` due to 39 previous errors [INFO] running `Command { std: "docker" "inspect" "7dea5a0149a22fbf335b1b1adb1c5f4dbe142b8d39063c99851102707f6542de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dea5a0149a22fbf335b1b1adb1c5f4dbe142b8d39063c99851102707f6542de", kill_on_drop: false }` [INFO] [stdout] 7dea5a0149a22fbf335b1b1adb1c5f4dbe142b8d39063c99851102707f6542de