[INFO] fetching crate light-cli 0.1.0... [INFO] checking light-cli-0.1.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate light-cli 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate light-cli 0.1.0 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] removed /workspace/builds/worker-7-tc1/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-7-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 41 packages [INFO] [stderr] Adding aligned v0.2.0 (latest: v0.4.2) [INFO] [stderr] Adding aligned v0.3.5 (latest: v0.4.2) [INFO] [stderr] Adding as-slice v0.1.5 (latest: v0.2.1) [INFO] [stderr] Adding bare-metal v0.2.5 (latest: v1.0.0) [INFO] [stderr] Adding bitfield v0.13.2 (latest: v0.14.0) [INFO] [stderr] Adding cast v0.2.7 (latest: v0.3.0) [INFO] [stderr] Adding cortex-m v0.5.11 (latest: v0.7.7) [INFO] [stderr] Adding cortex-m v0.6.7 (latest: v0.7.7) [INFO] [stderr] Adding cortex-m-rt v0.6.15 (latest: v0.7.3) [INFO] [stderr] Adding cortex-m-rt-macros v0.6.15 (latest: v0.7.0) [INFO] [stderr] Adding embedded-hal v0.2.7 (latest: v1.0.0) [INFO] [stderr] Adding generic-array v0.11.2 (latest: v1.0.0) [INFO] [stderr] Adding generic-array v0.12.4 (latest: v1.0.0) [INFO] [stderr] Adding generic-array v0.13.3 (latest: v1.0.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding hash32 v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding heapless v0.4.4 (latest: v0.8.0) [INFO] [stderr] Adding nb v0.1.3 (latest: v1.1.0) [INFO] [stderr] Adding r0 v0.2.2 (latest: v1.0.0) [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.0) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.22) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding stm32f1 v0.6.0 (latest: v0.15.1) [INFO] [stderr] Adding stm32f1xx-hal v0.2.1 (latest: v0.10.0) [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 as-slice v0.1.5 [INFO] [stderr] Downloaded volatile-register v0.2.2 [INFO] [stderr] Downloaded aligned v0.3.5 [INFO] [stderr] Downloaded cortex-m v0.5.11 [INFO] [stderr] Downloaded generic-array v0.13.3 [INFO] [stderr] Downloaded cortex-m v0.6.7 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.6.15 [INFO] [stderr] Downloaded cortex-m-rt v0.6.15 [INFO] [stderr] Downloaded aligned v0.2.0 [INFO] [stderr] Downloaded generic-array v0.11.2 [INFO] [stderr] Downloaded heapless v0.4.4 [INFO] [stderr] Downloaded r0 v0.2.2 [INFO] [stderr] Downloaded panic-abort v0.3.2 [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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] c87326b36dc2111ec63fe9ae2c4aea8380ba0981683ed804bc446ed86f6e9030 [INFO] running `Command { std: "docker" "start" "-a" "c87326b36dc2111ec63fe9ae2c4aea8380ba0981683ed804bc446ed86f6e9030", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c87326b36dc2111ec63fe9ae2c4aea8380ba0981683ed804bc446ed86f6e9030", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c87326b36dc2111ec63fe9ae2c4aea8380ba0981683ed804bc446ed86f6e9030", kill_on_drop: false }` [INFO] [stdout] c87326b36dc2111ec63fe9ae2c4aea8380ba0981683ed804bc446ed86f6e9030 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 656d38a757c55c58044197cf2201665b447a796a5296722ead17dc688a7af249 [INFO] running `Command { std: "docker" "start" "-a" "656d38a757c55c58044197cf2201665b447a796a5296722ead17dc688a7af249", kill_on_drop: false }` [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling heapless v0.4.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking generic-array v0.11.2 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking light-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `core` is imported redundantly [INFO] [stdout] --> src/tokenizer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core; [INFO] [stdout] | ^^^^ the item `core` is already imported by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nb` is imported redundantly [INFO] [stdout] --> src/tokenizer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nb; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub extern crate nb; [INFO] [stdout] | -------------------- the item `nb` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `heapless` is imported redundantly [INFO] [stdout] --> src/tokenizer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use heapless; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | pub extern crate heapless; [INFO] [stdout] | -------------------------- the item `heapless` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nb` is imported redundantly [INFO] [stdout] --> src/lexer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nb; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub extern crate nb; [INFO] [stdout] | -------------------- the item `nb` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `core` is imported redundantly [INFO] [stdout] --> src/output.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core; [INFO] [stdout] | ^^^^ the item `core` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nb` is imported redundantly [INFO] [stdout] --> src/output.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nb; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub extern crate nb; [INFO] [stdout] | -------------------- the item `nb` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `heapless` is imported redundantly [INFO] [stdout] --> src/input.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use heapless; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | pub extern crate heapless; [INFO] [stdout] | -------------------------- the item `heapless` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nb` is imported redundantly [INFO] [stdout] --> src/input.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nb; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub extern crate nb; [INFO] [stdout] | -------------------- the item `nb` is already imported here [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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | pub fn fill(&mut self, ser: &mut dyn Read) -> nb::Result<(), E> { [INFO] [stdout] | +++ [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: the item `core` is imported redundantly [INFO] [stdout] --> src/tokenizer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core; [INFO] [stdout] | ^^^^ the item `core` is already imported by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nb` is imported redundantly [INFO] [stdout] --> src/tokenizer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nb; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub extern crate nb; [INFO] [stdout] | -------------------- the item `nb` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `heapless` is imported redundantly [INFO] [stdout] --> src/tokenizer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use heapless; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | pub extern crate heapless; [INFO] [stdout] | -------------------------- the item `heapless` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nb` is imported redundantly [INFO] [stdout] --> src/lexer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nb; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub extern crate nb; [INFO] [stdout] | -------------------- the item `nb` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `core` is imported redundantly [INFO] [stdout] --> src/output.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core; [INFO] [stdout] | ^^^^ the item `core` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nb` is imported redundantly [INFO] [stdout] --> src/output.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nb; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub extern crate nb; [INFO] [stdout] | -------------------- the item `nb` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `heapless` is imported redundantly [INFO] [stdout] --> src/input.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use heapless; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | pub extern crate heapless; [INFO] [stdout] | -------------------------- the item `heapless` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nb` is imported redundantly [INFO] [stdout] --> src/input.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nb; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub extern crate nb; [INFO] [stdout] | -------------------- the item `nb` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nb` is imported redundantly [INFO] [stdout] --> src/tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use nb; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub extern crate nb; [INFO] [stdout] | -------------------- the item `nb` is already imported here [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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | pub fn fill(&mut self, ser: &mut dyn Read) -> nb::Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [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] [stderr] error: could not compile `light-cli` (lib test) due to 2 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [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] = help: add `#![feature(panic_abort)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-03-29; consider upgrading it if it is out of date [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `light-cli` (example "stm32") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "656d38a757c55c58044197cf2201665b447a796a5296722ead17dc688a7af249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "656d38a757c55c58044197cf2201665b447a796a5296722ead17dc688a7af249", kill_on_drop: false }` [INFO] [stdout] 656d38a757c55c58044197cf2201665b447a796a5296722ead17dc688a7af249