Build results for nightly-2024-12-19 target armv7a-kmc-solid_asp3-eabi std

Home
error

Build date: 2025-07-06T16:22:48.681Z

Build duration: 35.3s

Builder does-it-build commit: 5a6180f8

   Compiling core v0.0.0 (/root/.rustup/toolchains/nightly-2024-12-19-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core)
   Compiling compiler_builtins v0.1.138
   Compiling rustc-std-workspace-core v1.99.0 (/root/.rustup/toolchains/nightly-2024-12-19-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core)
   Compiling alloc v0.0.0 (/root/.rustup/toolchains/nightly-2024-12-19-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc)
   Compiling rustc-std-workspace-alloc v1.99.0 (/root/.rustup/toolchains/nightly-2024-12-19-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-alloc)
   Compiling libc v0.2.168
   Compiling cfg-if v1.0.0
   Compiling unwind v0.0.0 (/root/.rustup/toolchains/nightly-2024-12-19-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 (/root/.rustup/toolchains/nightly-2024-12-19-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 (/root/.rustup/toolchains/nightly-2024-12-19-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_unwind)
   Compiling panic_abort v0.0.0 (/root/.rustup/toolchains/nightly-2024-12-19-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_abort)
   Compiling std_detect v0.1.5 (/root/.rustup/toolchains/nightly-2024-12-19-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/stdarch/crates/std_detect)
   Compiling hashbrown v0.15.2
   Compiling rustc-demangle v0.1.24
error[E0308]: mismatched types
   --> /root/.rustup/toolchains/nightly-2024-12-19-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/solid/os.rs:173:39
    |
173 |         let v = unsafe { libc::getenv(k.as_ptr()) } as *const libc::c_char;
    |                          ------------ ^^^^^^^^^^ 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
   --> /root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.168/src/solid/mod.rs:560:12
    |
560 |     pub fn getenv(arg1: *const c_char) -> *mut c_char;
    |            ^^^^^^

error[E0308]: mismatched types
   --> /root/.rustup/toolchains/nightly-2024-12-19-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/solid/os.rs:179:49
    |
179 |             let bytes = unsafe { CStr::from_ptr(v) }.to_bytes().to_vec();
    |                                  -------------- ^ 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
   --> /root/.rustup/toolchains/nightly-2024-12-19-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]: arguments to this function are incorrect
   --> /root/.rustup/toolchains/nightly-2024-12-19-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/solid/os.rs:192:30
    |
192 |             cvt_env(unsafe { libc::setenv(k.as_ptr(), v.as_ptr(), 1) }).map(drop)
    |                              ^^^^^^^^^^^^
    |
note: expected `*const i8`, found `*const u8`
   --> /root/.rustup/toolchains/nightly-2024-12-19-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/solid/os.rs:192:43
    |
192 |             cvt_env(unsafe { libc::setenv(k.as_ptr(), v.as_ptr(), 1) }).map(drop)
    |                                           ^^^^^^^^^^
    = note: expected raw pointer `*const i8`
               found raw pointer `*const u8`
note: expected `*const i8`, found `*const u8`
   --> /root/.rustup/toolchains/nightly-2024-12-19-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/solid/os.rs:192:55
    |
192 |             cvt_env(unsafe { libc::setenv(k.as_ptr(), v.as_ptr(), 1) }).map(drop)
    |                                                       ^^^^^^^^^^
    = note: expected raw pointer `*const i8`
               found raw pointer `*const u8`
note: function defined here
   --> /root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.168/src/solid/mod.rs:608:12
    |
608 |     pub fn setenv(arg1: *const c_char, arg2: *const c_char, arg3: c_int) -> c_int;
    |            ^^^^^^

error[E0308]: mismatched types
   --> /root/.rustup/toolchains/nightly-2024-12-19-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/solid/os.rs:200:41
    |
200 |         cvt_env(unsafe { libc::unsetenv(nbuf.as_ptr()) }).map(drop)
    |                          -------------- ^^^^^^^^^^^^^ 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
   --> /root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.168/src/solid/mod.rs:609:12
    |
609 |     pub fn unsetenv(arg1: *const c_char) -> c_int;
    |            ^^^^^^^^

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

    

Build history for target armv7a-kmc-solid_asp3-eabi

Build state for nightly 2024-12-19