[INFO] fetching crate ntfs-reader 0.4.1...
[INFO] testing ntfs-reader-0.4.1 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate ntfs-reader 0.4.1 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate ntfs-reader 0.4.1 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ntfs-reader 0.4.1
[INFO] finished tweaking crates.io crate ntfs-reader 0.4.1
[INFO] tweaked toml for crates.io crate ntfs-reader 0.4.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 53 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b1b45d09d3f8807dbe01e0ac0df9389bde938ca5f2fe7506bf5f4588537072db
[INFO] running `Command { std: "docker" "start" "-a" "b1b45d09d3f8807dbe01e0ac0df9389bde938ca5f2fe7506bf5f4588537072db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b1b45d09d3f8807dbe01e0ac0df9389bde938ca5f2fe7506bf5f4588537072db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b1b45d09d3f8807dbe01e0ac0df9389bde938ca5f2fe7506bf5f4588537072db", kill_on_drop: false }`
[INFO] [stdout] b1b45d09d3f8807dbe01e0ac0df9389bde938ca5f2fe7506bf5f4588537072db
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 79fcc2a358c6c3a30695da2fdc30713985384091a52a2d3db9f5c42738fd4a47
[INFO] running `Command { std: "docker" "start" "-a" "79fcc2a358c6c3a30695da2fdc30713985384091a52a2d3db9f5c42738fd4a47", kill_on_drop: false }`
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.52.6
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling rustversion v1.0.18
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling syn v2.0.86
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling windows-targets v0.52.6
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling array-init v2.1.0
[INFO] [stderr]    Compiling windows-result v0.2.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling windows-strings v0.1.0
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling windows-implement v0.58.0
[INFO] [stderr]    Compiling windows-interface v0.58.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling thiserror-impl v1.0.66
[INFO] [stderr]    Compiling windows-core v0.58.0
[INFO] [stderr]    Compiling thiserror v1.0.66
[INFO] [stderr]    Compiling windows v0.58.0
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]    Compiling ntfs-reader v0.4.1 (/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/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/os/mod.rs:54:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/os/mod.rs:46:1
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/os/mod.rs:101:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/os/mod.rs:100: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<bool> {
[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/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/ffi/os_str.rs:140: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_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:105:56
[INFO] [stdout]     |
[INFO] [stdout] 105 |                     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/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/ffi/os_str.rs:140:5
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 105 |                     break Some(PathBuf::from(OsString::from_iter(name_u16)));
[INFO] [stdout]     |                                                        ~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]  --> src/errors.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Error, Debug)]
[INFO] [stdout]   |          -^^^^
[INFO] [stdout]   |          |
[INFO] [stdout]   |          let's call the lifetime of this reference `'1`
[INFO] [stdout]   |          returning this value requires that `'1` must outlive `'static`
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return reference to local variable `source`
[INFO] [stdout]  --> src/errors.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Error, Debug)]
[INFO] [stdout]   |          ^^^^^ returns a reference to data owned by the current function
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0515, 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 16 previous errors
[INFO] running `Command { std: "docker" "inspect" "79fcc2a358c6c3a30695da2fdc30713985384091a52a2d3db9f5c42738fd4a47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "79fcc2a358c6c3a30695da2fdc30713985384091a52a2d3db9f5c42738fd4a47", kill_on_drop: false }`
[INFO] [stdout] 79fcc2a358c6c3a30695da2fdc30713985384091a52a2d3db9f5c42738fd4a47
