Build results for nightly-2024-07-25 target x86_64-uwp-windows-msvc miri-std

error
Preparing a sysroot for Miri (target: x86_64-uwp-windows-msvc)...
warning: no edition set: defaulting to the 2015 edition while the latest is 2021
   Compiling compiler_builtins v0.1.109
    Checking core v0.0.0 (/home/nora/.rustup/toolchains/nightly-2024-07-25-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core)
   Compiling memchr v2.5.0
   Compiling std v0.0.0 (/home/nora/.rustup/toolchains/nightly-2024-07-25-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std)
    Checking rustc-std-workspace-core v1.99.0 (/home/nora/.rustup/toolchains/nightly-2024-07-25-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core)
    Checking alloc v0.0.0 (/home/nora/.rustup/toolchains/nightly-2024-07-25-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc)
    Checking cfg-if v1.0.0
    Checking adler v1.0.2
    Checking rustc-demangle v0.1.24
    Checking unwind v0.0.0 (/home/nora/.rustup/toolchains/nightly-2024-07-25-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/unwind)
    Checking rustc-std-workspace-alloc v1.99.0 (/home/nora/.rustup/toolchains/nightly-2024-07-25-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-alloc)
    Checking panic_unwind v0.0.0 (/home/nora/.rustup/toolchains/nightly-2024-07-25-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_unwind)
    Checking panic_abort v0.0.0 (/home/nora/.rustup/toolchains/nightly-2024-07-25-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_abort)
    Checking gimli v0.29.0
    Checking std_detect v0.1.5 (/home/nora/.rustup/toolchains/nightly-2024-07-25-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/stdarch/crates/std_detect)
    Checking object v0.36.0
    Checking hashbrown v0.14.5
    Checking miniz_oxide v0.7.4
    Checking addr2line v0.22.0
error[E0412]: cannot find type `DWORD` in module `c`
   --> /home/nora/.rustup/toolchains/nightly-2024-07-25-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/windows/fs.rs:419:58
    |
419 |                     dhLowDateTime: info.ChangeTime as c::DWORD,
    |                                                          ^^^^^ not found in `c`
    |
note: type alias `crate::backtrace_rs::windows::DWORD` exists but is inaccessible
   --> /home/nora/.rustup/toolchains/nightly-2024-07-25-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/../../backtrace/src/windows.rs:164:9
    |
164 |           pub type $name = $ty;
    |           ^^^^^^^^^^^^^^^^^^^^^ not accessible
...
234 | / ffi! {
235 | |     #[repr(C)]
236 | |     pub struct STACKFRAME64 {
237 | |         pub AddrPC: ADDRESS64,
...   |
472 | |     }
473 | | }
    | |_- in this macro invocation
    = note: this error originates in the macro `ffi` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0412]: cannot find type `DWORD` in module `c`
   --> /home/nora/.rustup/toolchains/nightly-2024-07-25-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/windows/fs.rs:420:67
    |
420 |                     dhHighDateTime: (info.ChangeTime >> 32) as c::DWORD,
    |                                                                   ^^^^^ not found in `c`
    |
note: type alias `crate::backtrace_rs::windows::DWORD` exists but is inaccessible
   --> /home/nora/.rustup/toolchains/nightly-2024-07-25-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/../../backtrace/src/windows.rs:164:9
    |
164 |           pub type $name = $ty;
    |           ^^^^^^^^^^^^^^^^^^^^^ not accessible
...
234 | / ffi! {
235 | |     #[repr(C)]
236 | |     pub struct STACKFRAME64 {
237 | |         pub AddrPC: ADDRESS64,
...   |
472 | |     }
473 | | }
    | |_- in this macro invocation
    = note: this error originates in the macro `ffi` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unused import: `WinError`
  --> /home/nora/.rustup/toolchains/nightly-2024-07-25-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/windows/os.rs:20:24
   |
20 | use super::api::{self, WinError};
   |                        ^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` on by default

error[E0560]: struct `sys::pal::windows::c::windows_sys::FILETIME` has no field named `dhLowDateTime`
   --> /home/nora/.rustup/toolchains/nightly-2024-07-25-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/windows/fs.rs:419:21
    |
419 |                     dhLowDateTime: info.ChangeTime as c::DWORD,
    |                     ^^^^^^^^^^^^^ unknown field
    |
help: a field with a similar name exists
    |
419 |                     dwLowDateTime: info.ChangeTime as c::DWORD,
    |                     ~~~~~~~~~~~~~

error[E0560]: struct `sys::pal::windows::c::windows_sys::FILETIME` has no field named `dhHighDateTime`
   --> /home/nora/.rustup/toolchains/nightly-2024-07-25-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/windows/fs.rs:420:21
    |
420 |                     dhHighDateTime: (info.ChangeTime >> 32) as c::DWORD,
    |                     ^^^^^^^^^^^^^^ unknown field
    |
help: a field with a similar name exists
    |
420 |                     dwHighDateTime: (info.ChangeTime >> 32) as c::DWORD,
    |                     ~~~~~~~~~~~~~~

warning[E0133]: call to unsafe function `sys::pal::windows::stack_overflow_uwp::reserve_stack` is unsafe and requires unsafe block
  --> /home/nora/.rustup/toolchains/nightly-2024-07-25-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/windows/thread.rs:54:13
   |
54 |             stack_overflow::reserve_stack();
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
   |
   = note: for more information, see issue #71668 
   = note: consult the function's documentation for information on how to avoid undefined behavior
note: an unsafe function restricts its caller, but its body is safe by default
  --> /home/nora/.rustup/toolchains/nightly-2024-07-25-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/windows/thread.rs:52:9
   |
52 |         unsafe extern "system" fn thread_start(main: *mut c_void) -> u32 {
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: the lint level is defined here
  --> /home/nora/.rustup/toolchains/nightly-2024-07-25-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/windows/mod.rs:2:11
   |
2  | #![forbid(unsafe_op_in_unsafe_fn)]
   |           ^^^^^^^^^^^^^^^^^^^^^^

Some errors have detailed explanations: E0133, E0412, E0560.
For more information about an error, try `rustc --explain E0133`.
warning: `std` (lib) generated 2 warnings
error: could not compile `std` (lib) due to 4 previous errors; 2 warnings emitted
fatal error: failed to build sysroot: sysroot build failed