[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] testing mrtims/moist against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrtims%2Fmoist" "/workspace/builds/worker-60/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-60/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mrtims/moist on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-60/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-60/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" "+1.60.0" "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://github.com/yuri91/ili9341-rs.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded atomic-polyfill v0.1.4 [INFO] [stderr] Downloaded embedded-graphics-simulator v0.3.0 [INFO] [stderr] Downloaded cortex-m-rt v0.6.15 [INFO] [stderr] Downloaded stm32f4xx-hal v0.9.0 [INFO] [stderr] Downloaded critical-section v0.2.4 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.6.15 [INFO] [stderr] Downloaded heapless v0.7.7 [INFO] [stderr] Downloaded rtcc v0.2.1 [INFO] [stderr] Downloaded stm32f4 v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4711df8e11aba15f75a10128758fd63599a405c640edaaa3bfb5b9adca39db8a [INFO] running `Command { std: "docker" "start" "-a" "4711df8e11aba15f75a10128758fd63599a405c640edaaa3bfb5b9adca39db8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4711df8e11aba15f75a10128758fd63599a405c640edaaa3bfb5b9adca39db8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4711df8e11aba15f75a10128758fd63599a405c640edaaa3bfb5b9adca39db8a", kill_on_drop: false }` [INFO] [stdout] 4711df8e11aba15f75a10128758fd63599a405c640edaaa3bfb5b9adca39db8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2a1549890393327c96e5e2b70ee589c529166e9a72a405571d615fa29ed685a [INFO] running `Command { std: "docker" "start" "-a" "b2a1549890393327c96e5e2b70ee589c529166e9a72a405571d615fa29ed685a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling 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 adler32 v1.2.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling micromath v1.1.1 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Compiling heapless v0.7.7 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling spin v0.9.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 rayon v1.5.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling embedded-graphics-core v0.3.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling embedded-graphics v0.7.1 [INFO] [stderr] Compiling profont v0.5.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling embedded-graphics-simulator v0.3.0 [INFO] [stderr] Compiling moist v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: could not compile `moist` due to 23 previous errors [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] [stderr] warning: build failed, waiting for other jobs to finish... [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 `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] [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] [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] [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] [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" "b2a1549890393327c96e5e2b70ee589c529166e9a72a405571d615fa29ed685a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2a1549890393327c96e5e2b70ee589c529166e9a72a405571d615fa29ed685a", kill_on_drop: false }` [INFO] [stdout] b2a1549890393327c96e5e2b70ee589c529166e9a72a405571d615fa29ed685a