[INFO] fetching crate pybadge-high 0.2.0... [INFO] checking pybadge-high-0.2.0 against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] extracting crate pybadge-high 0.2.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate pybadge-high 0.2.0 on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pybadge-high 0.2.0 [INFO] finished tweaking crates.io crate pybadge-high 0.2.0 [INFO] tweaked toml for crates.io crate pybadge-high 0.2.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "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 78 packages to latest compatible versions [INFO] [stderr] Adding embedded-graphics v0.7.1 (available: v0.8.1) [INFO] [stderr] Adding embedded-hal v0.2.7 (available: v1.0.0) [INFO] [stderr] Adding heapless v0.7.17 (available: v0.8.0) [INFO] [stderr] Adding num_enum v0.6.1 (available: v0.7.3) [INFO] [stderr] Adding smart-leds-trait v0.2.1 (available: v0.3.0) [INFO] [stderr] Adding st7735-lcd v0.8.1 (available: v0.10.0) [INFO] [stderr] Adding usb-device v0.2.9 (available: v0.3.2) [INFO] [stderr] Adding usbd-serial v0.1.1 (available: v0.2.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded st7735-lcd v0.9.0 [INFO] [stderr] Downloaded edgebadge v0.9.1 [INFO] [stderr] Downloaded build-alert v0.1.6 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4b81fa2cef5dc2f6d2c49f53566f1d751eac53c1dca39b6736661f1daf2eb3d [INFO] running `Command { std: "docker" "start" "-a" "f4b81fa2cef5dc2f6d2c49f53566f1d751eac53c1dca39b6736661f1daf2eb3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4b81fa2cef5dc2f6d2c49f53566f1d751eac53c1dca39b6736661f1daf2eb3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4b81fa2cef5dc2f6d2c49f53566f1d751eac53c1dca39b6736661f1daf2eb3d", kill_on_drop: false }` [INFO] [stdout] f4b81fa2cef5dc2f6d2c49f53566f1d751eac53c1dca39b6736661f1daf2eb3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30ba6533152343f9d227acff1c013ed6930693d4ecb4fd49dc06e6d1b2f86056 [INFO] running `Command { std: "docker" "start" "-a" "30ba6533152343f9d227acff1c013ed6930693d4ecb4fd49dc06e6d1b2f86056", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling cortex-m-rt v0.7.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling atsamd51j v0.11.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking micromath v2.1.0 [INFO] [stderr] Checking smart-leds-trait v0.2.1 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling seq-macro v0.2.2 [INFO] [stderr] Checking embedded-graphics-core v0.4.0 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling edgebadge v0.9.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking replace_with v0.1.7 [INFO] [stderr] Checking embedded-graphics-core v0.3.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking ws2812-timer-delay v0.3.0 [INFO] [stderr] Compiling pybadge-high v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking micromath v1.1.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking usb-device v0.2.9 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking embedded-graphics v0.7.1 [INFO] [stderr] Checking usbd-serial v0.1.1 [INFO] [stderr] Checking embedded-graphics v0.8.1 [INFO] [stderr] Checking st7735-lcd v0.8.1 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Checking st7735-lcd v0.9.0 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.5 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling build-alert v0.1.6 [INFO] [stderr] Checking modular-bitfield v0.11.2 [INFO] [stderr] Checking num_enum v0.6.1 [INFO] [stderr] Checking atsamd-hal v0.14.0 [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | #![cfg_attr(all(doc, nightly), feature(doc_auto_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:7:46 [INFO] [stdout] | [INFO] [stdout] 7 | all(feature = "bluescreen-message-nightly", nightly), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `flash` [INFO] [stdout] --> src/lib.rs:164:7 [INFO] [stdout] | [INFO] [stdout] 164 | #[cfg(feature = "flash")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `beep_panic`, `bluescreen`, `bluescreen-message-nightly`, `default`, `neopixel`, `pwm_sound`, `time`, and `usb` [INFO] [stdout] = help: consider adding `flash` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `flash` [INFO] [stdout] --> src/lib.rs:167:7 [INFO] [stdout] | [INFO] [stdout] 167 | #[cfg(feature = "flash")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `beep_panic`, `bluescreen`, `bluescreen-message-nightly`, `default`, `neopixel`, `pwm_sound`, `time`, and `usb` [INFO] [stdout] = help: consider adding `flash` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:210:55 [INFO] [stdout] | [INFO] [stdout] 210 | #[cfg(all(feature = "bluescreen-message-nightly", not(nightly)))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `flash` [INFO] [stdout] --> src/lib.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | #[cfg(feature = "flash")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `beep_panic`, `bluescreen`, `bluescreen-message-nightly`, `default`, `neopixel`, `pwm_sound`, `time`, and `usb` [INFO] [stdout] = help: consider adding `flash` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `flash` [INFO] [stdout] --> src/lib.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | #[cfg(feature = "flash")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `beep_panic`, `bluescreen`, `bluescreen-message-nightly`, `default`, `neopixel`, `pwm_sound`, `time`, and `usb` [INFO] [stdout] = help: consider adding `flash` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `flash` [INFO] [stdout] --> src/lib.rs:387:10 [INFO] [stdout] | [INFO] [stdout] 387 | #[cfg(feature = "flash")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `beep_panic`, `bluescreen`, `bluescreen-message-nightly`, `default`, `neopixel`, `pwm_sound`, `time`, and `usb` [INFO] [stdout] = help: consider adding `flash` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:450:54 [INFO] [stdout] | [INFO] [stdout] 450 | #[cfg(all(feature = "bluescreen-message-nightly", nightly))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/lib.rs:401:1 [INFO] [stdout] | [INFO] [stdout] 401 | / fn panic(panic_info: &core::panic::PanicInfo) -> ! { [INFO] [stdout] 402 | | //simple turn red led on [INFO] [stdout] 403 | | let mut peripherals = unsafe { crate::pac::Peripherals::steal() }; [INFO] [stdout] 404 | | let mut pins = Pins::new(peripherals.PORT).split(); [INFO] [stdout] ... | [INFO] [stdout] 491 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-d65a5ac20318153f.rlib [INFO] [stdout] = note: second definition in the local crate (`pybadge_high`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | #![cfg_attr(all(doc, nightly), feature(doc_auto_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:7:46 [INFO] [stdout] | [INFO] [stdout] 7 | all(feature = "bluescreen-message-nightly", nightly), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `flash` [INFO] [stdout] --> src/lib.rs:164:7 [INFO] [stdout] | [INFO] [stdout] 164 | #[cfg(feature = "flash")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `beep_panic`, `bluescreen`, `bluescreen-message-nightly`, `default`, `neopixel`, `pwm_sound`, `time`, and `usb` [INFO] [stdout] = help: consider adding `flash` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `flash` [INFO] [stdout] --> src/lib.rs:167:7 [INFO] [stdout] | [INFO] [stdout] 167 | #[cfg(feature = "flash")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `beep_panic`, `bluescreen`, `bluescreen-message-nightly`, `default`, `neopixel`, `pwm_sound`, `time`, and `usb` [INFO] [stdout] = help: consider adding `flash` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:210:55 [INFO] [stdout] | [INFO] [stdout] 210 | #[cfg(all(feature = "bluescreen-message-nightly", not(nightly)))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `flash` [INFO] [stdout] --> src/lib.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | #[cfg(feature = "flash")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `beep_panic`, `bluescreen`, `bluescreen-message-nightly`, `default`, `neopixel`, `pwm_sound`, `time`, and `usb` [INFO] [stdout] = help: consider adding `flash` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `flash` [INFO] [stdout] --> src/lib.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | #[cfg(feature = "flash")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `beep_panic`, `bluescreen`, `bluescreen-message-nightly`, `default`, `neopixel`, `pwm_sound`, `time`, and `usb` [INFO] [stdout] = help: consider adding `flash` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `flash` [INFO] [stdout] --> src/lib.rs:387:10 [INFO] [stdout] | [INFO] [stdout] 387 | #[cfg(feature = "flash")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `beep_panic`, `bluescreen`, `bluescreen-message-nightly`, `default`, `neopixel`, `pwm_sound`, `time`, and `usb` [INFO] [stdout] = help: consider adding `flash` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:450:54 [INFO] [stdout] | [INFO] [stdout] 450 | #[cfg(all(feature = "bluescreen-message-nightly", nightly))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pybadge-high` (lib test) due to 1 previous error; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:382:4 [INFO] [stdout] | [INFO] [stdout] 382 | display, [INFO] [stdout] | ^^^^^^^ expected `ST7735, ..., ...>`, found a different `ST7735, ..., ...>` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `st7735_lcd` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/st7735-lcd-0.8.1/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ST7735 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `ST7735` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/st7735-lcd-0.9.0/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ST7735 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `st7735_lcd::ST7735` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | use edgebadge::{ [INFO] [stdout] | --------- one version of crate `st7735_lcd` used here, as a dependency of crate `edgebadge` [INFO] [stdout] ... [INFO] [stdout] 138 | use st7735_lcd::ST7735; [INFO] [stdout] | ---------- one version of crate `st7735_lcd` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clear` found for struct `ST7735` in the current scope [INFO] [stdout] --> src/lib.rs:437:12 [INFO] [stdout] | [INFO] [stdout] 437 | display.clear(Color::BLUE).unwrap(); [INFO] [stdout] | ^^^^^ method not found in `ST7735, ..., ...>, ..., ...>` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/pybadge_high-ee1b355e4e9c0626.long-type-3391652614371788502.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] note: there are multiple different versions of crate `embedded_graphics_core` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-graphics-core-0.4.0/src/draw_target/mod.rs:281:1 [INFO] [stdout] | [INFO] [stdout] 281 | pub trait DrawTarget: Dimensions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the trait that is needed [INFO] [stdout] ... [INFO] [stdout] 422 | fn clear(&mut self, color: Self::Color) -> Result<(), Self::Error> { [INFO] [stdout] | ------------------------------------------------------------------ the method is available for `st7735_lcd::ST7735>>, Pad>>, Pad>>>, edgebadge::gpio::Pin>, edgebadge::gpio::Pin>>` here [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:125:2 [INFO] [stdout] | [INFO] [stdout] 125 | prelude::*, [INFO] [stdout] | ------- `DrawTarget` imported here doesn't correspond to the right version of crate `embedded_graphics_core` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-graphics-core-0.3.3/src/draw_target/mod.rs:281:1 [INFO] [stdout] | [INFO] [stdout] 281 | pub trait DrawTarget: Dimensions { [INFO] [stdout] | -------------------------------- this is the trait that was imported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `st7735_lcd::ST7735>>, Pad>>, Pad>>>, edgebadge::gpio::Pin>, edgebadge::gpio::Pin>>: embedded_graphics::draw_target::DrawTarget` is not satisfied [INFO] [stdout] --> src/lib.rs:471:11 [INFO] [stdout] | [INFO] [stdout] 471 | .draw(&mut display) [INFO] [stdout] | ---- ^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `embedded_graphics::draw_target::DrawTarget` is not implemented for `ST7735, ..., ...>, ..., ...>` [INFO] [stdout] note: there are multiple different versions of crate `embedded_graphics_core` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-graphics-core-0.3.3/src/draw_target/mod.rs:281:1 [INFO] [stdout] | [INFO] [stdout] 281 | pub trait DrawTarget: Dimensions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | use edgebadge::{ [INFO] [stdout] | --------- one version of crate `embedded_graphics_core` used here, as a dependency of crate `embedded_graphics` [INFO] [stdout] ... [INFO] [stdout] 123 | use embedded_graphics::{ [INFO] [stdout] | ----------------- one version of crate `embedded_graphics_core` used here, as a dependency of crate `embedded_graphics` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/st7735-lcd-0.9.0/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ST7735 [INFO] [stdout] | ------------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-graphics-core-0.4.0/src/draw_target/mod.rs:281:1 [INFO] [stdout] | [INFO] [stdout] 281 | pub trait DrawTarget: Dimensions { [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 `embedded_graphics::Drawable::draw` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-graphics-core-0.3.3/src/drawable.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 104 | fn draw(&self, target: &mut D) -> Result [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 105 | where [INFO] [stdout] 106 | D: DrawTarget; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Drawable::draw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pybadge-high` (lib) due to 3 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "30ba6533152343f9d227acff1c013ed6930693d4ecb4fd49dc06e6d1b2f86056", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30ba6533152343f9d227acff1c013ed6930693d4ecb4fd49dc06e6d1b2f86056", kill_on_drop: false }` [INFO] [stdout] 30ba6533152343f9d227acff1c013ed6930693d4ecb4fd49dc06e6d1b2f86056