Build results for nightly-2024-05-21 target powerpc64-ibm-aix miri-std

error
Preparing a sysroot for Miri (target: powerpc64-ibm-aix)...
     Locking 1 package to latest compatible version
      Adding custom-local-sysroot v0.0.0 (/tmp/.tmpmWJAo3)
   Compiling compiler_builtins v0.1.109
    Checking core v0.0.0 (/var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core)
   Compiling libc v0.2.155
   Compiling memchr v2.5.0
   Compiling std v0.0.0 (/var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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-05-21-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-05-21-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc)
    Checking cfg-if v1.0.0
    Checking adler v1.0.2
    Checking unwind v0.0.0 (/var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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-05-21-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-alloc)
    Checking panic_unwind v0.0.0 (/var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_unwind)
    Checking panic_abort v0.0.0 (/var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_abort)
    Checking gimli v0.28.1
    Checking object v0.32.2
    Checking hashbrown v0.14.5
    Checking std_detect v0.1.5 (/var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/stdarch/crates/std_detect)
    Checking miniz_oxide v0.7.3
    Checking addr2line v0.21.0
error[E0308]: mismatched types
    --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
    --> /var/lib/does-it-build/.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
   --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/args.rs:162:43
    |
162 |                 let cstr = CStr::from_ptr(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: associated function defined here
   --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
   --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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`
    |         |
    |         arguments to this enum variant are incorrect
    |
    = note: expected struct `sys::pal::unix::time::SystemTime`
                 found enum `core::result::Result`
help: the type constructed contains `core::result::Result` due to the type of the argument passed
   --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
   --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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` 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
   --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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`
    |         |
    |         arguments to this enum variant are incorrect
    |
    = note: expected struct `sys::pal::unix::time::SystemTime`
                 found enum `core::result::Result`
help: the type constructed contains `core::result::Result` due to the type of the argument passed
   --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
   --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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` 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
   --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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`
    |         |
    |         arguments to this enum variant are incorrect
    |
    = note: expected struct `sys::pal::unix::time::SystemTime`
                 found enum `core::result::Result`
help: the type constructed contains `core::result::Result` due to the type of the argument passed
   --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
   --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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` 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
    --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
    --> /var/lib/does-it-build/.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
    --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
    --> /var/lib/does-it-build/.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
    --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
    --> /var/lib/does-it-build/.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
    --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
    --> /var/lib/does-it-build/.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
    --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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`
    --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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`
    --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
    --> /var/lib/does-it-build/.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
    --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
    --> /var/lib/does-it-build/.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
    --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
    --> /var/lib/does-it-build/.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
    --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
    --> /var/lib/does-it-build/.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
    --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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`
    --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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`
    --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
    --> /var/lib/does-it-build/.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
    --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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`
    --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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`
    --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
    --> /var/lib/does-it-build/.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
    --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
    --> /var/lib/does-it-build/.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
    --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
    --> /var/lib/does-it-build/.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
    --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
    --> /var/lib/does-it-build/.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
    --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
    --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
    --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
    --> /var/lib/does-it-build/.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
    --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
    --> /var/lib/does-it-build/.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
    --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
    --> /var/lib/does-it-build/.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
   --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
   --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
   --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
   --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
   --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
   --> /var/lib/does-it-build/.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
   --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/os.rs:607:63
    |
607 |                 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
   --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
   --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/os.rs:639:39
    |
639 |         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
   --> /var/lib/does-it-build/.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
   --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/os.rs:645:49
    |
645 |             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
   --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
    --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/os.rs:658:26
     |
658  |             cvt(unsafe { libc::setenv(k.as_ptr(), v.as_ptr(), 1) }).map(drop)
     |                          ^^^^^^^^^^^^
     |
note: expected `*const u8`, found `*const i8`
    --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/os.rs:658:39
     |
658  |             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`
    --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/os.rs:658:51
     |
658  |             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
    --> /var/lib/does-it-build/.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
    --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/os.rs:666:37
     |
666  |         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
    --> /var/lib/does-it-build/.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
   --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
   --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
   --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
   --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
   --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
   --> /var/lib/does-it-build/.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
   --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
   --> /var/lib/does-it-build/.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
    --> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-05-21-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
    --> /var/lib/does-it-build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/mod.rs:1191:12
     |
1191 |     pub fn getaddrinfo(
     |            ^^^^^^^^^^^

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