Build results for nightly-2024-09-11 target armv7-unknown-trusty miri-std
error
Preparing a sysroot for Miri (target: armv7-unknown-trusty)...
warning: no edition set: defaulting to the 2015 edition while the latest is 2021
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Compiling compiler_builtins v0.1.123
Checking core v0.0.0 (/var/lib/does-it-build/.rustup/toolchains/nightly-2024-09-11-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core)
Compiling libc v0.2.158
Compiling memchr v2.5.0
Compiling std v0.0.0 (/var/lib/does-it-build/.rustup/toolchains/nightly-2024-09-11-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-09-11-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-09-11-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-09-11-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-09-11-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-09-11-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-09-11-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_abort)
Checking gimli v0.29.0
Checking std_detect v0.1.5 (/var/lib/does-it-build/.rustup/toolchains/nightly-2024-09-11-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/stdarch/crates/std_detect)
Checking object v0.36.2
Checking hashbrown v0.14.5
Checking miniz_oxide v0.7.4
Checking addr2line v0.22.0
warning: dropping unsupported crate type `dylib` for target `armv7-unknown-trusty`
error[E0432]: unresolved imports `crate::sys::thread_local::key::get`, `crate::sys::thread_local::key::set`, `crate::sys::thread_local::key::Key`, `crate::sys::thread_local::key::LazyKey`
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-09-11-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/thread_local/os.rs:5:37
|
5 | use crate::sys::thread_local::key::{get, set, Key, LazyKey};
| ^^^ ^^^ ^^^ ^^^^^^^ no `LazyKey` in `sys::thread_local::key`
| | | |
| | | no `Key` in `sys::thread_local::key`
| | no `set` in `sys::thread_local::key`
| no `get` in `sys::thread_local::key`
|
note: module `crate::collections::hash::set` exists but is inaccessible
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-09-11-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[E0277]: the trait bound `alloc::System: core::alloc::GlobalAlloc` is not satisfied
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-09-11-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 `alloc::System`
| |
| required by a bound introduced by this call
error[E0277]: the trait bound `alloc::System: core::alloc::GlobalAlloc` is not satisfied
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-09-11-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 `alloc::System`
| |
| required by a bound introduced by this call
error[E0277]: the trait bound `alloc::System: core::alloc::GlobalAlloc` is not satisfied
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-09-11-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 `alloc::System`
| |
| required by a bound introduced by this call
error[E0277]: the trait bound `alloc::System: core::alloc::GlobalAlloc` is not satisfied
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-09-11-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 `alloc::System`
| |
| required by a bound introduced by this call
error[E0277]: the trait bound `alloc::System: core::alloc::GlobalAlloc` is not satisfied
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-09-11-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 `alloc::System`
| |
| required by a bound introduced by this call
error[E0277]: the trait bound `alloc::System: core::alloc::GlobalAlloc` is not satisfied
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-09-11-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 `alloc::System`
| |
| required by a bound introduced by this call
error[E0277]: the trait bound `alloc::System: core::alloc::GlobalAlloc` is not satisfied
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-09-11-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 `alloc::System`
| |
| required by a bound introduced by this call
error[E0599]: no method named `alloc` found for struct `alloc::System` in the current scope
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-09-11-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 `alloc::System` in the current scope
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-09-11-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 `alloc::System` in the current scope
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-09-11-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 `alloc::System` in the current scope
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-09-11-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)
| ~~~~~~~~~~~~~~~
warning: unused import: `GlobalAlloc`
--> /var/lib/does-it-build/.rustup/toolchains/nightly-2024-09-11-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/alloc.rs:384:17
|
384 | use super::{GlobalAlloc, Layout, System};
| ^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
Some errors have detailed explanations: E0277, E0432, E0599.
For more information about an error, try `rustc --explain E0277`.
warning: `std` (lib) generated 2 warnings
error: could not compile `std` (lib) due to 12 previous errors; 2 warnings emitted
fatal error: failed to build sysroot: sysroot build failed