[INFO] fetching crate light-cli 0.1.0... [INFO] testing light-cli-0.1.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate light-cli 0.1.0 into /workspace/builds/worker-29/source [INFO] validating manifest of crates.io crate light-cli 0.1.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-29/source/.cargo/config [INFO] started tweaking crates.io crate light-cli 0.1.0 [INFO] finished tweaking crates.io crate light-cli 0.1.0 [INFO] tweaked toml for crates.io crate light-cli 0.1.0 written to /workspace/builds/worker-29/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ef7e27d38963e6726afad73a21fec6a8a2631fbbe0f7a43baca7809be669f94 [INFO] running `Command { std: "docker" "start" "-a" "2ef7e27d38963e6726afad73a21fec6a8a2631fbbe0f7a43baca7809be669f94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ef7e27d38963e6726afad73a21fec6a8a2631fbbe0f7a43baca7809be669f94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ef7e27d38963e6726afad73a21fec6a8a2631fbbe0f7a43baca7809be669f94", kill_on_drop: false }` [INFO] [stdout] 2ef7e27d38963e6726afad73a21fec6a8a2631fbbe0f7a43baca7809be669f94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad81e01e45063df59da706ee32cb882713e09b7e43c7f6e6f3b11b8f2126b89d [INFO] running `Command { std: "docker" "start" "-a" "ad81e01e45063df59da706ee32cb882713e09b7e43c7f6e6f3b11b8f2126b89d", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling heapless v0.4.4 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling generic-array v0.11.2 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling as-slice v0.1.5 [INFO] [stderr] Compiling light-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | writer: &'a mut Write [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - writer: &'a mut Write [INFO] [stdout] 11 + writer: &'a mut dyn Write [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokenizer.rs:137:41 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn fill(&mut self, ser: &mut Read) -> nb::Result<(), E> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 137 - pub fn fill(&mut self, ser: &mut Read) -> nb::Result<(), E> { [INFO] [stdout] 137 + pub fn fill(&mut self, ser: &mut dyn Read) -> nb::Result<(), E> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(writer: &'a mut Write) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - pub fn new(writer: &'a mut Write) -> Self { [INFO] [stdout] 39 + pub fn new(writer: &'a mut dyn Write) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input.rs:47:41 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn fill(&mut self, ser: &mut Read) -> nb::Result<(), E> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - pub fn fill(&mut self, ser: &mut Read) -> nb::Result<(), E> { [INFO] [stdout] 47 + pub fn fill(&mut self, ser: &mut dyn Read) -> nb::Result<(), E> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.47s [INFO] running `Command { std: "docker" "inspect" "ad81e01e45063df59da706ee32cb882713e09b7e43c7f6e6f3b11b8f2126b89d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad81e01e45063df59da706ee32cb882713e09b7e43c7f6e6f3b11b8f2126b89d", kill_on_drop: false }` [INFO] [stdout] ad81e01e45063df59da706ee32cb882713e09b7e43c7f6e6f3b11b8f2126b89d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 833abd9f71a53bc23a96858ac5434dd929a4e8244c7d77d2a36f7e91006ba7ea [INFO] running `Command { std: "docker" "start" "-a" "833abd9f71a53bc23a96858ac5434dd929a4e8244c7d77d2a36f7e91006ba7ea", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | writer: &'a mut Write [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - writer: &'a mut Write [INFO] [stdout] 11 + writer: &'a mut dyn Write [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokenizer.rs:137:41 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn fill(&mut self, ser: &mut Read) -> nb::Result<(), E> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 137 - pub fn fill(&mut self, ser: &mut Read) -> nb::Result<(), E> { [INFO] [stdout] 137 + pub fn fill(&mut self, ser: &mut dyn Read) -> nb::Result<(), E> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(writer: &'a mut Write) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - pub fn new(writer: &'a mut Write) -> Self { [INFO] [stdout] 39 + pub fn new(writer: &'a mut dyn Write) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input.rs:47:41 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn fill(&mut self, ser: &mut Read) -> nb::Result<(), E> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - pub fn fill(&mut self, ser: &mut Read) -> nb::Result<(), E> { [INFO] [stdout] 47 + pub fn fill(&mut self, ser: &mut dyn Read) -> nb::Result<(), E> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling light-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `heapless::RingBuffer` [INFO] [stdout] --> src/tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use heapless::RingBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `RingBuffer` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | writer: &'a mut Write [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - writer: &'a mut Write [INFO] [stdout] 11 + writer: &'a mut dyn Write [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokenizer.rs:137:41 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn fill(&mut self, ser: &mut Read) -> nb::Result<(), E> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 137 - pub fn fill(&mut self, ser: &mut Read) -> nb::Result<(), E> { [INFO] [stdout] 137 + pub fn fill(&mut self, ser: &mut dyn Read) -> nb::Result<(), E> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(writer: &'a mut Write) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - pub fn new(writer: &'a mut Write) -> Self { [INFO] [stdout] 39 + pub fn new(writer: &'a mut dyn Write) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input.rs:47:41 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn fill(&mut self, ser: &mut Read) -> nb::Result<(), E> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - pub fn fill(&mut self, ser: &mut Read) -> nb::Result<(), E> { [INFO] [stdout] 47 + pub fn fill(&mut self, ser: &mut dyn Read) -> nb::Result<(), E> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `light-cli` due to 2 previous errors; 4 warnings emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0463]: can't find crate for `cortex_m` [INFO] [stdout] --> examples/stm32.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate cortex_m; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `cortex_m_rt` [INFO] [stdout] --> examples/stm32.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | extern crate cortex_m_rt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `stm32f1xx_hal` [INFO] [stdout] --> examples/stm32.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern crate stm32f1xx_hal as dev_hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entry` in this scope [INFO] [stdout] --> examples/stm32.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | #[entry] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Serial` [INFO] [stdout] --> examples/stm32.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | let serial = Serial::usart1( [INFO] [stdout] | ^^^^^^ use of undeclared type `Serial` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] | [INFO] [stdout] = note: this can occur when a binary crate with `#![no_std]` is compiled for a target where `eh_personality` is defined in the standard library [INFO] [stdout] = help: you may be able to compile for a target that doesn't need `eh_personality`, specify a target with `--target` or in `.cargo/config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'panic_abort' [INFO] [stdout] --> examples/stm32.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | extern crate panic_abort; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #32837 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bps` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/stm32.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | 9_600.bps(), [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `light-cli` due to 10 previous errors [INFO] [stdout] Some errors have detailed explanations: E0433, E0463, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "833abd9f71a53bc23a96858ac5434dd929a4e8244c7d77d2a36f7e91006ba7ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "833abd9f71a53bc23a96858ac5434dd929a4e8244c7d77d2a36f7e91006ba7ea", kill_on_drop: false }` [INFO] [stdout] 833abd9f71a53bc23a96858ac5434dd929a4e8244c7d77d2a36f7e91006ba7ea