[INFO] fetching crate pybadge-high 0.2.0... [INFO] testing pybadge-high-0.2.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate pybadge-high 0.2.0 into /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pybadge-high 0.2.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 65 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.2) [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10c5b3cf3ac495d7119fede9bed6b66d47a167d6725f8d229e2e54a48fa29879 [INFO] running `Command { std: "docker" "start" "-a" "10c5b3cf3ac495d7119fede9bed6b66d47a167d6725f8d229e2e54a48fa29879", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10c5b3cf3ac495d7119fede9bed6b66d47a167d6725f8d229e2e54a48fa29879", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10c5b3cf3ac495d7119fede9bed6b66d47a167d6725f8d229e2e54a48fa29879", kill_on_drop: false }` [INFO] [stdout] 10c5b3cf3ac495d7119fede9bed6b66d47a167d6725f8d229e2e54a48fa29879 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a46f326b5a207569be3ffddf1dde00d35d7308c44d3f85d3a1234dcf6c7de6db [INFO] running `Command { std: "docker" "start" "-a" "a46f326b5a207569be3ffddf1dde00d35d7308c44d3f85d3a1234dcf6c7de6db", kill_on_drop: false }` [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cortex-m-rt v0.7.5 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling atsamd51j v0.11.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling micromath v1.1.1 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling seq-macro v0.2.2 [INFO] [stderr] Compiling replace_with v0.1.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling edgebadge v0.9.0 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling pybadge-high v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling usb-device v0.2.9 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling smart-leds-trait v0.2.1 [INFO] [stderr] Compiling ws2812-timer-delay v0.3.0 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling usbd-serial v0.1.1 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling modular-bitfield v0.11.2 [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 cortex-m-rt-macros v0.7.5 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling build-alert v0.1.7 [INFO] [stderr] Compiling num_enum v0.6.1 [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 25.41s [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" "a46f326b5a207569be3ffddf1dde00d35d7308c44d3f85d3a1234dcf6c7de6db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a46f326b5a207569be3ffddf1dde00d35d7308c44d3f85d3a1234dcf6c7de6db", kill_on_drop: false }` [INFO] [stdout] a46f326b5a207569be3ffddf1dde00d35d7308c44d3f85d3a1234dcf6c7de6db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 405428e96696530395fa2f4e688b23d5156f46cf19dd4f3582ceb11aca478e9e [INFO] running `Command { std: "docker" "start" "-a" "405428e96696530395fa2f4e688b23d5156f46cf19dd4f3582ceb11aca478e9e", 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] [stderr] Compiling pybadge-high v0.2.0 (/opt/rustwide/workdir) [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] [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/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9fbdd90241d2d923.so, /opt/rustwide/rustup-home/toolchains/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9fbdd90241d2d923.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" "405428e96696530395fa2f4e688b23d5156f46cf19dd4f3582ceb11aca478e9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "405428e96696530395fa2f4e688b23d5156f46cf19dd4f3582ceb11aca478e9e", kill_on_drop: false }` [INFO] [stdout] 405428e96696530395fa2f4e688b23d5156f46cf19dd4f3582ceb11aca478e9e