[INFO] fetching crate atat 0.15.0... [INFO] testing atat-0.15.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate atat 0.15.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate atat 0.15.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate atat 0.15.0 [INFO] finished tweaking crates.io crate atat 0.15.0 [INFO] tweaked toml for crates.io crate atat 0.15.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate crates.io crate atat 0.15.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7579c624e32426aabddc651a487372c203c6c1546b8b7f90804abbe5aa0bcb22 [INFO] running `Command { std: "docker" "start" "-a" "7579c624e32426aabddc651a487372c203c6c1546b8b7f90804abbe5aa0bcb22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7579c624e32426aabddc651a487372c203c6c1546b8b7f90804abbe5aa0bcb22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7579c624e32426aabddc651a487372c203c6c1546b8b7f90804abbe5aa0bcb22", kill_on_drop: false }` [INFO] [stdout] 7579c624e32426aabddc651a487372c203c6c1546b8b7f90804abbe5aa0bcb22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e10239df9c0d1c7b0a15357fdc35eb6c2af06606edf08aaecb9aa88b34aa6aa7 [INFO] running `Command { std: "docker" "start" "-a" "e10239df9c0d1c7b0a15357fdc35eb6c2af06606edf08aaecb9aa88b34aa6aa7", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.135 [INFO] [stderr] Compiling heapless v0.7.10 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling bbqueue v0.5.1 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling gcd v2.1.0 [INFO] [stderr] Compiling embedded-hal v1.0.0-alpha.6 [INFO] [stderr] Compiling fugit v0.3.3 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling fugit-timer v0.1.3 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling serde_at v0.15.0 [INFO] [stderr] Compiling heapless-bytes v0.3.0 [INFO] [stderr] Compiling atat_derive v0.15.0 [INFO] [stderr] Compiling atat v0.15.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.24s [INFO] running `Command { std: "docker" "inspect" "e10239df9c0d1c7b0a15357fdc35eb6c2af06606edf08aaecb9aa88b34aa6aa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e10239df9c0d1c7b0a15357fdc35eb6c2af06606edf08aaecb9aa88b34aa6aa7", kill_on_drop: false }` [INFO] [stdout] e10239df9c0d1c7b0a15357fdc35eb6c2af06606edf08aaecb9aa88b34aa6aa7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e8eaf2bdcd12810865fd3e88fd54af5b214549a0ebc5bc8ffa4a09055279dd3a [INFO] running `Command { std: "docker" "start" "-a" "e8eaf2bdcd12810865fd3e88fd54af5b214549a0ebc5bc8ffa4a09055279dd3a", kill_on_drop: false }` [INFO] [stderr] Compiling atat v0.15.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hal` [INFO] [stdout] --> examples/cortex-m-rt.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use hal::{ [INFO] [stdout] | ^^^ use of undeclared crate or module `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32l4xx_hal` [INFO] [stdout] --> examples/cortex-m-rt.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use stm32l4xx_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no external crate `stm32l4xx_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `cortex_m`, `hal::pac::interrupt`, `hal::pac::Peripherals`, `hal::pac::USART2`, `hal::serial::Config`, `hal::serial::Event::Rxne`, `hal::serial::Rx`, `hal::serial::Serial`, `hal::timer::Event`, `hal::timer::Timer` [INFO] [stdout] --> examples/cortex-m-rt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use cortex_m::asm; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_m` [INFO] [stdout] 10 | use hal::{ [INFO] [stdout] 11 | pac::{interrupt, Peripherals, USART2}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 12 | prelude::*, [INFO] [stdout] 13 | serial::{Config, Event::Rxne, Rx, Serial}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ ^^ ^^^^^^ [INFO] [stdout] 14 | timer::{Event, Timer}, [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_m_rt` [INFO] [stdout] --> examples/cortex-m-rt.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use cortex_m_rt::entry; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `cortex_m_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `entry` [INFO] [stdout] --> examples/cortex-m-rt.rs:58:3 [INFO] [stdout] | [INFO] [stdout] 58 | #[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 `stm32l4xx_hal` [INFO] [stdout] --> examples/rtic.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use stm32l4xx_hal::{ [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `stm32l4xx_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `interrupt` in this scope [INFO] [stdout] --> examples/cortex-m-rt.rs:135:3 [INFO] [stdout] | [INFO] [stdout] 135 | #[interrupt] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `interrupt` in this scope [INFO] [stdout] --> examples/cortex-m-rt.rs:141:3 [INFO] [stdout] | [INFO] [stdout] 141 | #[interrupt] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rtic` [INFO] [stdout] --> examples/rtic.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use rtic::{app, export::wfi}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rtic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `stm32l4xx_hal::pac::Peripherals`, `stm32l4xx_hal::pac::USART2`, `stm32l4xx_hal::serial::Config`, `stm32l4xx_hal::serial::Event::Rxne`, `stm32l4xx_hal::serial::Rx`, `stm32l4xx_hal::serial::Serial`, `stm32l4xx_hal::timer::Timer`, `rtic`, `rtic::export::wfi` [INFO] [stdout] --> examples/rtic.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pac::{Peripherals, USART2}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 9 | prelude::*, [INFO] [stdout] 10 | serial::{Config, Event::Rxne, Rx, Serial}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ ^^ ^^^^^^ [INFO] [stdout] 11 | timer::Timer, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use rtic::{app, export::wfi}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared crate or module `rtic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `app` [INFO] [stdout] --> examples/rtic.rs:49:3 [INFO] [stdout] | [INFO] [stdout] 49 | #[app(device = stm32l4xx_hal::pac, peripherals = true)] [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 `Peripherals` [INFO] [stdout] --> examples/cortex-m-rt.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let p = Peripherals::take().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Peripherals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Serial` [INFO] [stdout] --> examples/cortex-m-rt.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | let mut serial = Serial::usart2( [INFO] [stdout] | ^^^^^^ use of undeclared type `Serial` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_m` [INFO] [stdout] --> examples/cortex-m-rt.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | unsafe { cortex_m::peripheral::NVIC::unmask(hal::stm32::Interrupt::TIM7) }; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `init` in this scope [INFO] [stdout] --> examples/rtic.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | #[init(spawn = [at_loop])] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `init` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `idle` in this scope [INFO] [stdout] --> examples/rtic.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | #[idle] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `idle` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> examples/rtic.rs:125:7 [INFO] [stdout] | [INFO] [stdout] 125 | #[task(spawn = [at_loop], resources = [ingress])] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> examples/rtic.rs:136:7 [INFO] [stdout] | [INFO] [stdout] 136 | #[task(binds = USART2, priority = 4, resources = [ingress, rx])] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/cortex-m-rt.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 118 | timer.listen(Event::TimeOut); [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_m` [INFO] [stdout] --> examples/cortex-m-rt.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | cortex_m::peripheral::SCB::sys_reset(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Timer` in this scope [INFO] [stdout] --> examples/cortex-m-rt.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | _timer: Timer, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 4 | use fugit_timer::Timer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Timer` in this scope [INFO] [stdout] --> examples/cortex-m-rt.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | fn new(timer: Timer) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 4 | use fugit_timer::Timer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rx` in this scope [INFO] [stdout] --> examples/cortex-m-rt.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | static mut RX: Option> = None; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Timer` [INFO] [stdout] --> examples/cortex-m-rt.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | let mut timer = Timer::tim7(p.TIM7, 1.hz(), clocks, &mut rcc.apb1r1); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 4 | use fugit_timer::Timer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Timer` [INFO] [stdout] --> examples/cortex-m-rt.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | let at_timer = Timer::tim6(p.TIM6, 100.hz(), clocks, &mut rcc.apb1r1); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 4 | use fugit_timer::Timer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> examples/cortex-m-rt.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | Config::default().baudrate(115_200.bps()), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use atat::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rxne` in this scope [INFO] [stdout] --> examples/cortex-m-rt.rs:97:19 [INFO] [stdout] | [INFO] [stdout] 97 | serial.listen(Rxne); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `init` [INFO] [stdout] --> examples/rtic.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | fn init(ctx: init::Context) -> init::LateResources { [INFO] [stdout] | ^^^^ use of undeclared crate or module `init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `init` [INFO] [stdout] --> examples/rtic.rs:58:36 [INFO] [stdout] | [INFO] [stdout] 58 | fn init(ctx: init::Context) -> init::LateResources { [INFO] [stdout] | ^^^^ use of undeclared crate or module `init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Peripherals` [INFO] [stdout] --> examples/rtic.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | let p = Peripherals::take().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Peripherals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Serial` [INFO] [stdout] --> examples/rtic.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | let mut serial = Serial::usart2( [INFO] [stdout] | ^^^^^^ use of undeclared type `Serial` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `init` [INFO] [stdout] --> examples/rtic.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | init::LateResources { ingress, rx } [INFO] [stdout] | ^^^^ use of undeclared crate or module `init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `idle` [INFO] [stdout] --> examples/rtic.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | fn idle(_: idle::Context) -> ! { [INFO] [stdout] | ^^^^ use of undeclared crate or module `idle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `at_loop` [INFO] [stdout] --> examples/rtic.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | fn at_loop(mut ctx: at_loop::Context) { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `at_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serial_irq` [INFO] [stdout] --> examples/rtic.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | fn serial_irq(ctx: serial_irq::Context) { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serial_irq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_m` [INFO] [stdout] --> examples/rtic.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | cortex_m::peripheral::SCB::sys_reset(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Timer` in this scope [INFO] [stdout] --> examples/rtic.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | _timer: Timer, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 6 | use fugit_timer::Timer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Timer` in this scope [INFO] [stdout] --> examples/rtic.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | fn new(timer: Timer) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 6 | use fugit_timer::Timer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rx` in this scope [INFO] [stdout] --> examples/rtic.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | rx: Rx, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `USART2` in this scope [INFO] [stdout] --> examples/rtic.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 51 | struct Resources { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 54 | rx: Rx, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Timer` [INFO] [stdout] --> examples/rtic.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | let timer = Timer::tim7(p.TIM7, 1.hz(), clocks, &mut rcc.apb1r1); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 6 | use fugit_timer::Timer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> examples/rtic.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | Config::default().baudrate(115_200.bps()), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use atat::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Rxne` in this scope [INFO] [stdout] --> examples/rtic.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | serial.listen(Rxne); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wfi` in this scope [INFO] [stdout] --> examples/rtic.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | wfi(); [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] = note: this can occur when a binary crate with `#![no_std]` is compiled for a target where `eh_personality` is defined in the standard library [INFO] [stdout] = help: you may be able to compile for a target that doesn't need `eh_personality`, specify a target with `--target` or in `.cargo/config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] | [INFO] [stdout] = note: this can occur when a binary crate with `#![no_std]` is compiled for a target where `eh_personality` is defined in the standard library [INFO] [stdout] = help: you may be able to compile for a target that doesn't need `eh_personality`, specify a target with `--target` or in `.cargo/config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/cortex-m-rt.rs:151:45 [INFO] [stdout] | [INFO] [stdout] 151 | fn panic(_info: &core::panic::PanicInfo) -> ! { [INFO] [stdout] | ----- ^ expected `!`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected type `!` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/rtic.rs:152:45 [INFO] [stdout] | [INFO] [stdout] 152 | fn panic(_info: &core::panic::PanicInfo) -> ! { [INFO] [stdout] | ----- ^ expected `!`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected type `!` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `hz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/rtic.rs:88:43 [INFO] [stdout] | [INFO] [stdout] 88 | let timer = Timer::tim7(p.TIM7, 1.hz(), clocks, &mut rcc.apb1r1); [INFO] [stdout] | ^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bps` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/rtic.rs:94:48 [INFO] [stdout] | [INFO] [stdout] 94 | Config::default().baudrate(115_200.bps()), [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `atat` due to 30 previous errors [INFO] [stdout] error[E0599]: no method named `hz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/cortex-m-rt.rs:85:43 [INFO] [stdout] | [INFO] [stdout] 85 | let mut timer = Timer::tim7(p.TIM7, 1.hz(), clocks, &mut rcc.apb1r1); [INFO] [stdout] | ^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `hz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/cortex-m-rt.rs:86:44 [INFO] [stdout] | [INFO] [stdout] 86 | let at_timer = Timer::tim6(p.TIM6, 100.hz(), clocks, &mut rcc.apb1r1); [INFO] [stdout] | ^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bps` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/cortex-m-rt.rs:92:44 [INFO] [stdout] | [INFO] [stdout] 92 | Config::default().baudrate(115_200.bps()), [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e8eaf2bdcd12810865fd3e88fd54af5b214549a0ebc5bc8ffa4a09055279dd3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8eaf2bdcd12810865fd3e88fd54af5b214549a0ebc5bc8ffa4a09055279dd3a", kill_on_drop: false }` [INFO] [stdout] e8eaf2bdcd12810865fd3e88fd54af5b214549a0ebc5bc8ffa4a09055279dd3a