Build results for nightly-2024-07-02 target powerpc64-ibm-aix std
Home
error
Preparing a sysroot for Miri (target: powerpc64-ibm-aix)...
warning: no edition set: defaulting to the 2015 edition while the latest is 2021
Compiling compiler_builtins v0.1.109
Checking core v0.0.0 (/home/nora/.rustup/toolchains/nightly-2024-07-02-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 (/home/nora/.rustup/toolchains/nightly-2024-07-02-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std)
Checking rustc-std-workspace-core v1.99.0 (/home/nora/.rustup/toolchains/nightly-2024-07-02-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core)
Checking alloc v0.0.0 (/home/nora/.rustup/toolchains/nightly-2024-07-02-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc)
Checking cfg-if v1.0.0
Checking adler v1.0.2
Checking rustc-demangle v0.1.24
Checking unwind v0.0.0 (/home/nora/.rustup/toolchains/nightly-2024-07-02-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/unwind)
Checking rustc-std-workspace-alloc v1.99.0 (/home/nora/.rustup/toolchains/nightly-2024-07-02-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-alloc)
Checking panic_unwind v0.0.0 (/home/nora/.rustup/toolchains/nightly-2024-07-02-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_unwind)
Checking panic_abort v0.0.0 (/home/nora/.rustup/toolchains/nightly-2024-07-02-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_abort)
Checking gimli v0.29.0
Checking miniz_oxide v0.7.4
Checking hashbrown v0.14.5
Checking object v0.36.0
Checking std_detect v0.1.5 (/home/nora/.rustup/toolchains/nightly-2024-07-02-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/stdarch/crates/std_detect)
Checking addr2line v0.22.0
error[E0308]: mismatched types
--> /home/nora/.rustup/toolchains/nightly-2024-07-02-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:466:12
|
466 | 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 `sys::pal::unix::time::SystemTime`
found enum `core::result::Result<sys::pal::unix::time::SystemTime, io::error::Error>`
help: the type constructed contains `core::result::Result<sys::pal::unix::time::SystemTime, io::error::Error>` due to the type of the argument passed
--> /home/nora/.rustup/toolchains/nightly-2024-07-02-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:466:9
|
466 | 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
--> /home/nora/.rustup/toolchains/nightly-2024-07-02-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/result.rs:531:5
|
531 | Ok(#[stable(feature = "rust1", since = "1.0.0")] T),
| ^^
help: use the `?` operator to extract the `core::result::Result<sys::pal::unix::time::SystemTime, io::error::Error>` value, propagating a `Result::Err` value to the caller
|
466 | Ok(SystemTime::new(self.stat.st_mtime.tv_sec as i64, self.stat.st_mtime.tv_nsec as i64)?)
| +
error[E0308]: mismatched types
--> /home/nora/.rustup/toolchains/nightly-2024-07-02-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_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 `sys::pal::unix::time::SystemTime`
found enum `core::result::Result<sys::pal::unix::time::SystemTime, io::error::Error>`
help: the type constructed contains `core::result::Result<sys::pal::unix::time::SystemTime, io::error::Error>` due to the type of the argument passed
--> /home/nora/.rustup/toolchains/nightly-2024-07-02-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_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
--> /home/nora/.rustup/toolchains/nightly-2024-07-02-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/result.rs:531:5
|
531 | Ok(#[stable(feature = "rust1", since = "1.0.0")] T),
| ^^
help: use the `?` operator to extract the `core::result::Result<sys::pal::unix::time::SystemTime, io::error::Error>` value, propagating a `Result::Err` value to the caller
|
470 | Ok(SystemTime::new(self.stat.st_atime.tv_sec as i64, self.stat.st_atime.tv_nsec as i64)?)
| +
error[E0308]: mismatched types
--> /home/nora/.rustup/toolchains/nightly-2024-07-02-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_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 `sys::pal::unix::time::SystemTime`
found enum `core::result::Result<sys::pal::unix::time::SystemTime, io::error::Error>`
help: the type constructed contains `core::result::Result<sys::pal::unix::time::SystemTime, io::error::Error>` due to the type of the argument passed
--> /home/nora/.rustup/toolchains/nightly-2024-07-02-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_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
--> /home/nora/.rustup/toolchains/nightly-2024-07-02-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/result.rs:531:5
|
531 | Ok(#[stable(feature = "rust1", since = "1.0.0")] T),
| ^^
help: use the `?` operator to extract the `core::result::Result<sys::pal::unix::time::SystemTime, io::error::Error>` value, propagating a `Result::Err` value to the caller
|
474 | Ok(SystemTime::new(self.stat.st_ctime.tv_sec as i64, self.stat.st_ctime.tv_nsec as i64)?)
| +
For more information about this error, try `rustc --explain E0308`.
error: could not compile `std` (lib) due to 3 previous errors
fatal error: failed to build sysroot: sysroot build failed
Build history for target powerpc64-ibm-aix
Build state for nightly 2024-07-02