Build results for nightly-2024-10-20 target aarch64-nintendo-switch-freestanding std

Home
error

Build date: 2025-07-07T23:25:20.27Z

Build duration: 35.999s

Builder does-it-build commit: 87ff3d03

    Blocking waiting for file lock on package cache
   Compiling compiler_builtins v0.1.134
   Compiling core v0.0.0 (/root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core)
   Compiling rustc-std-workspace-core v1.99.0 (/root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core)
   Compiling alloc v0.0.0 (/root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc)
   Compiling rustc-std-workspace-alloc v1.99.0 (/root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-alloc)
   Compiling libc v0.2.161
   Compiling cfg-if v1.0.0
   Compiling memchr v2.5.0
   Compiling unwind v0.0.0 (/root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/unwind)
   Compiling gimli v0.29.0
   Compiling adler v1.0.2
   Compiling std v0.0.0 (/root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std)
   Compiling miniz_oxide v0.7.4
   Compiling addr2line v0.22.0
   Compiling panic_unwind v0.0.0 (/root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_unwind)
   Compiling object v0.36.4
   Compiling std_detect v0.1.5 (/root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/stdarch/crates/std_detect)
   Compiling panic_abort v0.0.0 (/root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_abort)
   Compiling hashbrown v0.15.0
   Compiling rustc-demangle v0.1.24
error[E0433]: failed to resolve: could not find `unix` in `os`
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/horizon/raw.rs:14:16
   |
14 | use crate::os::unix::raw::{gid_t, uid_t};
   |                ^^^^ could not find `unix` in `os`
   |
note: found an item that was configured out
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/mod.rs:27:9
   |
27 | pub mod unix {}
   |         ^^^^
note: the item is gated here
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/mod.rs:19:1
   |
19 | / #[cfg(all(
20 | |     doc,
21 | |     any(
22 | |         all(target_arch = "wasm32", not(target_os = "wasi")),
23 | |         all(target_vendor = "fortanix", target_env = "sgx")
24 | |     )
25 | | ))]
   | |___^
note: found an item that was configured out
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/mod.rs:65:9
   |
65 | pub mod unix;
   |         ^^^^
note: the item is gated here
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/mod.rs:64:1
   |
64 | #[cfg(all(not(target_os = "hermit"), any(unix, doc)))]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0432]: unresolved imports `super::key::Key`, `super::key::LazyKey`, `super::key::get`, `super::key::set`
 --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/thread_local/os.rs:1:18
  |
1 | use super::key::{Key, LazyKey, get, set};
  |                  ^^^  ^^^^^^^  ^^^  ^^^ no `set` in `sys::thread_local::key`
  |                  |    |        |
  |                  |    |        no `get` in `sys::thread_local::key`
  |                  |    no `LazyKey` in `sys::thread_local::key`
  |                  no `Key` in `sys::thread_local::key`
  |
note: module `crate::collections::hash::set` exists but is inaccessible
 --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/collections/hash/mod.rs:4:1
  |
4 | pub mod set;
  | ^^^^^^^^^^^^ not accessible

error[E0432]: unresolved imports `crate::sys::thread_local::key::LazyKey`, `crate::sys::thread_local::key::set`
 --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/thread_local/guard/key.rs:6:37
  |
6 | use crate::sys::thread_local::key::{LazyKey, set};
  |                                     ^^^^^^^  ^^^ no `set` in `sys::thread_local::key`
  |                                     |
  |                                     no `LazyKey` in `sys::thread_local::key`
  |
note: module `crate::collections::hash::set` exists but is inaccessible
 --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/collections/hash/mod.rs:4:1
  |
4 | pub mod set;
  | ^^^^^^^^^^^^ not accessible

error[E0412]: cannot find type `pthread_t` in crate `libc`
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/horizon/raw.rs:17:28
   |
17 | pub type pthread_t = libc::pthread_t;
   |                            ^^^^^^^^^ not found in `libc`

error[E0412]: cannot find type `blkcnt_t` in crate `libc`
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/horizon/raw.rs:20:27
   |
20 | pub type blkcnt_t = libc::blkcnt_t;
   |                           ^^^^^^^^ not found in `libc`

error[E0412]: cannot find type `blksize_t` in crate `libc`
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/horizon/raw.rs:23:28
   |
23 | pub type blksize_t = libc::blksize_t;
   |                            ^^^^^^^^^ not found in `libc`

error[E0412]: cannot find type `dev_t` in crate `libc`
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/horizon/raw.rs:25:24
   |
25 | pub type dev_t = libc::dev_t;
   |                        ^^^^^ not found in `libc`

error[E0412]: cannot find type `ino_t` in crate `libc`
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/horizon/raw.rs:27:24
   |
27 | pub type ino_t = libc::ino_t;
   |                        ^^^^^ not found in `libc`

error[E0412]: cannot find type `mode_t` in crate `libc`
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/horizon/raw.rs:29:25
   |
29 | pub type mode_t = libc::mode_t;
   |                         ^^^^^^ not found in `libc`

error[E0412]: cannot find type `nlink_t` in crate `libc`
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/horizon/raw.rs:31:26
   |
31 | pub type nlink_t = libc::nlink_t;
   |                          ^^^^^^^ not found in `libc`

error[E0412]: cannot find type `off_t` in crate `libc`
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/horizon/raw.rs:33:24
   |
33 | pub type off_t = libc::off_t;
   |                        ^^^^^ not found in `libc`

error[E0412]: cannot find type `time_t` in crate `libc`
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/horizon/raw.rs:36:25
   |
36 | pub type time_t = libc::time_t;
   |                         ^^^^^^ not found in `libc`

error[E0425]: cannot find function `getrandom` in crate `libc`
 --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/random/horizon.rs:3:32
  |
3 |         let r = unsafe { libc::getrandom(bytes.as_mut_ptr().cast(), bytes.len(), 0) };
  |                                ^^^^^^^^^ not found in `libc`

error[E0599]: no method named `as_inner` found for reference `&FileAttr` in the current scope
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/horizon/fs.rs:48:25
   |
48 |         self.as_inner().as_inner().st_dev as u64
   |         ----            ^^^^^^^^ method not found in `&FileAttr`
   |         |
   |         method `as_inner` is available on `&Metadata`

error[E0599]: no method named `as_inner` found for reference `&FileAttr` in the current scope
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/horizon/fs.rs:51:25
   |
51 |         self.as_inner().as_inner().st_ino as u64
   |         ----            ^^^^^^^^ method not found in `&FileAttr`
   |         |
   |         method `as_inner` is available on `&Metadata`

error[E0599]: no method named `as_inner` found for reference `&FileAttr` in the current scope
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/horizon/fs.rs:54:25
   |
54 |         self.as_inner().as_inner().st_mode as u32
   |         ----            ^^^^^^^^ method not found in `&FileAttr`
   |         |
   |         method `as_inner` is available on `&Metadata`

error[E0599]: no method named `as_inner` found for reference `&FileAttr` in the current scope
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/horizon/fs.rs:57:25
   |
57 |         self.as_inner().as_inner().st_nlink as u64
   |         ----            ^^^^^^^^ method not found in `&FileAttr`
   |         |
   |         method `as_inner` is available on `&Metadata`

error[E0599]: no method named `as_inner` found for reference `&FileAttr` in the current scope
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/horizon/fs.rs:60:25
   |
60 |         self.as_inner().as_inner().st_uid as u32
   |         ----            ^^^^^^^^ method not found in `&FileAttr`
   |         |
   |         method `as_inner` is available on `&Metadata`

error[E0599]: no method named `as_inner` found for reference `&FileAttr` in the current scope
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/horizon/fs.rs:63:25
   |
63 |         self.as_inner().as_inner().st_gid as u32
   |         ----            ^^^^^^^^ method not found in `&FileAttr`
   |         |
   |         method `as_inner` is available on `&Metadata`

error[E0599]: no method named `as_inner` found for reference `&FileAttr` in the current scope
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/horizon/fs.rs:66:25
   |
66 |         self.as_inner().as_inner().st_rdev as u64
   |         ----            ^^^^^^^^ method not found in `&FileAttr`
   |         |
   |         method `as_inner` is available on `&Metadata`

error[E0599]: no method named `as_inner` found for reference `&FileAttr` in the current scope
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/horizon/fs.rs:69:25
   |
69 |         self.as_inner().as_inner().st_size as u64
   |         ----            ^^^^^^^^ method not found in `&FileAttr`
   |         |
   |         method `as_inner` is available on `&Metadata`

error[E0599]: no method named `as_inner` found for reference `&FileAttr` in the current scope
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/horizon/fs.rs:72:25
   |
72 |         self.as_inner().as_inner().st_atim.tv_sec
   |         ----            ^^^^^^^^ method not found in `&FileAttr`
   |         |
   |         method `as_inner` is available on `&Metadata`

error[E0599]: no method named `as_inner` found for reference `&FileAttr` in the current scope
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/horizon/fs.rs:75:25
   |
75 |         self.as_inner().as_inner().st_atim.tv_nsec as i64
   |         ----            ^^^^^^^^ method not found in `&FileAttr`
   |         |
   |         method `as_inner` is available on `&Metadata`

error[E0599]: no method named `as_inner` found for reference `&FileAttr` in the current scope
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/horizon/fs.rs:78:25
   |
78 |         self.as_inner().as_inner().st_mtim.tv_sec
   |         ----            ^^^^^^^^ method not found in `&FileAttr`
   |         |
   |         method `as_inner` is available on `&Metadata`

error[E0599]: no method named `as_inner` found for reference `&FileAttr` in the current scope
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/horizon/fs.rs:81:25
   |
81 |         self.as_inner().as_inner().st_mtim.tv_nsec as i64
   |         ----            ^^^^^^^^ method not found in `&FileAttr`
   |         |
   |         method `as_inner` is available on `&Metadata`

error[E0599]: no method named `as_inner` found for reference `&FileAttr` in the current scope
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/horizon/fs.rs:84:25
   |
84 |         self.as_inner().as_inner().st_ctim.tv_sec
   |         ----            ^^^^^^^^ method not found in `&FileAttr`
   |         |
   |         method `as_inner` is available on `&Metadata`

error[E0599]: no method named `as_inner` found for reference `&FileAttr` in the current scope
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/horizon/fs.rs:87:25
   |
87 |         self.as_inner().as_inner().st_ctim.tv_nsec as i64
   |         ----            ^^^^^^^^ method not found in `&FileAttr`
   |         |
   |         method `as_inner` is available on `&Metadata`

error[E0599]: no method named `as_inner` found for reference `&FileAttr` in the current scope
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/horizon/fs.rs:90:25
   |
90 |         self.as_inner().as_inner().st_blksize as u64
   |         ----            ^^^^^^^^ method not found in `&FileAttr`
   |         |
   |         method `as_inner` is available on `&Metadata`

error[E0599]: no method named `as_inner` found for reference `&FileAttr` in the current scope
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/horizon/fs.rs:93:25
   |
93 |         self.as_inner().as_inner().st_blocks as u64
   |         ----            ^^^^^^^^ method not found in `&FileAttr`
   |         |
   |         method `as_inner` is available on `&Metadata`

error[E0277]: the trait bound `System: core::alloc::GlobalAlloc` is not satisfied
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/alloc/mod.rs:59:42
   |
59 |         let new_ptr = GlobalAlloc::alloc(alloc, new_layout);
   |                       ------------------ ^^^^^ the trait `core::alloc::GlobalAlloc` is not implemented for `System`
   |                       |
   |                       required by a bound introduced by this call

error[E0277]: the trait bound `System: core::alloc::GlobalAlloc` is not satisfied
  --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/alloc/mod.rs:63:34
   |
63 |             GlobalAlloc::dealloc(alloc, ptr, old_layout);
   |             -------------------- ^^^^^ the trait `core::alloc::GlobalAlloc` is not implemented for `System`
   |             |
   |             required by a bound introduced by this call

error[E0277]: the trait bound `System: core::alloc::GlobalAlloc` is not satisfied
   --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/alloc.rs:142:47
    |
142 |                     GlobalAlloc::alloc_zeroed(self, layout)
    |                     ------------------------- ^^^^ the trait `core::alloc::GlobalAlloc` is not implemented for `System`
    |                     |
    |                     required by a bound introduced by this call

error[E0277]: the trait bound `System: core::alloc::GlobalAlloc` is not satisfied
   --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/alloc.rs:144:40
    |
144 |                     GlobalAlloc::alloc(self, layout)
    |                     ------------------ ^^^^ the trait `core::alloc::GlobalAlloc` is not implemented for `System`
    |                     |
    |                     required by a bound introduced by this call

error[E0277]: the trait bound `System: core::alloc::GlobalAlloc` is not satisfied
   --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/alloc.rs:178:52
    |
178 |                 let raw_ptr = GlobalAlloc::realloc(self, ptr.as_ptr(), old_layout, new_size);
    |                               -------------------- ^^^^ the trait `core::alloc::GlobalAlloc` is not implemented for `System`
    |                               |
    |                               required by a bound introduced by this call

error[E0277]: the trait bound `System: core::alloc::GlobalAlloc` is not satisfied
   --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/alloc.rs:220:43
    |
220 |             unsafe { GlobalAlloc::dealloc(self, ptr.as_ptr(), layout) }
    |                      -------------------- ^^^^ the trait `core::alloc::GlobalAlloc` is not implemented for `System`
    |                      |
    |                      required by a bound introduced by this call

error[E0277]: the trait bound `System: core::alloc::GlobalAlloc` is not satisfied
   --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/alloc.rs:270:52
    |
270 |                 let raw_ptr = GlobalAlloc::realloc(self, ptr.as_ptr(), old_layout, new_size);
    |                               -------------------- ^^^^ the trait `core::alloc::GlobalAlloc` is not implemented for `System`
    |                               |
    |                               required by a bound introduced by this call

error[E0599]: no method named `alloc` found for struct `System` in the current scope
   --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/alloc.rs:401:20
    |
132 | pub struct System;
    | ----------------- method `alloc` not found for this struct
...
401 |             System.alloc(layout)
    |                    ^^^^^
    |
    = help: items from traits can only be used if the trait is implemented and in scope
    = note: the following trait defines an item `alloc`, perhaps you need to implement it:
            candidate #1: `core::alloc::GlobalAlloc`
help: there is a method `allocate` with a similar name
    |
401 |             System.allocate(layout)
    |                    ~~~~~~~~

error[E0599]: no method named `dealloc` found for struct `System` in the current scope
   --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/alloc.rs:409:25
    |
132 | pub struct System;
    | ----------------- method `dealloc` not found for this struct
...
409 |         unsafe { System.dealloc(ptr, Layout::from_size_align_unchecked(size, align)) }
    |                         ^^^^^^^
    |
    = help: items from traits can only be used if the trait is implemented and in scope
    = note: the following trait defines an item `dealloc`, perhaps you need to implement it:
            candidate #1: `core::alloc::GlobalAlloc`
help: there is a method `deallocate` with a similar name
    |
409 |         unsafe { System.deallocate(ptr, Layout::from_size_align_unchecked(size, align)) }
    |                         ~~~~~~~~~~

error[E0599]: no method named `realloc` found for struct `System` in the current scope
   --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/alloc.rs:423:20
    |
132 | pub struct System;
    | ----------------- method `realloc` not found for this struct
...
423 |             System.realloc(ptr, old_layout, new_size)
    |                    ^^^^^^^ method not found in `System`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
    = note: the following trait defines an item `realloc`, perhaps you need to implement it:
            candidate #1: `core::alloc::GlobalAlloc`

error[E0599]: no method named `alloc_zeroed` found for struct `System` in the current scope
   --> /root/.rustup/toolchains/nightly-2024-10-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/alloc.rs:433:20
    |
132 | pub struct System;
    | ----------------- method `alloc_zeroed` not found for this struct
...
433 |             System.alloc_zeroed(layout)
    |                    ^^^^^^^^^^^^
    |
    = help: items from traits can only be used if the trait is implemented and in scope
    = note: the following trait defines an item `alloc_zeroed`, perhaps you need to implement it:
            candidate #1: `core::alloc::GlobalAlloc`
help: there is a method `allocate_zeroed` with a similar name
    |
433 |             System.allocate_zeroed(layout)
    |                    ~~~~~~~~~~~~~~~

Some errors have detailed explanations: E0277, E0412, E0425, E0432, E0433, E0599.
For more information about an error, try `rustc --explain E0277`.
error: could not compile `std` (lib) due to 40 previous errors

    

Build history for target aarch64-nintendo-switch-freestanding

Build state for nightly 2024-10-20