[INFO] cloning repository https://github.com/worm2fed/microbit-tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/worm2fed/microbit-tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fworm2fed%2Fmicrobit-tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fworm2fed%2Fmicrobit-tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71f7e9d3176c064f0abdca036972bca573676e5d [INFO] checking worm2fed/microbit-tutorial against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fworm2fed%2Fmicrobit-tutorial" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/worm2fed/microbit-tutorial [INFO] finished tweaking git repo https://github.com/worm2fed/microbit-tutorial [INFO] tweaked toml for git repo https://github.com/worm2fed/microbit-tutorial written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/worm2fed/microbit-tutorial on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/worm2fed/microbit-tutorial 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 014c91f0cf84758e7217204666542ad858dc39d259b12f0137c1cd31ed601eeb [INFO] running `Command { std: "docker" "start" "-a" "014c91f0cf84758e7217204666542ad858dc39d259b12f0137c1cd31ed601eeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "014c91f0cf84758e7217204666542ad858dc39d259b12f0137c1cd31ed601eeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "014c91f0cf84758e7217204666542ad858dc39d259b12f0137c1cd31ed601eeb", kill_on_drop: false }` [INFO] [stdout] 014c91f0cf84758e7217204666542ad858dc39d259b12f0137c1cd31ed601eeb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7518d2c2c54ed11629d01f34404c28a18b6ac151ba2edeab198fde99e5d8125 [INFO] running `Command { std: "docker" "start" "-a" "c7518d2c2c54ed11629d01f34404c28a18b6ac151ba2edeab198fde99e5d8125", kill_on_drop: false }` [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling cortex-m-rt v0.7.3 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling punch-o-meter v0.1.0 (/opt/rustwide/workdir/src/punch-o-meter) [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling led-roulette v0.1.1 (/opt/rustwide/workdir/src/led-roulette) [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Compiling i2c v0.1.0 (/opt/rustwide/workdir/src/i2c) [INFO] [stderr] Compiling rtt-check v0.1.0 (/opt/rustwide/workdir/src/setup) [INFO] [stderr] Compiling led-compass v0.1.0 (/opt/rustwide/workdir/src/led-compass) [INFO] [stderr] Compiling uart v0.1.0 (/opt/rustwide/workdir/src/uart) [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking tiny-led-matrix v1.0.2 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Checking lsm303agr v0.2.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking rtt-target v0.3.1 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Checking panic-rtt-target v0.1.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Checking snake-game v0.1.0 (/opt/rustwide/workdir/src/snake-game) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/punch-o-meter/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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/punch-o-meter/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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 import `microbit::hal::Timer` [INFO] [stdout] --> src/punch-o-meter/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use microbit::hal::Timer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/i2c/src/main.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] [stderr] error: could not compile `punch-o-meter` (bin "punch-o-meter") due to 6 previous errors; 1 warning emitted [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/punch-o-meter/src/main.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | let board = microbit::Board::take().unwrap(); [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] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/snake-game/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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] [stderr] error: could not compile `rtt-check` (bin "rtt-check" test) due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/snake-game/src/controls.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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[E0425]: cannot find value `i2c` in this scope [INFO] [stdout] --> src/punch-o-meter/src/main.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | let mut sensor = Lsm303agr::new_with_i2c(i2c); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/snake-game/src/display.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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[E0432]: unresolved import `microbit` [INFO] [stdout] --> src/snake-game/src/controls.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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[E0432]: unresolved import `microbit` [INFO] [stdout] --> src/snake-game/src/display.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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[E0432]: unresolved import `microbit` [INFO] [stdout] --> src/snake-game/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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] warning: unused import: `nb::block` [INFO] [stdout] --> src/punch-o-meter/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use nb::block; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/uart/src/main.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let board = microbit::Board::take().unwrap(); [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[E0425]: cannot find value `serial` in this scope [INFO] [stdout] --> src/uart/src/main.rs:59:35 [INFO] [stdout] | [INFO] [stdout] 59 | let byte = nb::block!(serial.read()).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `serial` in this scope [INFO] [stdout] --> src/uart/src/main.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | write!(serial, "Buffer full, flushing"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `serial` in this scope [INFO] [stdout] --> src/uart/src/main.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | nb::block!(serial.write(*byte)).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `serial` in this scope [INFO] [stdout] --> src/uart/src/main.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | nb::block!(serial.flush()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/led-roulette/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use microbit::{display::blocking::Display, hal::Timer, 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[E0432]: unresolved import `microbit` [INFO] [stdout] --> src/led-roulette/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use microbit::{display::blocking::Display, hal::Timer, 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/led-compass/src/calibration.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use microbit::display::blocking::Display; [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/led-compass/src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use microbit::{display::blocking::Display, 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[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/i2c/src/main.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let board = microbit::Board::take().unwrap(); [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: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `rprintln` [INFO] [stdout] --> src/uart/src/main.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use rtt_target::{rprintln, rtt_init_print}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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 `rtt_check` depends on) [INFO] [stdout] = note: first definition in `panic_rtt_target` loaded from /opt/rustwide/target/debug/deps/libpanic_rtt_target-78f35d5499c64972.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-95d69415fb7e848a.rlib [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] For more information about this 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/led-compass/src/main.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let board = microbit::Board::take().unwrap(); [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[E0425]: cannot find value `i2c` in this scope [INFO] [stdout] --> src/led-compass/src/main.rs:52:46 [INFO] [stdout] | [INFO] [stdout] 52 | let mut sensor = Lsm303agr::new_with_i2c(i2c); [INFO] [stdout] | ^^^ not found in this scope [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[E0425]: cannot find value `i2c` in this scope [INFO] [stdout] --> src/i2c/src/main.rs:70:46 [INFO] [stdout] | [INFO] [stdout] 70 | let mut sensor = Lsm303agr::new_with_i2c(i2c); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `serial` in this scope [INFO] [stdout] --> src/i2c/src/main.rs:80:35 [INFO] [stdout] | [INFO] [stdout] 80 | let byte = nb::block!(serial.read()).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `serial` in this scope [INFO] [stdout] --> src/i2c/src/main.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | nb::block!(serial.write(byte)).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `serial` in this scope [INFO] [stdout] --> src/i2c/src/main.rs:89:33 [INFO] [stdout] | [INFO] [stdout] 89 | ... serial, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `serial` in this scope [INFO] [stdout] --> src/i2c/src/main.rs:100:33 [INFO] [stdout] | [INFO] [stdout] 100 | ... serial, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `serial` in this scope [INFO] [stdout] --> src/i2c/src/main.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 108 | write!(serial, "Invalid command: {}\r\n", command) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `serial` in this scope [INFO] [stdout] --> src/i2c/src/main.rs:111:38 [INFO] [stdout] | [INFO] [stdout] 111 | Err(e) => write!(serial, "Error: {}\r\n", e).unwrap(), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `serial` in this scope [INFO] [stdout] --> src/i2c/src/main.rs:115:24 [INFO] [stdout] | [INFO] [stdout] 115 | write!(serial, " <- Buffer full, flushing\r\n"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `serial` in this scope [INFO] [stdout] --> src/i2c/src/main.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | nb::block!(serial.flush()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/led-compass/src/calibration.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use microbit::display::blocking::Display; [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/led-compass/src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use microbit::{display::blocking::Display, 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: 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: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/led-compass/src/main.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let board = microbit::Board::take().unwrap(); [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 `uart` (bin "uart") due to 6 previous errors; 1 warning emitted [INFO] [stdout] error[E0425]: cannot find value `i2c` in this scope [INFO] [stdout] --> src/led-compass/src/main.rs:52:46 [INFO] [stdout] | [INFO] [stdout] 52 | let mut sensor = Lsm303agr::new_with_i2c(i2c); [INFO] [stdout] | ^^^ not found in this scope [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 `led_roulette` depends on) [INFO] [stdout] = note: first definition in `panic_rtt_target` loaded from /opt/rustwide/target/debug/deps/libpanic_rtt_target-78f35d5499c64972.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-95d69415fb7e848a.rlib [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 `led_compass` depends on) [INFO] [stdout] = note: first definition in `panic_rtt_target` loaded from /opt/rustwide/target/debug/deps/libpanic_rtt_target-78f35d5499c64972.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-95d69415fb7e848a.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `led-roulette` (bin "led-roulette" test) due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/snake-game/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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] [stderr] error: could not compile `led-compass` (bin "led-compass" test) due to 5 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/snake-game/src/controls.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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/snake-game/src/display.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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[E0432]: unresolved import `microbit` [INFO] [stdout] --> src/snake-game/src/controls.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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[E0432]: unresolved import `microbit` [INFO] [stdout] --> src/snake-game/src/display.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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[E0432]: unresolved import `microbit` [INFO] [stdout] --> src/snake-game/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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/led-roulette/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use microbit::{display::blocking::Display, hal::Timer, 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] [stderr] error: could not compile `led-compass` (bin "led-compass") due to 5 previous errors [INFO] [stdout] error[E0432]: unresolved import `microbit` [INFO] [stdout] --> src/led-roulette/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use microbit::{display::blocking::Display, hal::Timer, 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: 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 `snake_game` depends on) [INFO] [stdout] = note: first definition in `panic_rtt_target` loaded from /opt/rustwide/target/debug/deps/libpanic_rtt_target-78f35d5499c64972.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-95d69415fb7e848a.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `i2c` (bin "i2c") due to 12 previous errors [INFO] [stderr] error: could not compile `snake-game` (bin "snake-game" test) due to 7 previous errors [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] 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: 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/punch-o-meter/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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/punch-o-meter/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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 import `microbit::hal::Timer` [INFO] [stdout] --> src/punch-o-meter/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use microbit::hal::Timer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `snake-game` (bin "snake-game") due to 7 previous errors [INFO] [stderr] error: could not compile `led-roulette` (bin "led-roulette") due to 3 previous errors [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/i2c/src/main.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/punch-o-meter/src/main.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | let board = microbit::Board::take().unwrap(); [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[E0425]: cannot find value `i2c` in this scope [INFO] [stdout] --> src/punch-o-meter/src/main.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | let mut sensor = Lsm303agr::new_with_i2c(i2c); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/uart/src/main.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let board = microbit::Board::take().unwrap(); [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[E0425]: cannot find value `serial` in this scope [INFO] [stdout] --> src/uart/src/main.rs:59:35 [INFO] [stdout] | [INFO] [stdout] 59 | let byte = nb::block!(serial.read()).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `serial` in this scope [INFO] [stdout] --> src/uart/src/main.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | write!(serial, "Buffer full, flushing"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `serial` in this scope [INFO] [stdout] --> src/uart/src/main.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | nb::block!(serial.write(*byte)).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `serial` in this scope [INFO] [stdout] --> src/uart/src/main.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | nb::block!(serial.flush()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nb::block` [INFO] [stdout] --> src/punch-o-meter/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use nb::block; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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 `punch_o_meter` depends on) [INFO] [stdout] = note: first definition in `panic_rtt_target` loaded from /opt/rustwide/target/debug/deps/libpanic_rtt_target-78f35d5499c64972.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-95d69415fb7e848a.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rprintln` [INFO] [stdout] --> src/uart/src/main.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use rtt_target::{rprintln, rtt_init_print}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [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 `uart` depends on) [INFO] [stdout] = note: first definition in `panic_rtt_target` loaded from /opt/rustwide/target/debug/deps/libpanic_rtt_target-78f35d5499c64972.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-95d69415fb7e848a.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/i2c/src/main.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let board = microbit::Board::take().unwrap(); [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: E0152, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `punch-o-meter` (bin "punch-o-meter" test) due to 6 previous errors; 1 warning emitted [INFO] [stderr] error: could not compile `uart` (bin "uart" test) due to 6 previous errors; 1 warning emitted [INFO] [stdout] error[E0425]: cannot find value `i2c` in this scope [INFO] [stdout] --> src/i2c/src/main.rs:70:46 [INFO] [stdout] | [INFO] [stdout] 70 | let mut sensor = Lsm303agr::new_with_i2c(i2c); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `serial` in this scope [INFO] [stdout] --> src/i2c/src/main.rs:80:35 [INFO] [stdout] | [INFO] [stdout] 80 | let byte = nb::block!(serial.read()).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `serial` in this scope [INFO] [stdout] --> src/i2c/src/main.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | nb::block!(serial.write(byte)).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `serial` in this scope [INFO] [stdout] --> src/i2c/src/main.rs:89:33 [INFO] [stdout] | [INFO] [stdout] 89 | ... serial, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `serial` in this scope [INFO] [stdout] --> src/i2c/src/main.rs:100:33 [INFO] [stdout] | [INFO] [stdout] 100 | ... serial, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `serial` in this scope [INFO] [stdout] --> src/i2c/src/main.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 108 | write!(serial, "Invalid command: {}\r\n", command) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `serial` in this scope [INFO] [stdout] --> src/i2c/src/main.rs:111:38 [INFO] [stdout] | [INFO] [stdout] 111 | Err(e) => write!(serial, "Error: {}\r\n", e).unwrap(), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `serial` in this scope [INFO] [stdout] --> src/i2c/src/main.rs:115:24 [INFO] [stdout] | [INFO] [stdout] 115 | write!(serial, " <- Buffer full, flushing\r\n"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `serial` in this scope [INFO] [stdout] --> src/i2c/src/main.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | nb::block!(serial.flush()); [INFO] [stdout] | ^^^^^^ not found in this scope [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 `i2c` depends on) [INFO] [stdout] = note: first definition in `panic_rtt_target` loaded from /opt/rustwide/target/debug/deps/libpanic_rtt_target-78f35d5499c64972.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-95d69415fb7e848a.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `i2c` (bin "i2c" test) due to 12 previous errors [INFO] [stderr] error: could not compile `rtt-check` (bin "rtt-check") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "c7518d2c2c54ed11629d01f34404c28a18b6ac151ba2edeab198fde99e5d8125", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7518d2c2c54ed11629d01f34404c28a18b6ac151ba2edeab198fde99e5d8125", kill_on_drop: false }` [INFO] [stdout] c7518d2c2c54ed11629d01f34404c28a18b6ac151ba2edeab198fde99e5d8125