[INFO] fetching crate ntfs-reader 0.4.2... [INFO] testing ntfs-reader-0.4.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate ntfs-reader 0.4.2 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ntfs-reader 0.4.2 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 54 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d311e7abce114f99758f57948a180d6e46d5ed329e97b0e84f36a92af847546e [INFO] running `Command { std: "docker" "start" "-a" "d311e7abce114f99758f57948a180d6e46d5ed329e97b0e84f36a92af847546e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d311e7abce114f99758f57948a180d6e46d5ed329e97b0e84f36a92af847546e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d311e7abce114f99758f57948a180d6e46d5ed329e97b0e84f36a92af847546e", kill_on_drop: false }` [INFO] [stdout] d311e7abce114f99758f57948a180d6e46d5ed329e97b0e84f36a92af847546e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bc7ebc85e75249bc675eb096b4b7126c55940785b413b36271107bcb1d66b3df [INFO] running `Command { std: "docker" "start" "-a" "bc7ebc85e75249bc675eb096b4b7126c55940785b413b36271107bcb1d66b3df", kill_on_drop: false }` [INFO] [stderr] Compiling windows-link v0.1.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling windows-targets v0.53.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling array-init v2.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling windows-strings v0.3.1 [INFO] [stderr] Compiling windows-result v0.3.4 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling windows-implement v0.59.0 [INFO] [stderr] Compiling windows-interface v0.59.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling windows-core v0.59.0 [INFO] [stderr] Compiling windows v0.59.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling 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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:120:1 [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[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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/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] running `Command { std: "docker" "inspect" "bc7ebc85e75249bc675eb096b4b7126c55940785b413b36271107bcb1d66b3df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc7ebc85e75249bc675eb096b4b7126c55940785b413b36271107bcb1d66b3df", kill_on_drop: false }` [INFO] [stdout] bc7ebc85e75249bc675eb096b4b7126c55940785b413b36271107bcb1d66b3df