[INFO] cloning repository https://github.com/mrtims/moist [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mrtims/moist" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrtims%2Fmoist", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrtims%2Fmoist'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 34e1f63d177c8ae7a463382d2c80ffd6ab002be2 [INFO] checking mrtims/moist against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrtims%2Fmoist" "/workspace/builds/worker-61/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-61/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 61% (11/18) Updating files: 66% (12/18) Updating files: 72% (13/18) Updating files: 77% (14/18) Updating files: 83% (15/18) Updating files: 88% (16/18) Updating files: 94% (17/18) Updating files: 100% (18/18) Updating files: 100% (18/18), done. [INFO] validating manifest of git repo https://github.com/mrtims/moist on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-61/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/mrtims/moist [INFO] finished tweaking git repo https://github.com/mrtims/moist [INFO] tweaked toml for git repo https://github.com/mrtims/moist written to /workspace/builds/worker-61/source/Cargo.toml [INFO] crate git repo https://github.com/mrtims/moist already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/yuri91/ili9341-rs.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded display-interface v0.4.1 [INFO] [stderr] Downloaded display-interface-spi v0.4.1 [INFO] [stderr] Downloaded cortex-m-rt v0.6.15 [INFO] [stderr] Downloaded profont v0.5.0 [INFO] [stderr] Downloaded embedded-dma v0.1.2 [INFO] [stderr] Downloaded rtcc v0.2.1 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.6.15 [INFO] [stderr] Downloaded stm32f4xx-hal v0.9.0 [INFO] [stderr] Downloaded stm32f4 v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3899cfd045b1f8b17f242f57bf3b6ad7b711160789ea4849cae02871ee6a633e [INFO] running `Command { std: "docker" "start" "-a" "3899cfd045b1f8b17f242f57bf3b6ad7b711160789ea4849cae02871ee6a633e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3899cfd045b1f8b17f242f57bf3b6ad7b711160789ea4849cae02871ee6a633e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3899cfd045b1f8b17f242f57bf3b6ad7b711160789ea4849cae02871ee6a633e", kill_on_drop: false }` [INFO] [stdout] 3899cfd045b1f8b17f242f57bf3b6ad7b711160789ea4849cae02871ee6a633e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab32eddd880e6c6982a13eb97e6dd3db3471518eb6e048670e25c21c83ff9806 [INFO] running `Command { std: "docker" "start" "-a" "ab32eddd880e6c6982a13eb97e6dd3db3471518eb6e048670e25c21c83ff9806", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling az v1.1.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking micromath v1.1.1 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling heapless v0.7.7 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking embedded-graphics-core v0.3.3 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking embedded-graphics v0.7.1 [INFO] [stderr] Checking profont v0.5.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking embedded-graphics-simulator v0.3.0 [INFO] [stderr] Checking moist v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `hal` in the crate root [INFO] [stdout] --> src/bin/stm32f429/main.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::hal::{prelude::*, stm32}; [INFO] [stdout] | ^^^ could not find `hal` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal` [INFO] [stdout] --> src/bin/stm32f429/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use embedded_hal::digital::v2::OutputPin; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hal` [INFO] [stdout] --> src/bin/stm32f429/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use hal::{ [INFO] [stdout] | ^^^ use of undeclared crate or module `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `cortex_m_rt`, `embedded_hal::digital::v2::OutputPin`, `hal::adc::config::AdcConfig`, `hal::adc::Adc`, `hal::spi::NoMiso`, `hal::spi::Spi` [INFO] [stdout] --> src/bin/stm32f429/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cortex_m_rt::entry; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `cortex_m_rt` [INFO] [stdout] 6 | use embedded_hal::digital::v2::OutputPin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | use hal::{ [INFO] [stdout] 8 | adc::{config::AdcConfig, Adc}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] 9 | spi::{NoMiso, Spi}, [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ili9341` [INFO] [stdout] --> src/bin/stm32f429/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ili9341::{DisplaySize240x320, Ili9341, Orientation, SPI_MODE}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `ili9341` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `panic_semihosting` [INFO] [stdout] --> src/bin/stm32f429/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use panic_semihosting as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no external crate `panic_semihosting` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::hal` [INFO] [stdout] --> src/bin/stm32f429/main.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::hal::{prelude::*, stm32}; [INFO] [stdout] | ^^^ could not find `hal` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32f4xx_hal` [INFO] [stdout] --> src/bin/stm32f429/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use stm32f4xx_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no external crate `stm32f4xx_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `entry` [INFO] [stdout] --> src/bin/stm32f429/main.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[entry] [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 crate or module `cortex_m` [INFO] [stdout] --> src/bin/stm32f429/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | cortex_m::peripheral::Peripherals::take(), [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_m_rt` [INFO] [stdout] --> src/bin/stm32f429/main.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | let _start = cortex_m_rt::heap_start() as usize; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `cortex_m_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Spi` [INFO] [stdout] --> src/bin/stm32f429/main.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | let spi = Spi::spi5( [INFO] [stdout] | ^^^ use of undeclared type `Spi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `display_interface_spi` [INFO] [stdout] --> src/bin/stm32f429/main.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | let if_spi = display_interface_spi::SPIInterface::new(spi, dc, cs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `display_interface_spi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Adc` [INFO] [stdout] --> src/bin/stm32f429/main.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | let adc = RefCell::new(Adc::adc1(p.ADC1, true, AdcConfig::default())); [INFO] [stdout] | ^^^ use of undeclared type `Adc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AdcConfig` [INFO] [stdout] --> src/bin/stm32f429/main.rs:71:56 [INFO] [stdout] | [INFO] [stdout] 71 | let adc = RefCell::new(Adc::adc1(p.ADC1, true, AdcConfig::default())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AdcConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NoMiso` in this scope [INFO] [stdout] --> src/bin/stm32f429/main.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | NoMiso, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `hal` in the crate root [INFO] [stdout] --> src/bin/stm32f429/main.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::hal::{prelude::*, stm32}; [INFO] [stdout] | ^^^ could not find `hal` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal` [INFO] [stdout] --> src/bin/stm32f429/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use embedded_hal::digital::v2::OutputPin; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hal` [INFO] [stdout] --> src/bin/stm32f429/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use hal::{ [INFO] [stdout] | ^^^ use of undeclared crate or module `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `cortex_m_rt`, `embedded_hal::digital::v2::OutputPin`, `hal::adc::config::AdcConfig`, `hal::adc::Adc`, `hal::spi::NoMiso`, `hal::spi::Spi` [INFO] [stdout] --> src/bin/stm32f429/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cortex_m_rt::entry; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `cortex_m_rt` [INFO] [stdout] 6 | use embedded_hal::digital::v2::OutputPin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | use hal::{ [INFO] [stdout] 8 | adc::{config::AdcConfig, Adc}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] 9 | spi::{NoMiso, Spi}, [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ili9341` [INFO] [stdout] --> src/bin/stm32f429/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ili9341::{DisplaySize240x320, Ili9341, Orientation, SPI_MODE}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `ili9341` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `panic_semihosting` [INFO] [stdout] --> src/bin/stm32f429/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use panic_semihosting as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no external crate `panic_semihosting` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::hal` [INFO] [stdout] --> src/bin/stm32f429/main.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::hal::{prelude::*, stm32}; [INFO] [stdout] | ^^^ could not find `hal` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32f4xx_hal` [INFO] [stdout] --> src/bin/stm32f429/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use stm32f4xx_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no external crate `stm32f4xx_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `entry` [INFO] [stdout] --> src/bin/stm32f429/main.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[entry] [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 crate or module `cortex_m` [INFO] [stdout] --> src/bin/stm32f429/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | cortex_m::peripheral::Peripherals::take(), [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_m_rt` [INFO] [stdout] --> src/bin/stm32f429/main.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | let _start = cortex_m_rt::heap_start() as usize; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `cortex_m_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Spi` [INFO] [stdout] --> src/bin/stm32f429/main.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | let spi = Spi::spi5( [INFO] [stdout] | ^^^ use of undeclared type `Spi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `display_interface_spi` [INFO] [stdout] --> src/bin/stm32f429/main.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | let if_spi = display_interface_spi::SPIInterface::new(spi, dc, cs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `display_interface_spi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Adc` [INFO] [stdout] --> src/bin/stm32f429/main.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | let adc = RefCell::new(Adc::adc1(p.ADC1, true, AdcConfig::default())); [INFO] [stdout] | ^^^ use of undeclared type `Adc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AdcConfig` [INFO] [stdout] --> src/bin/stm32f429/main.rs:71:56 [INFO] [stdout] | [INFO] [stdout] 71 | let adc = RefCell::new(Adc::adc1(p.ADC1, true, AdcConfig::default())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AdcConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NoMiso` in this scope [INFO] [stdout] --> src/bin/stm32f429/main.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | NoMiso, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mhz` found for type `{integer}` in the current scope [INFO] [stdout] --> src/bin/stm32f429/main.rs:28:42 [INFO] [stdout] | [INFO] [stdout] 28 | let clocks = rcc.cfgr.sysclk(160.mhz()).freeze(); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mhz` found for type `{integer}` in the current scope [INFO] [stdout] --> src/bin/stm32f429/main.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | 20.mhz().into(), [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mhz` found for type `{integer}` in the current scope [INFO] [stdout] --> src/bin/stm32f429/main.rs:28:42 [INFO] [stdout] | [INFO] [stdout] 28 | let clocks = rcc.cfgr.sysclk(160.mhz()).freeze(); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `RefMut<'_, _>` in the current scope [INFO] [stdout] --> src/bin/stm32f429/main.rs:72:51 [INFO] [stdout] | [INFO] [stdout] 72 | let mut read_plant0 = || adc.borrow_mut().read(&mut plant0).ok(); [INFO] [stdout] | ^^^^ method not found in `RefMut<'_, _>` [INFO] [stdout] | [INFO] [stdout] = note: `adc.borrow_mut()` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `RefMut<'_, _>` in the current scope [INFO] [stdout] --> src/bin/stm32f429/main.rs:73:51 [INFO] [stdout] | [INFO] [stdout] 73 | let mut read_plant1 = || adc.borrow_mut().read(&mut plant1).ok(); [INFO] [stdout] | ^^^^ method not found in `RefMut<'_, _>` [INFO] [stdout] | [INFO] [stdout] = note: `adc.borrow_mut()` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `RefMut<'_, _>` in the current scope [INFO] [stdout] --> src/bin/stm32f429/main.rs:74:51 [INFO] [stdout] | [INFO] [stdout] 74 | let mut read_plant2 = || adc.borrow_mut().read(&mut plant2).ok(); [INFO] [stdout] | ^^^^ method not found in `RefMut<'_, _>` [INFO] [stdout] | [INFO] [stdout] = note: `adc.borrow_mut()` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `RefMut<'_, _>` in the current scope [INFO] [stdout] --> src/bin/stm32f429/main.rs:75:51 [INFO] [stdout] | [INFO] [stdout] 75 | let mut read_plant3 = || adc.borrow_mut().read(&mut plant3).ok(); [INFO] [stdout] | ^^^^ method not found in `RefMut<'_, _>` [INFO] [stdout] | [INFO] [stdout] = note: `adc.borrow_mut()` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mhz` found for type `{integer}` in the current scope [INFO] [stdout] --> src/bin/stm32f429/main.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | 20.mhz().into(), [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `RefMut<'_, _>` in the current scope [INFO] [stdout] --> src/bin/stm32f429/main.rs:72:51 [INFO] [stdout] | [INFO] [stdout] 72 | let mut read_plant0 = || adc.borrow_mut().read(&mut plant0).ok(); [INFO] [stdout] | ^^^^ method not found in `RefMut<'_, _>` [INFO] [stdout] | [INFO] [stdout] = note: `adc.borrow_mut()` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `RefMut<'_, _>` in the current scope [INFO] [stdout] --> src/bin/stm32f429/main.rs:73:51 [INFO] [stdout] | [INFO] [stdout] 73 | let mut read_plant1 = || adc.borrow_mut().read(&mut plant1).ok(); [INFO] [stdout] | ^^^^ method not found in `RefMut<'_, _>` [INFO] [stdout] | [INFO] [stdout] = note: `adc.borrow_mut()` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `RefMut<'_, _>` in the current scope [INFO] [stdout] --> src/bin/stm32f429/main.rs:74:51 [INFO] [stdout] | [INFO] [stdout] 74 | let mut read_plant2 = || adc.borrow_mut().read(&mut plant2).ok(); [INFO] [stdout] | ^^^^ method not found in `RefMut<'_, _>` [INFO] [stdout] | [INFO] [stdout] = note: `adc.borrow_mut()` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `RefMut<'_, _>` in the current scope [INFO] [stdout] --> src/bin/stm32f429/main.rs:75:51 [INFO] [stdout] | [INFO] [stdout] 75 | let mut read_plant3 = || adc.borrow_mut().read(&mut plant3).ok(); [INFO] [stdout] | ^^^^ method not found in `RefMut<'_, _>` [INFO] [stdout] | [INFO] [stdout] = note: `adc.borrow_mut()` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `moist` due to 23 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ab32eddd880e6c6982a13eb97e6dd3db3471518eb6e048670e25c21c83ff9806", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab32eddd880e6c6982a13eb97e6dd3db3471518eb6e048670e25c21c83ff9806", kill_on_drop: false }` [INFO] [stdout] ab32eddd880e6c6982a13eb97e6dd3db3471518eb6e048670e25c21c83ff9806