[INFO] fetching crate ndless 0.8.7...
[INFO] checking ndless-0.8.7 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate ndless 0.8.7 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate ndless 0.8.7 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ndless 0.8.7
[INFO] finished tweaking crates.io crate ndless 0.8.7
[INFO] tweaked toml for crates.io crate ndless 0.8.7 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 13 packages to latest compatible versions
[INFO] [stderr]       Adding cstr_core v0.1.2 (latest: v0.2.6)
[INFO] [stderr]       Adding cty v0.1.5 (latest: v0.2.2)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.60)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ndless-static-vars v2.1.0
[INFO] [stderr]   Downloaded cstr_core v0.1.2
[INFO] [stderr]   Downloaded embedded-ffi v0.1.2
[INFO] [stderr]   Downloaded ndless-macros v0.4.0
[INFO] [stderr]   Downloaded ndless-sys v0.2.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c925960632fe92b5b3e7263679b81763283f96816a5843de11d2ce81af53f7e1
[INFO] running `Command { std: "docker" "start" "-a" "c925960632fe92b5b3e7263679b81763283f96816a5843de11d2ce81af53f7e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c925960632fe92b5b3e7263679b81763283f96816a5843de11d2ce81af53f7e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c925960632fe92b5b3e7263679b81763283f96816a5843de11d2ce81af53f7e1", kill_on_drop: false }`
[INFO] [stdout] c925960632fe92b5b3e7263679b81763283f96816a5843de11d2ce81af53f7e1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0b243f3246f859df950d1d072ef2a97a80a72d7b4cc8a3a52fa03ac5d2debc15
[INFO] running `Command { std: "docker" "start" "-a" "0b243f3246f859df950d1d072ef2a97a80a72d7b4cc8a3a52fa03ac5d2debc15", kill_on_drop: false }`
[INFO] [stderr]    Compiling cty v0.2.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]     Checking cty v0.1.5
[INFO] [stderr]     Checking ndless-static-vars v2.1.0
[INFO] [stderr]     Checking ndless-sys v0.2.0
[INFO] [stderr]     Checking cstr_core v0.1.2
[INFO] [stderr]     Checking embedded-ffi v0.1.2
[INFO] [stderr]    Compiling ndless-macros v0.4.0
[INFO] [stderr]     Checking ndless v0.8.7 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `prelude` in `alloc`
[INFO] [stdout]   --> src/lib.rs:85:17
[INFO] [stdout]    |
[INFO] [stdout] 85 |     pub use alloc::prelude::v1::*;
[INFO] [stdout]    |                    ^^^^^^^ could not find `prelude` in `alloc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `super::Key`
[INFO] [stdout]    --> src/bindings/input.rs:476:6
[INFO] [stdout]     |
[INFO] [stdout] 476 |     use super::Key;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `llvm_asm` in this scope
[INFO] [stdout]   --> src/bindings/ndless.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |         unsafe { llvm_asm!(".long 0xE1212374") }
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `String` in this scope
[INFO] [stdout]   --> src/bindings/env.rs:18:26
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub type Args = IntoIter<String>;
[INFO] [stdout]    |                          ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 7  + use alloc::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 7  + use crate::libc::String;
[INFO] [stdout]    |
[INFO] [stdout] 7  + use ndless_sys::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope
[INFO] [stdout]   --> src/bindings/env.rs:54:16
[INFO] [stdout]    |
[INFO] [stdout] 54 |                 .collect::<Vec<_>>()
[INFO] [stdout]    |                            ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 7  + use alloc::vec::Vec;
[INFO] [stdout]    |
[INFO] [stdout] 7  + use crate::prelude::vec::Vec;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope
[INFO] [stdout]    --> src/bindings/input.rs:436:22
[INFO] [stdout]     |
[INFO] [stdout] 436 | pub fn get_keys() -> Vec<Key> {
[INFO] [stdout]     |                      ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 5   + use alloc::vec::Vec;
[INFO] [stdout]     |
[INFO] [stdout] 5   + use crate::prelude::vec::Vec;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `String` in this scope
[INFO] [stdout]    --> src/bindings/msg.rs:122:67
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub fn msg_input(title: &str, msg: &str, default: &str) -> Option<String> {
[INFO] [stdout]     |                                                                   ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 4   + use alloc::string::String;
[INFO] [stdout]     |
[INFO] [stdout] 4   + use crate::libc::String;
[INFO] [stdout]     |
[INFO] [stdout] 4   + use ndless_sys::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library
[INFO] [stdout]   --> src/lib.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | #![feature(core_intrinsics)]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: using it is strongly discouraged
[INFO] [stdout]    = note: `#[warn(internal_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]   --> src/bindings/env.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]  --> src/bindings/input.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `prelude` in `alloc`
[INFO] [stdout]   --> src/lib.rs:85:17
[INFO] [stdout]    |
[INFO] [stdout] 85 |     pub use alloc::prelude::v1::*;
[INFO] [stdout]    |                    ^^^^^^^ could not find `prelude` in `alloc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]   --> src/bindings/msg.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `super::Key`
[INFO] [stdout]    --> src/bindings/input.rs:476:6
[INFO] [stdout]     |
[INFO] [stdout] 476 |     use super::Key;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FileTypeExt`
[INFO] [stdout]   --> src/file_io/sys/ext/mod.rs:33:22
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub use super::fs::{FileTypeExt, MetadataExt, OpenOptionsExt, PermissionsExt};
[INFO] [stdout]    |                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsRawFd`, `FromRawFd`, `IntoRawFd`, `RawFd`
[INFO] [stdout]   --> src/file_io/sys/ext/mod.rs:34:22
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub use super::io::{AsRawFd, FromRawFd, IntoRawFd, RawFd};
[INFO] [stdout]    |                         ^^^^^^^  ^^^^^^^^^  ^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndless_sys::NU_Open as open`
[INFO] [stdout]  --> src/libc.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use ndless_sys::NU_Open as open;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stat as lstat`
[INFO] [stdout]  --> src/libc.rs:6:52
[INFO] [stdout]   |
[INFO] [stdout] 6 |     nuc_closedir as closedir, nuc_opendir as opendir, stat as lstat, NU_Set_Current_Dir as chdir,
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]   --> src/lib.rs:24:10
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub use core::ffi::*;
[INFO] [stdout]    |             ^^^^^^^^^^^^ the name `CStr` in the type namespace is first re-exported here
[INFO] [stdout] 25 |
[INFO] [stdout] 26 |     pub use embedded_ffi::*;
[INFO] [stdout]    |             --------------- but the name `CStr` in the type namespace is also re-exported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(ambiguous_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `llvm_asm` in this scope
[INFO] [stdout]   --> src/bindings/ndless.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |         unsafe { llvm_asm!(".long 0xE1212374") }
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `maybe_uninit_ref` has been stable since 1.55.0 and no longer requires an attribute to enable
[INFO] [stdout]   --> src/lib.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | #![feature(maybe_uninit_ref)]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `alloc_prelude`
[INFO] [stdout]  --> src/lib.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | #![feature(alloc_prelude, allocator_api)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `llvm_asm`
[INFO] [stdout]   --> src/lib.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | #![feature(llvm_asm)]
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `String` in this scope
[INFO] [stdout]   --> src/bindings/env.rs:18:26
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub type Args = IntoIter<String>;
[INFO] [stdout]    |                          ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 7  + use alloc::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 7  + use crate::libc::String;
[INFO] [stdout]    |
[INFO] [stdout] 7  + use ndless_sys::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope
[INFO] [stdout]   --> src/bindings/env.rs:54:16
[INFO] [stdout]    |
[INFO] [stdout] 54 |                 .collect::<Vec<_>>()
[INFO] [stdout]    |                            ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 7  + use alloc::vec::Vec;
[INFO] [stdout]    |
[INFO] [stdout] 7  + use crate::prelude::vec::Vec;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope
[INFO] [stdout]    --> src/bindings/input.rs:436:22
[INFO] [stdout]     |
[INFO] [stdout] 436 | pub fn get_keys() -> Vec<Key> {
[INFO] [stdout]     |                      ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 5   + use alloc::vec::Vec;
[INFO] [stdout]     |
[INFO] [stdout] 5   + use crate::prelude::vec::Vec;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `String` in this scope
[INFO] [stdout]    --> src/bindings/msg.rs:122:67
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub fn msg_input(title: &str, msg: &str, default: &str) -> Option<String> {
[INFO] [stdout]     |                                                                   ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 4   + use alloc::string::String;
[INFO] [stdout]     |
[INFO] [stdout] 4   + use crate::libc::String;
[INFO] [stdout]     |
[INFO] [stdout] 4   + use ndless_sys::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library
[INFO] [stdout]   --> src/lib.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | #![feature(core_intrinsics)]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: using it is strongly discouraged
[INFO] [stdout]    = note: `#[warn(internal_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]   --> src/bindings/env.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]  --> src/bindings/input.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]   --> src/bindings/msg.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FileTypeExt`
[INFO] [stdout]   --> src/file_io/sys/ext/mod.rs:33:22
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub use super::fs::{FileTypeExt, MetadataExt, OpenOptionsExt, PermissionsExt};
[INFO] [stdout]    |                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsRawFd`, `FromRawFd`, `IntoRawFd`, `RawFd`
[INFO] [stdout]   --> src/file_io/sys/ext/mod.rs:34:22
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub use super::io::{AsRawFd, FromRawFd, IntoRawFd, RawFd};
[INFO] [stdout]    |                         ^^^^^^^  ^^^^^^^^^  ^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndless_sys::NU_Open as open`
[INFO] [stdout]  --> src/libc.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use ndless_sys::NU_Open as open;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stat as lstat`
[INFO] [stdout]  --> src/libc.rs:6:52
[INFO] [stdout]   |
[INFO] [stdout] 6 |     nuc_closedir as closedir, nuc_opendir as opendir, stat as lstat, NU_Set_Current_Dir as chdir,
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]   --> src/lib.rs:24:10
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub use core::ffi::*;
[INFO] [stdout]    |             ^^^^^^^^^^^^ the name `CStr` in the type namespace is first re-exported here
[INFO] [stdout] 25 |
[INFO] [stdout] 26 |     pub use embedded_ffi::*;
[INFO] [stdout]    |             --------------- but the name `CStr` in the type namespace is also re-exported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(ambiguous_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `maybe_uninit_ref` has been stable since 1.55.0 and no longer requires an attribute to enable
[INFO] [stdout]   --> src/lib.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | #![feature(maybe_uninit_ref)]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `alloc_prelude`
[INFO] [stdout]  --> src/lib.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | #![feature(alloc_prelude, allocator_api)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `llvm_asm`
[INFO] [stdout]   --> src/lib.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | #![feature(llvm_asm)]
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_string` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/bindings/env.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | /                     unsafe { CStr::from_ptr(*arg) }
[INFO] [stdout] 50 | |                         .to_str()
[INFO] [stdout] 51 | |                         .unwrap()
[INFO] [stdout] 52 | |                         .to_string()
[INFO] [stdout]    | |                         -^^^^^^^^^ method not found in `&str`
[INFO] [stdout]    | |_________________________|
[INFO] [stdout]    | 
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `ToString` which provides `to_string` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 7  + use crate::alloc::string::ToString;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]   --> src/bindings/env.rs:45:11
[INFO] [stdout]    |
[INFO] [stdout] 45 |     unsafe { &crate::ARGUMENTS }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] help: use `addr_of!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 45 |     unsafe { addr_of!(crate::ARGUMENTS) }
[INFO] [stdout]    |              ~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_string` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/bindings/env.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | /                     unsafe { CStr::from_ptr(*arg) }
[INFO] [stdout] 50 | |                         .to_str()
[INFO] [stdout] 51 | |                         .unwrap()
[INFO] [stdout] 52 | |                         .to_string()
[INFO] [stdout]    | |                         -^^^^^^^^^ method not found in `&str`
[INFO] [stdout]    | |_________________________|
[INFO] [stdout]    | 
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `ToString` which provides `to_string` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 7  + use crate::alloc::string::ToString;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]   --> src/bindings/env.rs:45:11
[INFO] [stdout]    |
[INFO] [stdout] 45 |     unsafe { &crate::ARGUMENTS }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] help: use `addr_of!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 45 |     unsafe { addr_of!(crate::ARGUMENTS) }
[INFO] [stdout]    |              ~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors; 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599, E0635.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ndless` (lib) due to 11 previous errors; 11 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 10 previous errors; 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599, E0635.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ndless` (lib test) due to 11 previous errors; 11 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "0b243f3246f859df950d1d072ef2a97a80a72d7b4cc8a3a52fa03ac5d2debc15", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0b243f3246f859df950d1d072ef2a97a80a72d7b4cc8a3a52fa03ac5d2debc15", kill_on_drop: false }`
[INFO] [stdout] 0b243f3246f859df950d1d072ef2a97a80a72d7b4cc8a3a52fa03ac5d2debc15
[INFO] checking ndless-0.8.7 against try#9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88 for pr-124157
[INFO] extracting crate ndless 0.8.7 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate ndless 0.8.7 on toolchain 9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ndless 0.8.7
[INFO] finished tweaking crates.io crate ndless 0.8.7
[INFO] tweaked toml for crates.io crate ndless 0.8.7 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 13 packages to latest compatible versions
[INFO] [stderr]       Adding cstr_core v0.1.2 (latest: v0.2.6)
[INFO] [stderr]       Adding cty v0.1.5 (latest: v0.2.2)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.60)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 05e801548346b80ecb9ed4158bc334a3638e5439d242266d9387a1e6f7672bba
[INFO] running `Command { std: "docker" "start" "-a" "05e801548346b80ecb9ed4158bc334a3638e5439d242266d9387a1e6f7672bba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "05e801548346b80ecb9ed4158bc334a3638e5439d242266d9387a1e6f7672bba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "05e801548346b80ecb9ed4158bc334a3638e5439d242266d9387a1e6f7672bba", kill_on_drop: false }`
[INFO] [stdout] 05e801548346b80ecb9ed4158bc334a3638e5439d242266d9387a1e6f7672bba
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b460a5ef9f90855413feafb7ad997e70f14c4eca640806ebb31c1416282cc26e
[INFO] running `Command { std: "docker" "start" "-a" "b460a5ef9f90855413feafb7ad997e70f14c4eca640806ebb31c1416282cc26e", kill_on_drop: false }`
[INFO] [stderr]    Compiling cty v0.2.2
[INFO] [stderr]     Checking cty v0.1.5
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking ndless-static-vars v2.1.0
[INFO] [stderr]     Checking ndless-sys v0.2.0
[INFO] [stderr]     Checking cstr_core v0.1.2
[INFO] [stderr]     Checking embedded-ffi v0.1.2
[INFO] [stderr]    Compiling ndless-macros v0.4.0
[INFO] [stderr]     Checking ndless v0.8.7 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `prelude` in `alloc`
[INFO] [stdout]   --> src/lib.rs:85:17
[INFO] [stdout]    |
[INFO] [stdout] 85 |     pub use alloc::prelude::v1::*;
[INFO] [stdout]    |                    ^^^^^^^ could not find `prelude` in `alloc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `super::Key`
[INFO] [stdout]    --> src/bindings/input.rs:476:6
[INFO] [stdout]     |
[INFO] [stdout] 476 |     use super::Key;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `llvm_asm` in this scope
[INFO] [stdout]   --> src/bindings/ndless.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |         unsafe { llvm_asm!(".long 0xE1212374") }
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `String` in this scope
[INFO] [stdout]   --> src/bindings/env.rs:18:26
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub type Args = IntoIter<String>;
[INFO] [stdout]    |                          ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 7  + use alloc::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 7  + use crate::libc::String;
[INFO] [stdout]    |
[INFO] [stdout] 7  + use ndless_sys::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope
[INFO] [stdout]   --> src/bindings/env.rs:54:16
[INFO] [stdout]    |
[INFO] [stdout] 54 |                 .collect::<Vec<_>>()
[INFO] [stdout]    |                            ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 7  + use alloc::vec::Vec;
[INFO] [stdout]    |
[INFO] [stdout] 7  + use crate::prelude::vec::Vec;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope
[INFO] [stdout]    --> src/bindings/input.rs:436:22
[INFO] [stdout]     |
[INFO] [stdout] 436 | pub fn get_keys() -> Vec<Key> {
[INFO] [stdout]     |                      ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 5   + use alloc::vec::Vec;
[INFO] [stdout]     |
[INFO] [stdout] 5   + use crate::prelude::vec::Vec;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `String` in this scope
[INFO] [stdout]    --> src/bindings/msg.rs:122:67
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub fn msg_input(title: &str, msg: &str, default: &str) -> Option<String> {
[INFO] [stdout]     |                                                                   ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 4   + use alloc::string::String;
[INFO] [stdout]     |
[INFO] [stdout] 4   + use crate::libc::String;
[INFO] [stdout]     |
[INFO] [stdout] 4   + use ndless_sys::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library
[INFO] [stdout]   --> src/lib.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | #![feature(core_intrinsics)]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: using it is strongly discouraged
[INFO] [stdout]    = note: `#[warn(internal_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]   --> src/bindings/env.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]  --> src/bindings/input.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]   --> src/bindings/msg.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FileTypeExt`
[INFO] [stdout]   --> src/file_io/sys/ext/mod.rs:33:22
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub use super::fs::{FileTypeExt, MetadataExt, OpenOptionsExt, PermissionsExt};
[INFO] [stdout]    |                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsRawFd`, `FromRawFd`, `IntoRawFd`, `RawFd`
[INFO] [stdout]   --> src/file_io/sys/ext/mod.rs:34:22
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub use super::io::{AsRawFd, FromRawFd, IntoRawFd, RawFd};
[INFO] [stdout]    |                         ^^^^^^^  ^^^^^^^^^  ^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndless_sys::NU_Open as open`
[INFO] [stdout]  --> src/libc.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use ndless_sys::NU_Open as open;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stat as lstat`
[INFO] [stdout]  --> src/libc.rs:6:52
[INFO] [stdout]   |
[INFO] [stdout] 6 |     nuc_closedir as closedir, nuc_opendir as opendir, stat as lstat, NU_Set_Current_Dir as chdir,
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]   --> src/lib.rs:24:10
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub use core::ffi::*;
[INFO] [stdout]    |             ^^^^^^^^^^^^ the name `CStr` in the type namespace is first re-exported here
[INFO] [stdout] 25 |
[INFO] [stdout] 26 |     pub use embedded_ffi::*;
[INFO] [stdout]    |             --------------- but the name `CStr` in the type namespace is also re-exported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(ambiguous_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `prelude` in `alloc`
[INFO] [stdout]   --> src/lib.rs:85:17
[INFO] [stdout]    |
[INFO] [stdout] 85 |     pub use alloc::prelude::v1::*;
[INFO] [stdout]    |                    ^^^^^^^ could not find `prelude` in `alloc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `super::Key`
[INFO] [stdout]    --> src/bindings/input.rs:476:6
[INFO] [stdout]     |
[INFO] [stdout] 476 |     use super::Key;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `llvm_asm` in this scope
[INFO] [stdout]   --> src/bindings/ndless.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |         unsafe { llvm_asm!(".long 0xE1212374") }
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `maybe_uninit_ref` has been stable since 1.55.0 and no longer requires an attribute to enable
[INFO] [stdout]   --> src/lib.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | #![feature(maybe_uninit_ref)]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `alloc_prelude`
[INFO] [stdout]  --> src/lib.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | #![feature(alloc_prelude, allocator_api)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `llvm_asm`
[INFO] [stdout]   --> src/lib.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | #![feature(llvm_asm)]
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `String` in this scope
[INFO] [stdout]   --> src/bindings/env.rs:18:26
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub type Args = IntoIter<String>;
[INFO] [stdout]    |                          ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 7  + use alloc::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 7  + use crate::libc::String;
[INFO] [stdout]    |
[INFO] [stdout] 7  + use ndless_sys::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope
[INFO] [stdout]   --> src/bindings/env.rs:54:16
[INFO] [stdout]    |
[INFO] [stdout] 54 |                 .collect::<Vec<_>>()
[INFO] [stdout]    |                            ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 7  + use alloc::vec::Vec;
[INFO] [stdout]    |
[INFO] [stdout] 7  + use crate::prelude::vec::Vec;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope
[INFO] [stdout]    --> src/bindings/input.rs:436:22
[INFO] [stdout]     |
[INFO] [stdout] 436 | pub fn get_keys() -> Vec<Key> {
[INFO] [stdout]     |                      ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 5   + use alloc::vec::Vec;
[INFO] [stdout]     |
[INFO] [stdout] 5   + use crate::prelude::vec::Vec;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `String` in this scope
[INFO] [stdout]    --> src/bindings/msg.rs:122:67
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub fn msg_input(title: &str, msg: &str, default: &str) -> Option<String> {
[INFO] [stdout]     |                                                                   ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 4   + use alloc::string::String;
[INFO] [stdout]     |
[INFO] [stdout] 4   + use crate::libc::String;
[INFO] [stdout]     |
[INFO] [stdout] 4   + use ndless_sys::String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library
[INFO] [stdout]   --> src/lib.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | #![feature(core_intrinsics)]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: using it is strongly discouraged
[INFO] [stdout]    = note: `#[warn(internal_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]   --> src/bindings/env.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]  --> src/bindings/input.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]   --> src/bindings/msg.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FileTypeExt`
[INFO] [stdout]   --> src/file_io/sys/ext/mod.rs:33:22
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub use super::fs::{FileTypeExt, MetadataExt, OpenOptionsExt, PermissionsExt};
[INFO] [stdout]    |                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsRawFd`, `FromRawFd`, `IntoRawFd`, `RawFd`
[INFO] [stdout]   --> src/file_io/sys/ext/mod.rs:34:22
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub use super::io::{AsRawFd, FromRawFd, IntoRawFd, RawFd};
[INFO] [stdout]    |                         ^^^^^^^  ^^^^^^^^^  ^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndless_sys::NU_Open as open`
[INFO] [stdout]  --> src/libc.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use ndless_sys::NU_Open as open;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stat as lstat`
[INFO] [stdout]  --> src/libc.rs:6:52
[INFO] [stdout]   |
[INFO] [stdout] 6 |     nuc_closedir as closedir, nuc_opendir as opendir, stat as lstat, NU_Set_Current_Dir as chdir,
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]   --> src/lib.rs:24:10
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub use core::ffi::*;
[INFO] [stdout]    |             ^^^^^^^^^^^^ the name `CStr` in the type namespace is first re-exported here
[INFO] [stdout] 25 |
[INFO] [stdout] 26 |     pub use embedded_ffi::*;
[INFO] [stdout]    |             --------------- but the name `CStr` in the type namespace is also re-exported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(ambiguous_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `maybe_uninit_ref` has been stable since 1.55.0 and no longer requires an attribute to enable
[INFO] [stdout]   --> src/lib.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | #![feature(maybe_uninit_ref)]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `alloc_prelude`
[INFO] [stdout]  --> src/lib.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | #![feature(alloc_prelude, allocator_api)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `llvm_asm`
[INFO] [stdout]   --> src/lib.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | #![feature(llvm_asm)]
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_string` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/bindings/env.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | /                     unsafe { CStr::from_ptr(*arg) }
[INFO] [stdout] 50 | |                         .to_str()
[INFO] [stdout] 51 | |                         .unwrap()
[INFO] [stdout] 52 | |                         .to_string()
[INFO] [stdout]    | |                         -^^^^^^^^^ method not found in `&str`
[INFO] [stdout]    | |_________________________|
[INFO] [stdout]    | 
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `ToString` which provides `to_string` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 7  + use crate::alloc::string::ToString;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]   --> src/bindings/env.rs:45:11
[INFO] [stdout]    |
[INFO] [stdout] 45 |     unsafe { &crate::ARGUMENTS }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] help: use `addr_of!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 45 |     unsafe { addr_of!(crate::ARGUMENTS) }
[INFO] [stdout]    |              ~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_string` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/bindings/env.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | /                     unsafe { CStr::from_ptr(*arg) }
[INFO] [stdout] 50 | |                         .to_str()
[INFO] [stdout] 51 | |                         .unwrap()
[INFO] [stdout] 52 | |                         .to_string()
[INFO] [stdout]    | |                         -^^^^^^^^^ method not found in `&str`
[INFO] [stdout]    | |_________________________|
[INFO] [stdout]    | 
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `ToString` which provides `to_string` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 7  + use crate::alloc::string::ToString;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]   --> src/bindings/env.rs:45:11
[INFO] [stdout]    |
[INFO] [stdout] 45 |     unsafe { &crate::ARGUMENTS }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] help: use `addr_of!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 45 |     unsafe { addr_of!(crate::ARGUMENTS) }
[INFO] [stdout]    |              ~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors; 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599, E0635.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ndless` (lib) due to 11 previous errors; 11 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 10 previous errors; 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599, E0635.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ndless` (lib test) due to 11 previous errors; 11 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b460a5ef9f90855413feafb7ad997e70f14c4eca640806ebb31c1416282cc26e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b460a5ef9f90855413feafb7ad997e70f14c4eca640806ebb31c1416282cc26e", kill_on_drop: false }`
[INFO] [stdout] b460a5ef9f90855413feafb7ad997e70f14c4eca640806ebb31c1416282cc26e
