Build results for nightly-2024-12-14 target aarch64-unknown-hermit std

Home
error

Build date: 2025-07-07T17:02:51.037Z

Build duration: 30.223s

Builder does-it-build commit: 5a6180f8 (*)

   Compiling compiler_builtins v0.1.138
   Compiling core v0.0.0 (/home/nora/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core)
   Compiling rustc-std-workspace-core v1.99.0 (/home/nora/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core)
   Compiling alloc v0.0.0 (/home/nora/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc)
   Compiling rustc-std-workspace-alloc v1.99.0 (/home/nora/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-alloc)
   Compiling libc v0.2.167
   Compiling cfg-if v1.0.0
   Compiling unwind v0.0.0 (/home/nora/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/unwind)
   Compiling gimli v0.29.0
   Compiling memchr v2.7.4
   Compiling adler v1.0.2
   Compiling std v0.0.0 (/home/nora/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std)
   Compiling miniz_oxide v0.7.4
   Compiling object v0.36.5
   Compiling addr2line v0.22.0
   Compiling panic_unwind v0.0.0 (/home/nora/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_unwind)
   Compiling panic_abort v0.0.0 (/home/nora/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_abort)
   Compiling std_detect v0.1.5 (/home/nora/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/stdarch/crates/std_detect)
   Compiling hermit-abi v0.4.0
   Compiling hashbrown v0.15.2
   Compiling rustc-demangle v0.1.24
error[E0308]: mismatched types
   --> /home/nora/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/hermit/fs.rs:207:45
    |
207 |                     unsafe { CStr::from_ptr(&dir.d_name as *const _ as *const i8).to_bytes() };
    |                              -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const u8`, found `*const i8`
    |                              |
    |                              arguments to this function are incorrect
    |
    = note: expected raw pointer `*const u8`
               found raw pointer `*const i8`
note: associated function defined here
   --> /home/nora/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ffi/c_str.rs:276:25
    |
276 |     pub const unsafe fn from_ptr<'a>(ptr: *const c_char) -> &'a CStr {
    |                         ^^^^^^^^

error[E0308]: mismatched types
   --> /home/nora/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/hermit/fs.rs:448:44
    |
448 |             cvt(unsafe { hermit_abi::mkdir(path.as_ptr(), self.mode.into()) }).map(|_| ())
    |                          ----------------- ^^^^^^^^^^^^^ expected `*const i8`, found `*const u8`
    |                          |
    |                          arguments to this function are incorrect
    |
    = note: expected raw pointer `*const i8`
               found raw pointer `*const u8`
note: function defined here
   --> /home/nora/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hermit-abi-0.4.0/src/lib.rs:666:9
    |
666 |     pub fn mkdir(name: *const i8, mode: u32) -> i32;
    |            ^^^^^

error[E0308]: mismatched types
   --> /home/nora/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/hermit/os.rs:84:62
    |
84  |             if let Some((key, value)) = parse(CStr::from_ptr(*environ).to_bytes()) {
    |                                               -------------- ^^^^^^^^ expected `*const u8`, found `*const i8`
    |                                               |
    |                                               arguments to this function are incorrect
    |
    = note: expected raw pointer `*const u8`
               found raw pointer `*const i8`
note: associated function defined here
   --> /home/nora/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ffi/c_str.rs:276:25
    |
276 |     pub const unsafe fn from_ptr<'a>(ptr: *const c_char) -> &'a CStr {
    |                         ^^^^^^^^

For more information about this error, try `rustc --explain E0308`.
error: could not compile `std` (lib) due to 3 previous errors

    

Build history for target aarch64-unknown-hermit

Build state for nightly 2024-12-14