[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#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froy-ganz%2Fmcb32" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 40% (255/634) Checking out files: 41% (260/634) Checking out files: 42% (267/634) Checking out files: 43% (273/634) Checking out files: 44% (279/634) Checking out files: 45% (286/634) Checking out files: 46% (292/634) Checking out files: 47% (298/634) Checking out files: 48% (305/634) Checking out files: 49% (311/634) Checking out files: 50% (317/634) Checking out files: 51% (324/634) Checking out files: 52% (330/634) Checking out files: 53% (337/634) Checking out files: 54% (343/634) Checking out files: 55% (349/634) Checking out files: 56% (356/634) Checking out files: 57% (362/634) Checking out files: 58% (368/634) Checking out files: 59% (375/634) Checking out files: 60% (381/634) Checking out files: 61% (387/634) Checking out files: 62% (394/634) Checking out files: 63% (400/634) Checking out files: 64% (406/634) Checking out files: 65% (413/634) Checking out files: 66% (419/634) Checking out files: 67% (425/634) Checking out files: 68% (432/634) Checking out files: 69% (438/634) Checking out files: 70% (444/634) Checking out files: 71% (451/634) Checking out files: 72% (457/634) Checking out files: 73% (463/634) Checking out files: 74% (470/634) Checking out files: 75% (476/634) Checking out files: 76% (482/634) Checking out files: 77% (489/634) Checking out files: 78% (495/634) Checking out files: 79% (501/634) Checking out files: 80% (508/634) Checking out files: 81% (514/634) Checking out files: 82% (520/634) Checking out files: 83% (527/634) Checking out files: 84% (533/634) Checking out files: 85% (539/634) Checking out files: 86% (546/634) Checking out files: 87% (552/634) Checking out files: 88% (558/634) Checking out files: 89% (565/634) Checking out files: 90% (571/634) Checking out files: 91% (577/634) Checking out files: 92% (584/634) Checking out files: 93% (590/634) Checking out files: 94% (596/634) Checking out files: 95% (603/634) Checking out files: 96% (609/634) Checking out files: 97% (615/634) Checking out files: 98% (622/634) Checking out files: 99% (628/634) Checking out files: 100% (634/634) Checking out files: 100% (634/634), done. [INFO] validating manifest of git repo https://github.com/roy-ganz/mcb32 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7/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-7/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: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d4931864fde286803fb7e450f513cc6066f9d72d602d980af581e6595ca212e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2d4931864fde286803fb7e450f513cc6066f9d72d602d980af581e6595ca212e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d4931864fde286803fb7e450f513cc6066f9d72d602d980af581e6595ca212e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d4931864fde286803fb7e450f513cc6066f9d72d602d980af581e6595ca212e", kill_on_drop: false }` [INFO] [stdout] 2d4931864fde286803fb7e450f513cc6066f9d72d602d980af581e6595ca212e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 267288cc79dada89fab6c715cb425f43cf66533b9d8dc7d812073ca426666957 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "267288cc79dada89fab6c715cb425f43cf66533b9d8dc7d812073ca426666957", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling cortex-m v0.6.3 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling stm32f1 v0.11.0 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling mcb32 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking display-interface v0.4.0 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking embedded-graphics v0.6.2 [INFO] [stderr] Checking embedded-dma v0.1.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking ili9341 v0.4.1 [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.4 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Checking cortex-m-rt v0.6.12 [INFO] [stderr] Checking stm32f1xx-hal v0.7.0 [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stm32f3` [INFO] [stdout] --> examples/device.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use stm32f3::stm32f303::{interrupt, Interrupt, NVIC}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `stm32f3` [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 undeclared crate or module `cortex_m_semihosting` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [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 undeclared crate or module `cortex_m_semihosting` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hprint` [INFO] [stdout] --> examples/exception.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | hprint!(".").unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mcb32` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [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 undeclared crate or module `alloc_cortex_m` [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 undeclared crate or module `cortex_m_semihosting` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hprintln` [INFO] [stdout] --> examples/allocator.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | hprintln!("{:?}", xs).unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `interrupt` in this scope [INFO] [stdout] --> examples/device.rs:59:3 [INFO] [stdout] | [INFO] [stdout] 59 | #[interrupt] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hprint` [INFO] [stdout] --> examples/device.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | hprint!(".").unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interrupt` [INFO] [stdout] --> examples/device.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | nvic.enable(Interrupt::EXTI0); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Interrupt` [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 undeclared crate or module `cortex_m_semihosting` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hprintln` [INFO] [stdout] --> examples/hello.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | hprintln!("Hello, world!").unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interrupt` [INFO] [stdout] --> examples/device.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | NVIC::pend(Interrupt::EXTI0); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Interrupt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NVIC` [INFO] [stdout] --> examples/device.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | NVIC::pend(Interrupt::EXTI0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 29 | use cortex_m::peripheral::NVIC; [INFO] [stdout] | [INFO] [stdout] 29 | use stm32f1xx_hal::pac::NVIC; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [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[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] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] error: aborting due to 8 previous errors; 1 warning emitted [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[E0433]: failed to resolve: use of undeclared crate or module `debug` [INFO] [stdout] --> examples/allocator.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | debug::exit(debug::EXIT_SUCCESS); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `debug` [INFO] [stdout] --> examples/allocator.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | debug::exit(debug::EXIT_SUCCESS); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [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 items [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] 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 `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 items [INFO] [stdout] | [INFO] [stdout] 6 | use crate::board_config::serial::dma1::C2; [INFO] [stdout] | [INFO] [stdout] 6 | use crate::spi::C2; [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] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [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] warning: unused imports: `TxDma`, `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: language item required, but not found: `eh_personality` [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] error: aborting due to 6 previous errors; 1 warning emitted [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[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | test_write(tx_dma, &buffer1); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type parameter `REMAP` declared on the function `test_write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dma::WriteDma` [INFO] [stdout] --> src/main.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use stm32f1xx_hal::{dma::WriteDma, pac, prelude::*, timer::Timer, spi}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "267288cc79dada89fab6c715cb425f43cf66533b9d8dc7d812073ca426666957", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "267288cc79dada89fab6c715cb425f43cf66533b9d8dc7d812073ca426666957", kill_on_drop: false }` [INFO] [stdout] 267288cc79dada89fab6c715cb425f43cf66533b9d8dc7d812073ca426666957