[INFO] fetching crate efm32gg-hal 0.3.0... [INFO] testing efm32gg-hal-0.3.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate efm32gg-hal 0.3.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate efm32gg-hal 0.3.0 [INFO] finished tweaking crates.io crate efm32gg-hal 0.3.0 [INFO] tweaked toml for crates.io crate efm32gg-hal 0.3.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate efm32gg-hal 0.3.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 26 packages to latest compatible versions [INFO] [stderr] Adding cortex-m v0.5.11 (available: v0.7.7) [INFO] [stderr] Adding embedded-hal v0.2.7 (available: v1.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72dc1d010471ac7c033d61d3d741f7b19d5b6ead613758941363dc81f86b08e4 [INFO] running `Command { std: "docker" "start" "-a" "72dc1d010471ac7c033d61d3d741f7b19d5b6ead613758941363dc81f86b08e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72dc1d010471ac7c033d61d3d741f7b19d5b6ead613758941363dc81f86b08e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72dc1d010471ac7c033d61d3d741f7b19d5b6ead613758941363dc81f86b08e4", kill_on_drop: false }` [INFO] [stdout] 72dc1d010471ac7c033d61d3d741f7b19d5b6ead613758941363dc81f86b08e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9198b26d55a5812f7f5fa72c60c3130e024628b6aab30950722bca297c4660d4 [INFO] running `Command { std: "docker" "start" "-a" "9198b26d55a5812f7f5fa72c60c3130e024628b6aab30950722bca297c4660d4", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling cortex-m v0.5.11 [INFO] [stderr] Compiling aligned v0.2.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling as-slice v0.1.5 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling aligned v0.3.5 [INFO] [stderr] Compiling efm32gg-hal v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `registers` [INFO] [stdout] --> src/cmu.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use registers; [INFO] [stdout] | ^^^^^^^^^ no external crate `registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `registers` [INFO] [stdout] --> src/gpio.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use registers; [INFO] [stdout] | ^^^^^^^^^ no external crate `registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `registers` [INFO] [stdout] --> src/timer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use registers; [INFO] [stdout] | ^^^^^^^^^ no external crate `registers` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::gpio::pins::registers` exists but is inaccessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gpio` [INFO] [stdout] --> src/timer.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 333 | use crate::gpio; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | type Output: digital::OutputPin + digital::StatefulOutputPin; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::StatefulOutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:44:48 [INFO] [stdout] | [INFO] [stdout] 44 | type Output: digital::OutputPin + digital::StatefulOutputPin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | type Input: digital::InputPin; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:82:31 [INFO] [stdout] | [INFO] [stdout] 82 | impl digital::OutputPin for $PXi { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | / gpio!([ [INFO] [stdout] 176 | | PA0: (pa0, 0, pa_din, pa_dout, mode0, pa_model), [INFO] [stdout] 177 | | PA1: (pa1, 1, pa_din, pa_dout, mode1, pa_model), [INFO] [stdout] 178 | | PA2: (pa2, 2, pa_din, pa_dout, mode2, pa_model), [INFO] [stdout] ... | [INFO] [stdout] 271 | | PF15: (pf15, 15, pf_din, pf_dout, mode15, pf_modeh), [INFO] [stdout] 272 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::StatefulOutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | impl digital::StatefulOutputPin for $PXi { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | / gpio!([ [INFO] [stdout] 176 | | PA0: (pa0, 0, pa_din, pa_dout, mode0, pa_model), [INFO] [stdout] 177 | | PA1: (pa1, 1, pa_din, pa_dout, mode1, pa_model), [INFO] [stdout] 178 | | PA2: (pa2, 2, pa_din, pa_dout, mode2, pa_model), [INFO] [stdout] ... | [INFO] [stdout] 271 | | PF15: (pf15, 15, pf_din, pf_dout, mode15, pf_modeh), [INFO] [stdout] 272 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | impl digital::InputPin for $PXi { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | / gpio!([ [INFO] [stdout] 176 | | PA0: (pa0, 0, pa_din, pa_dout, mode0, pa_model), [INFO] [stdout] 177 | | PA1: (pa1, 1, pa_din, pa_dout, mode1, pa_model), [INFO] [stdout] 178 | | PA2: (pa2, 2, pa_din, pa_dout, mode2, pa_model), [INFO] [stdout] ... | [INFO] [stdout] 271 | | PF15: (pf15, 15, pf_din, pf_dout, mode15, pf_modeh), [INFO] [stdout] 272 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `disable` [INFO] [stdout] --> src/timer.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | impl embedded_hal::Pwm for $TimerN { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `disable` in implementation [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] = help: implement the missing item: `fn disable(&mut self, _: ::Channel) { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `disable` [INFO] [stdout] --> src/timer.rs:247:1 [INFO] [stdout] | [INFO] [stdout] 247 | impl

embedded_hal::PwmPin for RoutedTimerChannel<$TimerN, $ChannelX, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `disable` in implementation [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timerchannel` which comes from the expansion of the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] = help: implement the missing item: `fn disable(&mut self) { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `disable` [INFO] [stdout] --> src/timer.rs:247:1 [INFO] [stdout] | [INFO] [stdout] 247 | impl

embedded_hal::PwmPin for RoutedTimerChannel<$TimerN, $ChannelX, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `disable` in implementation [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timerchannel` which comes from the expansion of the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] = help: implement the missing item: `fn disable(&mut self) { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `disable` [INFO] [stdout] --> src/timer.rs:247:1 [INFO] [stdout] | [INFO] [stdout] 247 | impl

embedded_hal::PwmPin for RoutedTimerChannel<$TimerN, $ChannelX, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `disable` in implementation [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timerchannel` which comes from the expansion of the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] = help: implement the missing item: `fn disable(&mut self) { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `disable` [INFO] [stdout] --> src/timer.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | impl embedded_hal::Pwm for $TimerN { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `disable` in implementation [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] = help: implement the missing item: `fn disable(&mut self, _: ::Channel) { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `disable` [INFO] [stdout] --> src/timer.rs:247:1 [INFO] [stdout] | [INFO] [stdout] 247 | impl

embedded_hal::PwmPin for RoutedTimerChannel<$TimerN, $ChannelX, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `disable` in implementation [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timerchannel` which comes from the expansion of the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] = help: implement the missing item: `fn disable(&mut self) { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `disable` [INFO] [stdout] --> src/timer.rs:247:1 [INFO] [stdout] | [INFO] [stdout] 247 | impl

embedded_hal::PwmPin for RoutedTimerChannel<$TimerN, $ChannelX, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `disable` in implementation [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timerchannel` which comes from the expansion of the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] = help: implement the missing item: `fn disable(&mut self) { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `disable` [INFO] [stdout] --> src/timer.rs:247:1 [INFO] [stdout] | [INFO] [stdout] 247 | impl

embedded_hal::PwmPin for RoutedTimerChannel<$TimerN, $ChannelX, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `disable` in implementation [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timerchannel` which comes from the expansion of the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] = help: implement the missing item: `fn disable(&mut self) { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/cmu.rs:68:40 [INFO] [stdout] | [INFO] [stdout] 68 | cmu.hfperclken0.modify(|_, w| w.i2c0().set_bit()); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 68 | cmu.hfperclken0.modify(|_, w: /* Type */| w.i2c0().set_bit()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/cmu.rs:86:51 [INFO] [stdout] | [INFO] [stdout] 86 | cmu.hfperclken0.modify(|_, w| w.$timerN().set_bit()); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 93 | timerclk!(TIMER0Clk, timer0); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timerclk` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/cmu.rs:86:51 [INFO] [stdout] | [INFO] [stdout] 86 | cmu.hfperclken0.modify(|_, w| w.$timerN().set_bit()); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 94 | timerclk!(TIMER1Clk, timer1); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timerclk` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cmu.rs:134:32 [INFO] [stdout] | [INFO] [stdout] 134 | fn get_frequency(&self) -> Hertz { [INFO] [stdout] | ------------- ^^^^^ expected `Hertz`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embedded_hal::digital::StatefulOutputPin::is_set_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:109:31 [INFO] [stdout] | [INFO] [stdout] 109 | !self.is_set_low() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | / gpio!([ [INFO] [stdout] 176 | | PA0: (pa0, 0, pa_din, pa_dout, mode0, pa_model), [INFO] [stdout] 177 | | PA1: (pa1, 1, pa_din, pa_dout, mode1, pa_model), [INFO] [stdout] 178 | | PA2: (pa2, 2, pa_din, pa_dout, mode2, pa_model), [INFO] [stdout] ... | [INFO] [stdout] 271 | | PF15: (pf15, 15, pf_din, pf_dout, mode15, pf_modeh), [INFO] [stdout] 272 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embedded_hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 120 | !self.is_low() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | / gpio!([ [INFO] [stdout] 176 | | PA0: (pa0, 0, pa_din, pa_dout, mode0, pa_model), [INFO] [stdout] 177 | | PA1: (pa1, 1, pa_din, pa_dout, mode1, pa_model), [INFO] [stdout] 178 | | PA2: (pa2, 2, pa_din, pa_dout, mode2, pa_model), [INFO] [stdout] ... | [INFO] [stdout] 271 | | PF15: (pf15, 15, pf_din, pf_dout, mode15, pf_modeh), [INFO] [stdout] 272 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/gpio.rs:131:55 [INFO] [stdout] | [INFO] [stdout] 131 | gpio.$px_modehl.modify(|_, w| w.$modei().pushpull()); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 175 | / gpio!([ [INFO] [stdout] 176 | | PA0: (pa0, 0, pa_din, pa_dout, mode0, pa_model), [INFO] [stdout] 177 | | PA1: (pa1, 1, pa_din, pa_dout, mode1, pa_model), [INFO] [stdout] 178 | | PA2: (pa2, 2, pa_din, pa_dout, mode2, pa_model), [INFO] [stdout] ... | [INFO] [stdout] 271 | | PF15: (pf15, 15, pf_din, pf_dout, mode15, pf_modeh), [INFO] [stdout] 272 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/gpio.rs:137:55 [INFO] [stdout] | [INFO] [stdout] 137 | gpio.$px_modehl.modify(|_, w| w.$modei().wiredand()); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 175 | / gpio!([ [INFO] [stdout] 176 | | PA0: (pa0, 0, pa_din, pa_dout, mode0, pa_model), [INFO] [stdout] 177 | | PA1: (pa1, 1, pa_din, pa_dout, mode1, pa_model), [INFO] [stdout] 178 | | PA2: (pa2, 2, pa_din, pa_dout, mode2, pa_model), [INFO] [stdout] ... | [INFO] [stdout] 271 | | PF15: (pf15, 15, pf_din, pf_dout, mode15, pf_modeh), [INFO] [stdout] 272 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/gpio.rs:143:55 [INFO] [stdout] | [INFO] [stdout] 143 | gpio.$px_modehl.modify(|_, w| w.$modei().input()); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 175 | / gpio!([ [INFO] [stdout] 176 | | PA0: (pa0, 0, pa_din, pa_dout, mode0, pa_model), [INFO] [stdout] 177 | | PA1: (pa1, 1, pa_din, pa_dout, mode1, pa_model), [INFO] [stdout] 178 | | PA2: (pa2, 2, pa_din, pa_dout, mode2, pa_model), [INFO] [stdout] ... | [INFO] [stdout] 271 | | PF15: (pf15, 15, pf_din, pf_dout, mode15, pf_modeh), [INFO] [stdout] 272 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:65:54 [INFO] [stdout] | [INFO] [stdout] 65 | self.register.cc0_ctrl.modify(|_, w| w.mode().variant(registers::$timerN::cc0_ctrl::MODEW::PWM)); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:72:54 [INFO] [stdout] | [INFO] [stdout] 72 | self.register.cc1_ctrl.modify(|_, w| w.mode().variant(registers::$timerN::cc1_ctrl::MODEW::PWM)); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:79:54 [INFO] [stdout] | [INFO] [stdout] 79 | self.register.cc2_ctrl.modify(|_, w| w.mode().variant(registers::$timerN::cc2_ctrl::MODEW::PWM)); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:119:63 [INFO] [stdout] | [INFO] [stdout] 119 | 0 => self.register.cc0_ccv.modify(|_, w| unsafe { w.ccv().bits(duty) }), [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:120:63 [INFO] [stdout] | [INFO] [stdout] 120 | 1 => self.register.cc1_ccv.modify(|_, w| unsafe { w.ccv().bits(duty) }), [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:121:63 [INFO] [stdout] | [INFO] [stdout] 121 | 2 => self.register.cc2_ccv.modify(|_, w| unsafe { w.ccv().bits(duty) }), [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:144:55 [INFO] [stdout] | [INFO] [stdout] 144 | 0 => self.register.cc0_ctrl.modify(|_, w| w.outinv().bit(inverted)), [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:145:55 [INFO] [stdout] | [INFO] [stdout] 145 | 1 => self.register.cc1_ctrl.modify(|_, w| w.outinv().bit(inverted)), [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:146:55 [INFO] [stdout] | [INFO] [stdout] 146 | 2 => self.register.cc2_ctrl.modify(|_, w| w.outinv().bit(inverted)), [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:155:50 [INFO] [stdout] | [INFO] [stdout] 155 | self.register.top.modify(|_, w| unsafe { w.top().bits(top) }); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:163:50 [INFO] [stdout] | [INFO] [stdout] 163 | self.register.ien.modify(|r, w| unsafe { w.bits(interrupt.bits() | r.bits()) }); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:163:76 [INFO] [stdout] | [INFO] [stdout] 163 | self.register.ien.modify(|r, w| unsafe { w.bits(interrupt.bits() | r.bits()) }); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:174:32 [INFO] [stdout] | [INFO] [stdout] 174 | reg.ifc.write(|w| w.bits(interrupt.bits()) ); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:181:55 [INFO] [stdout] | [INFO] [stdout] 181 | 0 => self.register.cc0_ctrl.modify(|_, w| w.mode().variant(registers::$timerN::cc0_ctrl::MODEW::OUTPUTCOMPARE)), [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:182:55 [INFO] [stdout] | [INFO] [stdout] 182 | 1 => self.register.cc1_ctrl.modify(|_, w| w.mode().variant(registers::$timerN::cc1_ctrl::MODEW::OUTPUTCOMPARE)), [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:183:55 [INFO] [stdout] | [INFO] [stdout] 183 | 2 => self.register.cc2_ctrl.modify(|_, w| w.mode().variant(registers::$timerN::cc2_ctrl::MODEW::OUTPUTCOMPARE)), [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:189:37 [INFO] [stdout] | [INFO] [stdout] 189 | self.register.cmd.write(|w| w.start().bit(true)); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:243:74 [INFO] [stdout] | [INFO] [stdout] 243 | unsafe { &mut *self.channel.register() }.$ccX_ctrl.modify(|_, w| w.outinv().bit(inverted)); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timerchannel` which comes from the expansion of the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:252:74 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe { &mut *self.channel.register() }.$ccX_ctrl.modify(|_, w| w.mode().pwm()); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timerchannel` which comes from the expansion of the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:288:82 [INFO] [stdout] | [INFO] [stdout] 288 | unsafe { &mut *self.channel.register() }.$ccX_ccv.modify(|_, w| unsafe { w.ccv().bits(duty) }) [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timerchannel` which comes from the expansion of the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:243:74 [INFO] [stdout] | [INFO] [stdout] 243 | unsafe { &mut *self.channel.register() }.$ccX_ctrl.modify(|_, w| w.outinv().bit(inverted)); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timerchannel` which comes from the expansion of the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:252:74 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe { &mut *self.channel.register() }.$ccX_ctrl.modify(|_, w| w.mode().pwm()); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timerchannel` which comes from the expansion of the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:288:82 [INFO] [stdout] | [INFO] [stdout] 288 | unsafe { &mut *self.channel.register() }.$ccX_ccv.modify(|_, w| unsafe { w.ccv().bits(duty) }) [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timerchannel` which comes from the expansion of the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:243:74 [INFO] [stdout] | [INFO] [stdout] 243 | unsafe { &mut *self.channel.register() }.$ccX_ctrl.modify(|_, w| w.outinv().bit(inverted)); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timerchannel` which comes from the expansion of the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:252:74 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe { &mut *self.channel.register() }.$ccX_ctrl.modify(|_, w| w.mode().pwm()); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timerchannel` which comes from the expansion of the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:288:82 [INFO] [stdout] | [INFO] [stdout] 288 | unsafe { &mut *self.channel.register() }.$ccX_ccv.modify(|_, w| unsafe { w.ccv().bits(duty) }) [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timerchannel` which comes from the expansion of the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:65:54 [INFO] [stdout] | [INFO] [stdout] 65 | self.register.cc0_ctrl.modify(|_, w| w.mode().variant(registers::$timerN::cc0_ctrl::MODEW::PWM)); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:72:54 [INFO] [stdout] | [INFO] [stdout] 72 | self.register.cc1_ctrl.modify(|_, w| w.mode().variant(registers::$timerN::cc1_ctrl::MODEW::PWM)); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:79:54 [INFO] [stdout] | [INFO] [stdout] 79 | self.register.cc2_ctrl.modify(|_, w| w.mode().variant(registers::$timerN::cc2_ctrl::MODEW::PWM)); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:119:63 [INFO] [stdout] | [INFO] [stdout] 119 | 0 => self.register.cc0_ccv.modify(|_, w| unsafe { w.ccv().bits(duty) }), [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:120:63 [INFO] [stdout] | [INFO] [stdout] 120 | 1 => self.register.cc1_ccv.modify(|_, w| unsafe { w.ccv().bits(duty) }), [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:121:63 [INFO] [stdout] | [INFO] [stdout] 121 | 2 => self.register.cc2_ccv.modify(|_, w| unsafe { w.ccv().bits(duty) }), [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:144:55 [INFO] [stdout] | [INFO] [stdout] 144 | 0 => self.register.cc0_ctrl.modify(|_, w| w.outinv().bit(inverted)), [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:145:55 [INFO] [stdout] | [INFO] [stdout] 145 | 1 => self.register.cc1_ctrl.modify(|_, w| w.outinv().bit(inverted)), [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:146:55 [INFO] [stdout] | [INFO] [stdout] 146 | 2 => self.register.cc2_ctrl.modify(|_, w| w.outinv().bit(inverted)), [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:155:50 [INFO] [stdout] | [INFO] [stdout] 155 | self.register.top.modify(|_, w| unsafe { w.top().bits(top) }); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:163:50 [INFO] [stdout] | [INFO] [stdout] 163 | self.register.ien.modify(|r, w| unsafe { w.bits(interrupt.bits() | r.bits()) }); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:163:76 [INFO] [stdout] | [INFO] [stdout] 163 | self.register.ien.modify(|r, w| unsafe { w.bits(interrupt.bits() | r.bits()) }); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:174:32 [INFO] [stdout] | [INFO] [stdout] 174 | reg.ifc.write(|w| w.bits(interrupt.bits()) ); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:181:55 [INFO] [stdout] | [INFO] [stdout] 181 | 0 => self.register.cc0_ctrl.modify(|_, w| w.mode().variant(registers::$timerN::cc0_ctrl::MODEW::OUTPUTCOMPARE)), [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:182:55 [INFO] [stdout] | [INFO] [stdout] 182 | 1 => self.register.cc1_ctrl.modify(|_, w| w.mode().variant(registers::$timerN::cc1_ctrl::MODEW::OUTPUTCOMPARE)), [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:183:55 [INFO] [stdout] | [INFO] [stdout] 183 | 2 => self.register.cc2_ctrl.modify(|_, w| w.mode().variant(registers::$timerN::cc2_ctrl::MODEW::OUTPUTCOMPARE)), [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:189:37 [INFO] [stdout] | [INFO] [stdout] 189 | self.register.cmd.write(|w| w.start().bit(true)); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:243:74 [INFO] [stdout] | [INFO] [stdout] 243 | unsafe { &mut *self.channel.register() }.$ccX_ctrl.modify(|_, w| w.outinv().bit(inverted)); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timerchannel` which comes from the expansion of the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:252:74 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe { &mut *self.channel.register() }.$ccX_ctrl.modify(|_, w| w.mode().pwm()); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timerchannel` which comes from the expansion of the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:288:82 [INFO] [stdout] | [INFO] [stdout] 288 | unsafe { &mut *self.channel.register() }.$ccX_ccv.modify(|_, w| unsafe { w.ccv().bits(duty) }) [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timerchannel` which comes from the expansion of the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:243:74 [INFO] [stdout] | [INFO] [stdout] 243 | unsafe { &mut *self.channel.register() }.$ccX_ctrl.modify(|_, w| w.outinv().bit(inverted)); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timerchannel` which comes from the expansion of the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:252:74 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe { &mut *self.channel.register() }.$ccX_ctrl.modify(|_, w| w.mode().pwm()); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timerchannel` which comes from the expansion of the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:288:82 [INFO] [stdout] | [INFO] [stdout] 288 | unsafe { &mut *self.channel.register() }.$ccX_ccv.modify(|_, w| unsafe { w.ccv().bits(duty) }) [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timerchannel` which comes from the expansion of the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:243:74 [INFO] [stdout] | [INFO] [stdout] 243 | unsafe { &mut *self.channel.register() }.$ccX_ctrl.modify(|_, w| w.outinv().bit(inverted)); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timerchannel` which comes from the expansion of the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:252:74 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe { &mut *self.channel.register() }.$ccX_ctrl.modify(|_, w| w.mode().pwm()); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timerchannel` which comes from the expansion of the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:288:82 [INFO] [stdout] | [INFO] [stdout] 288 | unsafe { &mut *self.channel.register() }.$ccX_ccv.modify(|_, w| unsafe { w.ccv().bits(duty) }) [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `timerchannel` which comes from the expansion of the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/timer.rs:109:33 [INFO] [stdout] | [INFO] [stdout] 109 | fn set_period

(&mut self, time: P) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `time` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/timer.rs:109:33 [INFO] [stdout] | [INFO] [stdout] 109 | fn set_period

(&mut self, time: P) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | timer!(TIMER0, TIMER0Clk, Timer0, timer0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/timer.rs:109:33 [INFO] [stdout] | [INFO] [stdout] 109 | fn set_period

(&mut self, time: P) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `time` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/timer.rs:109:33 [INFO] [stdout] | [INFO] [stdout] 109 | fn set_period

(&mut self, time: P) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 329 | timer!(TIMER1, TIMER1Clk, Timer1, timer1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0282, E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `efm32gg-hal` (lib) due to 70 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9198b26d55a5812f7f5fa72c60c3130e024628b6aab30950722bca297c4660d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9198b26d55a5812f7f5fa72c60c3130e024628b6aab30950722bca297c4660d4", kill_on_drop: false }` [INFO] [stdout] 9198b26d55a5812f7f5fa72c60c3130e024628b6aab30950722bca297c4660d4