[INFO] cloning repository https://github.com/alelouis/nrf-play [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alelouis/nrf-play" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falelouis%2Fnrf-play", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falelouis%2Fnrf-play'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b1111b65790d503b20315450045f9095ec98a3b [INFO] checking alelouis/nrf-play/1b1111b65790d503b20315450045f9095ec98a3b against master#5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa for pr-149901 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falelouis%2Fnrf-play" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/alelouis/nrf-play [INFO] finished tweaking git repo https://github.com/alelouis/nrf-play [INFO] tweaked toml for git repo https://github.com/alelouis/nrf-play written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alelouis/nrf-play on toolchain 5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/alelouis/nrf-play 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" "+5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding atomic-polyfill v1.0.3 [INFO] [stderr] Adding byteorder v1.5.0 [INFO] [stderr] Adding critical-section v1.2.0 [INFO] [stderr] Adding hash32 v0.2.1 [INFO] [stderr] Adding heapless v0.7.17 (available: v0.9.2) [INFO] [stderr] Adding lock_api v0.4.14 [INFO] [stderr] Adding mcp4725 v0.4.2 [INFO] [stderr] Adding rustc_version v0.4.1 [INFO] [stderr] Adding scopeguard v1.2.0 [INFO] [stderr] Adding semver v1.0.27 [INFO] [stderr] Adding spin v0.9.8 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nrf52833-hal v0.14.1 [INFO] [stderr] Downloaded rtt-target v0.3.1 [INFO] [stderr] Downloaded volatile-register v0.2.1 [INFO] [stderr] Downloaded tiny-led-matrix v1.0.2 [INFO] [stderr] Downloaded panic-rtt-target v0.1.2 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.7.0 [INFO] [stderr] Downloaded microbit-common v0.12.0 [INFO] [stderr] Downloaded microbit-v2 v0.12.0 [INFO] [stderr] Downloaded az v1.2.0 [INFO] [stderr] Downloaded mcp4725 v0.4.2 [INFO] [stderr] Downloaded atomic-polyfill v1.0.3 [INFO] [stderr] Downloaded embedded-storage v0.2.0 [INFO] [stderr] Downloaded critical-section v0.2.7 [INFO] [stderr] Downloaded bytemuck v1.9.1 [INFO] [stderr] Downloaded cortex-m-rt v0.7.1 [INFO] [stderr] Downloaded heapless v0.7.17 [INFO] [stderr] Downloaded nrf-usbd v0.1.1 [INFO] [stderr] Downloaded cortex-m v0.7.5 [INFO] [stderr] Downloaded riscv v0.7.0 [INFO] [stderr] Downloaded nrf-hal-common v0.14.1 [INFO] [stderr] Downloaded fixed v1.15.0 [INFO] [stderr] Downloaded riscv-target v0.1.2 [INFO] [stderr] Downloaded usb-device v0.2.8 [INFO] [stderr] Downloaded nrf52833-pac v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f30ffdb04dae7c8d8886c12ad93f250eb90d23ad6a17a63c595cdde85ff1f09e [INFO] running `Command { std: "docker" "start" "-a" "f30ffdb04dae7c8d8886c12ad93f250eb90d23ad6a17a63c595cdde85ff1f09e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f30ffdb04dae7c8d8886c12ad93f250eb90d23ad6a17a63c595cdde85ff1f09e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f30ffdb04dae7c8d8886c12ad93f250eb90d23ad6a17a63c595cdde85ff1f09e", kill_on_drop: false }` [INFO] [stdout] f30ffdb04dae7c8d8886c12ad93f250eb90d23ad6a17a63c595cdde85ff1f09e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14c64fc8aae3a4ba71d3a5158d145fdc461982f0789e835f15628534d85cc70c [INFO] running `Command { std: "docker" "start" "-a" "14c64fc8aae3a4ba71d3a5158d145fdc461982f0789e835f15628534d85cc70c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling cortex-m v0.7.5 [INFO] [stderr] Checking volatile-register v0.2.1 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling cortex-m-rt v0.7.1 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking mcp4725 v0.4.2 [INFO] [stderr] Checking rtt-target v0.3.1 [INFO] [stderr] Checking panic-rtt-target v0.1.2 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Checking nrf-play v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/bin/gpio_analog_to_uart.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use microbit::{ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/bin/serial_setup.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use microbit::hal::uarte::{Error, Instance, Uarte, UarteRx, UarteTx}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/bin/gpio_analog_to_uart.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use microbit::hal::{Saadc, Timer}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/bin/gpio_analog_to_uart.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use microbit::hal::saadc::SaadcConfig; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/bin/gpio_analog_to_uart.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use microbit::hal::pac::Peripherals; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/bin/gpio_analog_to_uart.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use microbit::hal::gpio; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/bin/gpio_analog_to_uart.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use microbit::hal::gpio::{p0, p1, Floating, Input, Output, Pin, PushPull, Level}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `microbit::hal::Saadc`, `microbit::hal::Timer`, `microbit::hal::saadc::SaadcConfig`, `microbit::hal::pac::Peripherals`, `microbit::hal::gpio`, `microbit::hal::uarte`, `microbit::hal::uarte::Baudrate`, `microbit::hal::uarte::Parity`, `microbit::hal::gpio::p0`, `microbit::hal::gpio::p1`, `microbit::hal::gpio::Floating`, `microbit::hal::gpio::Input`, `microbit::hal::gpio::Output`, `microbit::hal::gpio::Pin`, `microbit::hal::gpio::PushPull`, `microbit::hal::gpio::Level` [INFO] [stdout] --> src/bin/gpio_analog_to_uart.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use microbit::hal::{Saadc, Timer}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] 9 | use microbit::hal::saadc::SaadcConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | use microbit::hal::pac::Peripherals; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | use microbit::hal::gpio; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | hal::uarte, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | hal::uarte::{Baudrate, Parity}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | use microbit::hal::gpio::{p0, p1, Floating, Input, Output, Pin, PushPull, Level}; [INFO] [stdout] | ^^ ^^ ^^^^^^^^ ^^^^^ ^^^^^^ ^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nrf-play` (bin "gpio_analog_to_uart") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/bin/serial_setup.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use microbit::hal::uarte::{Error, Instance, Uarte, UarteRx, UarteTx}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/bin/gpio_blink.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use microbit::hal::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/bin/gpio_blink.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use microbit::board::Board; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/bin/gpio_blink.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use microbit::hal::gpio::Level; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/bin/gpio_blink.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use microbit::hal::prelude::OutputPin; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/bin/gpio_blink.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use microbit::hal::Timer; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `microbit::board::Board`, `microbit::hal::gpio::Level`, `microbit::hal::prelude::OutputPin`, `microbit::hal::Timer` [INFO] [stdout] --> src/bin/gpio_blink.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use microbit::board::Board; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | use microbit::hal::gpio::Level; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | use microbit::hal::prelude::OutputPin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | use microbit::hal::Timer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/bin/gpio_read_analog.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use microbit::hal::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `serial_setup` [INFO] [stdout] --> src/bin/serial_setup.rs:46:2 [INFO] [stdout] | [INFO] [stdout] 46 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/serial_setup.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/bin/gpio_read_analog.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use microbit::hal::pac::Peripherals; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/bin/gpio_read_analog.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use microbit::hal::{Saadc, saadc::SaadcConfig, gpio}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `microbit::hal::pac::Peripherals`, `microbit::hal::Saadc`, `microbit::hal::saadc::SaadcConfig`, `microbit::hal::gpio` [INFO] [stdout] --> src/bin/gpio_read_analog.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use microbit::hal::pac::Peripherals; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | use microbit::hal::{Saadc, saadc::SaadcConfig, gpio}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl` [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_rtt_target` (which `gpio_read_analog` depends on) [INFO] [stdout] = note: first definition in `panic_rtt_target` loaded from /opt/rustwide/target/debug/deps/libpanic_rtt_target-b28698e35429ac17.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ad248a6e6fe48fd9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/bin/gpio_blink.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use microbit::hal::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/bin/gpio_blink.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use microbit::board::Board; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/bin/gpio_blink.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use microbit::hal::gpio::Level; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/bin/gpio_blink.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use microbit::hal::prelude::OutputPin; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/bin/gpio_blink.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use microbit::hal::Timer; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `microbit::board::Board`, `microbit::hal::gpio::Level`, `microbit::hal::prelude::OutputPin`, `microbit::hal::Timer` [INFO] [stdout] --> src/bin/gpio_blink.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use microbit::board::Board; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | use microbit::hal::gpio::Level; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | use microbit::hal::prelude::OutputPin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | use microbit::hal::Timer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nrf-play` (bin "gpio_blink") due to 7 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/bin/pwm.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use microbit::hal::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nrf-play` (bin "serial_setup") due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/bin/gpio_vario_blink.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use microbit::hal::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/bin/gpio_vario_blink.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use microbit::hal::pac::Peripherals; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/bin/gpio_vario_blink.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use microbit::hal::{Saadc, Timer, saadc::SaadcConfig, gpio, gpio::Level}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `microbit::hal::pac::Peripherals`, `microbit::hal::Saadc`, `microbit::hal::Timer`, `microbit::hal::saadc::SaadcConfig`, `microbit::hal::gpio`, `microbit::hal::gpio::Level` [INFO] [stdout] --> src/bin/gpio_vario_blink.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use microbit::hal::pac::Peripherals; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | use microbit::hal::{Saadc, Timer, saadc::SaadcConfig, gpio, gpio::Level}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/bin/pwm.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use microbit::hal::{pac::Peripherals, Timer, gpio, pwm, gpio::Level}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nrf-play` (bin "gpio_read_analog" test) due to 5 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/bin/pwm.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use microbit::hal::time::Hertz; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `microbit::hal::pac::Peripherals`, `microbit::hal::Timer`, `microbit::hal::gpio`, `microbit::hal::pwm`, `microbit::hal::gpio::Level`, `microbit::hal::time::Hertz` [INFO] [stdout] --> src/bin/pwm.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use microbit::hal::{pac::Peripherals, Timer, gpio, pwm, gpio::Level}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^ ^^^ ^^^^^^^^^^^ [INFO] [stdout] 9 | use microbit::hal::prelude::*; [INFO] [stdout] 10 | use microbit::hal::time::Hertz; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl` [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_rtt_target` (which `gpio_blink` depends on) [INFO] [stdout] = note: first definition in `panic_rtt_target` loaded from /opt/rustwide/target/debug/deps/libpanic_rtt_target-b28698e35429ac17.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ad248a6e6fe48fd9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `rprintln` [INFO] [stdout] --> src/bin/gpio_vario_blink.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use rtt_target::{rprintln, rtt_init_print}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [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[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl` [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_rtt_target` (which `pwm` depends on) [INFO] [stdout] = note: first definition in `panic_rtt_target` loaded from /opt/rustwide/target/debug/deps/libpanic_rtt_target-b28698e35429ac17.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ad248a6e6fe48fd9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nrf-play` (bin "gpio_blink" test) due to 7 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nrf-play` (bin "pwm" test) due to 5 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/bin/gpio_output.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use microbit::board::Board; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/bin/gpio_output.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use microbit::hal::gpio::Level; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/bin/gpio_output.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use microbit::hal::prelude::OutputPin; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nrf-play` (bin "gpio_vario_blink") due to 5 previous errors; 1 warning emitted [INFO] [stdout] error[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl` [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_rtt_target` (which `gpio_output` depends on) [INFO] [stdout] = note: first definition in `panic_rtt_target` loaded from /opt/rustwide/target/debug/deps/libpanic_rtt_target-b28698e35429ac17.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ad248a6e6fe48fd9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nrf-play` (bin "gpio_output" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "14c64fc8aae3a4ba71d3a5158d145fdc461982f0789e835f15628534d85cc70c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14c64fc8aae3a4ba71d3a5158d145fdc461982f0789e835f15628534d85cc70c", kill_on_drop: false }` [INFO] [stdout] 14c64fc8aae3a4ba71d3a5158d145fdc461982f0789e835f15628534d85cc70c