[INFO] fetching crate embedded-hal-sync-pins 0.7.0... [INFO] checking embedded-hal-sync-pins-0.7.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate embedded-hal-sync-pins 0.7.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate embedded-hal-sync-pins 0.7.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate embedded-hal-sync-pins 0.7.0 [INFO] finished tweaking crates.io crate embedded-hal-sync-pins 0.7.0 [INFO] tweaked toml for crates.io crate embedded-hal-sync-pins 0.7.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding vcd v0.6.1 (available: v0.7.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded embedded-hal v1.0.0 [INFO] [stderr] Downloaded vcd v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba308c5c9e14e4468001d45eaf0b2f1c934027bfa2bf7895492bb75eded73162 [INFO] running `Command { std: "docker" "start" "-a" "ba308c5c9e14e4468001d45eaf0b2f1c934027bfa2bf7895492bb75eded73162", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba308c5c9e14e4468001d45eaf0b2f1c934027bfa2bf7895492bb75eded73162", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba308c5c9e14e4468001d45eaf0b2f1c934027bfa2bf7895492bb75eded73162", kill_on_drop: false }` [INFO] [stdout] ba308c5c9e14e4468001d45eaf0b2f1c934027bfa2bf7895492bb75eded73162 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e3513d6c3bfadf47ca1f5809dda3942c849c1f82aca5020d7c78955f1a57b1d [INFO] running `Command { std: "docker" "start" "-a" "5e3513d6c3bfadf47ca1f5809dda3942c849c1f82aca5020d7c78955f1a57b1d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking embedded-hal-sync-pins v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `embedded_hal::digital::ToggleableOutputPin` [INFO] [stdout] --> src/wire.rs:2:69 [INFO] [stdout] | [INFO] [stdout] 2 | use embedded_hal::digital::{InputPin, OutputPin, StatefulOutputPin, ToggleableOutputPin}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `ToggleableOutputPin` in `digital` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::ToggleableOutputPin` [INFO] [stdout] --> src/pins.rs:397:7 [INFO] [stdout] | [INFO] [stdout] 397 | use hal::ToggleableOutputPin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `ToggleableOutputPin` in `digital` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::ToggleableOutputPin` [INFO] [stdout] --> src/pins.rs:425:7 [INFO] [stdout] | [INFO] [stdout] 425 | use hal::ToggleableOutputPin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `ToggleableOutputPin` in `digital` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `embedded_hal::digital::ToggleableOutputPin` [INFO] [stdout] --> src/wire.rs:2:69 [INFO] [stdout] | [INFO] [stdout] 2 | use embedded_hal::digital::{InputPin, OutputPin, StatefulOutputPin, ToggleableOutputPin}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `ToggleableOutputPin` in `digital` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ToggleableOutputPin` in module `hal` [INFO] [stdout] --> src/pins.rs:202:11 [INFO] [stdout] | [INFO] [stdout] 202 | impl hal::ToggleableOutputPin for PushPullPin { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ToggleableOutputPin` in module `hal` [INFO] [stdout] --> src/pins.rs:290:11 [INFO] [stdout] | [INFO] [stdout] 290 | impl hal::ToggleableOutputPin for OpenDrainPin { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ToggleableOutputPin` in module `hal` [INFO] [stdout] --> src/pins.rs:202:11 [INFO] [stdout] | [INFO] [stdout] 202 | impl hal::ToggleableOutputPin for PushPullPin { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ToggleableOutputPin` in module `hal` [INFO] [stdout] --> src/pins.rs:290:11 [INFO] [stdout] | [INFO] [stdout] 290 | impl hal::ToggleableOutputPin for OpenDrainPin { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_high` has an incompatible type for trait [INFO] [stdout] --> src/pins.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | fn is_high(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut pins::InputPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&pins::InputPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 134 | fn is_high(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_low` has an incompatible type for trait [INFO] [stdout] --> src/pins.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | fn is_low(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut pins::InputPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&pins::InputPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 138 | fn is_low(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_set_high` has an incompatible type for trait [INFO] [stdout] --> src/pins.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | fn is_set_high(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut pins::PushPullPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&pins::PushPullPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 193 | fn is_set_high(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_set_low` has an incompatible type for trait [INFO] [stdout] --> src/pins.rs:197:16 [INFO] [stdout] | [INFO] [stdout] 197 | fn is_set_low(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut pins::PushPullPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&pins::PushPullPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 197 | fn is_set_low(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_high` has an incompatible type for trait [INFO] [stdout] --> src/pins.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | fn is_high(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut pins::InputPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&pins::InputPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 134 | fn is_high(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_low` has an incompatible type for trait [INFO] [stdout] --> src/pins.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | fn is_low(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut pins::InputPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&pins::InputPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 138 | fn is_low(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_set_high` has an incompatible type for trait [INFO] [stdout] --> src/pins.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | fn is_set_high(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut pins::PushPullPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&pins::PushPullPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 193 | fn is_set_high(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_set_low` has an incompatible type for trait [INFO] [stdout] --> src/pins.rs:197:16 [INFO] [stdout] | [INFO] [stdout] 197 | fn is_set_low(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut pins::PushPullPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&pins::PushPullPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 197 | fn is_set_low(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_high` has an incompatible type for trait [INFO] [stdout] --> src/pins.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | fn is_high(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut pins::PushPullPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&pins::PushPullPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 215 | fn is_high(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_low` has an incompatible type for trait [INFO] [stdout] --> src/pins.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | fn is_low(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut pins::PushPullPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&pins::PushPullPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 219 | fn is_low(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_high` has an incompatible type for trait [INFO] [stdout] --> src/pins.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | fn is_high(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut pins::PushPullPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&pins::PushPullPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 215 | fn is_high(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_set_high` has an incompatible type for trait [INFO] [stdout] --> src/pins.rs:281:17 [INFO] [stdout] | [INFO] [stdout] 281 | fn is_set_high(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut pins::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&pins::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 281 | fn is_set_high(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_low` has an incompatible type for trait [INFO] [stdout] --> src/pins.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | fn is_low(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut pins::PushPullPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&pins::PushPullPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 219 | fn is_low(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_set_low` has an incompatible type for trait [INFO] [stdout] --> src/pins.rs:285:16 [INFO] [stdout] | [INFO] [stdout] 285 | fn is_set_low(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut pins::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&pins::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 285 | fn is_set_low(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_set_high` has an incompatible type for trait [INFO] [stdout] --> src/pins.rs:281:17 [INFO] [stdout] | [INFO] [stdout] 281 | fn is_set_high(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut pins::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&pins::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 281 | fn is_set_high(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_high` has an incompatible type for trait [INFO] [stdout] --> src/pins.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | fn is_high(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut pins::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&pins::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 303 | fn is_high(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_set_low` has an incompatible type for trait [INFO] [stdout] --> src/pins.rs:285:16 [INFO] [stdout] | [INFO] [stdout] 285 | fn is_set_low(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut pins::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&pins::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 285 | fn is_set_low(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_low` has an incompatible type for trait [INFO] [stdout] --> src/pins.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 307 | fn is_low(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut pins::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&pins::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 307 | fn is_low(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_high` has an incompatible type for trait [INFO] [stdout] --> src/pins.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | fn is_high(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut pins::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&pins::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 303 | fn is_high(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_low` has an incompatible type for trait [INFO] [stdout] --> src/pins.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 307 | fn is_low(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut pins::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&pins::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 307 | fn is_low(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_high` has an incompatible type for trait [INFO] [stdout] --> src/wire.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | fn is_high(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut InputOnlyPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&InputOnlyPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 144 | fn is_high(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_low` has an incompatible type for trait [INFO] [stdout] --> src/wire.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | fn is_low(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut InputOnlyPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&InputOnlyPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 148 | fn is_low(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_high` has an incompatible type for trait [INFO] [stdout] --> src/wire.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | fn is_high(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut wire::PushPullPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&wire::PushPullPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 163 | fn is_high(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_low` has an incompatible type for trait [INFO] [stdout] --> src/wire.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | fn is_low(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut wire::PushPullPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&wire::PushPullPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 167 | fn is_low(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_set_high` has an incompatible type for trait [INFO] [stdout] --> src/wire.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | fn is_set_high(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut wire::PushPullPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&wire::PushPullPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 185 | fn is_set_high(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_set_low` has an incompatible type for trait [INFO] [stdout] --> src/wire.rs:189:16 [INFO] [stdout] | [INFO] [stdout] 189 | fn is_set_low(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut wire::PushPullPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&wire::PushPullPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 189 | fn is_set_low(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_high` has an incompatible type for trait [INFO] [stdout] --> src/wire.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | fn is_high(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut InputOnlyPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&InputOnlyPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 144 | fn is_high(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_low` has an incompatible type for trait [INFO] [stdout] --> src/wire.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | fn is_low(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut InputOnlyPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&InputOnlyPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 148 | fn is_low(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_high` has an incompatible type for trait [INFO] [stdout] --> src/wire.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | fn is_high(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut wire::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&wire::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 215 | fn is_high(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_high` has an incompatible type for trait [INFO] [stdout] --> src/wire.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | fn is_high(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut wire::PushPullPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&wire::PushPullPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 163 | fn is_high(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_low` has an incompatible type for trait [INFO] [stdout] --> src/wire.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | fn is_low(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut wire::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&wire::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 219 | fn is_low(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_low` has an incompatible type for trait [INFO] [stdout] --> src/wire.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | fn is_low(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut wire::PushPullPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&wire::PushPullPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 167 | fn is_low(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_set_high` has an incompatible type for trait [INFO] [stdout] --> src/wire.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | fn is_set_high(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut wire::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&wire::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 237 | fn is_set_high(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_set_high` has an incompatible type for trait [INFO] [stdout] --> src/wire.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | fn is_set_high(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut wire::PushPullPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&wire::PushPullPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 185 | fn is_set_high(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_set_low` has an incompatible type for trait [INFO] [stdout] --> src/wire.rs:241:16 [INFO] [stdout] | [INFO] [stdout] 241 | fn is_set_low(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut wire::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&wire::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 241 | fn is_set_low(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_set_low` has an incompatible type for trait [INFO] [stdout] --> src/wire.rs:189:16 [INFO] [stdout] | [INFO] [stdout] 189 | fn is_set_low(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut wire::PushPullPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&wire::PushPullPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 189 | fn is_set_low(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_high` has an incompatible type for trait [INFO] [stdout] --> src/wire.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | fn is_high(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut wire::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&wire::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 215 | fn is_high(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_low` has an incompatible type for trait [INFO] [stdout] --> src/wire.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | fn is_low(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut wire::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&wire::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 219 | fn is_low(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_set_high` has an incompatible type for trait [INFO] [stdout] --> src/wire.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | fn is_set_high(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut wire::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&wire::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 237 | fn is_set_high(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `is_set_low` has an incompatible type for trait [INFO] [stdout] --> src/wire.rs:241:16 [INFO] [stdout] | [INFO] [stdout] 241 | fn is_set_low(&self) -> Result { [INFO] [stdout] | ^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut wire::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] found signature `fn(&wire::OpenDrainPin) -> Result<_, _>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 241 | fn is_set_low(&mut self) -> Result { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0405, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0405, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `embedded-hal-sync-pins` (lib) due to 24 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `embedded-hal-sync-pins` (lib test) due to 26 previous errors [INFO] running `Command { std: "docker" "inspect" "5e3513d6c3bfadf47ca1f5809dda3942c849c1f82aca5020d7c78955f1a57b1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e3513d6c3bfadf47ca1f5809dda3942c849c1f82aca5020d7c78955f1a57b1d", kill_on_drop: false }` [INFO] [stdout] 5e3513d6c3bfadf47ca1f5809dda3942c849c1f82aca5020d7c78955f1a57b1d