[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#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Ftm1637-display-demo" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luojia65/tm1637-display-demo on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2/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-2/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f807b65c15f366bf2f9970ae1643afc5494846e0b65f743601b0eb9b55cfde2 [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" "4f807b65c15f366bf2f9970ae1643afc5494846e0b65f743601b0eb9b55cfde2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f807b65c15f366bf2f9970ae1643afc5494846e0b65f743601b0eb9b55cfde2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f807b65c15f366bf2f9970ae1643afc5494846e0b65f743601b0eb9b55cfde2", kill_on_drop: false }` [INFO] [stdout] 4f807b65c15f366bf2f9970ae1643afc5494846e0b65f743601b0eb9b55cfde2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37dcfbccbd2d7cb7b665b57e26bc2cadc53208b51e23054ffdc2ea95c091b9dd [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" "37dcfbccbd2d7cb7b665b57e26bc2cadc53208b51e23054ffdc2ea95c091b9dd", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Checking vcell v0.1.0 [INFO] [stderr] Compiling cortex-m v0.5.8 [INFO] [stderr] Compiling syn v1.0.15 [INFO] [stderr] Checking aligned v0.2.0 [INFO] [stderr] Compiling cortex-m-rt v0.6.12 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.2 [INFO] [stderr] Compiling cortex-m v0.6.2 [INFO] [stderr] Compiling stm32f1 v0.9.0 [INFO] [stderr] Checking nb v0.1.2 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Compiling tm1637-display-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling bare-metal v0.2.4 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking embedded-hal v0.2.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking panic-semihosting v0.5.1 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking as-slice v0.1.3 [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[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" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tm1637::TM1637` [INFO] [stdout] --> examples/three_screens.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tm1637::TM1637; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `TM1637` in `tm1637` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [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] [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] | ^^^^^^^^^^^ ------- ------- ------ ------------- supplied 4 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [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] | ^^^^^^^^^^^ ------- ------- ------ ------------- supplied 4 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [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] | ^^^^^^^^^^^ ------- ------- ------ ------------- supplied 4 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [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] | ^^^^^^^^^^^ ------- ------ ------ supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [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] ::: src/tm1637.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(dio: DIO, clk: CLK, timer: &'chip mut TIMER) -> Self { [INFO] [stdout] | --------------------------------------------------------------- required by `TM1637::<'chip, DIO, CLK, TIMER>::new` [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] [INFO] [stdout] error[E0599]: no method named `write_cmd` found for struct `TM1637<'_, PB9>, PB8>, Timer>` in the current scope [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] --> src/main.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | tm1637.write_cmd(0x44); [INFO] [stdout] | ^^^^^^^^^ method not found in `TM1637<'_, PB9>, PB8>, Timer>` [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 method `write_cmd` exists but the following trait bounds were not satisfied: [INFO] [stdout] `Timer: CountDown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_data` found for struct `TM1637<'_, PB9>, PB8>, Timer>` in the current scope [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] --> src/main.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | tm1637.write_data(0xc0, DIGIT[a[0]]); [INFO] [stdout] | ^^^^^^^^^^ method not found in `TM1637<'_, PB9>, PB8>, Timer>` [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 method `write_data` exists but the following trait bounds were not satisfied: [INFO] [stdout] `Timer: CountDown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_data` found for struct `TM1637<'_, PB9>, PB8>, Timer>` in the current scope [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] --> src/main.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | tm1637.write_data(0xc1, DIGIT[a[1]]); [INFO] [stdout] | ^^^^^^^^^^ method not found in `TM1637<'_, PB9>, PB8>, Timer>` [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 method `write_data` exists but the following trait bounds were not satisfied: [INFO] [stdout] `Timer: CountDown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_data` found for struct `TM1637<'_, PB9>, PB8>, Timer>` in the current scope [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] --> src/main.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | tm1637.write_data(0xc2, DIGIT[a[2]]); [INFO] [stdout] | ^^^^^^^^^^ method not found in `TM1637<'_, PB9>, PB8>, Timer>` [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 method `write_data` exists but the following trait bounds were not satisfied: [INFO] [stdout] `Timer: CountDown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_data` found for struct `TM1637<'_, PB9>, PB8>, Timer>` in the current scope [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] --> src/main.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | tm1637.write_data(0xc3, DIGIT[a[3]]); [INFO] [stdout] | ^^^^^^^^^^ method not found in `TM1637<'_, PB9>, PB8>, Timer>` [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 method `write_data` exists but the following trait bounds were not satisfied: [INFO] [stdout] `Timer: CountDown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_cmd` found for struct `TM1637<'_, PB9>, PB8>, Timer>` in the current scope [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] --> src/main.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | tm1637.write_cmd(0x8a); [INFO] [stdout] | ^^^^^^^^^ method not found in `TM1637<'_, PB9>, PB8>, Timer>` [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 method `write_cmd` exists but 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432, E0583, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "37dcfbccbd2d7cb7b665b57e26bc2cadc53208b51e23054ffdc2ea95c091b9dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37dcfbccbd2d7cb7b665b57e26bc2cadc53208b51e23054ffdc2ea95c091b9dd", kill_on_drop: false }` [INFO] [stdout] 37dcfbccbd2d7cb7b665b57e26bc2cadc53208b51e23054ffdc2ea95c091b9dd