Build results for nightly-2024-09-08 target thumbv7a-uwp-windows-msvc miri-std
Home
error
Preparing a sysroot for Miri (target: thumbv7a-uwp-windows-msvc)...
warning: no edition set: defaulting to the 2015 edition while the latest is 2021
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Compiling compiler_builtins v0.1.123
Checking core v0.0.0 (/home/nora/.rustup/toolchains/nightly-2024-09-08-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-09-08-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std)
Checking windows-targets v0.0.0 (/home/nora/.rustup/toolchains/nightly-2024-09-08-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/windows_targets)
Checking rustc-std-workspace-core v1.99.0 (/home/nora/.rustup/toolchains/nightly-2024-09-08-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-09-08-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-09-08-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-09-08-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-09-08-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_unwind)
Checking panic_abort v0.0.0 (/home/nora/.rustup/toolchains/nightly-2024-09-08-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_abort)
Checking gimli v0.29.0
Checking hashbrown v0.14.5
Checking std_detect v0.1.5 (/home/nora/.rustup/toolchains/nightly-2024-09-08-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/stdarch/crates/std_detect)
Checking miniz_oxide v0.7.4
Checking object v0.36.2
Checking addr2line v0.22.0
error[E0412]: cannot find type `CONTEXT` in this scope
--> /home/nora/.rustup/toolchains/nightly-2024-09-08-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/../../backtrace/src/windows_sys.rs:39:90
|
39 | windows_targets::link!("kernel32.dll" "system" fn RtlCaptureContext(contextrecord : *mut CONTEXT));
| ^^^^^^^ not found in this scope
|
help: consider importing this enum through its public re-export
|
10 + use crate::sys::c::CONTEXT;
|
error[E0412]: cannot find type `CONTEXT` in this scope
--> /home/nora/.rustup/toolchains/nightly-2024-09-08-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/../../backtrace/src/windows_sys.rs:266:29
|
266 | contextrecord: *mut CONTEXT,
| ^^^^^^^ not found in this scope
|
help: consider importing this enum through its public re-export
|
10 + use crate::sys::c::CONTEXT;
|
warning: unused import: `WinError`
--> /home/nora/.rustup/toolchains/nightly-2024-09-08-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/windows/os.rs:8:24
|
8 | use super::api::{self, WinError};
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
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-09-08-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/windows/thread.rs:51:13
|
51 | stack_overflow::reserve_stack();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
|
= note: for more information, see issue #71668 <https://github.com/rust-lang/rust/issues/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-09-08-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/windows/thread.rs:49:9
|
49 | unsafe extern "system" fn thread_start(main: *mut c_void) -> u32 {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: the lint level is defined here
--> /home/nora/.rustup/toolchains/nightly-2024-09-08-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.
For more information about an error, try `rustc --explain E0133`.
warning: `std` (lib) generated 2 warnings
error: could not compile `std` (lib) due to 2 previous errors; 2 warnings emitted
fatal error: failed to build sysroot: sysroot build failed
Build history for target thumbv7a-uwp-windows-msvc
Build state for nightly 2024-09-08