[INFO] fetching crate bmi-calculator 0.2.3... [INFO] testing bmi-calculator-0.2.3 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate bmi-calculator 0.2.3 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate bmi-calculator 0.2.3 [INFO] finished tweaking crates.io crate bmi-calculator 0.2.3 [INFO] tweaked toml for crates.io crate bmi-calculator 0.2.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bmi-calculator 0.2.3 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bmi-calculator 0.2.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47e7b92af8f777001cc4ee979646099293beb158988cf655eae0ed87618d71c3 [INFO] running `Command { std: "docker" "start" "-a" "47e7b92af8f777001cc4ee979646099293beb158988cf655eae0ed87618d71c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47e7b92af8f777001cc4ee979646099293beb158988cf655eae0ed87618d71c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47e7b92af8f777001cc4ee979646099293beb158988cf655eae0ed87618d71c3", kill_on_drop: false }` [INFO] [stdout] 47e7b92af8f777001cc4ee979646099293beb158988cf655eae0ed87618d71c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46f8264e0422c41c970498aec5d31b4cf901d7d8dca464d77c0b854261216687 [INFO] running `Command { std: "docker" "start" "-a" "46f8264e0422c41c970498aec5d31b4cf901d7d8dca464d77c0b854261216687", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cty v0.1.5 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling cty v0.2.1 [INFO] [stderr] Compiling ndless-static-vars v2.1.0 [INFO] [stderr] Compiling ndless-sys v0.2.0 [INFO] [stderr] Compiling cstr_core v0.1.2 [INFO] [stderr] Compiling embedded-ffi v0.1.2 [INFO] [stderr] Compiling ndless-macros v0.4.0 [INFO] [stderr] Compiling ndless v0.8.7 [INFO] [stdout] error[E0433]: failed to resolve: could not find `prelude` in `alloc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndless-0.8.7/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndless-0.8.7/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndless-0.8.7/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndless-0.8.7/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 crate::libc::String; [INFO] [stdout] | [INFO] [stdout] 7 + use alloc::string::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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndless-0.8.7/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 structs [INFO] [stdout] | [INFO] [stdout] 7 + use crate::prelude::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 7 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndless-0.8.7/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 structs [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 5 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndless-0.8.7/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 crate::libc::String; [INFO] [stdout] | [INFO] [stdout] 4 + use alloc::string::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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndless-0.8.7/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndless-0.8.7/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndless-0.8.7/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[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndless-0.8.7/src/lib.rs:114:14 [INFO] [stdout] | [INFO] [stdout] 114 | .and_then(|path| path.parent().map(env::set_current_dir)); [INFO] [stdout] | ^^^^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 114 | .and_then(|path: /* Type */| path.parent().map(env::set_current_dir)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0432, E0433, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ndless` (lib) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "46f8264e0422c41c970498aec5d31b4cf901d7d8dca464d77c0b854261216687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46f8264e0422c41c970498aec5d31b4cf901d7d8dca464d77c0b854261216687", kill_on_drop: false }` [INFO] [stdout] 46f8264e0422c41c970498aec5d31b4cf901d7d8dca464d77c0b854261216687