[INFO] fetching crate ndless 0.8.7... [INFO] checking ndless-0.8.7 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] extracting crate ndless 0.8.7 into /workspace/builds/worker-6-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-6-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.58) [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 cty v0.1.5 [INFO] [stderr] Downloaded ndless-macros v0.4.0 [INFO] [stderr] Downloaded ndless-static-vars v2.1.0 [INFO] [stderr] Downloaded embedded-ffi v0.1.2 [INFO] [stderr] Downloaded ndless-sys v0.2.0 [INFO] [stderr] Downloaded cstr_core v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 3db18250e61c9a787cdbe9b06f81152000bb76fa9bb805f45b1f28eaa1cd6de9 [INFO] running `Command { std: "docker" "start" "-a" "3db18250e61c9a787cdbe9b06f81152000bb76fa9bb805f45b1f28eaa1cd6de9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3db18250e61c9a787cdbe9b06f81152000bb76fa9bb805f45b1f28eaa1cd6de9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3db18250e61c9a787cdbe9b06f81152000bb76fa9bb805f45b1f28eaa1cd6de9", kill_on_drop: false }` [INFO] [stdout] 3db18250e61c9a787cdbe9b06f81152000bb76fa9bb805f45b1f28eaa1cd6de9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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] 3a8cfc9fcba40cf6addb20c44ff7dc375b10e3bd28ceda576cf8db913d4e6e88 [INFO] running `Command { std: "docker" "start" "-a" "3a8cfc9fcba40cf6addb20c44ff7dc375b10e3bd28ceda576cf8db913d4e6e88", kill_on_drop: false }` [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking cty v0.1.5 [INFO] [stderr] Checking cstr_core v0.1.2 [INFO] [stderr] Compiling ndless-static-vars v2.1.0 [INFO] [stderr] Checking ndless-sys v0.2.0 [INFO] [stderr] Compiling ndless-macros v0.4.0 [INFO] [stderr] Checking embedded-ffi v0.1.2 [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] 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[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; [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] 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] 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] error: aborting due to 10 previous errors [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 [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 10 previous errors [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 [INFO] running `Command { std: "docker" "inspect" "3a8cfc9fcba40cf6addb20c44ff7dc375b10e3bd28ceda576cf8db913d4e6e88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a8cfc9fcba40cf6addb20c44ff7dc375b10e3bd28ceda576cf8db913d4e6e88", kill_on_drop: false }` [INFO] [stdout] 3a8cfc9fcba40cf6addb20c44ff7dc375b10e3bd28ceda576cf8db913d4e6e88