[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] testing luojia65/tm1637-display-demo against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Ftm1637-display-demo" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luojia65/tm1637-display-demo on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0/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-0/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aligned v0.2.0 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.1.8 [INFO] [stderr] Downloaded as-slice v0.1.3 [INFO] [stderr] Downloaded cortex-m v0.5.8 [INFO] [stderr] Downloaded cortex-m v0.6.2 [INFO] [stderr] Downloaded cortex-m-semihosting v0.3.2 [INFO] [stderr] Downloaded aligned v0.3.2 [INFO] [stderr] Downloaded stm32f1 v0.9.0 [INFO] [stderr] Downloaded stm32f1xx-hal v0.5.3 [INFO] [stderr] Downloaded cortex-m-rt v0.6.12 [INFO] [stderr] Downloaded panic-semihosting v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc42e7ca740fa5e7110af1bf3ed08c2c459cad272fe3ea26b84c076e6c79091d [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" "bc42e7ca740fa5e7110af1bf3ed08c2c459cad272fe3ea26b84c076e6c79091d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc42e7ca740fa5e7110af1bf3ed08c2c459cad272fe3ea26b84c076e6c79091d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc42e7ca740fa5e7110af1bf3ed08c2c459cad272fe3ea26b84c076e6c79091d", kill_on_drop: false }` [INFO] [stdout] bc42e7ca740fa5e7110af1bf3ed08c2c459cad272fe3ea26b84c076e6c79091d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e128876631ee31fca269ae86a1a64852853cee5f2e041f8bfb0f618dc058405 [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" "9e128876631ee31fca269ae86a1a64852853cee5f2e041f8bfb0f618dc058405", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling cortex-m v0.5.8 [INFO] [stderr] Compiling syn v1.0.15 [INFO] [stderr] Compiling aligned v0.2.0 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.2 [INFO] [stderr] Compiling tm1637-display-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling stm32f1 v0.9.0 [INFO] [stderr] Compiling bare-metal v0.2.4 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling as-slice v0.1.3 [INFO] [stderr] Compiling aligned v0.3.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling cortex-m v0.6.2 [INFO] [stderr] Compiling panic-semihosting v0.5.1 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling cortex-m-rt v0.6.12 [INFO] [stderr] Compiling stm32f1xx-hal v0.5.3 [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] | [INFO] [stdout] = note: this can occur when a binary crate with `#![no_std]` is compiled for a target where `eh_personality` is defined in the standard library [INFO] [stdout] = help: you may be able to compile for a target that doesn't need `eh_personality`, specify a target with `--target` or in `.cargo/config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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] | ^^^^^^^^^^^ ------- ------- ------ ------------- supplied 4 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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] [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] 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 [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] | ^^^^^^^^^^^ ------- ------- ------ supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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] [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 on `TM1637<'_, PB9>, PB8>, Timer>` due to unsatisfied trait bounds [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 [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Timer: CountDown` [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 on `TM1637<'_, PB9>, PB8>, Timer>` due to unsatisfied trait bounds [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 [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Timer: CountDown` [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 on `TM1637<'_, PB9>, PB8>, Timer>` due to unsatisfied trait bounds [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 [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Timer: CountDown` [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 on `TM1637<'_, PB9>, PB8>, Timer>` due to unsatisfied trait bounds [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 [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Timer: CountDown` [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 on `TM1637<'_, PB9>, PB8>, Timer>` due to unsatisfied trait bounds [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 [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Timer: CountDown` [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 on `TM1637<'_, PB9>, PB8>, Timer>` due to unsatisfied trait bounds [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 [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Timer: CountDown` [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: aborting due to 11 previous errors [INFO] [stdout] [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` due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "9e128876631ee31fca269ae86a1a64852853cee5f2e041f8bfb0f618dc058405", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e128876631ee31fca269ae86a1a64852853cee5f2e041f8bfb0f618dc058405", kill_on_drop: false }` [INFO] [stdout] 9e128876631ee31fca269ae86a1a64852853cee5f2e041f8bfb0f618dc058405