[INFO] fetching crate ndless 0.8.7... [INFO] checking ndless-0.8.7 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [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 af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 13 packages [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.57) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ndless-sys v0.2.0 [INFO] [stderr] Downloaded ndless-macros v0.4.0 [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 cty v0.1.5 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69e7431af954c883b51103e4b3b17c54d851b807abc96673ef3c52ba6245e95f [INFO] running `Command { std: "docker" "start" "-a" "69e7431af954c883b51103e4b3b17c54d851b807abc96673ef3c52ba6245e95f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69e7431af954c883b51103e4b3b17c54d851b807abc96673ef3c52ba6245e95f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69e7431af954c883b51103e4b3b17c54d851b807abc96673ef3c52ba6245e95f", kill_on_drop: false }` [INFO] [stdout] 69e7431af954c883b51103e4b3b17c54d851b807abc96673ef3c52ba6245e95f [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ed2af394a8ff496c1bc84fcbd5122625725eba718159358246f2fb3406bf409 [INFO] running `Command { std: "docker" "start" "-a" "4ed2af394a8ff496c1bc84fcbd5122625725eba718159358246f2fb3406bf409", kill_on_drop: false }` [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking cty v0.1.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling 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; [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::>() [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 { [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 { [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: the item `From` is imported redundantly [INFO] [stdout] --> src/file_io/io/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:47:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [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] 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: 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; [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::>() [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 { [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 { [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: the item `From` is imported redundantly [INFO] [stdout] --> src/file_io/io/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:47:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/file_io/path.rs:2692:6 [INFO] [stdout] | [INFO] [stdout] 2691 | use super::*; [INFO] [stdout] | -------- the item `Rc` is already imported here [INFO] [stdout] 2692 | use alloc::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Arc` is imported redundantly [INFO] [stdout] --> src/file_io/path.rs:2694:6 [INFO] [stdout] | [INFO] [stdout] 2691 | use super::*; [INFO] [stdout] | -------- the item `Arc` is already imported here [INFO] [stdout] ... [INFO] [stdout] 2694 | use alloc::sync::Arc; [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: 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: 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 [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] 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 [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; 12 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; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 10 previous errors; 14 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; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4ed2af394a8ff496c1bc84fcbd5122625725eba718159358246f2fb3406bf409", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ed2af394a8ff496c1bc84fcbd5122625725eba718159358246f2fb3406bf409", kill_on_drop: false }` [INFO] [stdout] 4ed2af394a8ff496c1bc84fcbd5122625725eba718159358246f2fb3406bf409 [INFO] checking ndless-0.8.7 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [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 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12d35ac07296be44e21b19b2d78f7bbe4bfc029910256dc56c2d9bed407f3327 [INFO] running `Command { std: "docker" "start" "-a" "12d35ac07296be44e21b19b2d78f7bbe4bfc029910256dc56c2d9bed407f3327", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12d35ac07296be44e21b19b2d78f7bbe4bfc029910256dc56c2d9bed407f3327", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12d35ac07296be44e21b19b2d78f7bbe4bfc029910256dc56c2d9bed407f3327", kill_on_drop: false }` [INFO] [stdout] 12d35ac07296be44e21b19b2d78f7bbe4bfc029910256dc56c2d9bed407f3327 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6f09f3ceef95d0af3f14a3c0d8f05c4ce88283c6186c7da937ea774087598a9 [INFO] running `Command { std: "docker" "start" "-a" "a6f09f3ceef95d0af3f14a3c0d8f05c4ce88283c6186c7da937ea774087598a9", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "a6f09f3ceef95d0af3f14a3c0d8f05c4ce88283c6186c7da937ea774087598a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6f09f3ceef95d0af3f14a3c0d8f05c4ce88283c6186c7da937ea774087598a9", kill_on_drop: false }` [INFO] [stdout] a6f09f3ceef95d0af3f14a3c0d8f05c4ce88283c6186c7da937ea774087598a9