[INFO] fetching crate led 0.3.1...
[INFO] testing led-0.3.1 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] extracting crate led 0.3.1 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate led 0.3.1
[INFO] finished tweaking crates.io crate led 0.3.1
[INFO] tweaked toml for crates.io crate led 0.3.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate led 0.3.1 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 4 packages to latest compatible versions
[INFO] [stderr]       Adding embedded-hal v0.2.7 (available: v1.0.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a6fff7eda080d92cb80a381f542e1d80ade7b6d384dda5733e702061bac24e09
[INFO] running `Command { std: "docker" "start" "-a" "a6fff7eda080d92cb80a381f542e1d80ade7b6d384dda5733e702061bac24e09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a6fff7eda080d92cb80a381f542e1d80ade7b6d384dda5733e702061bac24e09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a6fff7eda080d92cb80a381f542e1d80ade7b6d384dda5733e702061bac24e09", kill_on_drop: false }`
[INFO] [stdout] a6fff7eda080d92cb80a381f542e1d80ade7b6d384dda5733e702061bac24e09
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 1c6978da9f92d7cfb5a8acb6aa44ce4733b265ad30e7e18900a0f5349d325745
[INFO] running `Command { std: "docker" "start" "-a" "1c6978da9f92d7cfb5a8acb6aa44ce4733b265ad30e7e18900a0f5349d325745", kill_on_drop: false }`
[INFO] [stderr]    Compiling nb v1.1.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling nb v0.1.3
[INFO] [stderr]    Compiling embedded-hal v0.2.7
[INFO] [stderr]    Compiling led v0.3.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s
[INFO] running `Command { std: "docker" "inspect" "1c6978da9f92d7cfb5a8acb6aa44ce4733b265ad30e7e18900a0f5349d325745", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c6978da9f92d7cfb5a8acb6aa44ce4733b265ad30e7e18900a0f5349d325745", kill_on_drop: false }`
[INFO] [stdout] 1c6978da9f92d7cfb5a8acb6aa44ce4733b265ad30e7e18900a0f5349d325745
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] fb1aeaefa00938650081491c938f68a18b11177600111c8dce5290c31b3ecb9f
[INFO] running `Command { std: "docker" "start" "-a" "fb1aeaefa00938650081491c938f68a18b11177600111c8dce5290c31b3ecb9f", kill_on_drop: false }`
[INFO] [stderr]    Compiling led v0.3.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s
[INFO] running `Command { std: "docker" "inspect" "fb1aeaefa00938650081491c938f68a18b11177600111c8dce5290c31b3ecb9f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb1aeaefa00938650081491c938f68a18b11177600111c8dce5290c31b3ecb9f", kill_on_drop: false }`
[INFO] [stdout] fb1aeaefa00938650081491c938f68a18b11177600111c8dce5290c31b3ecb9f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] fd51cb5f05930076a2c292fefeba3b43425fb6146176db56c7c1cd9e2b68baf2
[INFO] running `Command { std: "docker" "start" "-a" "fd51cb5f05930076a2c292fefeba3b43425fb6146176db56c7c1cd9e2b68baf2", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/led/edd613bed98bc782/deps/led-edd613bed98bc782)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests led
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stdout] test src/rgb.rs - rgb (line 21) ... FAILED
[INFO] [stdout] test src/mono.rs - mono::CommonAnode (line 188) ... FAILED
[INFO] [stdout] test src/rgb.rs - rgb (line 47) ... FAILED
[INFO] [stdout] test src/mono.rs - mono::Monocolor (line 88) ... FAILED
[INFO] [stdout] test src/mono.rs - mono (line 21) ... FAILED
[INFO] [stdout] test src/rgb.rs - rgb::CommonAnode (line 255) ... FAILED
[INFO] [stdout] test src/rgb.rs - rgb::CommonCathode (line 285) ... FAILED
[INFO] [stdout] test src/mono.rs - mono::CommonCathode (line 218) ... FAILED
[INFO] [stdout] test src/mono.rs - mono (line 45) ... FAILED
[INFO] [stdout] test src/rgb.rs - rgb::RGB (line 108) ... FAILED
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/rgb.rs - rgb (line 21) stdout ----
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Error`
[INFO] [stdout]   --> src/rgb.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl OutputPin for Pin {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ missing `Error` in implementation
[INFO] [stdout]    |
[INFO] [stdout]    = help: implement the missing item: `type Error = /* Type */;`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0046`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/mono.rs - mono::CommonAnode (line 188) stdout ----
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Error`
[INFO] [stdout]    --> src/mono.rs:194:1
[INFO] [stdout]     |
[INFO] [stdout] 194 | impl OutputPin for Pin {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^ missing `Error` in implementation
[INFO] [stdout]     |
[INFO] [stdout]     = help: implement the missing item: `type Error = /* Type */;`
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: struct takes 5 generic arguments but 4 generic arguments were supplied
[INFO] [stdout]    --> src/mono.rs:209:10
[INFO] [stdout]     |
[INFO] [stdout] 209 | let led: LED<CommonAnode, _, _, _> = LED::new(r, g, b);
[INFO] [stdout]     |          ^^^ -----------  -  -  - supplied 4 generic arguments
[INFO] [stdout]     |          |
[INFO] [stdout]     |          expected 5 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] note: struct defined here, with 5 generic parameters: `C`, `R`, `G`, `B`, `E`
[INFO] [stdout]    --> src/rgb.rs:148:12
[INFO] [stdout]     |
[INFO] [stdout] 148 | pub struct LED<C, R, G, B, E>
[INFO] [stdout]     |            ^^^ -  -  -  -  -
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 209 | let led: LED<CommonAnode, _, _, _, E> = LED::new(r, g, b);
[INFO] [stdout]     |                                  +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0107.
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/rgb.rs - rgb (line 47) stdout ----
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Error`
[INFO] [stdout]   --> src/rgb.rs:53:1
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl OutputPin for Pin {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ missing `Error` in implementation
[INFO] [stdout]    |
[INFO] [stdout]    = help: implement the missing item: `type Error = /* Type */;`
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/rgb.rs:72:21
[INFO] [stdout]    |
[INFO] [stdout] 72 | let mut leds: [&mut RGB; 2] = [
[INFO] [stdout]    |                     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 72 | let mut leds: [&mut dyn RGB; 2] = [
[INFO] [stdout]    |                     +++
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/rgb.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     led.set(Color::Red)
[INFO] [stdout]    |     ^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0282.
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/mono.rs - mono::Monocolor (line 88) stdout ----
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Error`
[INFO] [stdout]   --> src/mono.rs:94:1
[INFO] [stdout]    |
[INFO] [stdout] 94 | impl OutputPin for Pin {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ missing `Error` in implementation
[INFO] [stdout]    |
[INFO] [stdout]    = help: implement the missing item: `type Error = /* Type */;`
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/mono.rs:112:21
[INFO] [stdout]     |
[INFO] [stdout] 112 | let mut leds: [&mut RGB; 2] = [
[INFO] [stdout]     |                     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 112 | let mut leds: [&mut dyn RGB; 2] = [
[INFO] [stdout]     |                     +++
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/mono.rs:118:5
[INFO] [stdout]     |
[INFO] [stdout] 118 |     led.set(Color::Red)
[INFO] [stdout]     |     ^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0282.
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/mono.rs - mono (line 21) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `led::monocolor`
[INFO] [stdout]   --> src/mono.rs:39:10
[INFO] [stdout]    |
[INFO] [stdout] 39 | use led::monocolor::CommonAnodeLED;
[INFO] [stdout]    |          ^^^^^^^^^ could not find `monocolor` in `led`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `State`
[INFO] [stdout]   --> src/mono.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 | led.set(State::On);
[INFO] [stdout]    |         ^^^^^ use of undeclared type `State`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 20 + use led::mono::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Error`
[INFO] [stdout]   --> src/mono.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl OutputPin for Pin {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ missing `Error` in implementation
[INFO] [stdout]    |
[INFO] [stdout]    = help: implement the missing item: `type Error = /* Type */;`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/rgb.rs - rgb::CommonAnode (line 255) stdout ----
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Error`
[INFO] [stdout]    --> src/rgb.rs:261:1
[INFO] [stdout]     |
[INFO] [stdout] 261 | impl OutputPin for Pin {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^ missing `Error` in implementation
[INFO] [stdout]     |
[INFO] [stdout]     = help: implement the missing item: `type Error = /* Type */;`
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: struct takes 5 generic arguments but 4 generic arguments were supplied
[INFO] [stdout]    --> src/rgb.rs:276:10
[INFO] [stdout]     |
[INFO] [stdout] 276 | let led: LED<CommonAnode, _, _, _> = LED::new(r, g, b);
[INFO] [stdout]     |          ^^^ -----------  -  -  - supplied 4 generic arguments
[INFO] [stdout]     |          |
[INFO] [stdout]     |          expected 5 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] note: struct defined here, with 5 generic parameters: `C`, `R`, `G`, `B`, `E`
[INFO] [stdout]    --> src/rgb.rs:148:12
[INFO] [stdout]     |
[INFO] [stdout] 148 | pub struct LED<C, R, G, B, E>
[INFO] [stdout]     |            ^^^ -  -  -  -  -
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 276 | let led: LED<CommonAnode, _, _, _, E> = LED::new(r, g, b);
[INFO] [stdout]     |                                  +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0107.
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/rgb.rs - rgb::CommonCathode (line 285) stdout ----
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Error`
[INFO] [stdout]    --> src/rgb.rs:291:1
[INFO] [stdout]     |
[INFO] [stdout] 291 | impl OutputPin for Pin {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^ missing `Error` in implementation
[INFO] [stdout]     |
[INFO] [stdout]     = help: implement the missing item: `type Error = /* Type */;`
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: struct takes 5 generic arguments but 4 generic arguments were supplied
[INFO] [stdout]    --> src/rgb.rs:306:10
[INFO] [stdout]     |
[INFO] [stdout] 306 | let led: LED<CommonCathode, _, _, _> = LED::new(r, g, b);
[INFO] [stdout]     |          ^^^ -------------  -  -  - supplied 4 generic arguments
[INFO] [stdout]     |          |
[INFO] [stdout]     |          expected 5 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] note: struct defined here, with 5 generic parameters: `C`, `R`, `G`, `B`, `E`
[INFO] [stdout]    --> src/rgb.rs:148:12
[INFO] [stdout]     |
[INFO] [stdout] 148 | pub struct LED<C, R, G, B, E>
[INFO] [stdout]     |            ^^^ -  -  -  -  -
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 306 | let led: LED<CommonCathode, _, _, _, E> = LED::new(r, g, b);
[INFO] [stdout]     |                                    +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0107.
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/mono.rs - mono::CommonCathode (line 218) stdout ----
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Error`
[INFO] [stdout]    --> src/mono.rs:224:1
[INFO] [stdout]     |
[INFO] [stdout] 224 | impl OutputPin for Pin {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^ missing `Error` in implementation
[INFO] [stdout]     |
[INFO] [stdout]     = help: implement the missing item: `type Error = /* Type */;`
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: struct takes 5 generic arguments but 4 generic arguments were supplied
[INFO] [stdout]    --> src/mono.rs:239:10
[INFO] [stdout]     |
[INFO] [stdout] 239 | let led: LED<CommonCathode, _, _, _> = LED::new(r, g, b);
[INFO] [stdout]     |          ^^^ -------------  -  -  - supplied 4 generic arguments
[INFO] [stdout]     |          |
[INFO] [stdout]     |          expected 5 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] note: struct defined here, with 5 generic parameters: `C`, `R`, `G`, `B`, `E`
[INFO] [stdout]    --> src/rgb.rs:148:12
[INFO] [stdout]     |
[INFO] [stdout] 148 | pub struct LED<C, R, G, B, E>
[INFO] [stdout]     |            ^^^ -  -  -  -  -
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 239 | let led: LED<CommonCathode, _, _, _, E> = LED::new(r, g, b);
[INFO] [stdout]     |                                    +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0107.
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/mono.rs - mono (line 45) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `led::monocolor`
[INFO] [stdout]   --> src/mono.rs:64:10
[INFO] [stdout]    |
[INFO] [stdout] 64 | use led::monocolor::{CommonAnodeLED, CommonCathodeLED, Monocolor};
[INFO] [stdout]    |          ^^^^^^^^^ could not find `monocolor` in `led`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `State`
[INFO] [stdout]   --> src/mono.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |     led.set(State::On)
[INFO] [stdout]    |             ^^^^^ use of undeclared type `State`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 44 + use led::mono::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Error`
[INFO] [stdout]   --> src/mono.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | impl OutputPin for Pin {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ missing `Error` in implementation
[INFO] [stdout]    |
[INFO] [stdout]    = help: implement the missing item: `type Error = /* Type */;`
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/mono.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 |     led.set(State::On)
[INFO] [stdout]    |     ^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0282, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/rgb.rs - rgb::RGB (line 108) stdout ----
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Error`
[INFO] [stdout]    --> src/rgb.rs:114:1
[INFO] [stdout]     |
[INFO] [stdout] 114 | impl OutputPin for Pin {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^ missing `Error` in implementation
[INFO] [stdout]     |
[INFO] [stdout]     = help: implement the missing item: `type Error = /* Type */;`
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/rgb.rs:132:21
[INFO] [stdout]     |
[INFO] [stdout] 132 | let mut leds: [&mut RGB; 2] = [
[INFO] [stdout]     |                     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 132 | let mut leds: [&mut dyn RGB; 2] = [
[INFO] [stdout]     |                     +++
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/rgb.rs:138:5
[INFO] [stdout]     |
[INFO] [stdout] 138 |     led.set(Color::Red)
[INFO] [stdout]     |     ^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0282.
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/mono.rs - mono (line 21)
[INFO] [stdout]     src/mono.rs - mono (line 45)
[INFO] [stdout]     src/mono.rs - mono::CommonAnode (line 188)
[INFO] [stdout]     src/mono.rs - mono::CommonCathode (line 218)
[INFO] [stdout]     src/mono.rs - mono::Monocolor (line 88)
[INFO] [stdout]     src/rgb.rs - rgb (line 21)
[INFO] [stdout]     src/rgb.rs - rgb (line 47)
[INFO] [stdout]     src/rgb.rs - rgb::CommonAnode (line 255)
[INFO] [stdout]     src/rgb.rs - rgb::CommonCathode (line 285)
[INFO] [stdout]     src/rgb.rs - rgb::RGB (line 108)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.57s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "fd51cb5f05930076a2c292fefeba3b43425fb6146176db56c7c1cd9e2b68baf2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd51cb5f05930076a2c292fefeba3b43425fb6146176db56c7c1cd9e2b68baf2", kill_on_drop: false }`
[INFO] [stdout] fd51cb5f05930076a2c292fefeba3b43425fb6146176db56c7c1cd9e2b68baf2
