[INFO] fetching crate ntfs-reader 0.4.2... [INFO] checking ntfs-reader-0.4.2 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate ntfs-reader 0.4.2 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate ntfs-reader 0.4.2 [INFO] finished tweaking crates.io crate ntfs-reader 0.4.2 [INFO] tweaked toml for crates.io crate ntfs-reader 0.4.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ntfs-reader 0.4.2 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 60 packages to latest compatible versions [INFO] [stderr] Adding windows v0.59.0 (available: v0.61.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14ad0fbe8517457abd4eed4d7b899aa22ef66e31f8c76ab6a98928de305dfc23 [INFO] running `Command { std: "docker" "start" "-a" "14ad0fbe8517457abd4eed4d7b899aa22ef66e31f8c76ab6a98928de305dfc23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14ad0fbe8517457abd4eed4d7b899aa22ef66e31f8c76ab6a98928de305dfc23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14ad0fbe8517457abd4eed4d7b899aa22ef66e31f8c76ab6a98928de305dfc23", kill_on_drop: false }` [INFO] [stdout] 14ad0fbe8517457abd4eed4d7b899aa22ef66e31f8c76ab6a98928de305dfc23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c14d9064c679785bd2b64d7850ca3ad37f4f6eabff9cd0b02be7f92ebcb696b [INFO] running `Command { std: "docker" "start" "-a" "7c14d9064c679785bd2b64d7850ca3ad37f4f6eabff9cd0b02be7f92ebcb696b", kill_on_drop: false }` [INFO] [stderr] Compiling windows_x86_64_gnu v0.53.0 [INFO] [stderr] Checking windows-link v0.1.3 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Checking time v0.3.43 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Compiling windows-interface v0.59.1 [INFO] [stderr] Compiling windows-implement v0.59.0 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Checking windows-strings v0.3.1 [INFO] [stderr] Checking windows-result v0.3.4 [INFO] [stderr] Checking windows-targets v0.53.3 [INFO] [stderr] Checking windows-core v0.59.0 [INFO] [stderr] Checking windows v0.59.0 [INFO] [stderr] Checking thiserror v2.0.16 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Checking ntfs-reader v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/journal.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/std/src/os/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/std/src/os/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/journal.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use windows::core::PCSTR; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/journal.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use windows::Win32::Foundation::{self, ERROR_MORE_DATA}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/journal.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use windows::Win32::Storage::FileSystem::{self, FILE_FLAG_BACKUP_SEMANTICS}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/journal.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use windows::Win32::System::Ioctl; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/journal.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use windows::Win32::System::Threading::INFINITE; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/journal.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | use windows::Win32::System::IO::{self, GetQueuedCompletionStatus}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/volume.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use windows::Win32::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::Win32` [INFO] [stdout] --> src/journal.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use windows::Win32::Foundation::{self, ERROR_MORE_DATA}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/errors.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct WindowsErrorWrapper(windows::core::Error); [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/volume.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | fn is_elevated() -> windows::core::Result { [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/errors.rs:21:38 [INFO] [stdout] | [INFO] [stdout] 21 | WindowsErrorWrapper(windows::core::Error::from_win32()) [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 5 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 21 - WindowsErrorWrapper(windows::core::Error::from_win32()) [INFO] [stdout] 21 + WindowsErrorWrapper(Error::from_win32()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/journal.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/std/src/os/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/std/src/os/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/journal.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use windows::core::PCSTR; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/journal.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use windows::Win32::Foundation::{self, ERROR_MORE_DATA}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/journal.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use windows::Win32::Storage::FileSystem::{self, FILE_FLAG_BACKUP_SEMANTICS}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/journal.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use windows::Win32::System::Ioctl; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/journal.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use windows::Win32::System::Threading::INFINITE; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/journal.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | use windows::Win32::System::IO::{self, GetQueuedCompletionStatus}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/volume.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use windows::Win32::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::Win32` [INFO] [stdout] --> src/journal.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use windows::Win32::Foundation::{self, ERROR_MORE_DATA}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/errors.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct WindowsErrorWrapper(windows::core::Error); [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/volume.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | fn is_elevated() -> windows::core::Result { [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/errors.rs:21:38 [INFO] [stdout] | [INFO] [stdout] 21 | WindowsErrorWrapper(windows::core::Error::from_win32()) [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 6 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 21 - WindowsErrorWrapper(windows::core::Error::from_win32()) [INFO] [stdout] 21 + WindowsErrorWrapper(Error::from_win32()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/journal.rs:41:44 [INFO] [stdout] | [INFO] [stdout] 41 | let name = std::ffi::OsString::from_wide(name_u16) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/std/src/ffi/os_str.rs:141:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 41 - let name = std::ffi::OsString::from_wide(name_u16) [INFO] [stdout] 41 + let name = std::ffi::OsString::from_iter(name_u16) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/journal.rs:104:56 [INFO] [stdout] | [INFO] [stdout] 104 | break Some(PathBuf::from(OsString::from_wide(name_u16))); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/std/src/ffi/os_str.rs:141:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 104 - break Some(PathBuf::from(OsString::from_wide(name_u16))); [INFO] [stdout] 104 + break Some(PathBuf::from(OsString::from_iter(name_u16))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/journal.rs:41:44 [INFO] [stdout] | [INFO] [stdout] 41 | let name = std::ffi::OsString::from_wide(name_u16) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/std/src/ffi/os_str.rs:141:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 41 - let name = std::ffi::OsString::from_wide(name_u16) [INFO] [stdout] 41 + let name = std::ffi::OsString::from_iter(name_u16) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/journal.rs:104:56 [INFO] [stdout] | [INFO] [stdout] 104 | break Some(PathBuf::from(OsString::from_wide(name_u16))); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/std/src/ffi/os_str.rs:141:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 104 - break Some(PathBuf::from(OsString::from_wide(name_u16))); [INFO] [stdout] 104 + break Some(PathBuf::from(OsString::from_iter(name_u16))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ntfs-reader` (lib) due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ntfs-reader` (lib test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "7c14d9064c679785bd2b64d7850ca3ad37f4f6eabff9cd0b02be7f92ebcb696b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c14d9064c679785bd2b64d7850ca3ad37f4f6eabff9cd0b02be7f92ebcb696b", kill_on_drop: false }` [INFO] [stdout] 7c14d9064c679785bd2b64d7850ca3ad37f4f6eabff9cd0b02be7f92ebcb696b