[INFO] cloning repository https://github.com/viktorfrom/e7030e-embedded-system-design [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/viktorfrom/e7030e-embedded-system-design" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviktorfrom%2Fe7030e-embedded-system-design", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviktorfrom%2Fe7030e-embedded-system-design'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 72339372c44f08d44f52aa7a39b51b36b4479336 [INFO] checking viktorfrom/e7030e-embedded-system-design against try#8c500c7cefd54fd11d57295f3771d576be9ee415 for pr-145113 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviktorfrom%2Fe7030e-embedded-system-design" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/viktorfrom/e7030e-embedded-system-design [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/viktorfrom/e7030e-embedded-system-design [INFO] tweaked toml for git repo https://github.com/viktorfrom/e7030e-embedded-system-design written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/viktorfrom/e7030e-embedded-system-design on toolchain 8c500c7cefd54fd11d57295f3771d576be9ee415 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/viktorfrom/e7030e-embedded-system-design 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" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://git.grepit.se/grepit/communicator.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://git.grepit.se/viktor.sonesten/lora-rs.git` [INFO] [stderr] Updating git submodule `https://git.grepit.se/grepit/lora.git` [INFO] [stderr] Updating git repository `https://git.grepit.se/grepit/radio-messages.git` [INFO] [stderr] Updating git repository `https://git.grepit.se/grepit/lora-rs.git` [INFO] [stderr] Updating git submodule `https://git.grepit.se/grepit/lora.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ufmt-macros v0.1.1 [INFO] [stderr] Downloaded tinybmp v0.2.2 [INFO] [stderr] Downloaded cortex-m v0.6.2 [INFO] [stderr] Downloaded embedded-hal v0.2.3 [INFO] [stderr] Downloaded cortex-m-semihosting v0.3.5 [INFO] [stderr] Downloaded nb v0.1.2 [INFO] [stderr] Downloaded stm32l0xx-hal v0.5.0 [INFO] [stderr] Downloaded cobs v0.1.4 [INFO] [stderr] Downloaded cortex-m v0.5.10 [INFO] [stderr] Downloaded panic-semihosting v0.5.3 [INFO] [stderr] Downloaded heapless v0.4.4 [INFO] [stderr] Downloaded cortex-m-rtfm v0.4.3 [INFO] [stderr] Downloaded cortex-m-rtfm-macros v0.4.3 [INFO] [stderr] Downloaded embedded-graphics v0.6.0-alpha.3 [INFO] [stderr] Downloaded ufmt v0.1.0 [INFO] [stderr] Downloaded cortex-m-rtfm-macros v0.5.0 [INFO] [stderr] Downloaded cortex-m-rtfm v0.5.1 [INFO] [stderr] Downloaded heapless v0.5.3 [INFO] [stderr] Downloaded postcard v0.4.3 [INFO] [stderr] Downloaded owned-singleton-macros v0.1.0 [INFO] [stderr] Downloaded owned-singleton v0.1.0 [INFO] [stderr] Downloaded cty v0.2.1 [INFO] [stderr] Downloaded postcard-cobs v0.1.5-pre [INFO] [stderr] Downloaded rtfm-syntax v0.4.0 [INFO] [stderr] Downloaded rtfm-core v0.3.0 [INFO] [stderr] Downloaded ssd1306 v0.3.0-alpha.4 [INFO] [stderr] Downloaded stm32l0 v0.9.0 [INFO] [stderr] Downloaded cargo-5730 v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0776ac4fe32c2c29811a5075f232236d577f3d6ad52eb40033185cf14bb2648d [INFO] running `Command { std: "docker" "start" "-a" "0776ac4fe32c2c29811a5075f232236d577f3d6ad52eb40033185cf14bb2648d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0776ac4fe32c2c29811a5075f232236d577f3d6ad52eb40033185cf14bb2648d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0776ac4fe32c2c29811a5075f232236d577f3d6ad52eb40033185cf14bb2648d", kill_on_drop: false }` [INFO] [stdout] 0776ac4fe32c2c29811a5075f232236d577f3d6ad52eb40033185cf14bb2648d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe658f31064528919ddc3a91f8cc8bc6d72ffee815015f9b401bbe61d2a226dc [INFO] running `Command { std: "docker" "start" "-a" "fe658f31064528919ddc3a91f8cc8bc6d72ffee815015f9b401bbe61d2a226dc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cortex-m v0.6.2 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cortex-m-rt v0.6.12 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.5 [INFO] [stderr] Compiling heapless v0.5.3 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking nb v0.1.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Compiling stm32l0 v0.9.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crc16 v0.4.0 [INFO] [stderr] Checking embedded-hal v0.2.3 [INFO] [stderr] Compiling stm32l0xx-hal v0.5.0 [INFO] [stderr] Compiling ssd1306 v0.3.0-alpha.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling cortex-m-rtfm v0.5.1 [INFO] [stderr] Checking rtfm-core v0.3.0 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Checking postcard-cobs v0.1.5-pre [INFO] [stderr] Checking cobs v0.1.4 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Checking embedded-graphics v0.6.0-alpha.3 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking as-slice v0.1.3 [INFO] [stderr] Checking aligned v0.3.2 [INFO] [stderr] Checking panic-semihosting v0.5.3 [INFO] [stderr] Checking tinybmp v0.2.2 [INFO] [stderr] Compiling rtfm-syntax v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling ufmt-macros v0.1.1 [INFO] [stderr] Checking ufmt v0.1.0 [INFO] [stderr] Compiling cortex-m-rtfm-macros v0.5.0 [INFO] [stderr] Checking postcard v0.4.3 [INFO] [stderr] Checking e7020e-embedded-system-design v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `longfi_device` [INFO] [stdout] --> examples/longfi_bindings.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use longfi_device::{AntPinsMode, Spi}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `longfi_device` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `longfi_device`, use `cargo add longfi_device` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mode`, `Phase`, `Polarity`, `exti::TriggerEdge`, `pac`, and `timer::Timer` [INFO] [stdout] --> examples/oled2.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | exti::TriggerEdge, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | gpio::*, [INFO] [stdout] 15 | pac, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | spi::{self, Mode, NoMiso, Phase, Polarity}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] 19 | syscfg, [INFO] [stdout] 20 | timer::Timer, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DWT`, `Peripherals`, and `syst` [INFO] [stdout] --> examples/buzzer.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use cortex_m::peripheral::{syst, Peripherals, DWT}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cortex_m_semihosting::hprintln` [INFO] [stdout] --> examples/buzzer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use cortex_m_semihosting::hprintln; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stm32l0xx_hal as hal` [INFO] [stdout] --> examples/buzzer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use stm32l0xx_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `adc`, `spi`, and `stm32` [INFO] [stdout] --> examples/buzzer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | adc, exti::TriggerEdge, gpio::*, pac, prelude::*, rcc, rcc::Config, spi, stm32, syscfg, timer, [INFO] [stdout] | ^^^ ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `core` [INFO] [stdout] --> examples/buzzer.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[rtfm::app(device = stm32l0xx_hal::pac, peripherals = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `rtfm::app` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `rtfm::app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `rtfm::app` (in Nightly builds, run with -Z macro-backtrace for more info) [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] warning: unused import: `PrimitiveStyle` [INFO] [stdout] --> examples/oled2.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | style::{PrimitiveStyle, PrimitiveStyleBuilder, TextStyle}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `core` [INFO] [stdout] --> examples/oled2.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | #[app(device = stm32l0xx_hal::pac, peripherals = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `app` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [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] warning: unused import: `prelude::*` [INFO] [stdout] --> examples/oled.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use ssd1306::{mode::TerminalMode, prelude::*, Builder}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mode`, `Phase`, `Polarity`, `exti::TriggerEdge`, `pac`, and `timer::Timer` [INFO] [stdout] --> examples/oled.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | exti::TriggerEdge, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | gpio::*, [INFO] [stdout] 14 | pac, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | spi::{self, Mode, NoMiso, Phase, Polarity}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] 18 | syscfg, [INFO] [stdout] 19 | timer::Timer, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `core` [INFO] [stdout] --> examples/oled.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[app(device = stm32l0xx_hal::pac, peripherals = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `app` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [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] warning: unused imports: `DWT`, `Peripherals`, and `syst` [INFO] [stdout] --> examples/breathalyzer.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use cortex_m::peripheral::{syst, Peripherals, DWT}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stm32l0xx_hal as hal` [INFO] [stdout] --> examples/breathalyzer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use stm32l0xx_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `spi` and `stm32` [INFO] [stdout] --> examples/breathalyzer.rs:11:68 [INFO] [stdout] | [INFO] [stdout] 11 | adc, exti::TriggerEdge, gpio::*, pac, prelude::*, rcc::Config, spi, stm32, syscfg, timer, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `core` [INFO] [stdout] --> examples/breathalyzer.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[rtfm::app(device = stm32l0xx_hal::pac, peripherals = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `rtfm::app` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `rtfm::app` may come from an old version of the `cortex_m_rtfm_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtfm_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `rtfm::app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `syscfg` [INFO] [stdout] --> examples/oled2.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let mut syscfg = syscfg::SYSCFG::new(cx.device.SYSCFG, &mut rcc); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_syscfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gpioa` [INFO] [stdout] --> examples/oled2.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let gpioa = cx.device.GPIOA.split(&mut rcc); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_gpioa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gpioc` [INFO] [stdout] --> examples/oled2.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let gpioc = cx.device.GPIOC.split(&mut rcc); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_gpioc` [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] warning: variable does not need to be mutable [INFO] [stdout] --> examples/oled2.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let mut syscfg = syscfg::SYSCFG::new(cx.device.SYSCFG, &mut rcc); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/oled2.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut spi = [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PB5` in module `stm32l0xx_hal::gpio::gpioa` [INFO] [stdout] --> examples/longfi_bindings.rs:82:56 [INFO] [stdout] | [INFO] [stdout] 82 | static mut EN_TCXO: Option>> = None; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stm32l0xx-hal-0.5.0/src/gpio.rs:461:1 [INFO] [stdout] | [INFO] [stdout] 461 | / gpio!(GPIOA, gpioa, iopaen, PA, [ [INFO] [stdout] 462 | | PA0: (pa0, 0, Input), [INFO] [stdout] 463 | | PA1: (pa1, 1, Input), [INFO] [stdout] 464 | | PA2: (pa2, 2, Input), [INFO] [stdout] ... | [INFO] [stdout] 477 | | PA15: (pa15, 15, Input), [INFO] [stdout] 478 | | ]); [INFO] [stdout] | |__- similarly named struct `PA5` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 82 - static mut EN_TCXO: Option>> = None; [INFO] [stdout] 82 + static mut EN_TCXO: Option>> = None; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::hal::serial::PB5; [INFO] [stdout] | [INFO] [stdout] 1 + use stm32l0xx_hal::serial::PB5; [INFO] [stdout] | [INFO] [stdout] help: if you import `PB5`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 82 - static mut EN_TCXO: Option>> = None; [INFO] [stdout] 82 + static mut EN_TCXO: Option>> = None; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PB5` in module `stm32l0xx_hal::gpio::gpioa` [INFO] [stdout] --> examples/longfi_bindings.rs:83:55 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn set_tcxo_pins(pin: stm32l0xx_hal::gpio::gpioa::PB5>) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stm32l0xx-hal-0.5.0/src/gpio.rs:461:1 [INFO] [stdout] | [INFO] [stdout] 461 | / gpio!(GPIOA, gpioa, iopaen, PA, [ [INFO] [stdout] 462 | | PA0: (pa0, 0, Input), [INFO] [stdout] 463 | | PA1: (pa1, 1, Input), [INFO] [stdout] 464 | | PA2: (pa2, 2, Input), [INFO] [stdout] ... | [INFO] [stdout] 477 | | PA15: (pa15, 15, Input), [INFO] [stdout] 478 | | ]); [INFO] [stdout] | |__- similarly named struct `PA5` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 83 - pub fn set_tcxo_pins(pin: stm32l0xx_hal::gpio::gpioa::PB5>) { [INFO] [stdout] 83 + pub fn set_tcxo_pins(pin: stm32l0xx_hal::gpio::gpioa::PA5>) { [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::hal::serial::PB5; [INFO] [stdout] | [INFO] [stdout] 1 + use stm32l0xx_hal::serial::PB5; [INFO] [stdout] | [INFO] [stdout] help: if you import `PB5`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 83 - pub fn set_tcxo_pins(pin: stm32l0xx_hal::gpio::gpioa::PB5>) { [INFO] [stdout] 83 + pub fn set_tcxo_pins(pin: PB5>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reset` [INFO] [stdout] --> examples/buzzer.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let reset = gpioc.pc0.into_push_pull_output(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sx1276_dio0` [INFO] [stdout] --> examples/buzzer.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let sx1276_dio0 = gpiob.pb4.into_pull_up_input(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sx1276_dio0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sck` [INFO] [stdout] --> examples/buzzer.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let sck = gpiob.pb3; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `longfi_bindings` [INFO] [stdout] --> examples/longfi_bindings.rs:179:2 [INFO] [stdout] | [INFO] [stdout] 179 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/longfi_bindings.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `miso` [INFO] [stdout] --> examples/buzzer.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let miso = gpioa.pa6; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_miso` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mosi` [INFO] [stdout] --> examples/buzzer.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mosi = gpioa.pa7; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mosi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nss` [INFO] [stdout] --> examples/buzzer.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let nss = gpioa.pa15.into_push_pull_output(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_nss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `syscfg` [INFO] [stdout] --> examples/oled.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let mut syscfg = syscfg::SYSCFG::new(cx.device.SYSCFG, &mut rcc); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_syscfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gpioa` [INFO] [stdout] --> examples/oled.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let gpioa = cx.device.GPIOA.split(&mut rcc); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_gpioa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gpioc` [INFO] [stdout] --> examples/oled.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let gpioc = cx.device.GPIOC.split(&mut rcc); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_gpioc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/oled.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut syscfg = syscfg::SYSCFG::new(cx.device.SYSCFG, &mut rcc); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/oled.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut spi = [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/buzzer.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut buzzer = gpioa.pa3.into_push_pull_output(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `e7020e-embedded-system-design` (example "oled2") due to 1 previous error; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `gpiob` [INFO] [stdout] --> examples/breathalyzer.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let gpiob = cx.device.GPIOB.split(&mut rcc); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_gpiob` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `e7020e-embedded-system-design` (example "oled") due to 1 previous error; 8 warnings emitted [INFO] [stdout] warning: unused variable: `gpioc` [INFO] [stdout] --> examples/breathalyzer.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let gpioc = cx.device.GPIOC.split(&mut rcc); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_gpioc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `e7020e-embedded-system-design` (example "buzzer") due to 1 previous error; 12 warnings emitted [INFO] [stderr] error: could not compile `e7020e-embedded-system-design` (example "longfi_bindings") due to 4 previous errors [INFO] [stderr] error: could not compile `e7020e-embedded-system-design` (example "breathalyzer") due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fe658f31064528919ddc3a91f8cc8bc6d72ffee815015f9b401bbe61d2a226dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe658f31064528919ddc3a91f8cc8bc6d72ffee815015f9b401bbe61d2a226dc", kill_on_drop: false }` [INFO] [stdout] fe658f31064528919ddc3a91f8cc8bc6d72ffee815015f9b401bbe61d2a226dc