[INFO] fetching crate pybadge-high 0.2.0... [INFO] testing pybadge-high-0.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate pybadge-high 0.2.0 into /workspace/builds/worker-1-tc2/source [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] validating manifest of crates.io crate pybadge-high 0.2.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 74 packages to latest compatible versions [INFO] [stderr] Adding edgebadge v0.9.0 (available: v0.10.0) [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.9.1) [INFO] [stderr] Adding num_enum v0.6.1 (available: v0.7.4) [INFO] [stderr] Adding smart-leds-trait v0.2.1 (available: v0.3.1) [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" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b4c5335ee42e291ae77513692b50ecace970faa32821cb7442cd52503e89a7e [INFO] running `Command { std: "docker" "start" "-a" "5b4c5335ee42e291ae77513692b50ecace970faa32821cb7442cd52503e89a7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b4c5335ee42e291ae77513692b50ecace970faa32821cb7442cd52503e89a7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b4c5335ee42e291ae77513692b50ecace970faa32821cb7442cd52503e89a7e", kill_on_drop: false }` [INFO] [stdout] 5b4c5335ee42e291ae77513692b50ecace970faa32821cb7442cd52503e89a7e [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d75d5060d48e19c1643e718fe46d696cace42b6bda7dab12db9ef2a471be9da9 [INFO] running `Command { std: "docker" "start" "-a" "d75d5060d48e19c1643e718fe46d696cace42b6bda7dab12db9ef2a471be9da9", kill_on_drop: false }` [INFO] [stderr] Compiling cortex-m-rt v0.7.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling atsamd51j v0.11.0 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling micromath v1.1.1 [INFO] [stderr] Compiling edgebadge v0.9.0 [INFO] [stderr] Compiling replace_with v0.1.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling seq-macro v0.2.2 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.5 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling pybadge-high v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling usb-device v0.2.9 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling usbd-serial v0.1.1 [INFO] [stderr] Compiling build-alert v0.1.7 [INFO] [stderr] Compiling num_enum v0.6.1 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling smart-leds-trait v0.2.1 [INFO] [stderr] Compiling ws2812-timer-delay v0.3.0 [INFO] [stderr] Compiling embedded-graphics-core v0.3.3 [INFO] [stderr] Compiling embedded-graphics v0.7.1 [INFO] [stderr] Compiling st7735-lcd v0.8.1 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling modular-bitfield v0.11.2 [INFO] [stderr] Compiling 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: `docsrs`, `feature`, and `test` and 31 more [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] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buttons.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn events(&self) -> EventIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 131 | pub fn events(&self) -> EventIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.46s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: atsamd-hal v0.14.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "d75d5060d48e19c1643e718fe46d696cace42b6bda7dab12db9ef2a471be9da9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d75d5060d48e19c1643e718fe46d696cace42b6bda7dab12db9ef2a471be9da9", kill_on_drop: false }` [INFO] [stdout] d75d5060d48e19c1643e718fe46d696cace42b6bda7dab12db9ef2a471be9da9 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e145500b1faf87cddb3c814052601425b349b21ea0660b3bc2b08248081bae7b [INFO] running `Command { std: "docker" "start" "-a" "e145500b1faf87cddb3c814052601425b349b21ea0660b3bc2b08248081bae7b", kill_on_drop: false }` [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: `docsrs`, `feature`, and `test` and 31 more [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] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buttons.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn events(&self) -> EventIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 131 | pub fn events(&self) -> EventIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pybadge-high v0.2.0 (/opt/rustwide/workdir) [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: `docsrs`, `feature`, and `test` and 31 more [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/b83b707f97d809763b7861afa7638871f3339a33/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-689ca45c0c8af91f.so, /opt/rustwide/rustup-home/toolchains/b83b707f97d809763b7861afa7638871f3339a33/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-689ca45c0c8af91f.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] [stderr] error: could not compile `pybadge-high` (lib test) due to 1 previous error; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e145500b1faf87cddb3c814052601425b349b21ea0660b3bc2b08248081bae7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e145500b1faf87cddb3c814052601425b349b21ea0660b3bc2b08248081bae7b", kill_on_drop: false }` [INFO] [stdout] e145500b1faf87cddb3c814052601425b349b21ea0660b3bc2b08248081bae7b