[INFO] updating cached repository https://github.com/jonlamb-gh/lmc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a159918458502387f762d0cf53a9ae53d2a81c5 [INFO] testing jonlamb-gh/lmc against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonlamb-gh%2Flmc" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jonlamb-gh/lmc on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7/source/.cargo/config [INFO] started tweaking git repo https://github.com/jonlamb-gh/lmc [INFO] removed path dependency embedded-graphics from git repo https://github.com/jonlamb-gh/lmc [INFO] removed path dependency ssd1306 from git repo https://github.com/jonlamb-gh/lmc [INFO] removed path dependency stm32f1xx-hal from git repo https://github.com/jonlamb-gh/lmc [INFO] finished tweaking git repo https://github.com/jonlamb-gh/lmc [INFO] tweaked toml for git repo https://github.com/jonlamb-gh/lmc written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/jonlamb-gh/lmc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (embedded-graphics) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (ssd1306) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (stm32f1xx-hal) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (embedded-graphics) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (ssd1306) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (stm32f1xx-hal) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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] 595a6f8ce19b4fa9e6007904d6d293e775c7dfd776d8da81b9e0ae76b06c4db5 [INFO] running `Command { std: "docker" "start" "-a" "595a6f8ce19b4fa9e6007904d6d293e775c7dfd776d8da81b9e0ae76b06c4db5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "595a6f8ce19b4fa9e6007904d6d293e775c7dfd776d8da81b9e0ae76b06c4db5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "595a6f8ce19b4fa9e6007904d6d293e775c7dfd776d8da81b9e0ae76b06c4db5", kill_on_drop: false }` [INFO] [stdout] 595a6f8ce19b4fa9e6007904d6d293e775c7dfd776d8da81b9e0ae76b06c4db5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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] 6b69645424f7cfa791120b4e459177484c05503b9aa3f705dbd8b8a010e2653a [INFO] running `Command { std: "docker" "start" "-a" "6b69645424f7cfa791120b4e459177484c05503b9aa3f705dbd8b8a010e2653a", kill_on_drop: false }` [INFO] [stderr] warning: dependency (embedded-graphics) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (ssd1306) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (stm32f1xx-hal) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling cortex-m v0.6.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling vcell v0.1.2 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling cortex-m-rt v0.6.12 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.5 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling stm32f1 v0.11.0 [INFO] [stderr] Compiling heapless v0.4.4 [INFO] [stderr] Compiling ssd1306 v0.3.1 [INFO] [stderr] Compiling cortex-m v0.5.10 [INFO] [stderr] Compiling aligned v0.2.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling volatile-register v0.2.0 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling generic-array v0.11.1 [INFO] [stderr] Compiling embedded-hal v0.2.4 [INFO] [stderr] Compiling pwm-pca9685 v0.1.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling as-slice v0.1.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling embedded-graphics v0.6.2 [INFO] [stderr] Compiling aligned v0.3.2 [INFO] [stderr] Compiling panic-semihosting v0.5.3 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling stm32f1xx-hal v0.6.1 [INFO] [stderr] Compiling lmc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::hal::iwdg` [INFO] [stdout] --> src/main.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::hal::iwdg::{Iwdg, IwdgConfig, WatchdogTimeout}; [INFO] [stdout] | ^^^^ could not find `iwdg` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Coord` [INFO] [stdout] --> src/display.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | .translate(Coord::new(0, 0)) [INFO] [stdout] | ^^^^^ use of undeclared type or module `Coord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Coord` [INFO] [stdout] --> src/display.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 71 | .translate(Coord::new(68, 0)) [INFO] [stdout] | ^^^^^ use of undeclared type or module `Coord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Coord` [INFO] [stdout] --> src/display.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | .translate(Coord::new(0, 12)) [INFO] [stdout] | ^^^^^ use of undeclared type or module `Coord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Coord` [INFO] [stdout] --> src/display.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | .translate(Coord::new(0, 24)) [INFO] [stdout] | ^^^^^ use of undeclared type or module `Coord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Coord` [INFO] [stdout] --> src/display.rs:107:28 [INFO] [stdout] | [INFO] [stdout] 107 | .translate(Coord::new(68, 24)) [INFO] [stdout] | ^^^^^ use of undeclared type or module `Coord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_hal::timer::CountDown` [INFO] [stdout] --> src/lcm.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use embedded_hal::timer::CountDown; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `panic_semihosting` [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use panic_semihosting; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'hal::prelude::_embedded_hal_digital_InputPin': Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/debounce_input.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use embedded_hal::digital::InputPin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'hal::prelude::_embedded_hal_digital_InputPin': Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/debounce_input.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | T: InputPin, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'hal::prelude::_embedded_hal_digital_InputPin': Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/input.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use embedded_hal::digital::InputPin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'hal::prelude::_embedded_hal_digital_InputPin': Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/input.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | BTN0: InputPin, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'hal::prelude::_embedded_hal_digital_InputPin': Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/input.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | BTN1: InputPin, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'hal::prelude::_embedded_hal_digital_InputPin': Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/input.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | BTN2: InputPin, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'embedded_hal::digital::StatefulOutputPin': Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lcm.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | OE: digital::StatefulOutputPin + digital::OutputPin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'hal::prelude::_embedded_hal_digital_OutputPin': Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lcm.rs:50:38 [INFO] [stdout] | [INFO] [stdout] 50 | OE: digital::StatefulOutputPin + digital::OutputPin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'embedded_hal::digital::StatefulOutputPin': Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lcm.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | RLY: digital::StatefulOutputPin + digital::OutputPin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'hal::prelude::_embedded_hal_digital_OutputPin': Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lcm.rs:51:39 [INFO] [stdout] | [INFO] [stdout] 51 | RLY: digital::StatefulOutputPin + digital::OutputPin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_low` found for struct `hal::gpio::gpioa::PA5>` in the current scope [INFO] [stdout] --> src/main.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | led.set_low(); [INFO] [stdout] | ^^^^^^^ method not found in `hal::gpio::gpioa::PA5>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 12 | use embedded_hal::digital::v2::OutputPin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | 115_200.bps(), [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `hal::serial::Config`, found struct `hal::time::Bps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied [INFO] [stdout] --> src/main.rs:112:34 [INFO] [stdout] | [INFO] [stdout] 112 | let lcm_timer: Timer = Timer::tim2(p.TIM2, 1.hz(), clocks, &mut rcc.apb1); [INFO] [stdout] | ^^^^^^^^^^^ ------ ------ ------ ------------- supplied 4 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:122:37 [INFO] [stdout] | [INFO] [stdout] 122 | Mode::Standard { frequency: 100_000 }, [INFO] [stdout] | ^^^^^^^ expected struct `hal::time::Hertz`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `hal::gpio::gpiob::PB6>: embedded_hal::digital::StatefulOutputPin` is not satisfied [INFO] [stdout] --> src/main.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | let mut lcm = Lcm::new(pwm_i2c, pwm_oe, pwm_relay, lcm_timer); [INFO] [stdout] | ^^^^^^^^ the trait `embedded_hal::digital::StatefulOutputPin` is not implemented for `hal::gpio::gpiob::PB6>` [INFO] [stdout] | [INFO] [stdout] ::: src/lcm.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new(i2c: I2C, oe: OE, relay: RLY, timer: Timer) -> Self { [INFO] [stdout] | -------------------------------------------------------------------- required by `lcm::Lcm::::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `hal::gpio::gpiob::PB6>: hal::prelude::_embedded_hal_digital_OutputPin` is not satisfied [INFO] [stdout] --> src/main.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | let mut lcm = Lcm::new(pwm_i2c, pwm_oe, pwm_relay, lcm_timer); [INFO] [stdout] | ^^^^^^^^ the trait `hal::prelude::_embedded_hal_digital_OutputPin` is not implemented for `hal::gpio::gpiob::PB6>` [INFO] [stdout] | [INFO] [stdout] ::: src/lcm.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new(i2c: I2C, oe: OE, relay: RLY, timer: Timer) -> Self { [INFO] [stdout] | -------------------------------------------------------------------- required by `lcm::Lcm::::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `hal::gpio::gpiob::PB5>: embedded_hal::digital::StatefulOutputPin` is not satisfied [INFO] [stdout] --> src/main.rs:131:45 [INFO] [stdout] | [INFO] [stdout] 131 | let mut lcm = Lcm::new(pwm_i2c, pwm_oe, pwm_relay, lcm_timer); [INFO] [stdout] | ^^^^^^^^^ the trait `embedded_hal::digital::StatefulOutputPin` is not implemented for `hal::gpio::gpiob::PB5>` [INFO] [stdout] | [INFO] [stdout] ::: src/lcm.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new(i2c: I2C, oe: OE, relay: RLY, timer: Timer) -> Self { [INFO] [stdout] | -------------------------------------------------------------------- required by `lcm::Lcm::::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `hal::gpio::gpiob::PB5>: hal::prelude::_embedded_hal_digital_OutputPin` is not satisfied [INFO] [stdout] --> src/main.rs:131:45 [INFO] [stdout] | [INFO] [stdout] 131 | let mut lcm = Lcm::new(pwm_i2c, pwm_oe, pwm_relay, lcm_timer); [INFO] [stdout] | ^^^^^^^^^ the trait `hal::prelude::_embedded_hal_digital_OutputPin` is not implemented for `hal::gpio::gpiob::PB5>` [INFO] [stdout] | [INFO] [stdout] ::: src/lcm.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new(i2c: I2C, oe: OE, relay: RLY, timer: Timer) -> Self { [INFO] [stdout] | -------------------------------------------------------------------- required by `lcm::Lcm::::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:140:37 [INFO] [stdout] | [INFO] [stdout] 140 | Mode::Standard { frequency: 100_000 }, [INFO] [stdout] | ^^^^^^^ expected struct `hal::time::Hertz`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:157:15 [INFO] [stdout] | [INFO] [stdout] 157 | let adc = Adc::adc1(p.ADC1, &mut rcc.apb2); [INFO] [stdout] | ^^^^^^^^^ ------ ------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `hal::gpio::gpioa::PA10>: hal::prelude::_embedded_hal_digital_InputPin` is not satisfied [INFO] [stdout] --> src/main.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | let mut input = Input::new(btn0_in, btn1_in, btn2_in, adc, ain0, ain1); [INFO] [stdout] | ^^^^^^^^^^ the trait `hal::prelude::_embedded_hal_digital_InputPin` is not implemented for `hal::gpio::gpioa::PA10>` [INFO] [stdout] | [INFO] [stdout] ::: src/input.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new(btn0: BTN0, btn1: BTN1, btn2: BTN2, adc: Adc, ain0: AIN0, ain1: AIN1) -> Self { [INFO] [stdout] | ---------------------------------------------------------------------------------------------- required by `input::Input::::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `hal::gpio::gpioa::PA8>: hal::prelude::_embedded_hal_digital_InputPin` is not satisfied [INFO] [stdout] --> src/main.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | let mut input = Input::new(btn0_in, btn1_in, btn2_in, adc, ain0, ain1); [INFO] [stdout] | ^^^^^^^^^^ the trait `hal::prelude::_embedded_hal_digital_InputPin` is not implemented for `hal::gpio::gpioa::PA8>` [INFO] [stdout] | [INFO] [stdout] ::: src/input.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new(btn0: BTN0, btn1: BTN1, btn2: BTN2, adc: Adc, ain0: AIN0, ain1: AIN1) -> Self { [INFO] [stdout] | ---------------------------------------------------------------------------------------------- required by `input::Input::::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `hal::gpio::gpioa::PA9>: hal::prelude::_embedded_hal_digital_InputPin` is not satisfied [INFO] [stdout] --> src/main.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | let mut input = Input::new(btn0_in, btn1_in, btn2_in, adc, ain0, ain1); [INFO] [stdout] | ^^^^^^^^^^ the trait `hal::prelude::_embedded_hal_digital_InputPin` is not implemented for `hal::gpio::gpioa::PA9>` [INFO] [stdout] | [INFO] [stdout] ::: src/input.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new(btn0: BTN0, btn1: BTN1, btn2: BTN2, adc: Adc, ain0: AIN0, ain1: AIN1) -> Self { [INFO] [stdout] | ---------------------------------------------------------------------------------------------- required by `input::Input::::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `button_wait` found for struct `input::Input>, hal::gpio::gpioa::PA8>, hal::gpio::gpioa::PA9>, hal::gpio::gpioa::PA0, hal::gpio::gpioa::PA1>` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/input.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Input { [INFO] [stdout] | ---------------------------------------------- method `button_wait` not found for this [INFO] [stdout] --> src/main.rs:177:19 [INFO] [stdout] | [INFO] [stdout] 177 | let _ = input.button_wait(Button::B0); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `input::Input>, hal::gpio::gpioa::PA8>, hal::gpio::gpioa::PA9>, hal::gpio::gpioa::PA0, hal::gpio::gpioa::PA1>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.6.1/src/gpio.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | pub struct $PXi { [INFO] [stdout] | --------------------- doesn't satisfy `_: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] | [INFO] [stdout] = note: the method `button_wait` exists but the following trait bounds were not satisfied: [INFO] [stdout] `hal::gpio::gpioa::PA10>: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] `hal::gpio::gpioa::PA8>: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] `hal::gpio::gpioa::PA9>: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `button_wait` found for struct `input::Input>, hal::gpio::gpioa::PA8>, hal::gpio::gpioa::PA9>, hal::gpio::gpioa::PA0, hal::gpio::gpioa::PA1>` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/input.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Input { [INFO] [stdout] | ---------------------------------------------- method `button_wait` not found for this [INFO] [stdout] --> src/main.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | let _ = input.button_wait(Button::B1); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `input::Input>, hal::gpio::gpioa::PA8>, hal::gpio::gpioa::PA9>, hal::gpio::gpioa::PA0, hal::gpio::gpioa::PA1>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.6.1/src/gpio.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | pub struct $PXi { [INFO] [stdout] | --------------------- doesn't satisfy `_: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] | [INFO] [stdout] = note: the method `button_wait` exists but the following trait bounds were not satisfied: [INFO] [stdout] `hal::gpio::gpioa::PA10>: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] `hal::gpio::gpioa::PA8>: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] `hal::gpio::gpioa::PA9>: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `button_wait` found for struct `input::Input>, hal::gpio::gpioa::PA8>, hal::gpio::gpioa::PA9>, hal::gpio::gpioa::PA0, hal::gpio::gpioa::PA1>` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/input.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Input { [INFO] [stdout] | ---------------------------------------------- method `button_wait` not found for this [INFO] [stdout] --> src/main.rs:179:19 [INFO] [stdout] | [INFO] [stdout] 179 | let _ = input.button_wait(Button::B2); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `input::Input>, hal::gpio::gpioa::PA8>, hal::gpio::gpioa::PA9>, hal::gpio::gpioa::PA0, hal::gpio::gpioa::PA1>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.6.1/src/gpio.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | pub struct $PXi { [INFO] [stdout] | --------------------- doesn't satisfy `_: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] | [INFO] [stdout] = note: the method `button_wait` exists but the following trait bounds were not satisfied: [INFO] [stdout] `hal::gpio::gpioa::PA10>: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] `hal::gpio::gpioa::PA8>: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] `hal::gpio::gpioa::PA9>: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_low` found for struct `hal::gpio::gpioa::PA5>` in the current scope [INFO] [stdout] --> src/main.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | led.set_low(); [INFO] [stdout] | ^^^^^^^ method not found in `hal::gpio::gpioa::PA5>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 12 | use embedded_hal::digital::v2::OutputPin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `button` found for struct `input::Input>, hal::gpio::gpioa::PA8>, hal::gpio::gpioa::PA9>, hal::gpio::gpioa::PA0, hal::gpio::gpioa::PA1>` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/input.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Input { [INFO] [stdout] | ---------------------------------------------- method `button` not found for this [INFO] [stdout] --> src/main.rs:186:18 [INFO] [stdout] | [INFO] [stdout] 186 | if input.button(Button::B2) { [INFO] [stdout] | ^^^^^^ method not found in `input::Input>, hal::gpio::gpioa::PA8>, hal::gpio::gpioa::PA9>, hal::gpio::gpioa::PA0, hal::gpio::gpioa::PA1>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.6.1/src/gpio.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | pub struct $PXi { [INFO] [stdout] | --------------------- doesn't satisfy `_: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] | [INFO] [stdout] = note: the method `button` exists but the following trait bounds were not satisfied: [INFO] [stdout] `hal::gpio::gpioa::PA10>: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] `hal::gpio::gpioa::PA8>: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] `hal::gpio::gpioa::PA9>: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pwm_enable` found for struct `lcm::Lcm>, hal::gpio::gpiob::PB9>)>, hal::gpio::gpiob::PB6>, hal::gpio::gpiob::PB5>>` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/lcm.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Lcm { [INFO] [stdout] | ---------------------------- method `pwm_enable` not found for this [INFO] [stdout] --> src/main.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | lcm.pwm_enable(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `lcm::Lcm>, hal::gpio::gpiob::PB9>)>, hal::gpio::gpiob::PB6>, hal::gpio::gpiob::PB5>>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.6.1/src/gpio.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | pub struct $PXi { [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: embedded_hal::digital::StatefulOutputPin` [INFO] [stdout] | doesn't satisfy `_: hal::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] | [INFO] [stdout] = note: the method `pwm_enable` exists but the following trait bounds were not satisfied: [INFO] [stdout] `hal::gpio::gpiob::PB6>: embedded_hal::digital::StatefulOutputPin` [INFO] [stdout] `hal::gpio::gpiob::PB6>: hal::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] `hal::gpio::gpiob::PB5>: embedded_hal::digital::StatefulOutputPin` [INFO] [stdout] `hal::gpio::gpiob::PB5>: hal::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pwm_disable` found for struct `lcm::Lcm>, hal::gpio::gpiob::PB9>)>, hal::gpio::gpiob::PB6>, hal::gpio::gpiob::PB5>>` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/lcm.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Lcm { [INFO] [stdout] | ---------------------------- method `pwm_disable` not found for this [INFO] [stdout] --> src/main.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | lcm.pwm_disable(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `lcm::Lcm>, hal::gpio::gpiob::PB9>)>, hal::gpio::gpiob::PB6>, hal::gpio::gpiob::PB5>>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.6.1/src/gpio.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | pub struct $PXi { [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: embedded_hal::digital::StatefulOutputPin` [INFO] [stdout] | doesn't satisfy `_: hal::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] | [INFO] [stdout] = note: the method `pwm_disable` exists but the following trait bounds were not satisfied: [INFO] [stdout] `hal::gpio::gpiob::PB6>: embedded_hal::digital::StatefulOutputPin` [INFO] [stdout] `hal::gpio::gpiob::PB6>: hal::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] `hal::gpio::gpiob::PB5>: embedded_hal::digital::StatefulOutputPin` [INFO] [stdout] `hal::gpio::gpiob::PB5>: hal::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `button_wait` found for struct `input::Input>, hal::gpio::gpioa::PA8>, hal::gpio::gpioa::PA9>, hal::gpio::gpioa::PA0, hal::gpio::gpioa::PA1>` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/input.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Input { [INFO] [stdout] | ---------------------------------------------- method `button_wait` not found for this [INFO] [stdout] --> src/main.rs:199:18 [INFO] [stdout] | [INFO] [stdout] 199 | if input.button_wait(Button::B1) { [INFO] [stdout] | ^^^^^^^^^^^ method not found in `input::Input>, hal::gpio::gpioa::PA8>, hal::gpio::gpioa::PA9>, hal::gpio::gpioa::PA0, hal::gpio::gpioa::PA1>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.6.1/src/gpio.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | pub struct $PXi { [INFO] [stdout] | --------------------- doesn't satisfy `_: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] | [INFO] [stdout] = note: the method `button_wait` exists but the following trait bounds were not satisfied: [INFO] [stdout] `hal::gpio::gpioa::PA10>: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] `hal::gpio::gpioa::PA8>: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] `hal::gpio::gpioa::PA9>: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pwm_disable` found for struct `lcm::Lcm>, hal::gpio::gpiob::PB9>)>, hal::gpio::gpiob::PB6>, hal::gpio::gpiob::PB5>>` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/lcm.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Lcm { [INFO] [stdout] | ---------------------------- method `pwm_disable` not found for this [INFO] [stdout] --> src/main.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | lcm.pwm_disable(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `lcm::Lcm>, hal::gpio::gpiob::PB9>)>, hal::gpio::gpiob::PB6>, hal::gpio::gpiob::PB5>>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.6.1/src/gpio.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | pub struct $PXi { [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: embedded_hal::digital::StatefulOutputPin` [INFO] [stdout] | doesn't satisfy `_: hal::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] | [INFO] [stdout] = note: the method `pwm_disable` exists but the following trait bounds were not satisfied: [INFO] [stdout] `hal::gpio::gpiob::PB6>: embedded_hal::digital::StatefulOutputPin` [INFO] [stdout] `hal::gpio::gpiob::PB6>: hal::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] `hal::gpio::gpiob::PB5>: embedded_hal::digital::StatefulOutputPin` [INFO] [stdout] `hal::gpio::gpiob::PB5>: hal::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `relay_enable` found for struct `lcm::Lcm>, hal::gpio::gpiob::PB9>)>, hal::gpio::gpiob::PB6>, hal::gpio::gpiob::PB5>>` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/lcm.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Lcm { [INFO] [stdout] | ---------------------------- method `relay_enable` not found for this [INFO] [stdout] --> src/main.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | lcm.relay_enable(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `lcm::Lcm>, hal::gpio::gpiob::PB9>)>, hal::gpio::gpiob::PB6>, hal::gpio::gpiob::PB5>>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.6.1/src/gpio.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | pub struct $PXi { [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: embedded_hal::digital::StatefulOutputPin` [INFO] [stdout] | doesn't satisfy `_: hal::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] | [INFO] [stdout] = note: the method `relay_enable` exists but the following trait bounds were not satisfied: [INFO] [stdout] `hal::gpio::gpiob::PB6>: embedded_hal::digital::StatefulOutputPin` [INFO] [stdout] `hal::gpio::gpiob::PB6>: hal::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] `hal::gpio::gpiob::PB5>: embedded_hal::digital::StatefulOutputPin` [INFO] [stdout] `hal::gpio::gpiob::PB5>: hal::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_high` found for struct `hal::gpio::gpioa::PA5>` in the current scope [INFO] [stdout] --> src/main.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | led.set_high(); [INFO] [stdout] | ^^^^^^^^ method not found in `hal::gpio::gpioa::PA5>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 12 | use embedded_hal::digital::v2::OutputPin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `button_wait` found for struct `input::Input>, hal::gpio::gpioa::PA8>, hal::gpio::gpioa::PA9>, hal::gpio::gpioa::PA0, hal::gpio::gpioa::PA1>` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/input.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Input { [INFO] [stdout] | ---------------------------------------------- method `button_wait` not found for this [INFO] [stdout] --> src/main.rs:205:18 [INFO] [stdout] | [INFO] [stdout] 205 | if input.button_wait(Button::B0) { [INFO] [stdout] | ^^^^^^^^^^^ method not found in `input::Input>, hal::gpio::gpioa::PA8>, hal::gpio::gpioa::PA9>, hal::gpio::gpioa::PA0, hal::gpio::gpioa::PA1>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.6.1/src/gpio.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | pub struct $PXi { [INFO] [stdout] | --------------------- doesn't satisfy `_: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] | [INFO] [stdout] = note: the method `button_wait` exists but the following trait bounds were not satisfied: [INFO] [stdout] `hal::gpio::gpioa::PA10>: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] `hal::gpio::gpioa::PA8>: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] `hal::gpio::gpioa::PA9>: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_low` found for struct `hal::gpio::gpioa::PA5>` in the current scope [INFO] [stdout] --> src/main.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | led.set_low(); [INFO] [stdout] | ^^^^^^^ method not found in `hal::gpio::gpioa::PA5>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 12 | use embedded_hal::digital::v2::OutputPin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pwm_disable` found for struct `lcm::Lcm>, hal::gpio::gpiob::PB9>)>, hal::gpio::gpiob::PB6>, hal::gpio::gpiob::PB5>>` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/lcm.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Lcm { [INFO] [stdout] | ---------------------------- method `pwm_disable` not found for this [INFO] [stdout] --> src/main.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | lcm.pwm_disable(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `lcm::Lcm>, hal::gpio::gpiob::PB9>)>, hal::gpio::gpiob::PB6>, hal::gpio::gpiob::PB5>>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.6.1/src/gpio.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | pub struct $PXi { [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: embedded_hal::digital::StatefulOutputPin` [INFO] [stdout] | doesn't satisfy `_: hal::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] | [INFO] [stdout] = note: the method `pwm_disable` exists but the following trait bounds were not satisfied: [INFO] [stdout] `hal::gpio::gpiob::PB6>: embedded_hal::digital::StatefulOutputPin` [INFO] [stdout] `hal::gpio::gpiob::PB6>: hal::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] `hal::gpio::gpiob::PB5>: embedded_hal::digital::StatefulOutputPin` [INFO] [stdout] `hal::gpio::gpiob::PB5>: hal::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `relay_disable` found for struct `lcm::Lcm>, hal::gpio::gpiob::PB9>)>, hal::gpio::gpiob::PB6>, hal::gpio::gpiob::PB5>>` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/lcm.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Lcm { [INFO] [stdout] | ---------------------------- method `relay_disable` not found for this [INFO] [stdout] --> src/main.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | lcm.relay_disable(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `lcm::Lcm>, hal::gpio::gpiob::PB9>)>, hal::gpio::gpiob::PB6>, hal::gpio::gpiob::PB5>>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.6.1/src/gpio.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | pub struct $PXi { [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: embedded_hal::digital::StatefulOutputPin` [INFO] [stdout] | doesn't satisfy `_: hal::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] | [INFO] [stdout] = note: the method `relay_disable` exists but the following trait bounds were not satisfied: [INFO] [stdout] `hal::gpio::gpiob::PB6>: embedded_hal::digital::StatefulOutputPin` [INFO] [stdout] `hal::gpio::gpiob::PB6>: hal::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] `hal::gpio::gpiob::PB5>: embedded_hal::digital::StatefulOutputPin` [INFO] [stdout] `hal::gpio::gpiob::PB5>: hal::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ain` found for struct `input::Input>, hal::gpio::gpioa::PA8>, hal::gpio::gpioa::PA9>, hal::gpio::gpioa::PA0, hal::gpio::gpioa::PA1>` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/input.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Input { [INFO] [stdout] | ---------------------------------------------- method `ain` not found for this [INFO] [stdout] --> src/main.rs:211:28 [INFO] [stdout] | [INFO] [stdout] 211 | let pwm_sp = input.ain(AIn::AIN0); [INFO] [stdout] | ^^^ method not found in `input::Input>, hal::gpio::gpioa::PA8>, hal::gpio::gpioa::PA9>, hal::gpio::gpioa::PA0, hal::gpio::gpioa::PA1>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.6.1/src/gpio.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | pub struct $PXi { [INFO] [stdout] | --------------------- doesn't satisfy `_: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] | [INFO] [stdout] = note: the method `ain` exists but the following trait bounds were not satisfied: [INFO] [stdout] `hal::gpio::gpioa::PA10>: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] `hal::gpio::gpioa::PA8>: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] `hal::gpio::gpioa::PA9>: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ain_map` found for struct `input::Input>, hal::gpio::gpioa::PA8>, hal::gpio::gpioa::PA9>, hal::gpio::gpioa::PA0, hal::gpio::gpioa::PA1>` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/input.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Input { [INFO] [stdout] | ---------------------------------------------- method `ain_map` not found for this [INFO] [stdout] --> src/main.rs:213:30 [INFO] [stdout] | [INFO] [stdout] 213 | let raw_freq = input.ain_map(AIn::AIN1, 0, 100) as u16; [INFO] [stdout] | ^^^^^^^ method not found in `input::Input>, hal::gpio::gpioa::PA8>, hal::gpio::gpioa::PA9>, hal::gpio::gpioa::PA0, hal::gpio::gpioa::PA1>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.6.1/src/gpio.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | pub struct $PXi { [INFO] [stdout] | --------------------- doesn't satisfy `_: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] | [INFO] [stdout] = note: the method `ain_map` exists but the following trait bounds were not satisfied: [INFO] [stdout] `hal::gpio::gpioa::PA10>: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] `hal::gpio::gpioa::PA8>: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] `hal::gpio::gpioa::PA9>: hal::prelude::_embedded_hal_digital_InputPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_pwm` found for struct `lcm::Lcm>, hal::gpio::gpiob::PB9>)>, hal::gpio::gpiob::PB6>, hal::gpio::gpiob::PB5>>` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/lcm.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Lcm { [INFO] [stdout] | ---------------------------- method `set_pwm` not found for this [INFO] [stdout] --> src/main.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | lcm.set_pwm(pwm_sp); [INFO] [stdout] | ^^^^^^^ method not found in `lcm::Lcm>, hal::gpio::gpiob::PB9>)>, hal::gpio::gpiob::PB6>, hal::gpio::gpiob::PB5>>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.6.1/src/gpio.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | pub struct $PXi { [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: embedded_hal::digital::StatefulOutputPin` [INFO] [stdout] | doesn't satisfy `_: hal::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] | [INFO] [stdout] = note: the method `set_pwm` exists but the following trait bounds were not satisfied: [INFO] [stdout] `hal::gpio::gpiob::PB6>: embedded_hal::digital::StatefulOutputPin` [INFO] [stdout] `hal::gpio::gpiob::PB6>: hal::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] `hal::gpio::gpiob::PB5>: embedded_hal::digital::StatefulOutputPin` [INFO] [stdout] `hal::gpio::gpiob::PB5>: hal::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_freq` found for struct `lcm::Lcm>, hal::gpio::gpiob::PB9>)>, hal::gpio::gpiob::PB6>, hal::gpio::gpiob::PB5>>` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/lcm.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Lcm { [INFO] [stdout] | ---------------------------- method `set_freq` not found for this [INFO] [stdout] --> src/main.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | lcm.set_freq(freq_sp); [INFO] [stdout] | ^^^^^^^^ method not found in `lcm::Lcm>, hal::gpio::gpiob::PB9>)>, hal::gpio::gpiob::PB6>, hal::gpio::gpiob::PB5>>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.6.1/src/gpio.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | pub struct $PXi { [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: embedded_hal::digital::StatefulOutputPin` [INFO] [stdout] | doesn't satisfy `_: hal::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] | [INFO] [stdout] = note: the method `set_freq` exists but the following trait bounds were not satisfied: [INFO] [stdout] `hal::gpio::gpiob::PB6>: embedded_hal::digital::StatefulOutputPin` [INFO] [stdout] `hal::gpio::gpiob::PB6>: hal::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] `hal::gpio::gpiob::PB5>: embedded_hal::digital::StatefulOutputPin` [INFO] [stdout] `hal::gpio::gpiob::PB5>: hal::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `status` found for struct `lcm::Lcm>, hal::gpio::gpiob::PB9>)>, hal::gpio::gpiob::PB6>, hal::gpio::gpiob::PB5>>` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/lcm.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Lcm { [INFO] [stdout] | ---------------------------- method `status` not found for this [INFO] [stdout] --> src/main.rs:224:26 [INFO] [stdout] | [INFO] [stdout] 224 | let status = lcm.status(); [INFO] [stdout] | ^^^^^^ method not found in `lcm::Lcm>, hal::gpio::gpiob::PB9>)>, hal::gpio::gpiob::PB6>, hal::gpio::gpiob::PB5>>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.6.1/src/gpio.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | pub struct $PXi { [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: embedded_hal::digital::StatefulOutputPin` [INFO] [stdout] | doesn't satisfy `_: hal::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] | [INFO] [stdout] = note: the method `status` exists but the following trait bounds were not satisfied: [INFO] [stdout] `hal::gpio::gpiob::PB6>: embedded_hal::digital::StatefulOutputPin` [INFO] [stdout] `hal::gpio::gpiob::PB6>: hal::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] `hal::gpio::gpiob::PB5>: embedded_hal::digital::StatefulOutputPin` [INFO] [stdout] `hal::gpio::gpiob::PB5>: hal::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'hal::prelude::_embedded_hal_digital_InputPin::is_low': Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/debounce_input.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | if self.is_low() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'hal::prelude::_embedded_hal_digital_InputPin::is_low': Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/debounce_input.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | if self.is_low() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'hal::prelude::_embedded_hal_digital_InputPin::is_low': Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/debounce_input.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | return self.is_low(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_size` found for struct `ssd1306::Builder` in the current scope [INFO] [stdout] --> src/display.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | .with_size(DisplaySize::Display128x32) [INFO] [stdout] | ^^^^^^^^^ method not found in `ssd1306::Builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for enum `core::result::Result<(), ssd1306::Error<::Error, ()>>` in the current scope [INFO] [stdout] --> src/display.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | drv.init().unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `core::result::Result<(), ssd1306::Error<::Error, ()>>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ssd1306-0.3.1/src/lib.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | pub enum Error { [INFO] [stdout] | --------------------------- doesn't satisfy `_: core::fmt::Debug` [INFO] [stdout] | [INFO] [stdout] = note: the method `unwrap` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ssd1306::Error<::Error, ()>: core::fmt::Debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for enum `core::result::Result<(), ssd1306::Error<::Error, ()>>` in the current scope [INFO] [stdout] --> src/display.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | drv.flush().unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `core::result::Result<(), ssd1306::Error<::Error, ()>>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ssd1306-0.3.1/src/lib.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | pub enum Error { [INFO] [stdout] | --------------------------- doesn't satisfy `_: core::fmt::Debug` [INFO] [stdout] | [INFO] [stdout] = note: the method `unwrap` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ssd1306::Error<::Error, ()>: core::fmt::Debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `ssd1306::mode::GraphicsMode>` in the current scope [INFO] [stdout] --> src/display.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | self.drv.draw( [INFO] [stdout] | ^^^^ method not found in `ssd1306::mode::GraphicsMode>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ssd1306-0.3.1/src/mode/graphics.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / pub struct GraphicsMode [INFO] [stdout] 67 | | where [INFO] [stdout] 68 | | DI: DisplayInterface, [INFO] [stdout] 69 | | { [INFO] [stdout] ... | [INFO] [stdout] 75 | | max_y: u8, [INFO] [stdout] 76 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_doesn't satisfy `<_ as core::iter::Iterator>::Item = embedded_graphics::drawable::Pixel<_>` [INFO] [stdout] | doesn't satisfy `_: core::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the method `draw` exists but the following trait bounds were not satisfied: [INFO] [stdout] `> as core::iter::Iterator>::Item = embedded_graphics::drawable::Pixel<_>` [INFO] [stdout] which is required by `&mut ssd1306::mode::GraphicsMode>: embedded_graphics::drawable::Drawable<_>` [INFO] [stdout] `ssd1306::mode::GraphicsMode>: core::iter::Iterator` [INFO] [stdout] which is required by `&mut ssd1306::mode::GraphicsMode>: embedded_graphics::drawable::Drawable<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `render_str` found for struct `embedded_graphics::fonts::Font6x8` in the current scope [INFO] [stdout] --> src/display.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | Font6x8::render_str(&value_str) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `embedded_graphics::fonts::Font6x8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `ssd1306::mode::GraphicsMode>` in the current scope [INFO] [stdout] --> src/display.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 69 | self.drv.draw( [INFO] [stdout] | ^^^^ method not found in `ssd1306::mode::GraphicsMode>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ssd1306-0.3.1/src/mode/graphics.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / pub struct GraphicsMode [INFO] [stdout] 67 | | where [INFO] [stdout] 68 | | DI: DisplayInterface, [INFO] [stdout] 69 | | { [INFO] [stdout] ... | [INFO] [stdout] 75 | | max_y: u8, [INFO] [stdout] 76 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_doesn't satisfy `<_ as core::iter::Iterator>::Item = embedded_graphics::drawable::Pixel<_>` [INFO] [stdout] | doesn't satisfy `_: core::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the method `draw` exists but the following trait bounds were not satisfied: [INFO] [stdout] `> as core::iter::Iterator>::Item = embedded_graphics::drawable::Pixel<_>` [INFO] [stdout] which is required by `&mut ssd1306::mode::GraphicsMode>: embedded_graphics::drawable::Drawable<_>` [INFO] [stdout] `ssd1306::mode::GraphicsMode>: core::iter::Iterator` [INFO] [stdout] which is required by `&mut ssd1306::mode::GraphicsMode>: embedded_graphics::drawable::Drawable<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `render_str` found for struct `embedded_graphics::fonts::Font6x8` in the current scope [INFO] [stdout] --> src/display.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | Font6x8::render_str(&value_str) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `embedded_graphics::fonts::Font6x8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `ssd1306::mode::GraphicsMode>` in the current scope [INFO] [stdout] --> src/display.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 81 | self.drv.draw( [INFO] [stdout] | ^^^^ method not found in `ssd1306::mode::GraphicsMode>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ssd1306-0.3.1/src/mode/graphics.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / pub struct GraphicsMode [INFO] [stdout] 67 | | where [INFO] [stdout] 68 | | DI: DisplayInterface, [INFO] [stdout] 69 | | { [INFO] [stdout] ... | [INFO] [stdout] 75 | | max_y: u8, [INFO] [stdout] 76 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_doesn't satisfy `<_ as core::iter::Iterator>::Item = embedded_graphics::drawable::Pixel<_>` [INFO] [stdout] | doesn't satisfy `_: core::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the method `draw` exists but the following trait bounds were not satisfied: [INFO] [stdout] `> as core::iter::Iterator>::Item = embedded_graphics::drawable::Pixel<_>` [INFO] [stdout] which is required by `&mut ssd1306::mode::GraphicsMode>: embedded_graphics::drawable::Drawable<_>` [INFO] [stdout] `ssd1306::mode::GraphicsMode>: core::iter::Iterator` [INFO] [stdout] which is required by `&mut ssd1306::mode::GraphicsMode>: embedded_graphics::drawable::Drawable<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `render_str` found for struct `embedded_graphics::fonts::Font6x8` in the current scope [INFO] [stdout] --> src/display.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | Font6x8::render_str(&value_str) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `embedded_graphics::fonts::Font6x8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `ssd1306::mode::GraphicsMode>` in the current scope [INFO] [stdout] --> src/display.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | self.drv.draw( [INFO] [stdout] | ^^^^ method not found in `ssd1306::mode::GraphicsMode>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ssd1306-0.3.1/src/mode/graphics.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / pub struct GraphicsMode [INFO] [stdout] 67 | | where [INFO] [stdout] 68 | | DI: DisplayInterface, [INFO] [stdout] 69 | | { [INFO] [stdout] ... | [INFO] [stdout] 75 | | max_y: u8, [INFO] [stdout] 76 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_doesn't satisfy `<_ as core::iter::Iterator>::Item = embedded_graphics::drawable::Pixel<_>` [INFO] [stdout] | doesn't satisfy `_: core::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the method `draw` exists but the following trait bounds were not satisfied: [INFO] [stdout] `> as core::iter::Iterator>::Item = embedded_graphics::drawable::Pixel<_>` [INFO] [stdout] which is required by `&mut ssd1306::mode::GraphicsMode>: embedded_graphics::drawable::Drawable<_>` [INFO] [stdout] `ssd1306::mode::GraphicsMode>: core::iter::Iterator` [INFO] [stdout] which is required by `&mut ssd1306::mode::GraphicsMode>: embedded_graphics::drawable::Drawable<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `render_str` found for struct `embedded_graphics::fonts::Font6x8` in the current scope [INFO] [stdout] --> src/display.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | Font6x8::render_str(&value_str) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `embedded_graphics::fonts::Font6x8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `ssd1306::mode::GraphicsMode>` in the current scope [INFO] [stdout] --> src/display.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | self.drv.draw( [INFO] [stdout] | ^^^^ method not found in `ssd1306::mode::GraphicsMode>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ssd1306-0.3.1/src/mode/graphics.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / pub struct GraphicsMode [INFO] [stdout] 67 | | where [INFO] [stdout] 68 | | DI: DisplayInterface, [INFO] [stdout] 69 | | { [INFO] [stdout] ... | [INFO] [stdout] 75 | | max_y: u8, [INFO] [stdout] 76 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_doesn't satisfy `<_ as core::iter::Iterator>::Item = embedded_graphics::drawable::Pixel<_>` [INFO] [stdout] | doesn't satisfy `_: core::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the method `draw` exists but the following trait bounds were not satisfied: [INFO] [stdout] `> as core::iter::Iterator>::Item = embedded_graphics::drawable::Pixel<_>` [INFO] [stdout] which is required by `&mut ssd1306::mode::GraphicsMode>: embedded_graphics::drawable::Drawable<_>` [INFO] [stdout] `ssd1306::mode::GraphicsMode>: core::iter::Iterator` [INFO] [stdout] which is required by `&mut ssd1306::mode::GraphicsMode>: embedded_graphics::drawable::Drawable<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `render_str` found for struct `embedded_graphics::fonts::Font6x8` in the current scope [INFO] [stdout] --> src/display.rs:106:22 [INFO] [stdout] | [INFO] [stdout] 106 | Font6x8::render_str(&value_str) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `embedded_graphics::fonts::Font6x8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for enum `core::result::Result<(), ssd1306::Error<::Error, ()>>` in the current scope [INFO] [stdout] --> src/display.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | self.drv.flush().unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `core::result::Result<(), ssd1306::Error<::Error, ()>>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ssd1306-0.3.1/src/lib.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | pub enum Error { [INFO] [stdout] | --------------------------- doesn't satisfy `_: core::fmt::Debug` [INFO] [stdout] | [INFO] [stdout] = note: the method `unwrap` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ssd1306::Error<::Error, ()>: core::fmt::Debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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/lcm.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | self.pwm_oe.is_set_low() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'hal::prelude::_embedded_hal_digital_OutputPin::set_high': Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lcm.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | self.pwm_oe.set_high(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'hal::prelude::_embedded_hal_digital_OutputPin::set_low': Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lcm.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | self.pwm_oe.set_low(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'embedded_hal::digital::StatefulOutputPin::is_set_high': Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lcm.rs:141:24 [INFO] [stdout] | [INFO] [stdout] 141 | self.pwm_relay.is_set_high() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'hal::prelude::_embedded_hal_digital_OutputPin::set_low': Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lcm.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | self.pwm_relay.set_low(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'hal::prelude::_embedded_hal_digital_OutputPin::set_high': Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lcm.rs:149:24 [INFO] [stdout] | [INFO] [stdout] 149 | self.pwm_relay.set_high(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_graphics::prelude` [INFO] [stdout] --> src/display.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use embedded_graphics::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 54 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lmc`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "6b69645424f7cfa791120b4e459177484c05503b9aa3f705dbd8b8a010e2653a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b69645424f7cfa791120b4e459177484c05503b9aa3f705dbd8b8a010e2653a", kill_on_drop: false }` [INFO] [stdout] 6b69645424f7cfa791120b4e459177484c05503b9aa3f705dbd8b8a010e2653a