[INFO] cloning repository https://github.com/craigjb/gameslab-smc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/craigjb/gameslab-smc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcraigjb%2Fgameslab-smc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcraigjb%2Fgameslab-smc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c15f853db79da1e6d639b9e57e3c330f9eb1775 [INFO] checking craigjb/gameslab-smc against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcraigjb%2Fgameslab-smc" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/craigjb/gameslab-smc on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4/source/.cargo/config [INFO] started tweaking git repo https://github.com/craigjb/gameslab-smc [INFO] removed path dependency stm32l0xx-hal from git repo https://github.com/craigjb/gameslab-smc [INFO] finished tweaking git repo https://github.com/craigjb/gameslab-smc [INFO] tweaked toml for git repo https://github.com/craigjb/gameslab-smc written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (stm32l0xx-hal) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c586adc7a1df75182f3b72f7edacc82209d22744b3acc2d941b3b4673d2d99f3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c586adc7a1df75182f3b72f7edacc82209d22744b3acc2d941b3b4673d2d99f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c586adc7a1df75182f3b72f7edacc82209d22744b3acc2d941b3b4673d2d99f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c586adc7a1df75182f3b72f7edacc82209d22744b3acc2d941b3b4673d2d99f3", kill_on_drop: false }` [INFO] [stdout] c586adc7a1df75182f3b72f7edacc82209d22744b3acc2d941b3b4673d2d99f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d447e6c0b17f1141446d80d7c1719f7512f138848a24b27da5598ce0b223d6b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6d447e6c0b17f1141446d80d7c1719f7512f138848a24b27da5598ce0b223d6b", kill_on_drop: false }` [INFO] [stderr] warning: dependency (stm32l0xx-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.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.13 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Checking usb-device v0.2.7 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [INFO] [stderr] Compiling stm32-usbd v0.5.1 [INFO] [stderr] Compiling stm32l0 v0.10.0 [INFO] [stderr] Compiling stm32l0 v0.9.0 [INFO] [stderr] Compiling stm32l0xx-hal v0.6.2 [INFO] [stderr] Checking rtfm-core v0.3.0 [INFO] [stderr] Compiling gameslab-smc v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling cortex-m-rtfm v0.5.3 [INFO] [stderr] Checking usbd-serial v0.1.1 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking as-slice v0.1.4 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Checking bbqueue v0.4.12 [INFO] [stderr] Compiling rtfm-syntax v0.4.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling cortex-m-rtfm-macros v0.5.1 [INFO] [stdout] error[E0432]: unresolved import `crate::hal::i2c` [INFO] [stdout] --> src/battery.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | i2c::I2c, [INFO] [stdout] | ^^^ could not find `i2c` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::hal::serial`, `crate::hal::serial` [INFO] [stdout] --> src/uart.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | serial, [INFO] [stdout] | ^^^^^^ no `serial` in the root [INFO] [stdout] 10 | serial::{Event, Serial1LpExt}, [INFO] [stdout] | ^^^^^^ could not find `serial` in `hal` [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 function `init`: cortex-m-rtfm has been renamed and is deprecated, use cortex-m-rtic instead. [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[rtfm::app(device=stm32l0::stm32l0x3, peripherals=true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `idle`: cortex-m-rtfm has been renamed and is deprecated, use cortex-m-rtic instead. [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[rtfm::app(device=stm32l0::stm32l0x3, peripherals=true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `freeze` found for struct `stm32l0::stm32l0x3::RCC` in the current scope [INFO] [stdout] --> src/main.rs:46:39 [INFO] [stdout] | [INFO] [stdout] 46 | let mut rcc = peripherals.RCC.freeze(clock_config); [INFO] [stdout] | ^^^^^^ method not found in `stm32l0::stm32l0x3::RCC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:47:38 [INFO] [stdout] | [INFO] [stdout] 47 | let mut syscfg = SYSCFG::new(peripherals.SYSCFG, &mut rcc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected struct `stm32l0xx_hal::pac::SYSCFG`, found struct `stm32l0::stm32l0x3::SYSCFG` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `stm32l0` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split` found for struct `stm32l0::stm32l0x3::GPIOA` in the current scope [INFO] [stdout] --> src/main.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | let gpioa = peripherals.GPIOA.split(&mut rcc); [INFO] [stdout] | ^^^^^ method not found in `stm32l0::stm32l0x3::GPIOA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split` found for struct `stm32l0::stm32l0x3::GPIOB` in the current scope [INFO] [stdout] --> src/main.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | let gpiob = peripherals.GPIOB.split(&mut rcc); [INFO] [stdout] | ^^^^^ method not found in `stm32l0::stm32l0x3::GPIOB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split` found for struct `stm32l0::stm32l0x3::GPIOC` in the current scope [INFO] [stdout] --> src/main.rs:50:39 [INFO] [stdout] | [INFO] [stdout] 50 | let gpioc = peripherals.GPIOC.split(&mut rcc); [INFO] [stdout] | ^^^^^ method not found in `stm32l0::stm32l0x3::GPIOC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | let mut exti = Exti::new(peripherals.EXTI); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `stm32l0xx_hal::pac::EXTI`, found struct `stm32l0::stm32l0x3::EXTI` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `stm32l0` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `i2c` found for struct `stm32l0::stm32l0x3::I2C1` in the current scope [INFO] [stdout] --> src/battery.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | let i2c = i2c1.i2c( [INFO] [stdout] | ^^^ method not found in `stm32l0::stm32l0x3::I2C1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `stm32l0::stm32l0x3::TIM2: Instance` is not satisfied [INFO] [stdout] --> src/leds.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | let timer2 = pwm::Timer::new(tim2, 10.khz(), rcc); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Instance` is not implemented for `stm32l0::stm32l0x3::TIM2` [INFO] [stdout] | [INFO] [stdout] = note: required by `stm32l0xx_hal::pwm::Timer::::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `stm32l0xx_hal::gpio::gpiob::PB11: stm32l0xx_hal::pwm::Pin` is not satisfied [INFO] [stdout] --> src/leds.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | let mut status = timer2.channel4.assign(pb11); [INFO] [stdout] | ^^^^ the trait `stm32l0xx_hal::pwm::Pin` is not implemented for `stm32l0xx_hal::gpio::gpiob::PB11` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as stm32l0xx_hal::pwm::Pin> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `stm32l0xx_hal::gpio::gpiob::PB10: stm32l0xx_hal::pwm::Pin` is not satisfied [INFO] [stdout] --> src/leds.rs:31:45 [INFO] [stdout] | [INFO] [stdout] 31 | let mut charge = timer2.channel3.assign(pb10); [INFO] [stdout] | ^^^^ the trait `stm32l0xx_hal::pwm::Pin` is not implemented for `stm32l0xx_hal::gpio::gpiob::PB10` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as stm32l0xx_hal::pwm::Pin> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `enable` found for struct `stm32l0xx_hal::pwm::Pwm>>` in the current scope [INFO] [stdout] --> src/leds.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | status.enable(); [INFO] [stdout] | ^^^^^^ method not found in `stm32l0xx_hal::pwm::Pwm>>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32l0xx-hal-0.6.2/src/pwm.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct Pwm { [INFO] [stdout] | --------------------------- doesn't satisfy `_: PwmPin` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32l0-0.9.0/src/stm32l0x3/mod.rs:879:1 [INFO] [stdout] | [INFO] [stdout] 879 | pub struct TIM2 { [INFO] [stdout] | --------------- doesn't satisfy `stm32l0::stm32l0x3::TIM2: Instance` [INFO] [stdout] | [INFO] [stdout] = note: the method `enable` exists but the following trait bounds were not satisfied: [INFO] [stdout] `stm32l0::stm32l0x3::TIM2: Instance` [INFO] [stdout] which is required by `stm32l0xx_hal::pwm::Pwm>>: PwmPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `enable` found for struct `stm32l0xx_hal::pwm::Pwm>>` in the current scope [INFO] [stdout] --> src/leds.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | charge.enable(); [INFO] [stdout] | ^^^^^^ method not found in `stm32l0xx_hal::pwm::Pwm>>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32l0xx-hal-0.6.2/src/pwm.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct Pwm { [INFO] [stdout] | --------------------------- doesn't satisfy `_: PwmPin` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32l0-0.9.0/src/stm32l0x3/mod.rs:879:1 [INFO] [stdout] | [INFO] [stdout] 879 | pub struct TIM2 { [INFO] [stdout] | --------------- doesn't satisfy `stm32l0::stm32l0x3::TIM2: Instance` [INFO] [stdout] | [INFO] [stdout] = note: the method `enable` exists but the following trait bounds were not satisfied: [INFO] [stdout] `stm32l0::stm32l0x3::TIM2: Instance` [INFO] [stdout] which is required by `stm32l0xx_hal::pwm::Pwm>>: PwmPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_duty` found for struct `stm32l0xx_hal::pwm::Pwm>>` in the current scope [INFO] [stdout] --> src/leds.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | self.pwm.set_duty(STATUS_MAX_DUTY); [INFO] [stdout] | ^^^^^^^^ method not found in `stm32l0xx_hal::pwm::Pwm>>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32l0xx-hal-0.6.2/src/pwm.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct Pwm { [INFO] [stdout] | --------------------------- doesn't satisfy `_: PwmPin` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32l0-0.9.0/src/stm32l0x3/mod.rs:879:1 [INFO] [stdout] | [INFO] [stdout] 879 | pub struct TIM2 { [INFO] [stdout] | --------------- doesn't satisfy `stm32l0::stm32l0x3::TIM2: Instance` [INFO] [stdout] | [INFO] [stdout] = note: the method `set_duty` exists but the following trait bounds were not satisfied: [INFO] [stdout] `stm32l0::stm32l0x3::TIM2: Instance` [INFO] [stdout] which is required by `stm32l0xx_hal::pwm::Pwm>>: PwmPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_duty` found for struct `stm32l0xx_hal::pwm::Pwm>>` in the current scope [INFO] [stdout] --> src/leds.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | self.pwm.set_duty(0); [INFO] [stdout] | ^^^^^^^^ method not found in `stm32l0xx_hal::pwm::Pwm>>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32l0xx-hal-0.6.2/src/pwm.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct Pwm { [INFO] [stdout] | --------------------------- doesn't satisfy `_: PwmPin` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32l0-0.9.0/src/stm32l0x3/mod.rs:879:1 [INFO] [stdout] | [INFO] [stdout] 879 | pub struct TIM2 { [INFO] [stdout] | --------------- doesn't satisfy `stm32l0::stm32l0x3::TIM2: Instance` [INFO] [stdout] | [INFO] [stdout] = note: the method `set_duty` exists but the following trait bounds were not satisfied: [INFO] [stdout] `stm32l0::stm32l0x3::TIM2: Instance` [INFO] [stdout] which is required by `stm32l0xx_hal::pwm::Pwm>>: PwmPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_duty` found for struct `stm32l0xx_hal::pwm::Pwm>>` in the current scope [INFO] [stdout] --> src/leds.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | self.pwm.set_duty(BLINK_MAX_DUTY); [INFO] [stdout] | ^^^^^^^^ method not found in `stm32l0xx_hal::pwm::Pwm>>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32l0xx-hal-0.6.2/src/pwm.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct Pwm { [INFO] [stdout] | --------------------------- doesn't satisfy `_: PwmPin` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32l0-0.9.0/src/stm32l0x3/mod.rs:879:1 [INFO] [stdout] | [INFO] [stdout] 879 | pub struct TIM2 { [INFO] [stdout] | --------------- doesn't satisfy `stm32l0::stm32l0x3::TIM2: Instance` [INFO] [stdout] | [INFO] [stdout] = note: the method `set_duty` exists but the following trait bounds were not satisfied: [INFO] [stdout] `stm32l0::stm32l0x3::TIM2: Instance` [INFO] [stdout] which is required by `stm32l0xx_hal::pwm::Pwm>>: PwmPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_duty` found for struct `stm32l0xx_hal::pwm::Pwm>>` in the current scope [INFO] [stdout] --> src/leds.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | self.pwm.set_duty(0); [INFO] [stdout] | ^^^^^^^^ method not found in `stm32l0xx_hal::pwm::Pwm>>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32l0xx-hal-0.6.2/src/pwm.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct Pwm { [INFO] [stdout] | --------------------------- doesn't satisfy `_: PwmPin` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32l0-0.9.0/src/stm32l0x3/mod.rs:879:1 [INFO] [stdout] | [INFO] [stdout] 879 | pub struct TIM2 { [INFO] [stdout] | --------------- doesn't satisfy `stm32l0::stm32l0x3::TIM2: Instance` [INFO] [stdout] | [INFO] [stdout] = note: the method `set_duty` exists but the following trait bounds were not satisfied: [INFO] [stdout] `stm32l0::stm32l0x3::TIM2: Instance` [INFO] [stdout] which is required by `stm32l0xx_hal::pwm::Pwm>>: PwmPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_duty` found for struct `stm32l0xx_hal::pwm::Pwm>>` in the current scope [INFO] [stdout] --> src/leds.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | self.pwm.set_duty(BLINK_MIN_DUTY); [INFO] [stdout] | ^^^^^^^^ method not found in `stm32l0xx_hal::pwm::Pwm>>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32l0xx-hal-0.6.2/src/pwm.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct Pwm { [INFO] [stdout] | --------------------------- doesn't satisfy `_: PwmPin` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32l0-0.9.0/src/stm32l0x3/mod.rs:879:1 [INFO] [stdout] | [INFO] [stdout] 879 | pub struct TIM2 { [INFO] [stdout] | --------------- doesn't satisfy `stm32l0::stm32l0x3::TIM2: Instance` [INFO] [stdout] | [INFO] [stdout] = note: the method `set_duty` exists but the following trait bounds were not satisfied: [INFO] [stdout] `stm32l0::stm32l0x3::TIM2: Instance` [INFO] [stdout] which is required by `stm32l0xx_hal::pwm::Pwm>>: PwmPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_duty` found for struct `stm32l0xx_hal::pwm::Pwm>>` in the current scope [INFO] [stdout] --> src/leds.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | self.pwm.set_duty(BLINK_MIN_DUTY + duty); [INFO] [stdout] | ^^^^^^^^ method not found in `stm32l0xx_hal::pwm::Pwm>>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32l0xx-hal-0.6.2/src/pwm.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct Pwm { [INFO] [stdout] | --------------------------- doesn't satisfy `_: PwmPin` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32l0-0.9.0/src/stm32l0x3/mod.rs:879:1 [INFO] [stdout] | [INFO] [stdout] 879 | pub struct TIM2 { [INFO] [stdout] | --------------- doesn't satisfy `stm32l0::stm32l0x3::TIM2: Instance` [INFO] [stdout] | [INFO] [stdout] = note: the method `set_duty` exists but the following trait bounds were not satisfied: [INFO] [stdout] `stm32l0::stm32l0x3::TIM2: Instance` [INFO] [stdout] which is required by `stm32l0xx_hal::pwm::Pwm>>: PwmPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/uart.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 48 | let mut dma = DMA::new(dma1, rcc); [INFO] [stdout] | ^^^^ expected struct `stm32l0xx_hal::pac::DMA1`, found struct `stm32l0::stm32l0x3::DMA1` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `stm32l0` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `usart` found for struct `stm32l0::stm32l0x3::LPUART1` in the current scope [INFO] [stdout] --> src/uart.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | .usart( [INFO] [stdout] | ^^^^^ method not found in `stm32l0::stm32l0x3::LPUART1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/uart.rs:63:53 [INFO] [stdout] | [INFO] [stdout] 63 | tx_channel.configure::(&mut dma.handle, PL_A::HIGH, DIR_A::FROMMEMORY, true); [INFO] [stdout] | ^^^^^^^^^^ expected enum `stm32l0xx_hal::pac::dma1::ch::cr::PL_A`, found enum `stm32l0::stm32l0x3::dma1::ch::cr::PL_A` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `stm32l0` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/uart.rs:63:65 [INFO] [stdout] | [INFO] [stdout] 63 | tx_channel.configure::(&mut dma.handle, PL_A::HIGH, DIR_A::FROMMEMORY, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected enum `stm32l0xx_hal::pac::dma1::ch::cr::DIR_A`, found enum `stm32l0::stm32l0x3::dma1::ch::cr::DIR_A` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `stm32l0` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/uart.rs:78:53 [INFO] [stdout] | [INFO] [stdout] 78 | rx_channel.configure::(&mut dma.handle, PL_A::HIGH, DIR_A::FROMPERIPHERAL, true); [INFO] [stdout] | ^^^^^^^^^^ expected enum `stm32l0xx_hal::pac::dma1::ch::cr::PL_A`, found enum `stm32l0::stm32l0x3::dma1::ch::cr::PL_A` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `stm32l0` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/uart.rs:78:65 [INFO] [stdout] | [INFO] [stdout] 78 | rx_channel.configure::(&mut dma.handle, PL_A::HIGH, DIR_A::FROMPERIPHERAL, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected enum `stm32l0xx_hal::pac::dma1::ch::cr::DIR_A`, found enum `stm32l0::stm32l0x3::dma1::ch::cr::DIR_A` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `stm32l0` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_complete` found for mutable reference `&mut Channel3` in the current scope [INFO] [stdout] --> src/uart.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | if rx_channel.is_complete() { [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&mut Channel3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_half_complete` found for mutable reference `&mut Channel3` in the current scope [INFO] [stdout] --> src/uart.rs:104:30 [INFO] [stdout] | [INFO] [stdout] 104 | } else if rx_channel.is_half_complete() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `&mut Channel3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clear_half_complete_flag` found for mutable reference `&mut Channel3` in the current scope [INFO] [stdout] --> src/uart.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | rx_channel.clear_half_complete_flag(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Channel3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_enabled` found for mutable reference `&mut Channel2` in the current scope [INFO] [stdout] --> src/uart.rs:110:23 [INFO] [stdout] | [INFO] [stdout] 110 | if tx_channel.is_enabled() && tx_channel.is_complete() { [INFO] [stdout] | ^^^^^^^^^^ method not found in `&mut Channel2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_complete` found for mutable reference `&mut Channel2` in the current scope [INFO] [stdout] --> src/uart.rs:110:50 [INFO] [stdout] | [INFO] [stdout] 110 | if tx_channel.is_enabled() && tx_channel.is_complete() { [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&mut Channel2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `stop` found for mutable reference `&mut Channel2` in the current scope [INFO] [stdout] --> src/uart.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 111 | tx_channel.stop(); [INFO] [stdout] | ^^^^ method not found in `&mut Channel2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_enabled` found for mutable reference `&mut Channel2` in the current scope [INFO] [stdout] --> src/uart.rs:112:30 [INFO] [stdout] | [INFO] [stdout] 112 | while tx_channel.is_enabled() { [INFO] [stdout] | ^^^^^^^^^^ method not found in `&mut Channel2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_transfers_left` found for mutable reference `&mut Channel3` in the current scope [INFO] [stdout] --> src/uart.rs:127:45 [INFO] [stdout] | [INFO] [stdout] 127 | let transfers_left = rx_channel.get_transfers_left(&mut self.dma.handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `&mut Channel3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_enabled` found for mutable reference `&mut Channel2` in the current scope [INFO] [stdout] --> src/uart.rs:150:23 [INFO] [stdout] | [INFO] [stdout] 150 | if tx_channel.is_enabled() { [INFO] [stdout] | ^^^^^^^^^^ method not found in `&mut Channel2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_pll` found for struct `stm32l0xx_hal::usb::USB` in the current scope [INFO] [stdout] --> src/usb.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | let usb = USB::new_with_pll(usb, pa11, pa12, rcc); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `stm32l0xx_hal::usb::USB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 37 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gameslab-smc` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "6d447e6c0b17f1141446d80d7c1719f7512f138848a24b27da5598ce0b223d6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d447e6c0b17f1141446d80d7c1719f7512f138848a24b27da5598ce0b223d6b", kill_on_drop: false }` [INFO] [stdout] 6d447e6c0b17f1141446d80d7c1719f7512f138848a24b27da5598ce0b223d6b