[INFO] cloning repository https://github.com/lzldev/lcd1602-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lzldev/lcd1602-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flzldev%2Flcd1602-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flzldev%2Flcd1602-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f0ef918f3b1ed468d5f5443a14afd9a0095dfb8a [INFO] testing lzldev/lcd1602-rs against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flzldev%2Flcd1602-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/lzldev/lcd1602-rs [INFO] finished tweaking git repo https://github.com/lzldev/lcd1602-rs [INFO] tweaked toml for git repo https://github.com/lzldev/lcd1602-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lzldev/lcd1602-rs on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lzldev/lcd1602-rs 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f2cbbc8cc73a5c5ff84aca43fbc65b0fb98ea5f4be1198103712412cf3cd3c8 [INFO] running `Command { std: "docker" "start" "-a" "1f2cbbc8cc73a5c5ff84aca43fbc65b0fb98ea5f4be1198103712412cf3cd3c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f2cbbc8cc73a5c5ff84aca43fbc65b0fb98ea5f4be1198103712412cf3cd3c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f2cbbc8cc73a5c5ff84aca43fbc65b0fb98ea5f4be1198103712412cf3cd3c8", kill_on_drop: false }` [INFO] [stdout] 1f2cbbc8cc73a5c5ff84aca43fbc65b0fb98ea5f4be1198103712412cf3cd3c8 [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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7005cb9c10e1286d0dc5f9e135ba4171457ddfb5eafe7214df69db2f1fc14eab [INFO] running `Command { std: "docker" "start" "-a" "7005cb9c10e1286d0dc5f9e135ba4171457ddfb5eafe7214df69db2f1fc14eab", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling embedded-hal-bus v0.1.0 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling bare-metal v1.0.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling ufmt-write v0.1.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling embedded-storage v0.2.0 [INFO] [stderr] Compiling unwrap-infallible v0.1.5 [INFO] [stderr] Compiling panic-halt v1.0.0 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling lcd1602 v0.1.0 (/opt/rustwide/workdir/crates/lcd1602) [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling avr-device-macros v0.7.0 [INFO] [stderr] Compiling ufmt-macros v0.3.0 [INFO] [stderr] Compiling avr-device v0.7.0 [INFO] [stderr] Compiling ufmt v0.2.0 [INFO] [stderr] Compiling avr-hal-generic v0.1.0 (https://github.com/rahix/avr-hal?rev=3c089795cadbbc7fa83f45958128689fee7ba1e4#3c089795) [INFO] [stderr] Compiling atmega-hal v0.1.0 (https://github.com/rahix/avr-hal?rev=3c089795cadbbc7fa83f45958128689fee7ba1e4#3c089795) [INFO] [stderr] Compiling arduino-hal v0.1.0 (https://github.com/rahix/avr-hal?rev=3c089795cadbbc7fa83f45958128689fee7ba1e4#3c089795) [INFO] [stderr] Compiling avr00 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: Ensure that you are using an AVR target! You may need to change directories or pass a --target flag to cargo. See [INFO] [stdout] https://github.com/Rahix/avr-device/pull/41 for more details. [INFO] [stdout] --> src/main.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[arduino_hal::entry] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `arduino_hal::entry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `println` [INFO] [stdout] --> src/macros.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | macro_rules! println { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `println` [INFO] [stdout] --> src/macros.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) use println; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_hal::digital::OutputPin` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use embedded_hal::digital::OutputPin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Infallible: embedded_hal::digital::ErrorType` is not satisfied [INFO] [stdout] --> src/main.rs:34:49 [INFO] [stdout] | [INFO] [stdout] 34 | lcd1602::new_4pin::<_, _, _, _, _, _, _, _, _>( [INFO] [stdout] | ^ the trait `embedded_hal::digital::ErrorType` is not implemented for `Infallible` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `embedded_hal` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-1.0.0/src/digital.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | pub trait ErrorType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use embedded_hal::digital::OutputPin; [INFO] [stdout] | ------------ one version of crate `embedded_hal` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/memory.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use arduino_hal::eeprom::OutOfBoundsError; [INFO] [stdout] | ----------- one version of crate `embedded_hal` used here, as a dependency of crate `avr_hal_generic` [INFO] [stdout] --> /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/convert/mod.rs:912:1 [INFO] [stdout] | [INFO] [stdout] = note: this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-0.2.7/src/adc.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait Channel { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `new_4pin` [INFO] [stdout] --> /opt/rustwide/workdir/crates/lcd1602/src/four_pin.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new_4pin( [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 27 | E: ErrorType, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `new_4pin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Infallible: embedded_hal::digital::ErrorType` is not satisfied [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / lcd1602::new_4pin::<_, _, _, _, _, _, _, _, _>( [INFO] [stdout] 35 | | arduino_hal::Delay::new(), [INFO] [stdout] 36 | | None, [INFO] [stdout] 37 | | pins.d12.into_output(), [INFO] [stdout] ... | [INFO] [stdout] 42 | | pins.d5.into_output(), [INFO] [stdout] 43 | | ); [INFO] [stdout] | |_____^ the trait `embedded_hal::digital::ErrorType` is not implemented for `Infallible` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `embedded_hal` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-1.0.0/src/digital.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | pub trait ErrorType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use embedded_hal::digital::OutputPin; [INFO] [stdout] | ------------ one version of crate `embedded_hal` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/memory.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use arduino_hal::eeprom::OutOfBoundsError; [INFO] [stdout] | ----------- one version of crate `embedded_hal` used here, as a dependency of crate `avr_hal_generic` [INFO] [stdout] --> /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/convert/mod.rs:912:1 [INFO] [stdout] | [INFO] [stdout] = note: this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-0.2.7/src/adc.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait Channel { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `LCD1602_4Pin` [INFO] [stdout] --> /opt/rustwide/workdir/crates/lcd1602/src/four_pin.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct LCD1602_4Pin [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 51 | E: ErrorType, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `LCD1602_4Pin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `avr00` (bin "avr00") due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7005cb9c10e1286d0dc5f9e135ba4171457ddfb5eafe7214df69db2f1fc14eab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7005cb9c10e1286d0dc5f9e135ba4171457ddfb5eafe7214df69db2f1fc14eab", kill_on_drop: false }` [INFO] [stdout] 7005cb9c10e1286d0dc5f9e135ba4171457ddfb5eafe7214df69db2f1fc14eab