Build date: 2025-07-07T17:08:49Z
Build duration: 32.789s
Builder does-it-build commit: 87ff3d03
Blocking waiting for file lock on package cache Blocking waiting for file lock on package cache Compiling compiler_builtins v0.1.138 Compiling core v0.0.0 (/root/.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 (/root/.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 (/root/.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 (/root/.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 (/root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/unwind) Compiling gimli v0.29.0 Compiling adler v1.0.2 Compiling memchr v2.7.4 Compiling std v0.0.0 (/root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std) Compiling object v0.36.5 Compiling miniz_oxide v0.7.4 Compiling addr2line v0.22.0 Compiling panic_unwind v0.0.0 (/root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_unwind) Compiling panic_abort v0.0.0 (/root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_abort) Compiling std_detect v0.1.5 (/root/.rustup/toolchains/nightly-2024-12-14-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-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/weak.rs:141:37 | 141 | libc::dlsym(libc::RTLD_DEFAULT, name.as_ptr()) | ----------- ^^^^^^^^^^^^^ 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-6f17d22bba15001f/libc-0.2.167/src/vxworks/mod.rs:1297:12 | 1297 | pub fn dlsym(handle: *mut c_void, symbol: *const c_char) -> *mut c_void; | ^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1053:33 | 1053 | unsafe { CStr::from_ptr(self.entry.d_name.as_ptr()) } | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ 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-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 --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1185:43 | 1185 | let fd = cvt_r(|| unsafe { open64(path.as_ptr(), flags, opts.mode as c_int) })?; | ------ ^^^^^^^^^^^^^ 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-6f17d22bba15001f/libc-0.2.167/src/vxworks/mod.rs:1459:12 | 1459 | pub fn open(path: *const c_char, oflag: c_int, ...) -> c_int; | ^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1555:61 | 1555 | run_path_with_cstr(p, &|p| cvt(unsafe { libc::mkdir(p.as_ptr(), self.mode) }).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 --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.167/src/vxworks/mod.rs:1784:12 | 1784 | pub fn mkdir(dirName: *const c_char, mode: crate::mode_t) -> c_int; | ^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1791:71 | 1791 | let ptr = run_path_with_cstr(path, &|p| unsafe { Ok(libc::opendir(p.as_ptr())) })?; | ------------- ^^^^^^^^^^ 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-6f17d22bba15001f/libc-0.2.167/src/vxworks/mod.rs:1778:12 | 1778 | pub fn opendir(name: *const c_char) -> *mut crate::DIR; | ^^^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1802:58 | 1802 | run_path_with_cstr(p, &|p| cvt(unsafe { libc::unlink(p.as_ptr()) }).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 --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.167/src/vxworks/mod.rs:1719:12 | 1719 | pub fn unlink(pathname: *const c_char) -> c_int; | ^^^^^^ error[E0308]: arguments to this function are incorrect --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1808:26 | 1808 | cvt(unsafe { libc::rename(old.as_ptr(), new.as_ptr()) }).map(|_| ()) | ^^^^^^^^^^^^ | note: expected `*const i8`, found `*const u8` --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1808:39 | 1808 | cvt(unsafe { libc::rename(old.as_ptr(), new.as_ptr()) }).map(|_| ()) | ^^^^^^^^^^^^ = note: expected raw pointer `*const i8` found raw pointer `*const u8` note: expected `*const i8`, found `*const u8` --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1808:53 | 1808 | cvt(unsafe { libc::rename(old.as_ptr(), new.as_ptr()) }).map(|_| ()) | ^^^^^^^^^^^^ = note: expected raw pointer `*const i8` found raw pointer `*const u8` note: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.167/src/vxworks/mod.rs:1154:12 | 1154 | pub fn rename(oldname: *const c_char, newname: *const c_char) -> c_int; | ^^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1814:62 | 1814 | run_path_with_cstr(p, &|p| cvt_r(|| unsafe { libc::chmod(p.as_ptr(), perm.mode) }).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 --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.167/src/vxworks/mod.rs:1787:12 | 1787 | pub fn chmod(path: *const c_char, mode: crate::mode_t) -> c_int; | ^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1818:57 | 1818 | run_path_with_cstr(p, &|p| cvt(unsafe { libc::rmdir(p.as_ptr()) }).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 --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.167/src/vxworks/mod.rs:1781:12 | 1781 | pub fn rmdir(path: *const c_char) -> c_int; | ^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1829:45 | 1829 | cvt(unsafe { libc::readlink(p, buf.as_mut_ptr() as *mut _, buf.capacity()) })? | -------------- ^ 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-6f17d22bba15001f/libc-0.2.167/src/vxworks/mod.rs:1772:12 | 1772 | pub fn readlink(path: *const c_char, buf: *mut c_char, bufsize: size_t) -> ssize_t; | ^^^^^^^^ error[E0308]: arguments to this function are incorrect --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1853:26 | 1853 | cvt(unsafe { libc::symlink(original.as_ptr(), link.as_ptr()) }).map(|_| ()) | ^^^^^^^^^^^^^ | note: expected `*const i8`, found `*const u8` --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1853:40 | 1853 | cvt(unsafe { libc::symlink(original.as_ptr(), link.as_ptr()) }).map(|_| ()) | ^^^^^^^^^^^^^^^^^ = note: expected raw pointer `*const i8` found raw pointer `*const u8` note: expected `*const i8`, found `*const u8` --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1853:59 | 1853 | cvt(unsafe { libc::symlink(original.as_ptr(), link.as_ptr()) }).map(|_| ()) | ^^^^^^^^^^^^^ = note: expected raw pointer `*const i8` found raw pointer `*const u8` note: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.167/src/vxworks/mod.rs:1775:12 | 1775 | pub fn symlink(path1: *const c_char, path2: *const c_char) -> c_int; | ^^^^^^^ error[E0308]: arguments to this function are incorrect --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1868:34 | 1868 | cvt(unsafe { libc::link(original.as_ptr(), link.as_ptr()) })?; | ^^^^^^^^^^ | note: expected `*const i8`, found `*const u8` --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1868:45 | 1868 | cvt(unsafe { libc::link(original.as_ptr(), link.as_ptr()) })?; | ^^^^^^^^^^^^^^^^^ = note: expected raw pointer `*const i8` found raw pointer `*const u8` note: expected `*const i8`, found `*const u8` --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1868:64 | 1868 | cvt(unsafe { libc::link(original.as_ptr(), link.as_ptr()) })?; | ^^^^^^^^^^^^^ = note: expected raw pointer `*const i8` found raw pointer `*const u8` note: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.167/src/vxworks/mod.rs:1769:12 | 1769 | pub fn link(src: *const c_char, dst: *const c_char) -> c_int; | ^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1894:29 | 1894 | cvt(unsafe { stat64(p.as_ptr(), &mut stat) })?; | ------ ^^^^^^^^^^ 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-6f17d22bba15001f/libc-0.2.167/src/vxworks/mod.rs:1237:12 | 1237 | pub fn stat(path: *const c_char, buf: *mut stat) -> c_int; | ^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1913:30 | 1913 | cvt(unsafe { lstat64(p.as_ptr(), &mut stat) })?; | ------- ^^^^^^^^^^ 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-6f17d22bba15001f/libc-0.2.167/src/vxworks/mod.rs:1442:12 | 1442 | pub fn lstat(path: *const c_char, buf: *mut stat) -> c_int; | ^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1920:27 | 1920 | Ok(libc::realpath(path.as_ptr(), ptr::null_mut())) | -------------- ^^^^^^^^^^^^^ 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-6f17d22bba15001f/libc-0.2.167/src/vxworks/mod.rs:1766:12 | 1766 | pub fn realpath(fileName: *const c_char, resolvedName: *mut c_char) -> *mut c_char; | ^^^^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1926:34 | 1926 | let buf = CStr::from_ptr(r).to_bytes().to_vec(); | -------------- ^ expected `*const u8`, found `*mut i8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const u8` found raw pointer `*mut i8` note: associated function defined here --> /root/.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 --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:2072:34 | 2072 | cvt(unsafe { libc::chown(path.as_ptr(), uid as libc::uid_t, gid as libc::gid_t) }) | ----------- ^^^^^^^^^^^^^ 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-6f17d22bba15001f/libc-0.2.167/src/vxworks/mod.rs:1246:12 | 1246 | pub fn chown(path: *const c_char, uid: uid_t, gid: gid_t) -> c_int; | ^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/net.rs:50:24 | 50 | CStr::from_ptr(libc::gai_strerror(err)).to_string_lossy() | -------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `*const u8`, found `*mut i8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const u8` found raw pointer `*mut i8` note: associated function defined here --> /root/.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 --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/os.rs:156:42 | 156 | let len = CStr::from_ptr(buf.as_ptr() as *const libc::c_char).to_bytes().len(); | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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-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 --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/os.rs:183:69 | 183 | let result = run_path_with_cstr(p, &|p| unsafe { Ok(libc::chdir(p.as_ptr())) })?; | ----------- ^^^^^^^^^^ 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-6f17d22bba15001f/libc-0.2.167/src/vxworks/mod.rs:1346:12 | 1346 | pub fn chdir(attr: *const c_char) -> c_int; | ^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/os.rs:634:63 | 634 | 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 --> /root/.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 --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/os.rs:666:39 | 666 | 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-6f17d22bba15001f/libc-0.2.167/src/vxworks/mod.rs:1194:12 | 1194 | pub fn getenv(s: *const c_char) -> *mut c_char; | ^^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/os.rs:672:49 | 672 | 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-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]: arguments to this function are incorrect --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/os.rs:685:17 | 685 | cvt(libc::setenv(k.as_ptr(), v.as_ptr(), 1)).map(drop) | ^^^^^^^^^^^^ | note: expected `*const i8`, found `*const u8` --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/os.rs:685:30 | 685 | cvt(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-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/os.rs:685:42 | 685 | cvt(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-6f17d22bba15001f/libc-0.2.167/src/vxworks/mod.rs:1752:12 | 1752 | pub fn setenv( | ^^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/os.rs:693:28 | 693 | cvt(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-6f17d22bba15001f/libc-0.2.167/src/vxworks/mod.rs:1760:12 | 1760 | pub fn unsetenv( | ^^^^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_common.rs:184:29 | 184 | argv: Argv(vec![program.as_ptr(), ptr::null()]), | ^^^^^^^^^^^^^^^^ expected `*const i8`, found `*const u8` | = note: expected raw pointer `*const i8` found raw pointer `*const u8` error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_common.rs:231:26 | 231 | self.argv.0[0] = arg.as_ptr(); | -------------- ^^^^^^^^^^^^ expected `*const i8`, found `*const u8` | | | expected due to the type of this binding | = note: expected raw pointer `*const i8` found raw pointer `*const u8` error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_common.rs:239:40 | 239 | self.argv.0[self.args.len()] = arg.as_ptr(); | ---------------------------- ^^^^^^^^^^^^ expected `*const i8`, found `*const u8` | | | expected due to the type of this binding | = note: expected raw pointer `*const i8` found raw pointer `*const u8` error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_common.rs:417:28 | 417 | self.ptrs[l - 1] = item.as_ptr(); | ---------------- ^^^^^^^^^^^^^ expected `*const i8`, found `*const u8` | | | expected due to the type of this binding | = note: expected raw pointer `*const i8` found raw pointer `*const u8` error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_vxworks.rs:61:36 | 61 | t!(cvt(libc::chdir(cwd.as_ptr()))); | ----------- ^^^^^^^^^^^^ 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-6f17d22bba15001f/libc-0.2.167/src/vxworks/mod.rs:1346:12 | 1346 | pub fn chdir(attr: *const c_char) -> c_int; | ^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_vxworks.rs:82:17 | 81 | let ret = libc::rtpSpawn( | -------------- arguments to this function are incorrect 82 | self.get_program_cstr().as_ptr(), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const i8`, found `*const u8` | = note: expected raw pointer `*const i8` found raw pointer `*const u8` note: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.167/src/vxworks/mod.rs:1884:12 | 1884 | pub fn rtpSpawn( | ^^^^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-12-14-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys_common/net.rs:211:40 | 211 | cvt_gai(c::getaddrinfo(c_host.as_ptr(), ptr::null(), &hints, &mut res)) | -------------- ^^^^^^^^^^^^^^^ 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-6f17d22bba15001f/libc-0.2.167/src/vxworks/mod.rs:1726:12 | 1726 | pub fn getaddrinfo( | ^^^^^^^^^^^ For more information about this error, try `rustc --explain E0308`. error: could not compile `std` (lib) due to 32 previous errors