[INFO] fetching crate embedded-hal-sync-pins 0.7.0... [INFO] testing embedded-hal-sync-pins-0.7.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate embedded-hal-sync-pins 0.7.0 into /workspace/builds/worker-0-tc1/source [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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate embedded-hal-sync-pins 0.7.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vcd v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 076a7d9f30fa4f1b111f59ba0d76ae5e35b83892017ba05826ebee4107cd97db [INFO] running `Command { std: "docker" "start" "-a" "076a7d9f30fa4f1b111f59ba0d76ae5e35b83892017ba05826ebee4107cd97db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "076a7d9f30fa4f1b111f59ba0d76ae5e35b83892017ba05826ebee4107cd97db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "076a7d9f30fa4f1b111f59ba0d76ae5e35b83892017ba05826ebee4107cd97db", kill_on_drop: false }` [INFO] [stdout] 076a7d9f30fa4f1b111f59ba0d76ae5e35b83892017ba05826ebee4107cd97db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1149011584e58c731ae9b31d46eec20d17da6ce069a9aca8c0815aa41907bce8 [INFO] running `Command { std: "docker" "start" "-a" "1149011584e58c731ae9b31d46eec20d17da6ce069a9aca8c0815aa41907bce8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling 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[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: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_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_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_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: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] 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 23 previous errors [INFO] running `Command { std: "docker" "inspect" "1149011584e58c731ae9b31d46eec20d17da6ce069a9aca8c0815aa41907bce8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1149011584e58c731ae9b31d46eec20d17da6ce069a9aca8c0815aa41907bce8", kill_on_drop: false }` [INFO] [stdout] 1149011584e58c731ae9b31d46eec20d17da6ce069a9aca8c0815aa41907bce8