Build results for nightly-2025-02-26 target riscv32imafc-esp-espidf miri-std

error
Preparing a sysroot for Miri (target: riscv32imafc-esp-espidf)...
   Compiling compiler_builtins v0.1.148
    Checking core v0.0.0 (/var/lib/does-it-build/.rustup/toolchains/nightly-2025-02-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core)
   Compiling libc v0.2.169
   Compiling object v0.36.7
   Compiling std v0.0.0 (/var/lib/does-it-build/.rustup/toolchains/nightly-2025-02-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std)
    Checking rustc-std-workspace-core v1.99.0 (/var/lib/does-it-build/.rustup/toolchains/nightly-2025-02-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core)
    Checking alloc v0.0.0 (/var/lib/does-it-build/.rustup/toolchains/nightly-2025-02-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc)
    Checking cfg-if v1.0.0
    Checking adler2 v2.0.0
    Checking memchr v2.7.4
    Checking rustc-demangle v0.1.24
    Checking unwind v0.0.0 (/var/lib/does-it-build/.rustup/toolchains/nightly-2025-02-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/unwind)
    Checking rustc-std-workspace-alloc v1.99.0 (/var/lib/does-it-build/.rustup/toolchains/nightly-2025-02-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-alloc)
    Checking panic_unwind v0.0.0 (/var/lib/does-it-build/.rustup/toolchains/nightly-2025-02-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_unwind)
    Checking panic_abort v0.0.0 (/var/lib/does-it-build/.rustup/toolchains/nightly-2025-02-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_abort)
    Checking gimli v0.31.1
    Checking miniz_oxide v0.8.3
    Checking hashbrown v0.15.2
    Checking std_detect v0.1.5 (/var/lib/does-it-build/.rustup/toolchains/nightly-2025-02-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/stdarch/crates/std_detect)
    Checking addr2line v0.24.2
warning: dropping unsupported crate type `dylib` for target `riscv32imafc-esp-espidf`

warning: unused import: `init`
 --> /var/lib/does-it-build/.rustup/toolchains/nightly-2025-02-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/stack_overflow.rs:3:30
  |
3 | pub use self::imp::{cleanup, init};
  |                              ^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

warning: unused import: `os`
 --> /var/lib/does-it-build/.rustup/toolchains/nightly-2025-02-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/thread.rs:8:18
  |
8 | use crate::sys::{os, stack_overflow};
  |                  ^^

warning: unused import: `crate::ffi::CStr`
 --> /var/lib/does-it-build/.rustup/toolchains/nightly-2025-02-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/net/connection/socket/unix.rs:3:5
  |
3 | use crate::ffi::CStr;
  |     ^^^^^^^^^^^^^^^^

warning: use of deprecated type alias `os::unix::raw::gid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions
  --> /var/lib/does-it-build/.rustup/toolchains/nightly-2025-02-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/espidf/raw.rs:13:28
   |
13 | use crate::os::unix::raw::{gid_t, uid_t};
   |                            ^^^^^
   |
   = note: `#[warn(deprecated)]` on by default

warning: use of deprecated type alias `os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions
  --> /var/lib/does-it-build/.rustup/toolchains/nightly-2025-02-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/espidf/raw.rs:13:35
   |
13 | use crate::os::unix::raw::{gid_t, uid_t};
   |                                   ^^^^^

warning: use of deprecated type alias `os::espidf::raw::dev_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions
  --> /var/lib/does-it-build/.rustup/toolchains/nightly-2025-02-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/espidf/raw.rs:42:17
   |
42 |     pub st_dev: dev_t,
   |                 ^^^^^

warning: use of deprecated type alias `os::espidf::raw::ino_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions
  --> /var/lib/does-it-build/.rustup/toolchains/nightly-2025-02-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/espidf/raw.rs:44:17
   |
44 |     pub st_ino: ino_t,
   |                 ^^^^^

warning: use of deprecated type alias `os::espidf::raw::mode_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions
  --> /var/lib/does-it-build/.rustup/toolchains/nightly-2025-02-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/espidf/raw.rs:46:18
   |
46 |     pub st_mode: mode_t,
   |                  ^^^^^^

warning: use of deprecated type alias `os::espidf::raw::nlink_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions
  --> /var/lib/does-it-build/.rustup/toolchains/nightly-2025-02-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/espidf/raw.rs:48:19
   |
48 |     pub st_nlink: nlink_t,
   |                   ^^^^^^^

warning: use of deprecated type alias `os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions
  --> /var/lib/does-it-build/.rustup/toolchains/nightly-2025-02-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/espidf/raw.rs:50:17
   |
50 |     pub st_uid: uid_t,
   |                 ^^^^^

warning: use of deprecated type alias `os::unix::raw::gid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions
  --> /var/lib/does-it-build/.rustup/toolchains/nightly-2025-02-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/espidf/raw.rs:52:17
   |
52 |     pub st_gid: gid_t,
   |                 ^^^^^

warning: use of deprecated type alias `os::espidf::raw::dev_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions
  --> /var/lib/does-it-build/.rustup/toolchains/nightly-2025-02-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/espidf/raw.rs:54:18
   |
54 |     pub st_rdev: dev_t,
   |                  ^^^^^

warning: use of deprecated type alias `os::espidf::raw::off_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions
  --> /var/lib/does-it-build/.rustup/toolchains/nightly-2025-02-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/espidf/raw.rs:56:18
   |
56 |     pub st_size: off_t,
   |                  ^^^^^

warning: use of deprecated type alias `os::espidf::raw::time_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions
  --> /var/lib/does-it-build/.rustup/toolchains/nightly-2025-02-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/espidf/raw.rs:58:19
   |
58 |     pub st_atime: time_t,
   |                   ^^^^^^

warning: use of deprecated type alias `os::espidf::raw::time_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions
  --> /var/lib/does-it-build/.rustup/toolchains/nightly-2025-02-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/espidf/raw.rs:60:19
   |
60 |     pub st_mtime: time_t,
   |                   ^^^^^^

warning: use of deprecated type alias `os::espidf::raw::time_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions
  --> /var/lib/does-it-build/.rustup/toolchains/nightly-2025-02-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/espidf/raw.rs:62:19
   |
62 |     pub st_ctime: time_t,
   |                   ^^^^^^

warning: use of deprecated type alias `os::espidf::raw::blksize_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions
  --> /var/lib/does-it-build/.rustup/toolchains/nightly-2025-02-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/espidf/raw.rs:64:21
   |
64 |     pub st_blksize: blksize_t,
   |                     ^^^^^^^^^

warning: use of deprecated type alias `os::espidf::raw::blkcnt_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions
  --> /var/lib/does-it-build/.rustup/toolchains/nightly-2025-02-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/espidf/raw.rs:66:20
   |
66 |     pub st_blocks: blkcnt_t,
   |                    ^^^^^^^^

error[E0308]: mismatched types
   --> /var/lib/does-it-build/.rustup/toolchains/nightly-2025-02-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/thread.rs:62:52
    |
62  |                     cmp::max(stack, min_stack_size(&attr))
    |                                     -------------- ^^^^^ expected `*const pthread_attr_t`, found `&MaybeUninit`
    |                                     |
    |                                     arguments to this function are incorrect
    |
    = note: expected raw pointer `*const libc::pthread_attr_t`
                 found reference `&core::mem::MaybeUninit`
note: function defined here
   --> /var/lib/does-it-build/.rustup/toolchains/nightly-2025-02-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/thread.rs:772:11
    |
772 | unsafe fn min_stack_size(_: *const libc::pthread_attr_t) -> usize {
    |           ^^^^^^^^^^^^^^ ------------------------------

warning: unnecessary `unsafe` block
   --> /var/lib/does-it-build/.rustup/toolchains/nightly-2025-02-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/rt.rs:106:5
    |
106 |     unsafe {
    |     ^^^^^^ unnecessary `unsafe` block
    |
    = note: `#[warn(unused_unsafe)]` on by default

For more information about this error, try `rustc --explain E0308`.
warning: `std` (lib) generated 20 warnings
error: could not compile `std` (lib) due to 1 previous error; 20 warnings emitted
fatal error: failed to build sysroot: sysroot build failed