[INFO] fetching crate light-cli 0.1.0... [INFO] testing light-cli-0.1.0 against 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aligned v0.3.5 [INFO] [stderr] Downloaded aligned v0.2.0 [INFO] [stderr] Downloaded as-slice v0.1.5 [INFO] [stderr] Downloaded hash32 v0.1.1 [INFO] [stderr] Downloaded panic-abort v0.3.2 [INFO] [stderr] Downloaded generic-array v0.13.3 [INFO] [stderr] Downloaded cortex-m v0.6.7 [INFO] [stderr] Downloaded cortex-m v0.5.11 [INFO] [stderr] Downloaded generic-array v0.11.2 [INFO] [stderr] Downloaded heapless v0.4.4 [INFO] [stderr] Downloaded stm32f1 v0.6.0 [INFO] [stderr] Downloaded stm32f1xx-hal v0.2.1 [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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7af18eb5125eb8b3dc0e9a14f26b079a34e4927d1a31daa6964ded6bc84d64a4 [INFO] running `Command { std: "docker" "start" "-a" "7af18eb5125eb8b3dc0e9a14f26b079a34e4927d1a31daa6964ded6bc84d64a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7af18eb5125eb8b3dc0e9a14f26b079a34e4927d1a31daa6964ded6bc84d64a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7af18eb5125eb8b3dc0e9a14f26b079a34e4927d1a31daa6964ded6bc84d64a4", kill_on_drop: false }` [INFO] [stdout] 7af18eb5125eb8b3dc0e9a14f26b079a34e4927d1a31daa6964ded6bc84d64a4 [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d43a8c383bcb4024f87e3bcbd13f8209a886bb906bb683feb79d8d039bb0b9b [INFO] running `Command { std: "docker" "start" "-a" "2d43a8c383bcb4024f87e3bcbd13f8209a886bb906bb683feb79d8d039bb0b9b", kill_on_drop: false }` [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling heapless v0.4.4 [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 3.12s [INFO] running `Command { std: "docker" "inspect" "2d43a8c383bcb4024f87e3bcbd13f8209a886bb906bb683feb79d8d039bb0b9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d43a8c383bcb4024f87e3bcbd13f8209a886bb906bb683feb79d8d039bb0b9b", kill_on_drop: false }` [INFO] [stdout] 2d43a8c383bcb4024f87e3bcbd13f8209a886bb906bb683feb79d8d039bb0b9b [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf81cb58f1e90ccff30e22a7e89c453c451c1a379fde3e1a825fdb65aad93a31 [INFO] running `Command { std: "docker" "start" "-a" "cf81cb58f1e90ccff30e22a7e89c453c451c1a379fde3e1a825fdb65aad93a31", 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[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[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] 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] [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] [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] error: could not compile `light-cli` due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cf81cb58f1e90ccff30e22a7e89c453c451c1a379fde3e1a825fdb65aad93a31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf81cb58f1e90ccff30e22a7e89c453c451c1a379fde3e1a825fdb65aad93a31", kill_on_drop: false }` [INFO] [stdout] cf81cb58f1e90ccff30e22a7e89c453c451c1a379fde3e1a825fdb65aad93a31