Build results for nightly-2024-12-20 target riscv64-wrs-vxworks miri-std
error
Preparing a sysroot for Miri (target: riscv64-wrs-vxworks)...
Compiling compiler_builtins v0.1.138
Checking core v0.0.0 (/var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core)
Compiling libc v0.2.168
Compiling std v0.0.0 (/var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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-2024-12-20-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-2024-12-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc)
Checking cfg-if v1.0.0
Checking adler v1.0.2
Checking memchr v2.7.4
Checking unwind v0.0.0 (/var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/unwind)
Checking rustc-demangle v0.1.24
Checking rustc-std-workspace-alloc v1.99.0 (/var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-alloc)
Checking panic_abort v0.0.0 (/var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_abort)
Checking panic_unwind v0.0.0 (/var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_unwind)
Checking gimli v0.29.0
Checking std_detect v0.1.5 (/var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/stdarch/crates/std_detect)
Checking hashbrown v0.15.2
Checking miniz_oxide v0.7.4
Checking object v0.36.5
Checking addr2line v0.22.0
error[E0308]: mismatched types
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.168/src/vxworks/mod.rs:1278:12
|
1278 | pub fn dlsym(handle: *mut c_void, symbol: *const c_char) -> *mut c_void;
| ^^^^^
error[E0308]: mismatched types
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.168/src/vxworks/mod.rs:1440:12
|
1440 | pub fn open(path: *const c_char, oflag: c_int, ...) -> c_int;
| ^^^^
error[E0308]: mismatched types
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.168/src/vxworks/mod.rs:1765:12
|
1765 | pub fn mkdir(dirName: *const c_char, mode: crate::mode_t) -> c_int;
| ^^^^^
error[E0308]: mismatched types
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.168/src/vxworks/mod.rs:1759:12
|
1759 | pub fn opendir(name: *const c_char) -> *mut crate::DIR;
| ^^^^^^^
error[E0308]: mismatched types
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.168/src/vxworks/mod.rs:1700:12
|
1700 | pub fn unlink(pathname: *const c_char) -> c_int;
| ^^^^^^
error[E0308]: arguments to this function are incorrect
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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`
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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`
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.168/src/vxworks/mod.rs:1135:12
|
1135 | pub fn rename(oldname: *const c_char, newname: *const c_char) -> c_int;
| ^^^^^^
error[E0308]: mismatched types
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.168/src/vxworks/mod.rs:1768:12
|
1768 | pub fn chmod(path: *const c_char, mode: crate::mode_t) -> c_int;
| ^^^^^
error[E0308]: mismatched types
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.168/src/vxworks/mod.rs:1762:12
|
1762 | pub fn rmdir(path: *const c_char) -> c_int;
| ^^^^^
error[E0308]: mismatched types
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.168/src/vxworks/mod.rs:1753:12
|
1753 | pub fn readlink(path: *const c_char, buf: *mut c_char, bufsize: size_t) -> ssize_t;
| ^^^^^^^^
error[E0308]: arguments to this function are incorrect
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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`
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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`
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.168/src/vxworks/mod.rs:1756:12
|
1756 | pub fn symlink(path1: *const c_char, path2: *const c_char) -> c_int;
| ^^^^^^^
error[E0308]: arguments to this function are incorrect
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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`
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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`
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.168/src/vxworks/mod.rs:1750:12
|
1750 | pub fn link(src: *const c_char, dst: *const c_char) -> c_int;
| ^^^^
error[E0308]: mismatched types
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.168/src/vxworks/mod.rs:1218:12
|
1218 | pub fn stat(path: *const c_char, buf: *mut stat) -> c_int;
| ^^^^
error[E0308]: mismatched types
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.168/src/vxworks/mod.rs:1423:12
|
1423 | pub fn lstat(path: *const c_char, buf: *mut stat) -> c_int;
| ^^^^^
error[E0308]: mismatched types
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.168/src/vxworks/mod.rs:1747:12
|
1747 | pub fn realpath(fileName: *const c_char, resolvedName: *mut c_char) -> *mut c_char;
| ^^^^^^^^
error[E0308]: mismatched types
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.168/src/vxworks/mod.rs:1227:12
|
1227 | pub fn chown(path: *const c_char, uid: uid_t, gid: gid_t) -> c_int;
| ^^^^^
error[E0308]: mismatched types
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.168/src/vxworks/mod.rs:1327:12
|
1327 | pub fn chdir(attr: *const c_char) -> c_int;
| ^^^^^
error[E0308]: mismatched types
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.168/src/vxworks/mod.rs:1175:12
|
1175 | pub fn getenv(s: *const c_char) -> *mut c_char;
| ^^^^^^
error[E0308]: mismatched types
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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`
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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`
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.168/src/vxworks/mod.rs:1733:12
|
1733 | pub fn setenv(
| ^^^^^^
error[E0308]: mismatched types
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.168/src/vxworks/mod.rs:1741:12
|
1741 | pub fn unsetenv(
| ^^^^^^^^
error[E0308]: mismatched types
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.168/src/vxworks/mod.rs:1327:12
|
1327 | pub fn chdir(attr: *const c_char) -> c_int;
| ^^^^^
error[E0308]: mismatched types
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.168/src/vxworks/mod.rs:1865:12
|
1865 | pub fn rtpSpawn(
| ^^^^^^^^
error[E0308]: mismatched types
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-12-20-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
--> /var/lib/does-it-build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.168/src/vxworks/mod.rs:1707:12
|
1707 | pub fn getaddrinfo(
| ^^^^^^^^^^^
For more information about this error, try `rustc --explain E0308`.
error: could not compile `std` (lib) due to 32 previous errors
fatal error: failed to build sysroot: sysroot build failed