[INFO] cloning repository https://github.com/michelrandahl/rust-microbit-rtic-display-fun [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/michelrandahl/rust-microbit-rtic-display-fun" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichelrandahl%2Frust-microbit-rtic-display-fun", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichelrandahl%2Frust-microbit-rtic-display-fun'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6bdd418f3b184d6be026d1c41cb8c7e7025dd8fa [INFO] checking michelrandahl/rust-microbit-rtic-display-fun/6bdd418f3b184d6be026d1c41cb8c7e7025dd8fa against master#cccf075eba88363269e8589ebb8d40874cc542d8 for pr-142681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichelrandahl%2Frust-microbit-rtic-display-fun" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/michelrandahl/rust-microbit-rtic-display-fun [INFO] finished tweaking git repo https://github.com/michelrandahl/rust-microbit-rtic-display-fun [INFO] tweaked toml for git repo https://github.com/michelrandahl/rust-microbit-rtic-display-fun written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/michelrandahl/rust-microbit-rtic-display-fun on toolchain cccf075eba88363269e8589ebb8d40874cc542d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cccf075eba88363269e8589ebb8d40874cc542d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/michelrandahl/rust-microbit-rtic-display-fun already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cccf075eba88363269e8589ebb8d40874cc542d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nrf52833-hal v0.14.1 [INFO] [stderr] Downloaded microbit-v2 v0.13.0 [INFO] [stderr] Downloaded rtt-target v0.3.1 [INFO] [stderr] Downloaded tiny-led-matrix v1.0.2 [INFO] [stderr] Downloaded panic-rtt-target v0.1.2 [INFO] [stderr] Downloaded rtic-core v1.0.0 [INFO] [stderr] Downloaded rtic-macros v2.0.1 [INFO] [stderr] Downloaded critical-section v0.2.8 [INFO] [stderr] Downloaded microbit-common v0.13.0 [INFO] [stderr] Downloaded rtic v2.0.1 [INFO] [stderr] Downloaded lsm303agr v0.3.0 [INFO] [stderr] Downloaded embedded-dma v0.1.2 [INFO] [stderr] Downloaded nrf-usbd v0.1.1 [INFO] [stderr] Downloaded nrf-hal-common v0.14.1 [INFO] [stderr] Downloaded fixed v1.24.0 [INFO] [stderr] Downloaded nrf52833-pac v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+cccf075eba88363269e8589ebb8d40874cc542d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 352aea75b8bad5e79baadc48fb41f52a4f1525aec5dd2be52a6fb7cbd68cda35 [INFO] running `Command { std: "docker" "start" "-a" "352aea75b8bad5e79baadc48fb41f52a4f1525aec5dd2be52a6fb7cbd68cda35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "352aea75b8bad5e79baadc48fb41f52a4f1525aec5dd2be52a6fb7cbd68cda35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "352aea75b8bad5e79baadc48fb41f52a4f1525aec5dd2be52a6fb7cbd68cda35", kill_on_drop: false }` [INFO] [stdout] 352aea75b8bad5e79baadc48fb41f52a4f1525aec5dd2be52a6fb7cbd68cda35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+cccf075eba88363269e8589ebb8d40874cc542d8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02c61b3d75d4432d26c6141c3d947eaa8c05809bd215c4aa79a0d9ca0e6677fa [INFO] running `Command { std: "docker" "start" "-a" "02c61b3d75d4432d26c6141c3d947eaa8c05809bd215c4aa79a0d9ca0e6677fa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Checking critical-section v1.1.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling cortex-m-rt v0.7.3 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Compiling nrf52833-pac v0.10.1 [INFO] [stderr] Compiling fixed v1.24.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking critical-section v0.2.8 [INFO] [stderr] Compiling nrf-hal-common v0.14.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking usb-device v0.2.9 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking embedded-dma v0.1.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking nrf-usbd v0.1.1 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking embedded-storage v0.2.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling nrf52833-hal v0.14.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling atomic-polyfill v1.0.3 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Checking tiny-led-matrix v1.0.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling rtic v2.0.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling rust-microbit-rtic-display-fun v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking rtic-core v1.0.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking lsm303agr v0.3.0 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Compiling rtic-macros v2.0.1 [INFO] [stderr] Checking microbit-common v0.13.0 [INFO] [stderr] Checking microbit-v2 v0.13.0 [INFO] [stdout] error[E0425]: cannot find value `prefix` in this scope [INFO] [stdout] --> src/logging.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | concatenated.push_str(prefix).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Peripherals` in module `rtic::export` [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[app(device = microbit::pac, peripherals = true, dispatchers = [SWI0_EGU0, SWI1_EGU1])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `rtic::export` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 11+ use crate::app::you_must_enable_the_rt_feature_for_the_pac_in_your_cargo_toml::Peripherals; [INFO] [stdout] | [INFO] [stdout] 11+ use cortex_m::Peripherals; [INFO] [stdout] | [INFO] [stdout] 11+ use microbit::Peripherals; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run` in module `rtic::export` [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[app(device = microbit::pac, peripherals = true, dispatchers = [SWI0_EGU0, SWI1_EGU1])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `rtic::export` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lock` in module `rtic::export` [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[app(device = microbit::pac, peripherals = true, dispatchers = [SWI0_EGU0, SWI1_EGU1])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `rtic::export` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `interrupt` in `export` [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[app(device = microbit::pac, peripherals = true, dispatchers = [SWI0_EGU0, SWI1_EGU1])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `interrupt` in `export` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 11+ use crate::app::you_must_enable_the_rt_feature_for_the_pac_in_your_cargo_toml::interrupt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Peripherals` in `export` [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[app(device = microbit::pac, peripherals = true, dispatchers = [SWI0_EGU0, SWI1_EGU1])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `Peripherals` in `export` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 11+ use crate::app::you_must_enable_the_rt_feature_for_the_pac_in_your_cargo_toml::Peripherals; [INFO] [stdout] | [INFO] [stdout] 11+ use cortex_m::Peripherals; [INFO] [stdout] | [INFO] [stdout] 11+ use microbit::Peripherals; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `prefix` in this scope [INFO] [stdout] --> src/logging.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | concatenated.push_str(prefix).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Peripherals` in module `rtic::export` [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[app(device = microbit::pac, peripherals = true, dispatchers = [SWI0_EGU0, SWI1_EGU1])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `rtic::export` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 11+ use crate::app::you_must_enable_the_rt_feature_for_the_pac_in_your_cargo_toml::Peripherals; [INFO] [stdout] | [INFO] [stdout] 11+ use cortex_m::Peripherals; [INFO] [stdout] | [INFO] [stdout] 11+ use microbit::Peripherals; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run` in module `rtic::export` [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[app(device = microbit::pac, peripherals = true, dispatchers = [SWI0_EGU0, SWI1_EGU1])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `rtic::export` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lock` in module `rtic::export` [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[app(device = microbit::pac, peripherals = true, dispatchers = [SWI0_EGU0, SWI1_EGU1])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `rtic::export` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `interrupt` in `export` [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[app(device = microbit::pac, peripherals = true, dispatchers = [SWI0_EGU0, SWI1_EGU1])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `interrupt` in `export` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 11+ use crate::app::you_must_enable_the_rt_feature_for_the_pac_in_your_cargo_toml::interrupt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Peripherals` in `export` [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[app(device = microbit::pac, peripherals = true, dispatchers = [SWI0_EGU0, SWI1_EGU1])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `Peripherals` in `export` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 11+ use crate::app::you_must_enable_the_rt_feature_for_the_pac_in_your_cargo_toml::Peripherals; [INFO] [stdout] | [INFO] [stdout] 11+ use cortex_m::Peripherals; [INFO] [stdout] | [INFO] [stdout] 11+ use microbit::Peripherals; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[app(device = microbit::pac, peripherals = true, dispatchers = [SWI0_EGU0, SWI1_EGU1])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `__rtic_internal_button_a_action_F` must be used in combination with a concrete type within the same crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[app(device = microbit::pac, peripherals = true, dispatchers = [SWI0_EGU0, SWI1_EGU1])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `__rtic_internal_button_b_action_F` must be used in combination with a concrete type within the same crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[app(device = microbit::pac, peripherals = true, dispatchers = [SWI0_EGU0, SWI1_EGU1])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `__rtic_internal_button_a_action_F` must be used in combination with a concrete type within the same crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[app(device = microbit::pac, peripherals = true, dispatchers = [SWI0_EGU0, SWI1_EGU1])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `__rtic_internal_button_b_action_F` must be used in combination with a concrete type within the same crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[app(device = microbit::pac, peripherals = true, dispatchers = [SWI0_EGU0, SWI1_EGU1])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected future, found a different future [INFO] [stdout] | expected `__rtic_internal_button_a_action_F` because of return type [INFO] [stdout] | [INFO] [stdout] = note: distinct uses of `impl Trait` result in different opaque types [INFO] [stdout] = note: this error originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[app(device = microbit::pac, peripherals = true, dispatchers = [SWI0_EGU0, SWI1_EGU1])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected future, found a different future [INFO] [stdout] | expected `__rtic_internal_button_b_action_F` because of return type [INFO] [stdout] | [INFO] [stdout] = note: distinct uses of `impl Trait` result in different opaque types [INFO] [stdout] = note: this error originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[app(device = microbit::pac, peripherals = true, dispatchers = [SWI0_EGU0, SWI1_EGU1])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected future, found a different future [INFO] [stdout] | expected `__rtic_internal_button_a_action_F` because of return type [INFO] [stdout] | [INFO] [stdout] = note: distinct uses of `impl Trait` result in different opaque types [INFO] [stdout] = note: this error originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[app(device = microbit::pac, peripherals = true, dispatchers = [SWI0_EGU0, SWI1_EGU1])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected future, found a different future [INFO] [stdout] | expected `__rtic_internal_button_b_action_F` because of return type [INFO] [stdout] | [INFO] [stdout] = note: distinct uses of `impl Trait` result in different opaque types [INFO] [stdout] = note: this error originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/logging.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn print(s : &str) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/logging.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn print(s : &str) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-microbit-rtic-display-fun` (bin "rust-microbit-rtic-display-fun" test) due to 10 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-microbit-rtic-display-fun` (bin "rust-microbit-rtic-display-fun") due to 12 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "02c61b3d75d4432d26c6141c3d947eaa8c05809bd215c4aa79a0d9ca0e6677fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02c61b3d75d4432d26c6141c3d947eaa8c05809bd215c4aa79a0d9ca0e6677fa", kill_on_drop: false }` [INFO] [stdout] 02c61b3d75d4432d26c6141c3d947eaa8c05809bd215c4aa79a0d9ca0e6677fa