[INFO] cloning repository https://github.com/luojia65/tm1637-display-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luojia65/tm1637-display-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Ftm1637-display-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Ftm1637-display-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23cff9d2a885830c25b81d089677e0115f737bb0 [INFO] checking luojia65/tm1637-display-demo against try#3ec2a775459d36c7d90654e47c56ff7bb0d542ab for pr-139087 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Ftm1637-display-demo" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luojia65/tm1637-display-demo on toolchain 3ec2a775459d36c7d90654e47c56ff7bb0d542ab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/luojia65/tm1637-display-demo [INFO] finished tweaking git repo https://github.com/luojia65/tm1637-display-demo [INFO] tweaked toml for git repo https://github.com/luojia65/tm1637-display-demo written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/luojia65/tm1637-display-demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking luojia65/tm1637-display-demo against try#3ec2a775459d36c7d90654e47c56ff7bb0d542ab for pr-139087 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Ftm1637-display-demo" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luojia65/tm1637-display-demo on toolchain 3ec2a775459d36c7d90654e47c56ff7bb0d542ab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/luojia65/tm1637-display-demo [INFO] finished tweaking git repo https://github.com/luojia65/tm1637-display-demo [INFO] tweaked toml for git repo https://github.com/luojia65/tm1637-display-demo written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/luojia65/tm1637-display-demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cortex-m v0.5.8 [INFO] [stderr] Downloaded vcell v0.1.0 [INFO] [stderr] Downloaded cortex-m-rt v0.6.12 [INFO] [stderr] Downloaded cortex-m-semihosting v0.3.2 [INFO] [stderr] Downloaded panic-semihosting v0.5.1 [INFO] [stderr] Downloaded cast v0.2.2 [INFO] [stderr] Downloaded aligned v0.3.2 [INFO] [stderr] Downloaded cortex-m v0.6.2 [INFO] [stderr] Downloaded as-slice v0.1.3 [INFO] [stderr] Downloaded aligned v0.2.0 [INFO] [stderr] Downloaded bare-metal v0.2.4 [INFO] [stderr] Downloaded volatile-register v0.2.0 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.1.8 [INFO] [stderr] Downloaded stm32f1xx-hal v0.5.3 [INFO] [stderr] Downloaded stm32f1 v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d823dfa1cc5c7a7118f62862953c318acfaa7a6ae1be3278b34283c9c93493c [INFO] running `Command { std: "docker" "start" "-a" "2d823dfa1cc5c7a7118f62862953c318acfaa7a6ae1be3278b34283c9c93493c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d823dfa1cc5c7a7118f62862953c318acfaa7a6ae1be3278b34283c9c93493c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d823dfa1cc5c7a7118f62862953c318acfaa7a6ae1be3278b34283c9c93493c", kill_on_drop: false }` [INFO] [stdout] 2d823dfa1cc5c7a7118f62862953c318acfaa7a6ae1be3278b34283c9c93493c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da8c63c2e382d4698b0da83ba0d9769c0ff6aa48e08a76f81d0a7977eb72d137 [INFO] running `Command { std: "docker" "start" "-a" "da8c63c2e382d4698b0da83ba0d9769c0ff6aa48e08a76f81d0a7977eb72d137", kill_on_drop: false }` [INFO] [stderr] Checking vcell v0.1.0 [INFO] [stderr] Compiling syn v1.0.15 [INFO] [stderr] Compiling cortex-m v0.5.8 [INFO] [stderr] Checking aligned v0.2.0 [INFO] [stderr] Compiling cortex-m-rt v0.6.12 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.2 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling cortex-m v0.6.2 [INFO] [stderr] Compiling stm32f1 v0.9.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking nb v0.1.2 [INFO] [stderr] Compiling tm1637-display-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bare-metal v0.2.4 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking embedded-hal v0.2.3 [INFO] [stderr] Checking as-slice v0.1.3 [INFO] [stderr] Checking panic-semihosting v0.5.1 [INFO] [stderr] Checking aligned v0.3.2 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Checking stm32f1xx-hal v0.5.3 [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `tm1637` [INFO] [stdout] --> examples/three_screens.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod tm1637; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `tm1637`, create file "examples/tm1637.rs" or "examples/tm1637/mod.rs" [INFO] [stdout] = note: if there is a `mod tm1637` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied [INFO] [stdout] --> src/main.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | let mut tim = Timer::tim1(dp.TIM1, 1.mhz(), clocks, &mut rcc.apb2); [INFO] [stdout] | ^^^^^^^^^^^ ------- ------ unexpected argument #3 of type `Clocks` [INFO] [stdout] | | [INFO] [stdout] | expected `&Clocks`, found `MegaHertz` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stm32f1xx-hal-0.5.3/src/timer.rs:460:12 [INFO] [stdout] | [INFO] [stdout] 460 | TIM1: (tim1, dbg_tim1_stop, tim1), [INFO] [stdout] | ^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 30 - let mut tim = Timer::tim1(dp.TIM1, 1.mhz(), clocks, &mut rcc.apb2); [INFO] [stdout] 30 + let mut tim = Timer::tim1(dp.TIM1, /* &Clocks */, &mut rcc.apb2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Timer: CountDown` is not satisfied [INFO] [stdout] --> src/main.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 31 | let mut tm1637 = TM1637::new(dio, clk, &mut tim); [INFO] [stdout] | ----------- ^^^^^^^^ the trait `CountDown` is not implemented for `Timer` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `CountDown`: [INFO] [stdout] CountDownTimer [INFO] [stdout] CountDownTimer [INFO] [stdout] CountDownTimer [INFO] [stdout] CountDownTimer [INFO] [stdout] note: required by a bound in `TM1637::<'chip, DIO, CLK, TIMER>::new` [INFO] [stdout] --> src/tm1637.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | TIMER: CountDown, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `TM1637::<'chip, DIO, CLK, TIMER>::new` [INFO] [stdout] 15 | { [INFO] [stdout] 16 | pub fn new(dio: DIO, clk: CLK, timer: &'chip mut TIMER) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | let mut syst = Timer::syst(cp.SYST, 20.hz(), clocks); [INFO] [stdout] | ^^^^^^^^^^^ ------- ------- ------ unexpected argument #3 of type `Clocks` [INFO] [stdout] | | | [INFO] [stdout] | | expected `&Clocks`, found `Hertz` [INFO] [stdout] | expected `cortex_m::peripheral::SYST`, found `SYST` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cortex_m` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.6.2/src/peripheral/mod.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | pub struct SYST { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the expected type `cortex_m::peripheral::SYST` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.5.8/src/peripheral/mod.rs:457:1 [INFO] [stdout] | [INFO] [stdout] 457 | pub struct SYST { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the found type `SYST` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use stm32f1xx_hal as hal; [INFO] [stdout] | ------------- one version of crate `cortex_m` used here, as a dependency of crate `stm32f1xx_hal` [INFO] [stdout] ... [INFO] [stdout] 18 | let cp = cortex_m::Peripherals::take().unwrap(); [INFO] [stdout] | -------- one version of crate `cortex_m` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stm32f1xx-hal-0.5.3/src/timer.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn syst(mut syst: SYST, clocks: &Clocks) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 33 - let mut syst = Timer::syst(cp.SYST, 20.hz(), clocks); [INFO] [stdout] 33 + let mut syst = Timer::syst(/* cortex_m::peripheral::SYST */, /* &Clocks */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `write_cmd` exists for struct `TM1637<'_, PB9>, PB8>, Timer>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | tm1637.write_cmd(0x44); [INFO] [stdout] | ^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stm32f1xx-hal-0.5.3/src/timer.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct Timer { [INFO] [stdout] | --------------------- doesn't satisfy `Timer: CountDown` [INFO] [stdout] | [INFO] [stdout] ::: src/tm1637.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TM1637<'chip, DIO, CLK, TIMER> { [INFO] [stdout] | ----------------------------------------- method `write_cmd` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `Timer: CountDown` was not satisfied [INFO] [stdout] --> src/tm1637.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'chip, DIO, CLK, TIMER> TM1637<'chip, DIO, CLK, TIMER> [INFO] [stdout] | ------------------------------ [INFO] [stdout] ... [INFO] [stdout] 14 | TIMER: CountDown, [INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `write_data` exists for struct `TM1637<'_, PB9>, PB8>, Timer>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | tm1637.write_data(0xc0, DIGIT[a[0]]); [INFO] [stdout] | ^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stm32f1xx-hal-0.5.3/src/timer.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct Timer { [INFO] [stdout] | --------------------- doesn't satisfy `Timer: CountDown` [INFO] [stdout] | [INFO] [stdout] ::: src/tm1637.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TM1637<'chip, DIO, CLK, TIMER> { [INFO] [stdout] | ----------------------------------------- method `write_data` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `Timer: CountDown` was not satisfied [INFO] [stdout] --> src/tm1637.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'chip, DIO, CLK, TIMER> TM1637<'chip, DIO, CLK, TIMER> [INFO] [stdout] | ------------------------------ [INFO] [stdout] ... [INFO] [stdout] 14 | TIMER: CountDown, [INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `write_data` exists for struct `TM1637<'_, PB9>, PB8>, Timer>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | tm1637.write_data(0xc1, DIGIT[a[1]]); [INFO] [stdout] | ^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stm32f1xx-hal-0.5.3/src/timer.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct Timer { [INFO] [stdout] | --------------------- doesn't satisfy `Timer: CountDown` [INFO] [stdout] | [INFO] [stdout] ::: src/tm1637.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TM1637<'chip, DIO, CLK, TIMER> { [INFO] [stdout] | ----------------------------------------- method `write_data` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `Timer: CountDown` was not satisfied [INFO] [stdout] --> src/tm1637.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'chip, DIO, CLK, TIMER> TM1637<'chip, DIO, CLK, TIMER> [INFO] [stdout] | ------------------------------ [INFO] [stdout] ... [INFO] [stdout] 14 | TIMER: CountDown, [INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `write_data` exists for struct `TM1637<'_, PB9>, PB8>, Timer>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | tm1637.write_data(0xc2, DIGIT[a[2]]); [INFO] [stdout] | ^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stm32f1xx-hal-0.5.3/src/timer.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct Timer { [INFO] [stdout] | --------------------- doesn't satisfy `Timer: CountDown` [INFO] [stdout] | [INFO] [stdout] ::: src/tm1637.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TM1637<'chip, DIO, CLK, TIMER> { [INFO] [stdout] | ----------------------------------------- method `write_data` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `Timer: CountDown` was not satisfied [INFO] [stdout] --> src/tm1637.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'chip, DIO, CLK, TIMER> TM1637<'chip, DIO, CLK, TIMER> [INFO] [stdout] | ------------------------------ [INFO] [stdout] ... [INFO] [stdout] 14 | TIMER: CountDown, [INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `write_data` exists for struct `TM1637<'_, PB9>, PB8>, Timer>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | tm1637.write_data(0xc3, DIGIT[a[3]]); [INFO] [stdout] | ^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stm32f1xx-hal-0.5.3/src/timer.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct Timer { [INFO] [stdout] | --------------------- doesn't satisfy `Timer: CountDown` [INFO] [stdout] | [INFO] [stdout] ::: src/tm1637.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TM1637<'chip, DIO, CLK, TIMER> { [INFO] [stdout] | ----------------------------------------- method `write_data` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `Timer: CountDown` was not satisfied [INFO] [stdout] --> src/tm1637.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'chip, DIO, CLK, TIMER> TM1637<'chip, DIO, CLK, TIMER> [INFO] [stdout] | ------------------------------ [INFO] [stdout] ... [INFO] [stdout] 14 | TIMER: CountDown, [INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `write_cmd` exists for struct `TM1637<'_, PB9>, PB8>, Timer>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | tm1637.write_cmd(0x8a); [INFO] [stdout] | ^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stm32f1xx-hal-0.5.3/src/timer.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct Timer { [INFO] [stdout] | --------------------- doesn't satisfy `Timer: CountDown` [INFO] [stdout] | [INFO] [stdout] ::: src/tm1637.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TM1637<'chip, DIO, CLK, TIMER> { [INFO] [stdout] | ----------------------------------------- method `write_cmd` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `Timer: CountDown` was not satisfied [INFO] [stdout] --> src/tm1637.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'chip, DIO, CLK, TIMER> TM1637<'chip, DIO, CLK, TIMER> [INFO] [stdout] | ------------------------------ [INFO] [stdout] ... [INFO] [stdout] 14 | TIMER: CountDown, [INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied [INFO] [stdout] --> examples/three_screens.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | let mut tim1 = Timer::tim1(dp.TIM1, 1.mhz(), clocks, &mut rcc.apb2); [INFO] [stdout] | ^^^^^^^^^^^ ------- ------ unexpected argument #3 of type `Clocks` [INFO] [stdout] | | [INFO] [stdout] | expected `&Clocks`, found `MegaHertz` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stm32f1xx-hal-0.5.3/src/timer.rs:460:12 [INFO] [stdout] | [INFO] [stdout] 460 | TIM1: (tim1, dbg_tim1_stop, tim1), [INFO] [stdout] | ^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 35 - let mut tim1 = Timer::tim1(dp.TIM1, 1.mhz(), clocks, &mut rcc.apb2); [INFO] [stdout] 35 + let mut tim1 = Timer::tim1(dp.TIM1, /* &Clocks */, &mut rcc.apb2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied [INFO] [stdout] --> examples/three_screens.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | let mut tim2 = Timer::tim2(dp.TIM2, 1.mhz(), clocks, &mut rcc.apb1); [INFO] [stdout] | ^^^^^^^^^^^ ------- ------ unexpected argument #3 of type `Clocks` [INFO] [stdout] | | [INFO] [stdout] | expected `&Clocks`, found `MegaHertz` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stm32f1xx-hal-0.5.3/src/timer.rs:450:12 [INFO] [stdout] | [INFO] [stdout] 450 | TIM2: (tim2, dbg_tim2_stop, tim2), [INFO] [stdout] | ^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 36 - let mut tim2 = Timer::tim2(dp.TIM2, 1.mhz(), clocks, &mut rcc.apb1); [INFO] [stdout] 36 + let mut tim2 = Timer::tim2(dp.TIM2, /* &Clocks */, &mut rcc.apb1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied [INFO] [stdout] --> examples/three_screens.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | let mut tim3 = Timer::tim3(dp.TIM3, 1.mhz(), clocks, &mut rcc.apb1); [INFO] [stdout] | ^^^^^^^^^^^ ------- ------ unexpected argument #3 of type `Clocks` [INFO] [stdout] | | [INFO] [stdout] | expected `&Clocks`, found `MegaHertz` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stm32f1xx-hal-0.5.3/src/timer.rs:451:12 [INFO] [stdout] | [INFO] [stdout] 451 | TIM3: (tim3, dbg_tim3_stop, tim2), [INFO] [stdout] | ^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 37 - let mut tim3 = Timer::tim3(dp.TIM3, 1.mhz(), clocks, &mut rcc.apb1); [INFO] [stdout] 37 + let mut tim3 = Timer::tim3(dp.TIM3, /* &Clocks */, &mut rcc.apb1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> examples/three_screens.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | let mut syst = Timer::syst(cp.SYST, 2.hz(), clocks); [INFO] [stdout] | ^^^^^^^^^^^ ------- ------ ------ unexpected argument #3 of type `Clocks` [INFO] [stdout] | | | [INFO] [stdout] | | expected `&Clocks`, found `Hertz` [INFO] [stdout] | expected `cortex_m::peripheral::SYST`, found `SYST` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cortex_m` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.6.2/src/peripheral/mod.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | pub struct SYST { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the expected type `cortex_m::peripheral::SYST` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.5.8/src/peripheral/mod.rs:457:1 [INFO] [stdout] | [INFO] [stdout] 457 | pub struct SYST { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the found type `SYST` [INFO] [stdout] | [INFO] [stdout] ::: examples/three_screens.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use stm32f1xx_hal as hal; [INFO] [stdout] | ------------- one version of crate `cortex_m` used here, as a dependency of crate `stm32f1xx_hal` [INFO] [stdout] ... [INFO] [stdout] 19 | let cp = cortex_m::Peripherals::take().unwrap(); [INFO] [stdout] | -------- one version of crate `cortex_m` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stm32f1xx-hal-0.5.3/src/timer.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn syst(mut syst: SYST, clocks: &Clocks) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 42 - let mut syst = Timer::syst(cp.SYST, 2.hz(), clocks); [INFO] [stdout] 42 + let mut syst = Timer::syst(/* cortex_m::peripheral::SYST */, /* &Clocks */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait` found for struct `Timer` in the current scope [INFO] [stdout] --> src/main.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | nb::block!(syst.wait()).unwrap(); [INFO] [stdout] | ^^^^ method not found in `Timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait` found for struct `Timer` in the current scope [INFO] [stdout] --> examples/three_screens.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | block!(syst.wait()).unwrap(); [INFO] [stdout] | ^^^^ method not found in `Timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0583, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tm1637-display-demo` (example "three_screens") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tm1637-display-demo` (bin "tm1637-display-demo") due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "da8c63c2e382d4698b0da83ba0d9769c0ff6aa48e08a76f81d0a7977eb72d137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da8c63c2e382d4698b0da83ba0d9769c0ff6aa48e08a76f81d0a7977eb72d137", kill_on_drop: false }` [INFO] [stdout] da8c63c2e382d4698b0da83ba0d9769c0ff6aa48e08a76f81d0a7977eb72d137