Build date: 2025-07-08T16:09:29.599Z
Build duration: 33.784s
Builder does-it-build commit: 87ff3d03
Compiling compiler_builtins v0.1.109 Compiling core v0.0.0 (/root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core) Compiling rustc-std-workspace-core v1.99.0 (/root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core) Compiling alloc v0.0.0 (/root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc) Compiling rustc-std-workspace-alloc v1.99.0 (/root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-alloc) Compiling libc v0.2.155 Compiling cfg-if v1.0.0 Compiling memchr v2.5.0 Compiling unwind v0.0.0 (/root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/unwind) Compiling gimli v0.28.1 Compiling adler v1.0.2 Compiling std v0.0.0 (/root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std) Compiling miniz_oxide v0.7.3 Compiling addr2line v0.21.0 Compiling panic_unwind v0.0.0 (/root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_unwind) Compiling object v0.32.2 Compiling panic_abort v0.0.0 (/root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_abort) Compiling std_detect v0.1.5 (/root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/stdarch/crates/std_detect) Compiling hashbrown v0.14.5 Compiling rustc-demangle v0.1.24 error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/weak.rs:142:37 | 142 | libc::dlsym(libc::RTLD_DEFAULT, 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: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/mod.rs:1181:12 | 1181 | pub fn dlsym(handle: *mut ::c_void, symbol: *const ::c_char) -> *mut ::c_void; | ^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:470:12 | 470 | Ok(SystemTime::new(self.stat.st_mtime.tv_sec as i64, self.stat.st_mtime.tv_nsec as i64)) | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `SystemTime`, found `Result<SystemTime, Error>` | | | arguments to this enum variant are incorrect | = note: expected struct `pal::unix::time::SystemTime` found enum `core::result::Result<pal::unix::time::SystemTime, io::error::Error>` help: the type constructed contains `core::result::Result<pal::unix::time::SystemTime, io::error::Error>` due to the type of the argument passed --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:470:9 | 470 | Ok(SystemTime::new(self.stat.st_mtime.tv_sec as i64, self.stat.st_mtime.tv_nsec as i64)) | ^^^------------------------------------------------------------------------------------^ | | | this argument influences the type of `Ok` note: tuple variant defined here --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/result.rs:510:5 | 510 | Ok(#[stable(feature = "rust1", since = "1.0.0")] T), | ^^ help: use the `?` operator to extract the `core::result::Result<pal::unix::time::SystemTime, io::error::Error>` value, propagating a `Result::Err` value to the caller | 470 | Ok(SystemTime::new(self.stat.st_mtime.tv_sec as i64, self.stat.st_mtime.tv_nsec as i64)?) | + error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:474:12 | 474 | Ok(SystemTime::new(self.stat.st_atime.tv_sec as i64, self.stat.st_atime.tv_nsec as i64)) | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `SystemTime`, found `Result<SystemTime, Error>` | | | arguments to this enum variant are incorrect | = note: expected struct `pal::unix::time::SystemTime` found enum `core::result::Result<pal::unix::time::SystemTime, io::error::Error>` help: the type constructed contains `core::result::Result<pal::unix::time::SystemTime, io::error::Error>` due to the type of the argument passed --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:474:9 | 474 | Ok(SystemTime::new(self.stat.st_atime.tv_sec as i64, self.stat.st_atime.tv_nsec as i64)) | ^^^------------------------------------------------------------------------------------^ | | | this argument influences the type of `Ok` note: tuple variant defined here --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/result.rs:510:5 | 510 | Ok(#[stable(feature = "rust1", since = "1.0.0")] T), | ^^ help: use the `?` operator to extract the `core::result::Result<pal::unix::time::SystemTime, io::error::Error>` value, propagating a `Result::Err` value to the caller | 474 | Ok(SystemTime::new(self.stat.st_atime.tv_sec as i64, self.stat.st_atime.tv_nsec as i64)?) | + error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:478:12 | 478 | Ok(SystemTime::new(self.stat.st_ctime.tv_sec as i64, self.stat.st_ctime.tv_nsec as i64)) | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `SystemTime`, found `Result<SystemTime, Error>` | | | arguments to this enum variant are incorrect | = note: expected struct `pal::unix::time::SystemTime` found enum `core::result::Result<pal::unix::time::SystemTime, io::error::Error>` help: the type constructed contains `core::result::Result<pal::unix::time::SystemTime, io::error::Error>` due to the type of the argument passed --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:478:9 | 478 | Ok(SystemTime::new(self.stat.st_ctime.tv_sec as i64, self.stat.st_ctime.tv_nsec as i64)) | ^^^------------------------------------------------------------------------------------^ | | | this argument influences the type of `Ok` note: tuple variant defined here --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/result.rs:510:5 | 510 | Ok(#[stable(feature = "rust1", since = "1.0.0")] T), | ^^ help: use the `?` operator to extract the `core::result::Result<pal::unix::time::SystemTime, io::error::Error>` value, propagating a `Result::Err` value to the caller | 478 | Ok(SystemTime::new(self.stat.st_ctime.tv_sec as i64, self.stat.st_ctime.tv_nsec as i64)?) | + error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1169:43 | 1169 | let fd = cvt_r(|| unsafe { open64(path.as_ptr(), flags, opts.mode as c_int) })?; | ------ ^^^^^^^^^^^^^ expected `*const u8`, found `*const i8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/mod.rs:748:12 | 748 | pub fn open(path: *const c_char, oflag: ::c_int, ...) -> ::c_int; | ^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1415:61 | 1415 | run_path_with_cstr(p, &|p| cvt(unsafe { libc::mkdir(p.as_ptr(), self.mode) }).map(|_| ())) | ----------- ^^^^^^^^^^ expected `*const u8`, found `*const i8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/mod.rs:723:12 | 723 | pub fn mkdir(path: *const c_char, mode: mode_t) -> ::c_int; | ^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1670:71 | 1670 | let ptr = run_path_with_cstr(path, &|p| unsafe { Ok(libc::opendir(p.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: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/mod.rs:769:12 | 769 | pub fn opendir(dirname: *const c_char) -> *mut ::DIR; | ^^^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1681:58 | 1681 | run_path_with_cstr(p, &|p| cvt(unsafe { libc::unlink(p.as_ptr()) }).map(|_| ())) | ------------ ^^^^^^^^^^ expected `*const u8`, found `*const i8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/mod.rs:934:12 | 934 | pub fn unlink(c: *const c_char) -> ::c_int; | ^^^^^^ error[E0308]: arguments to this function are incorrect --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1687:26 | 1687 | cvt(unsafe { libc::rename(old.as_ptr(), new.as_ptr()) }).map(|_| ()) | ^^^^^^^^^^^^ | note: expected `*const u8`, found `*const i8` --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1687:39 | 1687 | cvt(unsafe { libc::rename(old.as_ptr(), new.as_ptr()) }).map(|_| ()) | ^^^^^^^^^^^^ = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: expected `*const u8`, found `*const i8` --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1687:53 | 1687 | cvt(unsafe { libc::rename(old.as_ptr(), new.as_ptr()) }).map(|_| ()) | ^^^^^^^^^^^^ = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/mod.rs:463:12 | 463 | pub fn rename(oldname: *const c_char, newname: *const c_char) -> c_int; | ^^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1693:62 | 1693 | run_path_with_cstr(p, &|p| cvt_r(|| unsafe { libc::chmod(p.as_ptr(), perm.mode) }).map(|_| ())) | ----------- ^^^^^^^^^^ expected `*const u8`, found `*const i8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/mod.rs:705:12 | 705 | pub fn chmod(path: *const c_char, mode: mode_t) -> ::c_int; | ^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1697:57 | 1697 | run_path_with_cstr(p, &|p| cvt(unsafe { libc::rmdir(p.as_ptr()) }).map(|_| ())) | ----------- ^^^^^^^^^^ expected `*const u8`, found `*const i8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/mod.rs:905:12 | 905 | pub fn rmdir(path: *const c_char) -> ::c_int; | ^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1708:45 | 1708 | cvt(unsafe { libc::readlink(p, buf.as_mut_ptr() as *mut _, buf.capacity()) })? | -------------- ^ expected `*const u8`, found `*const i8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/mod.rs:1521:20 | 1521 | pub fn readlink(path: *const c_char, buf: *mut c_char, bufsz: ::size_t) -> ::ssize_t; | ^^^^^^^^ error[E0308]: arguments to this function are incorrect --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1732:26 | 1732 | cvt(unsafe { libc::symlink(original.as_ptr(), link.as_ptr()) }).map(|_| ()) | ^^^^^^^^^^^^^ | note: expected `*const u8`, found `*const i8` --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1732:40 | 1732 | cvt(unsafe { libc::symlink(original.as_ptr(), link.as_ptr()) }).map(|_| ()) | ^^^^^^^^^^^^^^^^^ = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: expected `*const u8`, found `*const i8` --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1732:59 | 1732 | cvt(unsafe { libc::symlink(original.as_ptr(), link.as_ptr()) }).map(|_| ()) | ^^^^^^^^^^^^^ = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/mod.rs:1031:12 | 1031 | 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-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1764:34 | 1764 | cvt(unsafe { libc::linkat(libc::AT_FDCWD, original.as_ptr(), libc::AT_FDCWD, link.as_ptr(), 0) })?; | ^^^^^^^^^^^^ | note: expected `*const u8`, found `*const i8` --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1764:63 | 1764 | cvt(unsafe { libc::linkat(libc::AT_FDCWD, original.as_ptr(), libc::AT_FDCWD, link.as_ptr(), 0) })?; | ^^^^^^^^^^^^^^^^^ = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: expected `*const u8`, found `*const i8` --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1764:98 | 1764 | cvt(unsafe { libc::linkat(libc::AT_FDCWD, original.as_ptr(), libc::AT_FDCWD, link.as_ptr(), 0) })?; | ^^^^^^^^^^^^^ = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/mod.rs:824:12 | 824 | pub fn linkat( | ^^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1786:29 | 1786 | cvt(unsafe { stat64(p.as_ptr(), &mut stat) })?; | ------ ^^^^^^^^^^ expected `*const u8`, found `*const i8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/mod.rs:734:12 | 734 | pub fn stat(path: *const c_char, buf: *mut stat) -> ::c_int; | ^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1805:30 | 1805 | cvt(unsafe { lstat64(p.as_ptr(), &mut stat) })?; | ------- ^^^^^^^^^^ expected `*const u8`, found `*const i8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/mod.rs:1011:12 | 1011 | pub fn lstat(path: *const c_char, buf: *mut stat) -> ::c_int; | ^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1812:27 | 1812 | Ok(libc::realpath(path.as_ptr(), ptr::null_mut())) | -------------- ^^^^^^^^^^^^^ expected `*const u8`, found `*const i8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/mod.rs:1051:12 | 1051 | pub fn realpath(pathname: *const ::c_char, resolved: *mut ::c_char) -> *mut ::c_char; | ^^^^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1818:34 | 1818 | let buf = CStr::from_ptr(r).to_bytes().to_vec(); | -------------- ^ expected `*const i8`, found `*mut u8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const i8` found raw pointer `*mut u8` note: associated function defined here --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ffi/c_str.rs:284:25 | 284 | pub const unsafe fn from_ptr<'a>(ptr: *const c_char) -> &'a CStr { | ^^^^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1985:34 | 1985 | cvt(unsafe { libc::chown(path.as_ptr(), uid as libc::uid_t, gid as libc::gid_t) }) | ----------- ^^^^^^^^^^^^^ expected `*const u8`, found `*const i8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/mod.rs:848:12 | 848 | pub fn chown(path: *const c_char, uid: uid_t, gid: gid_t) -> ::c_int; | ^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:1997:35 | 1997 | cvt(unsafe { libc::lchown(path.as_ptr(), uid as libc::uid_t, gid as libc::gid_t) }) | ------------ ^^^^^^^^^^^^^ expected `*const u8`, found `*const i8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/mod.rs:853:12 | 853 | pub fn lchown(path: *const c_char, uid: uid_t, gid: gid_t) -> ::c_int; | ^^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:2004:62 | 2004 | run_path_with_cstr(dir, &|dir| cvt(unsafe { libc::chroot(dir.as_ptr()) }).map(|_| ())) | ------------ ^^^^^^^^^^^^ expected `*const u8`, found `*const i8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/mod.rs:1281:12 | 1281 | pub fn chroot(name: *const ::c_char) -> ::c_int; | ^^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:2096:17 | 2094 | openat( | ------ arguments to this function are incorrect 2095 | parent_fd.unwrap_or(libc::AT_FDCWD), 2096 | p.as_ptr(), | ^^^^^^^^^^ expected `*const u8`, found `*const i8` | = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/mod.rs:1455:20 | 1455 | pub fn openat(dirfd: ::c_int, pathname: *const ::c_char, | ^^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:2153:58 | 2153 | cvt(unsafe { unlinkat(parent_fd, path.as_ptr(), 0) }).map(drop) | -------- ^^^^^^^^^^^^^ expected `*const u8`, found `*const i8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/mod.rs:842:12 | 842 | pub fn unlinkat(dirfd: ::c_int, pathname: *const ::c_char, flags: ::c_int) -> ::c_int; | ^^^^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:2172:47 | 2172 | cvt(unsafe { unlinkat(fd, child_name.as_ptr(), 0) })?; | -------- ^^^^^^^^^^^^^^^^^^^ expected `*const u8`, found `*const i8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/mod.rs:842:12 | 842 | pub fn unlinkat(dirfd: ::c_int, pathname: *const ::c_char, flags: ::c_int) -> ::c_int; | ^^^^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:2186:59 | 2186 | unlinkat(parent_fd.unwrap_or(libc::AT_FDCWD), path.as_ptr(), libc::AT_REMOVEDIR) | -------- ^^^^^^^^^^^^^ expected `*const u8`, found `*const i8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/mod.rs:842:12 | 842 | pub fn unlinkat(dirfd: ::c_int, pathname: *const ::c_char, flags: ::c_int) -> ::c_int; | ^^^^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/net.rs:50:39 | 50 | str::from_utf8(CStr::from_ptr(libc::gai_strerror(err)).to_bytes()).unwrap().to_owned() | -------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `*const i8`, found `*const u8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const i8` found raw pointer `*const u8` note: associated function defined here --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ffi/c_str.rs:284:25 | 284 | pub const unsafe fn from_ptr<'a>(ptr: *const c_char) -> &'a CStr { | ^^^^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/os.rs:153:42 | 153 | let len = CStr::from_ptr(buf.as_ptr() as *const libc::c_char).to_bytes().len(); | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const i8`, found `*const u8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const i8` found raw pointer `*const u8` note: associated function defined here --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ffi/c_str.rs:284:25 | 284 | pub const unsafe fn from_ptr<'a>(ptr: *const c_char) -> &'a CStr { | ^^^^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/os.rs:180:69 | 180 | let result = run_path_with_cstr(p, &|p| unsafe { Ok(libc::chdir(p.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: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/mod.rs:846:12 | 846 | pub fn chdir(dir: *const c_char) -> ::c_int; | ^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/os.rs:631:63 | 631 | if let Some(key_value) = parse(CStr::from_ptr(*environ).to_bytes()) { | -------------- ^^^^^^^^ expected `*const i8`, found `*const u8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const i8` found raw pointer `*const u8` note: associated function defined here --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ffi/c_str.rs:284:25 | 284 | pub const unsafe fn from_ptr<'a>(ptr: *const c_char) -> &'a CStr { | ^^^^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/os.rs:663:39 | 663 | let v = unsafe { libc::getenv(k.as_ptr()) } as *const libc::c_char; | ------------ ^^^^^^^^^^ expected `*const u8`, found `*const i8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/mod.rs:522:12 | 522 | pub fn getenv(s: *const c_char) -> *mut c_char; | ^^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/os.rs:669:49 | 669 | let bytes = unsafe { CStr::from_ptr(v) }.to_bytes().to_vec(); | -------------- ^ expected `*const i8`, found `*const u8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const i8` found raw pointer `*const u8` note: associated function defined here --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ffi/c_str.rs:284:25 | 284 | 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-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/os.rs:682:26 | 682 | cvt(unsafe { libc::setenv(k.as_ptr(), v.as_ptr(), 1) }).map(drop) | ^^^^^^^^^^^^ | note: expected `*const u8`, found `*const i8` --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/os.rs:682:39 | 682 | cvt(unsafe { libc::setenv(k.as_ptr(), v.as_ptr(), 1) }).map(drop) | ^^^^^^^^^^ = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: expected `*const u8`, found `*const i8` --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/os.rs:682:51 | 682 | cvt(unsafe { libc::setenv(k.as_ptr(), v.as_ptr(), 1) }).map(drop) | ^^^^^^^^^^ = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/mod.rs:1023:12 | 1023 | pub fn setenv(name: *const c_char, val: *const c_char, overwrite: ::c_int) -> ::c_int; | ^^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/os.rs:690:37 | 690 | cvt(unsafe { libc::unsetenv(nbuf.as_ptr()) }).map(drop) | -------------- ^^^^^^^^^^^^^ expected `*const u8`, found `*const i8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/mod.rs:1029:12 | 1029 | pub fn unsetenv(name: *const c_char) -> ::c_int; | ^^^^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_common.rs:187:29 | 187 | argv: Argv(vec![program.as_ptr(), ptr::null()]), | ^^^^^^^^^^^^^^^^ expected `*const u8`, found `*const i8` | = note: expected raw pointer `*const u8` found raw pointer `*const i8` error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_common.rs:234:26 | 234 | self.argv.0[0] = arg.as_ptr(); | -------------- ^^^^^^^^^^^^ expected `*const u8`, found `*const i8` | | | expected due to the type of this binding | = note: expected raw pointer `*const u8` found raw pointer `*const i8` error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_common.rs:242:40 | 242 | self.argv.0[self.args.len()] = arg.as_ptr(); | ---------------------------- ^^^^^^^^^^^^ expected `*const u8`, found `*const i8` | | | expected due to the type of this binding | = note: expected raw pointer `*const u8` found raw pointer `*const i8` error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_common.rs:420:28 | 420 | self.ptrs[l - 1] = item.as_ptr(); | ---------------- ^^^^^^^^^^^^^ expected `*const u8`, found `*const i8` | | | expected due to the type of this binding | = note: expected raw pointer `*const u8` found raw pointer `*const i8` error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_unix.rs:343:29 | 343 | cvt(libc::chdir(cwd.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: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/mod.rs:846:12 | 846 | pub fn chdir(dir: *const c_char) -> ::c_int; | ^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_unix.rs:409:22 | 409 | libc::execvp(self.get_program_cstr().as_ptr(), self.get_argv().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: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/mod.rs:874:12 | 874 | pub fn execvp(c: *const c_char, argv: *const *const c_char) -> ::c_int; | ^^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys_common/net.rs:214:40 | 214 | cvt_gai(c::getaddrinfo(c_host.as_ptr(), ptr::null(), &hints, &mut res)) | -------------- ^^^^^^^^^^^^^^^ expected `*const u8`, found `*const i8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: function defined here --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/mod.rs:1191:12 | 1191 | pub fn getaddrinfo( | ^^^^^^^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/../../backtrace/src/symbolize/gimli/libs_aix.rs:45:40 | 45 | let bytes = CStr::from_ptr(filename_ptr).to_bytes(); | -------------- ^^^^^^^^^^^^ expected `*const i8`, found `*const u8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const i8` found raw pointer `*const u8` note: associated function defined here --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ffi/c_str.rs:284:25 | 284 | pub const unsafe fn from_ptr<'a>(ptr: *const c_char) -> &'a CStr { | ^^^^^^^^ error[E0308]: mismatched types --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/../../backtrace/src/symbolize/gimli/libs_aix.rs:53:40 | 53 | let bytes = CStr::from_ptr(member_name_ptr).to_bytes(); | -------------- ^^^^^^^^^^^^^^^ expected `*const i8`, found `*const u8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const i8` found raw pointer `*const u8` note: associated function defined here --> /root/.rustup/toolchains/nightly-2024-05-26-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ffi/c_str.rs:284:25 | 284 | 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 42 previous errors