[INFO] fetching crate async-button 0.2.0... [INFO] checking async-button-0.2.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate async-button 0.2.0 into /workspace/builds/worker-1-tc2/source [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate async-button 0.2.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate async-button 0.2.0 [INFO] tweaked toml for crates.io crate async-button 0.2.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate async-button 0.2.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate async-button 0.2.0 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ef0f9cbbeffd1144c6e8473a708c170a9af5332fe58392ff0d8aabeba482ef0 [INFO] running `Command { std: "docker" "start" "-a" "5ef0f9cbbeffd1144c6e8473a708c170a9af5332fe58392ff0d8aabeba482ef0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ef0f9cbbeffd1144c6e8473a708c170a9af5332fe58392ff0d8aabeba482ef0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ef0f9cbbeffd1144c6e8473a708c170a9af5332fe58392ff0d8aabeba482ef0", kill_on_drop: false }` [INFO] [stdout] 5ef0f9cbbeffd1144c6e8473a708c170a9af5332fe58392ff0d8aabeba482ef0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ef1fd7ba7667d71793eb8c865537878660c643cb57af9ae7fcff3283ae6981e [INFO] running `Command { std: "docker" "start" "-a" "3ef1fd7ba7667d71793eb8c865537878660c643cb57af9ae7fcff3283ae6981e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.15 [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Compiling embassy-time-driver v0.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking critical-section v1.2.0 [INFO] [stderr] Checking claims v0.8.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal-nb v1.0.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking embedded-time v0.12.1 [INFO] [stderr] Checking embassy-time v0.4.0 [INFO] [stderr] Checking async-button v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking embedded-hal-mock v0.11.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/events.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | debounce: Duration::from_millis(10), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `embassy_time::duration::Duration`, found `Duration` [INFO] [stdout] | [INFO] [stdout] = note: `Duration` and `embassy_time::duration::Duration` have similar names, but are actually distinct types [INFO] [stdout] note: `Duration` is defined in crate `core` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/time.rs:81:1 [INFO] [stdout] note: `embassy_time::duration::Duration` is defined in crate `embassy_time` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embassy-time-0.4.0/src/duration.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/events.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | double_click: Duration::from_millis(100), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `embassy_time::duration::Duration`, found `Duration` [INFO] [stdout] | [INFO] [stdout] = note: `Duration` and `embassy_time::duration::Duration` have similar names, but are actually distinct types [INFO] [stdout] note: `Duration` is defined in crate `core` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/time.rs:81:1 [INFO] [stdout] note: `embassy_time::duration::Duration` is defined in crate `embassy_time` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embassy-time-0.4.0/src/duration.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/events.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | long_press: Duration::from_millis(200), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `embassy_time::duration::Duration`, found `Duration` [INFO] [stdout] | [INFO] [stdout] = note: `Duration` and `embassy_time::duration::Duration` have similar names, but are actually distinct types [INFO] [stdout] note: `Duration` is defined in crate `core` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/time.rs:81:1 [INFO] [stdout] note: `embassy_time::duration::Duration` is defined in crate `embassy_time` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embassy-time-0.4.0/src/duration.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | Transaction::wait_for_state(PinState::Low, IMMEDIATELY), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----------- unexpected argument #2 of type `Duration` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-mock-0.11.1/src/eh1/digital.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn wait_for_state(state: State) -> Transaction { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 47 - Transaction::wait_for_state(PinState::Low, IMMEDIATELY), [INFO] [stdout] 47 + Transaction::wait_for_state(PinState::Low), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | Transaction::wait_for_state(PinState::High, IMMEDIATELY), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----------- unexpected argument #2 of type `Duration` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-mock-0.11.1/src/eh1/digital.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn wait_for_state(state: State) -> Transaction { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 49 - Transaction::wait_for_state(PinState::High, IMMEDIATELY), [INFO] [stdout] 49 + Transaction::wait_for_state(PinState::High), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | Transaction::wait_for_state(PinState::Low, IMMEDIATELY), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----------- unexpected argument #2 of type `Duration` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-mock-0.11.1/src/eh1/digital.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn wait_for_state(state: State) -> Transaction { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 71 - Transaction::wait_for_state(PinState::Low, IMMEDIATELY), [INFO] [stdout] 71 + Transaction::wait_for_state(PinState::Low), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | Transaction::wait_for_state(PinState::High, Duration::from_millis(250)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ -------------------------- unexpected argument #2 of type `Duration` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-mock-0.11.1/src/eh1/digital.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn wait_for_state(state: State) -> Transaction { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 73 - Transaction::wait_for_state(PinState::High, Duration::from_millis(250)), [INFO] [stdout] 73 + Transaction::wait_for_state(PinState::High), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | Transaction::wait_for_state(PinState::High, IMMEDIATELY), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----------- unexpected argument #2 of type `Duration` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-mock-0.11.1/src/eh1/digital.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn wait_for_state(state: State) -> Transaction { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 74 - Transaction::wait_for_state(PinState::High, IMMEDIATELY), [INFO] [stdout] 74 + Transaction::wait_for_state(PinState::High), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | Transaction::wait_for_state(PinState::Low, IMMEDIATELY), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----------- unexpected argument #2 of type `Duration` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-mock-0.11.1/src/eh1/digital.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn wait_for_state(state: State) -> Transaction { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 99 - Transaction::wait_for_state(PinState::Low, IMMEDIATELY), [INFO] [stdout] 99 + Transaction::wait_for_state(PinState::Low), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | Transaction::wait_for_state(PinState::High, IMMEDIATELY), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----------- unexpected argument #2 of type `Duration` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-mock-0.11.1/src/eh1/digital.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn wait_for_state(state: State) -> Transaction { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 116 - Transaction::wait_for_state(PinState::High, IMMEDIATELY), [INFO] [stdout] 116 + Transaction::wait_for_state(PinState::High), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | Transaction::wait_for_state(PinState::Low, IMMEDIATELY), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----------- unexpected argument #2 of type `Duration` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-mock-0.11.1/src/eh1/digital.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn wait_for_state(state: State) -> Transaction { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 133 - Transaction::wait_for_state(PinState::Low, IMMEDIATELY), [INFO] [stdout] 133 + Transaction::wait_for_state(PinState::Low), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | Transaction::wait_for_state(PinState::High, IMMEDIATELY), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----------- unexpected argument #2 of type `Duration` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-mock-0.11.1/src/eh1/digital.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn wait_for_state(state: State) -> Transaction { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 135 - Transaction::wait_for_state(PinState::High, IMMEDIATELY), [INFO] [stdout] 135 + Transaction::wait_for_state(PinState::High), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | Transaction::wait_for_state(PinState::Low, IMMEDIATELY), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----------- unexpected argument #2 of type `Duration` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-mock-0.11.1/src/eh1/digital.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn wait_for_state(state: State) -> Transaction { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 137 - Transaction::wait_for_state(PinState::Low, IMMEDIATELY), [INFO] [stdout] 137 + Transaction::wait_for_state(PinState::Low), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | Transaction::wait_for_state(PinState::High, IMMEDIATELY), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----------- unexpected argument #2 of type `Duration` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-mock-0.11.1/src/eh1/digital.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn wait_for_state(state: State) -> Transaction { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 139 - Transaction::wait_for_state(PinState::High, IMMEDIATELY), [INFO] [stdout] 139 + Transaction::wait_for_state(PinState::High), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | Transaction::wait_for_state(PinState::Low, Duration::from_millis(250)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ -------------------------- unexpected argument #2 of type `Duration` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-mock-0.11.1/src/eh1/digital.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn wait_for_state(state: State) -> Transaction { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 141 - Transaction::wait_for_state(PinState::Low, Duration::from_millis(250)), [INFO] [stdout] 141 + Transaction::wait_for_state(PinState::Low), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-button` (lib test) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-button` (test "events") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "3ef1fd7ba7667d71793eb8c865537878660c643cb57af9ae7fcff3283ae6981e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ef1fd7ba7667d71793eb8c865537878660c643cb57af9ae7fcff3283ae6981e", kill_on_drop: false }` [INFO] [stdout] 3ef1fd7ba7667d71793eb8c865537878660c643cb57af9ae7fcff3283ae6981e