[INFO] cloning repository https://github.com/roy-ganz/mcb32 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/roy-ganz/mcb32" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froy-ganz%2Fmcb32", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froy-ganz%2Fmcb32'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c80cd71f433ceacc90455cc2f5ba9f007a0c1692 [INFO] checking roy-ganz/mcb32 against master#17ffbc81a30c094193836a5d7f90dff273b5df93 for pr-138785 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froy-ganz%2Fmcb32" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/roy-ganz/mcb32 on toolchain 17ffbc81a30c094193836a5d7f90dff273b5df93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/roy-ganz/mcb32 [INFO] finished tweaking git repo https://github.com/roy-ganz/mcb32 [INFO] tweaked toml for git repo https://github.com/roy-ganz/mcb32 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/roy-ganz/mcb32 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" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking roy-ganz/mcb32 against master#17ffbc81a30c094193836a5d7f90dff273b5df93 for pr-138785 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froy-ganz%2Fmcb32" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/roy-ganz/mcb32 on toolchain 17ffbc81a30c094193836a5d7f90dff273b5df93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/roy-ganz/mcb32 [INFO] finished tweaking git repo https://github.com/roy-ganz/mcb32 [INFO] tweaked toml for git repo https://github.com/roy-ganz/mcb32 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/roy-ganz/mcb32 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" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded as-slice v0.1.3 [INFO] [stderr] Downloaded vcell v0.1.2 [INFO] [stderr] Downloaded aligned v0.3.4 [INFO] [stderr] Downloaded volatile-register v0.2.0 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.1.8 [INFO] [stderr] Downloaded ili9341 v0.4.1 [INFO] [stderr] Downloaded cortex-m v0.6.3 [INFO] [stderr] Downloaded display-interface v0.4.0 [INFO] [stderr] Downloaded embedded-graphics v0.6.2 [INFO] [stderr] Downloaded cortex-m-rt v0.6.12 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 247ce169033eb21251b244d8edd05b5ea809614db045fed5c6ed03728a4cf7b4 [INFO] running `Command { std: "docker" "start" "-a" "247ce169033eb21251b244d8edd05b5ea809614db045fed5c6ed03728a4cf7b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "247ce169033eb21251b244d8edd05b5ea809614db045fed5c6ed03728a4cf7b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "247ce169033eb21251b244d8edd05b5ea809614db045fed5c6ed03728a4cf7b4", kill_on_drop: false }` [INFO] [stdout] 247ce169033eb21251b244d8edd05b5ea809614db045fed5c6ed03728a4cf7b4 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9212d92ae8d8a3750bffc21ea4c1f5f7a36c4760165e8b00efa71795c3faf5a [INFO] running `Command { std: "docker" "start" "-a" "f9212d92ae8d8a3750bffc21ea4c1f5f7a36c4760165e8b00efa71795c3faf5a", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling cortex-m v0.6.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling cortex-m-rt v0.6.12 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Compiling stm32f1 v0.11.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking display-interface v0.4.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling mcb32 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking embedded-dma v0.1.2 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking embedded-graphics v0.6.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking ili9341 v0.4.1 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking as-slice v0.1.3 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Checking stm32f1xx-hal v0.7.0 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stm32f3` [INFO] [stdout] --> examples/device.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use stm32f3::stm32f303::{interrupt, Interrupt, NVIC}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `stm32f3` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stm32f3`, use `cargo add stm32f3` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_m_semihosting` [INFO] [stdout] --> examples/device.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use cortex_m_semihosting::hprint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `cortex_m_semihosting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_m_semihosting`, use `cargo add cortex_m_semihosting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc_cortex_m` [INFO] [stdout] --> examples/allocator.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use alloc_cortex_m::CortexMHeap; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `alloc_cortex_m` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `alloc_cortex_m`, use `cargo add alloc_cortex_m` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_m_semihosting` [INFO] [stdout] --> examples/exception.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use cortex_m_semihosting::hprint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `cortex_m_semihosting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_m_semihosting`, use `cargo add cortex_m_semihosting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_m_semihosting` [INFO] [stdout] --> examples/allocator.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use cortex_m_semihosting::hprintln; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `cortex_m_semihosting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_m_semihosting`, use `cargo add cortex_m_semihosting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_m_semihosting` [INFO] [stdout] --> examples/hello.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use cortex_m_semihosting::{debug, hprintln}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `cortex_m_semihosting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_m_semihosting`, use `cargo add cortex_m_semihosting` to add it to your `Cargo.toml` [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: 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: 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: 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: 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: 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] [stderr] error: could not compile `mcb32` (example "crash") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mcb32` (example "test_on_host") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mcb32` (example "panic") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mcb32` (example "exception") due to 2 previous errors [INFO] [stderr] error: could not compile `mcb32` (example "hello") due to 2 previous errors [INFO] [stdout] warning: use of deprecated method `cortex_m::peripheral::nvic::::enable`: Use `NVIC::unmask` [INFO] [stdout] --> examples/device.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | nvic.enable(Interrupt::EXTI0); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SpiTxDma` in this scope [INFO] [stdout] --> src/main.rs:93:33 [INFO] [stdout] | [INFO] [stdout] 93 | fn test_write(t: SpiTxDma, buffer: &'static [u8]) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 6 + use crate::spi::SpiTxDma; [INFO] [stdout] | [INFO] [stdout] 6 + use stm32f1xx_hal::spi::SpiTxDma; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `syst` in this scope [INFO] [stdout] --> examples/itm.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | syst.clear_current(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `C2` in this scope [INFO] [stdout] --> src/main.rs:93:61 [INFO] [stdout] | [INFO] [stdout] 93 | fn test_write(t: SpiTxDma, buffer: &'static [u8]) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use stm32f1xx_hal::dma::dma1::C2; [INFO] [stdout] | [INFO] [stdout] 6 + use stm32f1xx_hal::dma::dma2::C2; [INFO] [stdout] | [INFO] [stdout] 6 + use stm32f1xx_hal::pwm::C2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `syst` in this scope [INFO] [stdout] --> examples/itm.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | while !syst.has_wrapped() {}; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `syst` in this scope [INFO] [stdout] --> examples/itm.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | while !syst.has_wrapped() {}; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mcb32` (example "device") due to 3 previous errors; 1 warning emitted [INFO] [stdout] warning: unused import: `joystick::Direction` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use joystick::Direction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nb::block` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use nb::block; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `timer::Timer` [INFO] [stdout] --> src/main.rs:12:53 [INFO] [stdout] | [INFO] [stdout] 12 | use stm32f1xx_hal::{dma::WriteDma, pac, prelude::*, timer::Timer, spi}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stm32f1xx_hal::dma::TransferPayload` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use stm32f1xx_hal::dma::TransferPayload; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: `TxDma` and `WriteDma` [INFO] [stdout] --> src/board.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use stm32f1xx_hal::dma::{TxDma, WriteDma}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SPI3` [INFO] [stdout] --> src/board.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use stm32f1xx_hal::pac::{USART1, USART2, SPI3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cortex_m::singleton` [INFO] [stdout] --> src/board.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use cortex_m::singleton; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gpiob` [INFO] [stdout] --> src/board.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | use stm32f1xx_hal::{gpio, gpio::{gpioa, gpiob,gpioc, gpiod, gpioe}, pac}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stm32f1xx_hal::dma::Half` [INFO] [stdout] --> src/board.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | use stm32f1xx_hal::dma::Half; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `board::Board` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use board::Board; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stm32f1xx_hal::prelude::*` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use stm32f1xx_hal::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stm32f1xx_hal::dma::TxDma` [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use stm32f1xx_hal::dma::TxDma; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [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[E0609]: no field `RCC` on type `Peripherals` [INFO] [stdout] --> examples/itm.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | let rcc = p.RCC; [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `CBP`, `CPUID`, `DCB`, `DWT`, `FPB` ... and 7 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `GPIOB` on type `Peripherals` [INFO] [stdout] --> examples/itm.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let gpiob = p.GPIOB; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `CBP`, `CPUID`, `DCB`, `DWT`, `FPB` ... and 7 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> examples/itm.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 42 | / loop { [INFO] [stdout] 43 | | // Toggle the LED every SysTick tick. [INFO] [stdout] 44 | | while !syst.has_wrapped() {}; [INFO] [stdout] 45 | | gpiob.odr.write( |w| w.od3().set_bit() ); [INFO] [stdout] 46 | | while !syst.has_wrapped() {}; [INFO] [stdout] 47 | | gpiob.odr.write( |w| w.od3().clear_bit() ); [INFO] [stdout] 48 | | } [INFO] [stdout] | |___- any code following this expression is unreachable [INFO] [stdout] 49 | loop {} [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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: the feature `alloc` has been stable since 1.36.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/allocator.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | #![feature(alloc)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mcb32` (example "itm") due to 6 previous errors; 1 warning emitted [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `debug` [INFO] [stdout] --> examples/allocator.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | debug::exit(debug::EXIT_SUCCESS); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `debug` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `debug`, use `cargo add debug` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `debug` [INFO] [stdout] --> examples/allocator.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | debug::exit(debug::EXIT_SUCCESS); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `debug` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `debug`, use `cargo add debug` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mcb32` (example "allocator") due to 5 previous errors; 1 warning emitted [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/joystick.rs:128:31 [INFO] [stdout] | [INFO] [stdout] 128 | fn direction_from_pattern(mut pattern:u8) -> Option { [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: unused variable: `glcd_nss` [INFO] [stdout] --> src/board.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let glcd_nss = gpioc.pc8.into_push_pull_output(&mut gpioc.crh); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_glcd_nss` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_dma` [INFO] [stdout] --> src/board.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let tx_dma = spi_glcd.with_tx_dma(dma.2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_dma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_dma` [INFO] [stdout] --> src/spi_interface_no_dc.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 66 | ... if let Some(tx_dma) = tx_dma { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_dma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mcb32` (bin "mcb32") due to 3 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f9212d92ae8d8a3750bffc21ea4c1f5f7a36c4760165e8b00efa71795c3faf5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9212d92ae8d8a3750bffc21ea4c1f5f7a36c4760165e8b00efa71795c3faf5a", kill_on_drop: false }` [INFO] [stdout] f9212d92ae8d8a3750bffc21ea4c1f5f7a36c4760165e8b00efa71795c3faf5a