[INFO] cloning repository https://github.com/ZennDev1337/Rust-for-Arduboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZennDev1337/Rust-for-Arduboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZennDev1337%2FRust-for-Arduboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZennDev1337%2FRust-for-Arduboy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8285f85f6252f9878fcd16839567238c0fde65cc [INFO] checking ZennDev1337/Rust-for-Arduboy against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZennDev1337%2FRust-for-Arduboy" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZennDev1337/Rust-for-Arduboy on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/ZennDev1337/Rust-for-Arduboy [INFO] finished tweaking git repo https://github.com/ZennDev1337/Rust-for-Arduboy [INFO] tweaked toml for git repo https://github.com/ZennDev1337/Rust-for-Arduboy written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ZennDev1337/Rust-for-Arduboy 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 662951c06c52ad4a685fb9148dfdb7757d0b2554ca999abec021ee3d58530003 [INFO] running `Command { std: "docker" "start" "-a" "662951c06c52ad4a685fb9148dfdb7757d0b2554ca999abec021ee3d58530003", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "662951c06c52ad4a685fb9148dfdb7757d0b2554ca999abec021ee3d58530003", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "662951c06c52ad4a685fb9148dfdb7757d0b2554ca999abec021ee3d58530003", kill_on_drop: false }` [INFO] [stdout] 662951c06c52ad4a685fb9148dfdb7757d0b2554ca999abec021ee3d58530003 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b534c1557ef50ed4ee7a4222618d40f360326907ddfaa3b4e76c060bc8837a24 [INFO] running `Command { std: "docker" "start" "-a" "b534c1557ef50ed4ee7a4222618d40f360326907ddfaa3b4e76c060bc8837a24", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling heapless v0.7.16 [INFO] [stderr] Checking arduboy-rust v1.0.0 (/opt/rustwide/workdir/arduboy-rust) [INFO] [stderr] Checking ardvoice v0.1.0 (/opt/rustwide/workdir/Examples/ardvoice) [INFO] [stderr] Checking demo3 v0.1.0 (/opt/rustwide/workdir/Examples/Arduboy-Tutorials/demo3) [INFO] [stderr] Checking rustacean v0.1.0 (/opt/rustwide/workdir/Examples/rustacean) [INFO] [stderr] Checking snake v0.1.0 (/opt/rustwide/workdir/Examples/snake) [INFO] [stderr] Checking demo7 v0.1.0 (/opt/rustwide/workdir/Examples/Arduboy-Tutorials/demo7) [INFO] [stderr] Checking eeprom_byte v0.1.0 (/opt/rustwide/workdir/Examples/Arduboy-Tutorials/eeprom_byte) [INFO] [stderr] Checking fxhelloworld v0.1.0 (/opt/rustwide/workdir/Examples/ArduboyFX/fxhelloworld) [INFO] [stderr] Checking fxchompies v0.1.0 (/opt/rustwide/workdir/Examples/ArduboyFX/fxchompies) [INFO] [stderr] Checking fxbasicexample v0.1.0 (/opt/rustwide/workdir/Examples/ArduboyFX/fxbasicexample) [INFO] [stderr] Checking demo6 v0.1.0 (/opt/rustwide/workdir/Examples/Arduboy-Tutorials/demo6) [INFO] [stderr] Checking progmem v0.1.0 (/opt/rustwide/workdir/Examples/Arduboy-Tutorials/progmem) [INFO] [stderr] Checking tone v0.1.0 (/opt/rustwide/workdir/Examples/Arduboy-Tutorials/tone) [INFO] [stdout] error[E0432]: unresolved import `arduboy_rust::prelude` [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo3/src/lib.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use arduboy_rust::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `arduboy_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arduboy_rust::prelude` [INFO] [stdout] --> Examples/rustacean/src/lib.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use arduboy_rust::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `arduboy_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arduboy_rust::prelude` [INFO] [stdout] --> Examples/snake/src/lib.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use arduboy_rust::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `arduboy_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arduboy_rust::prelude` [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use arduboy_rust::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `arduboy_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fx_consts` [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use fx_consts::*; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `fx_consts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arduboy_rust::prelude` [INFO] [stdout] --> Examples/ardvoice/src/lib.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use arduboy_rust::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `arduboy_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arduboy_rust::prelude` [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo7/src/lib.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use arduboy_rust::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `arduboy_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arduboy_rust::prelude` [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use arduboy_rust::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `arduboy_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fx_consts` [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use fx_consts::*; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `fx_consts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arduboy_rust::prelude` [INFO] [stdout] --> Examples/ardvoice/src/lib.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use arduboy_rust::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `arduboy_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arduboy2` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo3/src/lib.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo3/src/lib.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | static mut counter: c_int = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 + use core::ffi::c_int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arduboy_rust::prelude` [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use arduboy_rust::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `arduboy_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arduboy2` [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo3/src/lib.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Arduboy2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arduboy2` in this scope [INFO] [stdout] --> Examples/rustacean/src/lib.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ArduboyTones` in this scope [INFO] [stdout] --> Examples/rustacean/src/lib.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | const sound: ArduboyTones = ArduboyTones::new(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_size_t` in this scope [INFO] [stdout] --> Examples/rustacean/src/lib.rs:27:52 [INFO] [stdout] | [INFO] [stdout] 27 | debug_assert!(msg_len <= (core::u8::MAX as c_size_t)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 + use core::ffi::c_size_t; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UP` in this scope [INFO] [stdout] --> Examples/rustacean/src/lib.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | if UP.pressed() && self.y > 0 { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIGHT` in this scope [INFO] [stdout] --> Examples/rustacean/src/lib.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | if RIGHT.pressed() && self.x < RIGHT_END - CHAR_WIDTH * self.msg_len { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:232:27 [INFO] [stdout] | [INFO] [stdout] 232 | arduboy.print(f!(b"RustySnake\n\0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `progmem` in this scope [INFO] [stdout] --> Examples/ardvoice/src/lib.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | progmem!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEFT` in this scope [INFO] [stdout] --> Examples/rustacean/src/lib.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | if LEFT.pressed() && self.x > 0 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DOWN` in this scope [INFO] [stdout] --> Examples/rustacean/src/lib.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | if DOWN.pressed() && self.y < BOTTOM - CHAR_HEIGHT * 2 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> Examples/rustacean/src/lib.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | if (A | B).pressed() { [INFO] [stdout] | ^ help: a static with a similar name exists: `E` [INFO] [stdout] ... [INFO] [stdout] 62 | static mut E: Environment = Environment { [INFO] [stdout] | --------------------------------------- similarly named static `E` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> Examples/rustacean/src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | if (A | B).pressed() { [INFO] [stdout] | ^ help: a static with a similar name exists: `E` [INFO] [stdout] ... [INFO] [stdout] 62 | static mut E: Environment = Environment { [INFO] [stdout] | --------------------------------------- similarly named static `E` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:234:27 [INFO] [stdout] | [INFO] [stdout] 234 | arduboy.print(f!(b"\nControls: \nB Pause / A&B reset\n\0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arduboy2` [INFO] [stdout] --> Examples/rustacean/src/lib.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Arduboy2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arduboy_rust::prelude` [INFO] [stdout] --> Examples/Arduboy-Tutorials/progmem/src/lib.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use arduboy_rust::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `arduboy_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:235:27 [INFO] [stdout] | [INFO] [stdout] 235 | arduboy.print(f!(b"Press B for Scorebord\0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tones_pitch` [INFO] [stdout] --> Examples/Arduboy-Tutorials/progmem/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tones_pitch::*; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tones_pitch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arduboy_rust::prelude` [INFO] [stdout] --> Examples/ArduboyFX/fxbasicexample/src/lib.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use arduboy_rust::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `arduboy_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ArduboyTones` [INFO] [stdout] --> Examples/rustacean/src/lib.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | const sound: ArduboyTones = ArduboyTones::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ArduboyTones` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `get_ardvoice_tone_addr` in this scope [INFO] [stdout] --> Examples/ardvoice/src/lib.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | ardvoice.play_voice(get_ardvoice_tone_addr!(song)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:236:27 [INFO] [stdout] | [INFO] [stdout] 236 | arduboy.print(f!(b"\nZennDev 2023\n\0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `get_ardvoice_tone_addr` in this scope [INFO] [stdout] --> Examples/ardvoice/src/lib.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | ardvoice.play_voice(get_ardvoice_tone_addr!(song)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:274:31 [INFO] [stdout] | [INFO] [stdout] 274 | arduboy.print(f!(b"New Highscore!\0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:275:31 [INFO] [stdout] | [INFO] [stdout] 275 | arduboy.print(f!(b"\nYou are under the\ntop three player\0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:276:31 [INFO] [stdout] | [INFO] [stdout] 276 | arduboy.print(f!(b"\n\nYour Score: \0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arduboy_rust::prelude` [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use arduboy_rust::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `arduboy_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:278:31 [INFO] [stdout] | [INFO] [stdout] 278 | arduboy.print(f!(b"\n\0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arduboy_rust::prelude` [INFO] [stdout] --> Examples/ArduboyFX/fxbasicexample/src/lib.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use arduboy_rust::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `arduboy_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arduboy_rust::prelude` [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use arduboy_rust::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `arduboy_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tones_pitch` [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tones_pitch::*; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tones_pitch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:279:31 [INFO] [stdout] | [INFO] [stdout] 279 | arduboy.print(f!(b"\nPress A to save the \nscore and play again\0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:281:31 [INFO] [stdout] | [INFO] [stdout] 281 | arduboy.print(f!(b"Game Over!\0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arduboy2` in this scope [INFO] [stdout] --> Examples/ardvoice/src/lib.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ArdVoice` in this scope [INFO] [stdout] --> Examples/ardvoice/src/lib.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | const ardvoice: ArdVoice = ArdVoice::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> Examples/ardvoice/src/lib.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | if arduboy.pressed(B) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 27 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:282:31 [INFO] [stdout] | [INFO] [stdout] 282 | arduboy.print(f!(b"\n\n\0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> Examples/ardvoice/src/lib.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | if arduboy.pressed(A) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 27 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:283:31 [INFO] [stdout] | [INFO] [stdout] 283 | arduboy.print(f!(b"Score: \0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:293:27 [INFO] [stdout] | [INFO] [stdout] 293 | arduboy.print(f!(b"1 place: \0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:295:27 [INFO] [stdout] | [INFO] [stdout] 295 | arduboy.print(f!(b"\n\n2 place: \0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:297:27 [INFO] [stdout] | [INFO] [stdout] 297 | arduboy.print(f!(b"\n\n3 place: \0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arduboy2` [INFO] [stdout] --> Examples/ardvoice/src/lib.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Arduboy2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ArdVoice` [INFO] [stdout] --> Examples/ardvoice/src/lib.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | const ardvoice: ArdVoice = ArdVoice::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ArdVoice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | arduboy.print(f!(b"EEPROM:\0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | arduboy.print(f!(b"InRam:\0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustacean` (lib) due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `demo3` (lib) due to 5 previous errors [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | arduboy.print(f!(b"Up/Down: Edit InRam\n\nA: Save to EEPROM\0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo7/src/lib.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | arduboy.print(f!(b"PONG\0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `get_sprite_addr` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/progmem/src/lib.rs:114:46 [INFO] [stdout] | [INFO] [stdout] 114 | sprites::draw_override(playerx, playery, get_sprite_addr!(player_sprite1), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `progmem` in this scope [INFO] [stdout] --> Examples/ardvoice/src/lib.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | progmem!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo7/src/lib.rs:98:27 [INFO] [stdout] | [INFO] [stdout] 98 | arduboy.print(f!(b"Press A to start\0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `get_ardvoice_tone_addr` in this scope [INFO] [stdout] --> Examples/ardvoice/src/lib.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | ardvoice.play_voice(get_ardvoice_tone_addr!(song)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo7/src/lib.rs:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | arduboy.print(f!(b"You Win!\0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `get_ardvoice_tone_addr` in this scope [INFO] [stdout] --> Examples/ardvoice/src/lib.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | ardvoice.play_voice(get_ardvoice_tone_addr!(song)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `get_string_addr` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/progmem/src/lib.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | arduboy.print(get_string_addr!(text1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:503:19 [INFO] [stdout] | [INFO] [stdout] 503 | arduboy.print(f!(b"\n\nUP: enable\nDOWN: disable\nB: break\0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arduboy2` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dcmNormal` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | static mut font_mode: u8 = dcmNormal; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ardvoice` (lib) due to 11 previous errors [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo7/src/lib.rs:118:27 [INFO] [stdout] | [INFO] [stdout] 118 | arduboy.print(f!(b"Game Over\0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:500:23 [INFO] [stdout] | [INFO] [stdout] 500 | arduboy.print(f!(b"NO\0")) [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dcmNormal` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | fx::set_font(arduboyFont, dcmNormal); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dcmNormal` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | fx::set_font_mode(dcmNormal); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WIDTH` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | fx::set_cursor(WIDTH - 5 * arduboyFontWidth as i16, 0); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dcmMasked` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | fx::set_font(maskedFont, dcmMasked | font_mode); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `get_tones_addr` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/progmem/src/lib.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | sound.tones(get_tones_addr!(tones)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:498:23 [INFO] [stdout] | [INFO] [stdout] 498 | arduboy.print(f!(b"YES\0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEIGHT` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | fx::set_cursor(13, HEIGHT - arduboyFontHeight as i16); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ANY_BUTTON` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:69:29 [INFO] [stdout] | [INFO] [stdout] 69 | if arduboy.just_pressed(ANY_BUTTON) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arduboy2` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxbasicexample/src/lib.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arduboy2` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxbasicexample/src/lib.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UP` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:72:29 [INFO] [stdout] | [INFO] [stdout] 72 | if arduboy.just_pressed(UP) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WIDTH` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxbasicexample/src/lib.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | static mut x: i16 = (WIDTH - FXlogoWith) / 2; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WIDTH` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxbasicexample/src/lib.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | static mut x: i16 = (WIDTH - FXlogoWith) / 2; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DOWN` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | if arduboy.just_pressed(DOWN) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WIDTH` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxbasicexample/src/lib.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | if x == 0 || x == WIDTH - FXlogoWith { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:496:19 [INFO] [stdout] | [INFO] [stdout] 496 | arduboy.print(f!(b"Audio enabled: \0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `progmem` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/progmem/src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | progmem!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WIDTH` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxbasicexample/src/lib.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | if x == 0 || x == WIDTH - FXlogoWith { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEFT` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:78:29 [INFO] [stdout] | [INFO] [stdout] 78 | if arduboy.just_pressed(LEFT) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEIGHT` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxbasicexample/src/lib.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | if y == 0 || y == HEIGHT - FXlogoHeight { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEIGHT` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxbasicexample/src/lib.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | if y == 0 || y == HEIGHT - FXlogoHeight { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIGHT` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | if arduboy.just_pressed(RIGHT) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | if arduboy.just_pressed(A) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 41 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:470:19 [INFO] [stdout] | [INFO] [stdout] 470 | arduboy.print(f!(b"volume_mode(HIGH)\ntones(sound1)\n\nB: break\0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dcmNormal` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | font_mode = dcmNormal [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | if arduboy.just_pressed(B) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 41 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dcmReverse` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | font_mode = dcmReverse [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `get_tones_addr` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:468:17 [INFO] [stdout] | [INFO] [stdout] 468 | sound.tones(get_tones_addr!(sound1)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arduboy2` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:455:19 [INFO] [stdout] | [INFO] [stdout] 455 | arduboy.print(f!( [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EEPROMBYTE` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | static mut eeprom: EEPROMBYTE = EEPROMBYTE::new(10); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arduboy2` [INFO] [stdout] --> Examples/ArduboyFX/fxbasicexample/src/lib.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Arduboy2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arduboy2` [INFO] [stdout] --> Examples/ArduboyFX/fxbasicexample/src/lib.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Arduboy2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UP` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | if arduboy.just_pressed(UP) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DOWN` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | if arduboy.just_pressed(DOWN) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `get_tones_addr` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:453:17 [INFO] [stdout] | [INFO] [stdout] 453 | sound.tones(get_tones_addr!(sound1)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | if arduboy.just_pressed(A) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 29 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEIGHT` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | arduboy.set_cursor(0, HEIGHT - FONT_HEIGHT); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:443:19 [INFO] [stdout] | [INFO] [stdout] 443 | arduboy.print(f!(b"volume_mode(IN_TONES)\ntones(sound1)\n\nB: break\0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arduboy2` [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Arduboy2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FONT_HEIGHT` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | arduboy.set_cursor(0, HEIGHT - FONT_HEIGHT); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FONT_WIDTH` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | arduboy.set_cursor(10 * FONT_WIDTH, HEIGHT - FONT_HEIGHT); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `get_tones_addr` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:441:17 [INFO] [stdout] | [INFO] [stdout] 441 | sound.tones(get_tones_addr!(sound1)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEIGHT` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | arduboy.set_cursor(10 * FONT_WIDTH, HEIGHT - FONT_HEIGHT); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FONT_HEIGHT` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:52:50 [INFO] [stdout] | [INFO] [stdout] 52 | arduboy.set_cursor(10 * FONT_WIDTH, HEIGHT - FONT_HEIGHT); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | arduboy.print(f!(b"EEPROM:\0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:421:19 [INFO] [stdout] | [INFO] [stdout] 421 | arduboy.print(f!(b"tonesInRAM(inRAM)\n\nA: change notes\nB: break\0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `get_tones_addr` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:419:24 [INFO] [stdout] | [INFO] [stdout] 419 | sound.tones_in_ram(get_tones_addr!(in_ram) as *mut u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arduboy2` [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Arduboy2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fx` [INFO] [stdout] --> Examples/ArduboyFX/fxbasicexample/src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | fx::begin_data(FX_DATA_PAGE); [INFO] [stdout] | ^^ use of undeclared crate or module `fx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fx` [INFO] [stdout] --> Examples/ArduboyFX/fxbasicexample/src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | fx::begin_data(FX_DATA_PAGE); [INFO] [stdout] | ^^ use of undeclared crate or module `fx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | arduboy.print(f!(b"InRam:\0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fx` [INFO] [stdout] --> Examples/ArduboyFX/fxbasicexample/src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | fx::draw_bitmap(x, y, FXlogo, 0, 0); [INFO] [stdout] | ^^ use of undeclared crate or module `fx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fx` [INFO] [stdout] --> Examples/ArduboyFX/fxbasicexample/src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | fx::draw_bitmap(x, y, FXlogo, 0, 0); [INFO] [stdout] | ^^ use of undeclared crate or module `fx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `get_tones_addr` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:410:25 [INFO] [stdout] | [INFO] [stdout] 410 | sound.tones(get_tones_addr!(allNotes)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EEPROMBYTE` [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | static mut eeprom: EEPROMBYTE = EEPROMBYTE::new(10); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `EEPROMBYTE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | arduboy.print(f!(b"Up/Down: Edit InRam\n\nA: Save to EEPROM\0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fx` [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | fx::begin_data(FX_DATA_PAGE); [INFO] [stdout] | ^^ use of undeclared crate or module `fx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `get_tones_addr` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:407:25 [INFO] [stdout] | [INFO] [stdout] 407 | sound.tones(get_tones_addr!(allNotes)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fx` [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | fx::set_font(arduboyFont, dcmNormal); [INFO] [stdout] | ^^ use of undeclared crate or module `fx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fx` [INFO] [stdout] --> Examples/ArduboyFX/fxbasicexample/src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | fx::display_clear() [INFO] [stdout] | ^^ use of undeclared crate or module `fx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fx` [INFO] [stdout] --> Examples/ArduboyFX/fxbasicexample/src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | fx::display_clear() [INFO] [stdout] | ^^ use of undeclared crate or module `fx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fx` [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | fx::set_cursor_range(0, 32767); [INFO] [stdout] | ^^ use of undeclared crate or module `fx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arduboy_rust::prelude` [INFO] [stdout] --> Examples/rustacean/src/lib.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use arduboy_rust::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `arduboy_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fx` [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | fx::set_cursor(0, 0); [INFO] [stdout] | ^^ use of undeclared crate or module `fx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:400:19 [INFO] [stdout] | [INFO] [stdout] 400 | arduboy.print(f!( [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fx` [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | fx::set_font_mode(dcmNormal); [INFO] [stdout] | ^^ use of undeclared crate or module `fx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fx` [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | fx::draw_string(str); [INFO] [stdout] | ^^ use of undeclared crate or module `fx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fx` [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | fx::set_cursor(WIDTH - 5 * arduboyFontWidth as i16, 0); [INFO] [stdout] | ^^ use of undeclared crate or module `fx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `get_tones_addr` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:398:17 [INFO] [stdout] | [INFO] [stdout] 398 | sound.tones(get_tones_addr!(allNotes)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:386:19 [INFO] [stdout] | [INFO] [stdout] 386 | arduboy.print(f!( [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fx` [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | fx::draw_number(frames, leading_digits); [INFO] [stdout] | ^^ use of undeclared crate or module `fx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fx` [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | fx::set_cursor(scroll_x, 24); [INFO] [stdout] | ^^ use of undeclared crate or module `fx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fx` [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | fx::set_font(maskedFont, dcmMasked | font_mode); [INFO] [stdout] | ^^ use of undeclared crate or module `fx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:374:19 [INFO] [stdout] | [INFO] [stdout] 374 | arduboy.print(f!(b"tone(C4,500,C5H,5000)\n\nB: no_tone(), break\0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fx` [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | fx::draw_string(helloWorld); [INFO] [stdout] | ^^ use of undeclared crate or module `fx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fx` [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | fx::set_cursor(13, HEIGHT - arduboyFontHeight as i16); [INFO] [stdout] | ^^ use of undeclared crate or module `fx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fx` [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | fx::set_font(arduboyFont, font_mode); [INFO] [stdout] | ^^ use of undeclared crate or module `fx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fx` [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | fx::draw_string(" Press any button \0"); [INFO] [stdout] | ^^ use of undeclared crate or module `fx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:363:19 [INFO] [stdout] | [INFO] [stdout] 363 | arduboy.print(f!(b"tone(500, 4000)\n\nB: break\0")); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fx` [INFO] [stdout] --> Examples/ArduboyFX/fxhelloworld/src/lib.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | fx::display_clear(); [INFO] [stdout] | ^^ use of undeclared crate or module `fx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:349:19 [INFO] [stdout] | [INFO] [stdout] 349 | arduboy.print(f!( [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arduboy2` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ArduboyTones` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | const sound: ArduboyTones = ArduboyTones::new(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EEPROM` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | static eeprom: EEPROM = EEPROM::new(101); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `progmem` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | progmem!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UP` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | if UP.just_pressed() && self.last_direction != Direction::Down { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEFT` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | if LEFT.just_pressed() && self.last_direction != Direction::Right { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DOWN` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | if DOWN.just_pressed() && self.last_direction != Direction::Up { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIGHT` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | if RIGHT.just_pressed() && self.last_direction != Direction::Left { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:237:16 [INFO] [stdout] | [INFO] [stdout] 237 | if A.just_pressed() { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 217 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | if B.just_pressed() { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 217 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:252:16 [INFO] [stdout] | [INFO] [stdout] 252 | if B.just_pressed() { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 217 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fxbasicexample` (lib test) due to 10 previous errors [INFO] [stdout] error[E0425]: cannot find value `FONT_WIDTH` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:260:40 [INFO] [stdout] | [INFO] [stdout] 260 | let l = msg.len() as i16 * FONT_WIDTH / 2; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eeprom_byte` (lib) due to 17 previous errors [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `fxhelloworld` (lib) due to 35 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WIDTH` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:261:32 [INFO] [stdout] | [INFO] [stdout] 261 | arduboy.set_cursor(WIDTH / 2 - l, HEIGHT / 2); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEIGHT` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:261:47 [INFO] [stdout] | [INFO] [stdout] 261 | arduboy.set_cursor(WIDTH / 2 - l, HEIGHT / 2); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:265:16 [INFO] [stdout] | [INFO] [stdout] 265 | if B.just_pressed() { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 265 | if l.just_pressed() { [INFO] [stdout] | ~ [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 217 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:286:16 [INFO] [stdout] | [INFO] [stdout] 286 | if A.just_pressed() { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 217 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:299:16 [INFO] [stdout] | [INFO] [stdout] 299 | if A.just_pressed() || B.just_pressed() { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 217 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:299:36 [INFO] [stdout] | [INFO] [stdout] 299 | if A.just_pressed() || B.just_pressed() { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 217 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | if (A | B).pressed() { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 217 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | if (A | B).pressed() { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 217 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arduboy2` in this scope [INFO] [stdout] --> Examples/ardvoice/src/lib.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arduboy2` [INFO] [stdout] --> Examples/snake/src/lib.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Arduboy2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ArdVoice` in this scope [INFO] [stdout] --> Examples/ardvoice/src/lib.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | const ardvoice: ArdVoice = ArdVoice::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arduboy2` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/progmem/src/lib.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> Examples/ardvoice/src/lib.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | if arduboy.pressed(B) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 27 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ArduboyTones` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/progmem/src/lib.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | const sound: ArduboyTones = ArduboyTones::new(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fxbasicexample` (lib) due to 10 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ArduboyTones` [INFO] [stdout] --> Examples/snake/src/lib.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | const sound: ArduboyTones = ArduboyTones::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ArduboyTones` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> Examples/ardvoice/src/lib.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | if arduboy.pressed(A) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 27 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/progmem/src/lib.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | static mut playerx: c_int = 5; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use core::ffi::c_int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arduboy2` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/progmem/src/lib.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | static mut playery: c_int = 10; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use core::ffi::c_int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arduboy2` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EEPROMBYTE` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | static mut eeprom: EEPROMBYTE = EEPROMBYTE::new(10); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEFT` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/progmem/src/lib.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | if arduboy.pressed(LEFT) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UP` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | if arduboy.just_pressed(UP) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIGHT` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/progmem/src/lib.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | if arduboy.pressed(RIGHT) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EEPROM` [INFO] [stdout] --> Examples/snake/src/lib.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | static eeprom: EEPROM = EEPROM::new(101); [INFO] [stdout] | ^^^^^^ use of undeclared type `EEPROM` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 24 | static mut x: [i16; 2] = [0, 0]; [INFO] [stdout] | -------------------------------- similarly named static `x` defined here [INFO] [stdout] ... [INFO] [stdout] 44 | if arduboy.pressed(A) && arduboy.pressed(B) { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a static with a similar name exists [INFO] [stdout] | [INFO] [stdout] 44 | if arduboy.pressed(x) && arduboy.pressed(B) { [INFO] [stdout] | ~ [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 38 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DOWN` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | if arduboy.just_pressed(DOWN) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UP` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/progmem/src/lib.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 95 | if arduboy.pressed(UP) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DOWN` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/progmem/src/lib.rs:98:24 [INFO] [stdout] | [INFO] [stdout] 98 | if arduboy.pressed(DOWN) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | if arduboy.just_pressed(A) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 29 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 24 | static mut x: [i16; 2] = [0, 0]; [INFO] [stdout] | -------------------------------- similarly named static `x` defined here [INFO] [stdout] ... [INFO] [stdout] 44 | if arduboy.pressed(A) && arduboy.pressed(B) { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a static with a similar name exists [INFO] [stdout] | [INFO] [stdout] 44 | if arduboy.pressed(A) && arduboy.pressed(x) { [INFO] [stdout] | ~ [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 38 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/progmem/src/lib.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | if arduboy.just_pressed(A) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 83 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEIGHT` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | arduboy.set_cursor(0, HEIGHT - FONT_HEIGHT); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arduboy2` [INFO] [stdout] --> Examples/ardvoice/src/lib.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Arduboy2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 24 | static mut x: [i16; 2] = [0, 0]; [INFO] [stdout] | -------------------------------- similarly named static `x` defined here [INFO] [stdout] ... [INFO] [stdout] 52 | if arduboy.just_pressed(B) { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a static with a similar name exists [INFO] [stdout] | [INFO] [stdout] 52 | if arduboy.just_pressed(x) { [INFO] [stdout] | ~ [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 38 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FONT_HEIGHT` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | arduboy.set_cursor(0, HEIGHT - FONT_HEIGHT); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WIDTH` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/progmem/src/lib.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | (WIDTH as i16 / 2) - (text1.len() as i16 * FONT_WIDTH / 2), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ArdVoice` [INFO] [stdout] --> Examples/ardvoice/src/lib.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | const ardvoice: ArdVoice = ArdVoice::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ArdVoice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FONT_WIDTH` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | arduboy.set_cursor(10 * FONT_WIDTH, HEIGHT - FONT_HEIGHT); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEIGHT` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | arduboy.set_cursor(10 * FONT_WIDTH, HEIGHT - FONT_HEIGHT); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `text1` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/progmem/src/lib.rs:110:31 [INFO] [stdout] | [INFO] [stdout] 110 | (WIDTH as i16 / 2) - (text1.len() as i16 * FONT_WIDTH / 2), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 24 | static mut x: [i16; 2] = [0, 0]; [INFO] [stdout] | -------------------------------- similarly named static `x` defined here [INFO] [stdout] ... [INFO] [stdout] 55 | if arduboy.pressed(B) { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a static with a similar name exists [INFO] [stdout] | [INFO] [stdout] 55 | if arduboy.pressed(x) { [INFO] [stdout] | ~ [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 38 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FONT_HEIGHT` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:52:50 [INFO] [stdout] | [INFO] [stdout] 52 | arduboy.set_cursor(10 * FONT_WIDTH, HEIGHT - FONT_HEIGHT); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FONT_WIDTH` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/progmem/src/lib.rs:110:52 [INFO] [stdout] | [INFO] [stdout] 110 | (WIDTH as i16 / 2) - (text1.len() as i16 * FONT_WIDTH / 2), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arduboy_rust::prelude` [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo6/src/lib.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use arduboy_rust::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `arduboy_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 24 | static mut x: [i16; 2] = [0, 0]; [INFO] [stdout] | -------------------------------- similarly named static `x` defined here [INFO] [stdout] ... [INFO] [stdout] 60 | if arduboy.just_pressed(A) { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a static with a similar name exists [INFO] [stdout] | [INFO] [stdout] 60 | if arduboy.just_pressed(x) { [INFO] [stdout] | ~ [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 38 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dbmReverse` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | color ^= dbmReverse; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arduboy2` [INFO] [stdout] --> Examples/Arduboy-Tutorials/progmem/src/lib.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Arduboy2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 24 | static mut x: [i16; 2] = [0, 0]; [INFO] [stdout] | -------------------------------- similarly named static `x` defined here [INFO] [stdout] ... [INFO] [stdout] 63 | if arduboy.pressed(A) { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a static with a similar name exists [INFO] [stdout] | [INFO] [stdout] 63 | if arduboy.pressed(x) { [INFO] [stdout] | ~ [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 38 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UP` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | if arduboy.just_pressed(UP) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ArduboyTones` [INFO] [stdout] --> Examples/Arduboy-Tutorials/progmem/src/lib.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | const sound: ArduboyTones = ArduboyTones::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ArduboyTones` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DOWN` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | if arduboy.just_pressed(DOWN) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEFT` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:70:33 [INFO] [stdout] | [INFO] [stdout] 70 | if arduboy.just_pressed(LEFT) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIGHT` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:73:33 [INFO] [stdout] | [INFO] [stdout] 73 | if arduboy.just_pressed(RIGHT) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UP` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | if arduboy.pressed(UP) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arduboy2` [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Arduboy2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DOWN` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:80:28 [INFO] [stdout] | [INFO] [stdout] 80 | if arduboy.pressed(DOWN) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEFT` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | if arduboy.pressed(LEFT) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EEPROMBYTE` [INFO] [stdout] --> Examples/Arduboy-Tutorials/eeprom_byte/src/lib.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | static mut eeprom: EEPROMBYTE = EEPROMBYTE::new(10); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `EEPROMBYTE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIGHT` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:86:28 [INFO] [stdout] | [INFO] [stdout] 86 | if arduboy.pressed(RIGHT) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dbmNormal` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:90:44 [INFO] [stdout] | [INFO] [stdout] 90 | fx::draw_bitmap(x[0], y[0], mapGfx, 0, dbmNormal); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arduboy2` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo7/src/lib.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dbmMasked` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:92:55 [INFO] [stdout] | [INFO] [stdout] 92 | 0 => fx::draw_bitmap(x[1], y[1], whaleGfx, 0, dbmMasked | color), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WIDTH` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo7/src/lib.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | x: (WIDTH - 4) as i16, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dbfMasked` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:93:55 [INFO] [stdout] | [INFO] [stdout] 93 | 1 => fx::draw_bitmap(x[1], y[1], whaleGfx, 0, dbfMasked | dbmBlack), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dbmBlack` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:93:67 [INFO] [stdout] | [INFO] [stdout] 93 | 1 => fx::draw_bitmap(x[1], y[1], whaleGfx, 0, dbfMasked | dbmBlack), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dbfMasked` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:94:55 [INFO] [stdout] | [INFO] [stdout] 94 | 2 => fx::draw_bitmap(x[1], y[1], whaleGfx, 0, dbfMasked | dbmWhite), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo7/src/lib.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 42 | static mut G: Globals = Globals { [INFO] [stdout] | ------------------------------- similarly named static `G` defined here [INFO] [stdout] ... [INFO] [stdout] 99 | if A.just_pressed() { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a static with a similar name exists [INFO] [stdout] | [INFO] [stdout] 99 | if G.just_pressed() { [INFO] [stdout] | ~ [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 85 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sprites` [INFO] [stdout] --> Examples/Arduboy-Tutorials/progmem/src/lib.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | sprites::draw_override(playerx, playery, get_sprite_addr!(player_sprite1), 0); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `sprites` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dbmWhite` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:94:67 [INFO] [stdout] | [INFO] [stdout] 94 | 2 => fx::draw_bitmap(x[1], y[1], whaleGfx, 0, dbfMasked | dbmWhite), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dbfMasked` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:95:55 [INFO] [stdout] | [INFO] [stdout] 95 | 3 => fx::draw_bitmap(x[1], y[1], whaleGfx, 0, dbfMasked | dbmInvert), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo7/src/lib.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 42 | static mut G: Globals = Globals { [INFO] [stdout] | ------------------------------- similarly named static `G` defined here [INFO] [stdout] ... [INFO] [stdout] 105 | if A.just_pressed() { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a static with a similar name exists [INFO] [stdout] | [INFO] [stdout] 105 | if G.just_pressed() { [INFO] [stdout] | ~ [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 85 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dbmInvert` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:95:67 [INFO] [stdout] | [INFO] [stdout] 95 | 3 => fx::draw_bitmap(x[1], y[1], whaleGfx, 0, dbfMasked | dbmInvert), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo7/src/lib.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 42 | static mut G: Globals = Globals { [INFO] [stdout] | ------------------------------- similarly named static `G` defined here [INFO] [stdout] ... [INFO] [stdout] 112 | if A.just_pressed() { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a static with a similar name exists [INFO] [stdout] | [INFO] [stdout] 112 | if G.just_pressed() { [INFO] [stdout] | ~ [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 85 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dbfMasked` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | 4 => fx::draw_bitmap(x[1], y[1], whaleGfx, 0, dbfMasked | dbmReverse), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dbmReverse` in this scope [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:96:67 [INFO] [stdout] | [INFO] [stdout] 96 | 4 => fx::draw_bitmap(x[1], y[1], whaleGfx, 0, dbfMasked | dbmReverse), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo7/src/lib.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 42 | static mut G: Globals = Globals { [INFO] [stdout] | ------------------------------- similarly named static `G` defined here [INFO] [stdout] ... [INFO] [stdout] 119 | if A.just_pressed() { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a static with a similar name exists [INFO] [stdout] | [INFO] [stdout] 119 | if G.just_pressed() { [INFO] [stdout] | ~ [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 85 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WIDTH` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo7/src/lib.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | G.ball.x = (WIDTH / 2) as i16; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UP` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo7/src/lib.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | if UP.pressed() && G.player.y > 0 { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DOWN` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo7/src/lib.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | if DOWN.pressed() && G.player.y + (G.player.height as i16) < (HEIGHT - 1) as i16 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEIGHT` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo7/src/lib.rs:144:67 [INFO] [stdout] | [INFO] [stdout] 144 | if DOWN.pressed() && G.player.y + (G.player.height as i16) < (HEIGHT - 1) as i16 { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEIGHT` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo7/src/lib.rs:166:49 [INFO] [stdout] | [INFO] [stdout] 166 | } else if G.ball.y + G.ball.size as i16 == (HEIGHT - 1) as i16 { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WIDTH` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo7/src/lib.rs:202:21 [INFO] [stdout] | [INFO] [stdout] 202 | G.ball.x = (WIDTH / 2) as i16; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WIDTH` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo7/src/lib.rs:204:28 [INFO] [stdout] | [INFO] [stdout] 204 | } else if G.ball.x == (WIDTH + 10) as i16 { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WIDTH` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo7/src/lib.rs:206:21 [INFO] [stdout] | [INFO] [stdout] 206 | G.ball.x = (WIDTH / 2) as i16; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WIDTH` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo7/src/lib.rs:226:35 [INFO] [stdout] | [INFO] [stdout] 226 | arduboy.draw_fast_hline(0, 0, WIDTH as u8, Color::White); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEIGHT` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo7/src/lib.rs:227:33 [INFO] [stdout] | [INFO] [stdout] 227 | arduboy.draw_fast_hline(0, (HEIGHT - 1) as i16, WIDTH as u8, Color::White); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WIDTH` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo7/src/lib.rs:227:53 [INFO] [stdout] | [INFO] [stdout] 227 | arduboy.draw_fast_hline(0, (HEIGHT - 1) as i16, WIDTH as u8, Color::White); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arduboy2` [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Arduboy2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arduboy2` [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo7/src/lib.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Arduboy2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fx` [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | fx::begin_data(FX_DATA_PAGE); [INFO] [stdout] | ^^ use of undeclared crate or module `fx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arduboy2` in this scope [INFO] [stdout] --> Examples/rustacean/src/lib.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ArduboyTones` in this scope [INFO] [stdout] --> Examples/rustacean/src/lib.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | const sound: ArduboyTones = ArduboyTones::new(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_size_t` in this scope [INFO] [stdout] --> Examples/rustacean/src/lib.rs:27:52 [INFO] [stdout] | [INFO] [stdout] 27 | debug_assert!(msg_len <= (core::u8::MAX as c_size_t)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 + use core::ffi::c_size_t; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UP` in this scope [INFO] [stdout] --> Examples/rustacean/src/lib.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | if UP.pressed() && self.y > 0 { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIGHT` in this scope [INFO] [stdout] --> Examples/rustacean/src/lib.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | if RIGHT.pressed() && self.x < RIGHT_END - CHAR_WIDTH * self.msg_len { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEFT` in this scope [INFO] [stdout] --> Examples/rustacean/src/lib.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | if LEFT.pressed() && self.x > 0 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DOWN` in this scope [INFO] [stdout] --> Examples/rustacean/src/lib.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | if DOWN.pressed() && self.y < BOTTOM - CHAR_HEIGHT * 2 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fx` [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | fx::draw_bitmap(x[0], y[0], mapGfx, 0, dbmNormal); [INFO] [stdout] | ^^ use of undeclared crate or module `fx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> Examples/rustacean/src/lib.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | if (A | B).pressed() { [INFO] [stdout] | ^ help: a static with a similar name exists: `E` [INFO] [stdout] ... [INFO] [stdout] 62 | static mut E: Environment = Environment { [INFO] [stdout] | --------------------------------------- similarly named static `E` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> Examples/rustacean/src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | if (A | B).pressed() { [INFO] [stdout] | ^ help: a static with a similar name exists: `E` [INFO] [stdout] ... [INFO] [stdout] 62 | static mut E: Environment = Environment { [INFO] [stdout] | --------------------------------------- similarly named static `E` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fx` [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 92 | 0 => fx::draw_bitmap(x[1], y[1], whaleGfx, 0, dbmMasked | color), [INFO] [stdout] | ^^ use of undeclared crate or module `fx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fx` [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | 1 => fx::draw_bitmap(x[1], y[1], whaleGfx, 0, dbfMasked | dbmBlack), [INFO] [stdout] | ^^ use of undeclared crate or module `fx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fx` [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | 2 => fx::draw_bitmap(x[1], y[1], whaleGfx, 0, dbfMasked | dbmWhite), [INFO] [stdout] | ^^ use of undeclared crate or module `fx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fx` [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | 3 => fx::draw_bitmap(x[1], y[1], whaleGfx, 0, dbfMasked | dbmInvert), [INFO] [stdout] | ^^ use of undeclared crate or module `fx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arduboy2` [INFO] [stdout] --> Examples/rustacean/src/lib.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Arduboy2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fx` [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 96 | 4 => fx::draw_bitmap(x[1], y[1], whaleGfx, 0, dbfMasked | dbmReverse), [INFO] [stdout] | ^^ use of undeclared crate or module `fx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ArduboyTones` [INFO] [stdout] --> Examples/rustacean/src/lib.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | const sound: ArduboyTones = ArduboyTones::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ArduboyTones` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `progmem` (lib test) due to 22 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fx` [INFO] [stdout] --> Examples/ArduboyFX/fxchompies/src/lib.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | fx::display_clear(); [INFO] [stdout] | ^^ use of undeclared crate or module `fx` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ardvoice` (lib test) due to 11 previous errors [INFO] [stdout] error: aborting due to 37 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eeprom_byte` (lib test) due to 17 previous errors [INFO] [stdout] error: cannot find macro `get_sprite_addr` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo6/src/lib.rs:69:50 [INFO] [stdout] | [INFO] [stdout] 69 | sprites::draw_override(playerx, playery, get_sprite_addr!(player_sprite2), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `get_sprite_addr` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo6/src/lib.rs:67:50 [INFO] [stdout] | [INFO] [stdout] 67 | sprites::draw_override(playerx, playery, get_sprite_addr!(player_sprite1), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `get_sprite_addr` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo6/src/lib.rs:62:56 [INFO] [stdout] | [INFO] [stdout] 62 | sprites::draw_override(i.into(), j.into(), get_sprite_addr!(background_sprite), 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `progmem` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo6/src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | progmem!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fxchompies` (lib) due to 38 previous errors [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo7/src/lib.rs:25:79 [INFO] [stdout] | [INFO] [stdout] 25 | arduboy.fill_rect(self.x.into(), self.y.into(), self.size, self.size, Color::White); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo7/src/lib.rs:38:82 [INFO] [stdout] | [INFO] [stdout] 38 | arduboy.fill_rect(self.x.into(), self.y.into(), self.width, self.height, Color::White); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `random_between` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | self.next_food.0 = random_between(2, (WORLD_WIDTH - 2).into()) as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustacean` (lib test) due to 13 previous errors [INFO] [stdout] error[E0425]: cannot find function `random_between` in this scope [INFO] [stdout] --> Examples/snake/src/lib.rs:105:32 [INFO] [stdout] | [INFO] [stdout] 105 | self.next_food.1 = random_between(2, (WORLD_HEIGHT - 2).into()) as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> Examples/snake/src/lib.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | Color::White, [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `random_between` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo7/src/lib.rs:152:26 [INFO] [stdout] | [INFO] [stdout] 152 | if G.ball.x > 115 || random_between(0, 20) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arduboy2` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo6/src/lib.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo6/src/lib.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | static mut playerx: c_int = 5; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 + use core::ffi::c_int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo6/src/lib.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | static mut playery: c_int = 10; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 + use core::ffi::c_int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEFT` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo6/src/lib.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | if arduboy.pressed(LEFT) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIGHT` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo6/src/lib.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | if arduboy.pressed(RIGHT) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UP` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo6/src/lib.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | if arduboy.pressed(UP) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DOWN` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo6/src/lib.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | if arduboy.pressed(DOWN) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo7/src/lib.rs:226:48 [INFO] [stdout] | [INFO] [stdout] 226 | arduboy.draw_fast_hline(0, 0, WIDTH as u8, Color::White); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> Examples/snake/src/lib.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | Color::White, [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo6/src/lib.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | if arduboy.just_pressed(A) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 36 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo7/src/lib.rs:227:66 [INFO] [stdout] | [INFO] [stdout] 227 | arduboy.draw_fast_hline(0, (HEIGHT - 1) as i16, WIDTH as u8, Color::White); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WIDTH` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo6/src/lib.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | for i in (0..WIDTH).step_by(8) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might have meant to write `.` instead of `..` [INFO] [stdout] | [INFO] [stdout] 60 - for i in (0..WIDTH).step_by(8) { [INFO] [stdout] 60 + for i in (0.WIDTH).step_by(8) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEIGHT` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo6/src/lib.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | for j in (0..HEIGHT).step_by(8) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might have meant to write `.` instead of `..` [INFO] [stdout] | [INFO] [stdout] 61 - for j in (0..HEIGHT).step_by(8) { [INFO] [stdout] 61 + for j in (0.HEIGHT).step_by(8) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arduboy2` [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo6/src/lib.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Arduboy2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> Examples/snake/src/lib.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | Color::White, [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arduboy2` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ArduboyTones` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | const sound: ArduboyTones = ArduboyTones::new(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_E4` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | NOTE_E4, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_D4` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | NOTE_D4, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_C4` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | NOTE_C4, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_REST` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | NOTE_REST, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_D4` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | NOTE_D4, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_C4` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | NOTE_C4, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_REST` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | NOTE_REST, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_C4` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | NOTE_C4, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_REST` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | NOTE_REST, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_E4` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | NOTE_E4, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_REST` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | NOTE_REST, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sprites` [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo6/src/lib.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | sprites::draw_override(i.into(), j.into(), get_sprite_addr!(background_sprite), 0) [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `sprites` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_G4` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | NOTE_G4, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_REST` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | NOTE_REST, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_F4` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 310 | NOTE_F4, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_REST` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | NOTE_REST, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_A4` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | NOTE_A4, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_REST` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | NOTE_REST, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sprites` [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo6/src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | sprites::draw_override(playerx, playery, get_sprite_addr!(player_sprite1), 0); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `sprites` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_D5H` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | NOTE_D5H, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_REST` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | NOTE_REST, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> Examples/snake/src/lib.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | eeprom.init(&mut scoreboard); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 209 | eeprom.init(addr_of_mut!(scoreboard)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sprites` [INFO] [stdout] --> Examples/Arduboy-Tutorials/demo6/src/lib.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | sprites::draw_override(playerx, playery, get_sprite_addr!(player_sprite2), 0); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `sprites` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_D5H` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | NOTE_D5H, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_REST` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | NOTE_REST, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TONES_REPEAT` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | TONES_REPEAT, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UP` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:333:28 [INFO] [stdout] | [INFO] [stdout] 333 | if arduboy.pressed(UP) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DOWN` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:337:28 [INFO] [stdout] | [INFO] [stdout] 337 | if arduboy.pressed(DOWN) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:341:28 [INFO] [stdout] | [INFO] [stdout] 341 | if arduboy.pressed(B) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 282 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B_BUTTON` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:354:28 [INFO] [stdout] | [INFO] [stdout] 354 | if arduboy.pressed(B_BUTTON) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B_BUTTON` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:366:28 [INFO] [stdout] | [INFO] [stdout] 366 | if arduboy.pressed(B_BUTTON) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_C4` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:372:17 [INFO] [stdout] | [INFO] [stdout] 372 | sound.tone2(NOTE_C4, 500, NOTE_C5H, 5000); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_C5H` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:372:31 [INFO] [stdout] | [INFO] [stdout] 372 | sound.tone2(NOTE_C4, 500, NOTE_C5H, 5000); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B_BUTTON` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:377:28 [INFO] [stdout] | [INFO] [stdout] 377 | if arduboy.pressed(B_BUTTON) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_C7H` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:384:17 [INFO] [stdout] | [INFO] [stdout] 384 | sound.tone3(NOTE_C7H, 500, NOTE_REST, 1000, NOTE_C6, 5000); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_REST` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:384:32 [INFO] [stdout] | [INFO] [stdout] 384 | sound.tone3(NOTE_C7H, 500, NOTE_REST, 1000, NOTE_C6, 5000); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_C6` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:384:49 [INFO] [stdout] | [INFO] [stdout] 384 | sound.tone3(NOTE_C7H, 500, NOTE_REST, 1000, NOTE_C6, 5000); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B_BUTTON` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:391:28 [INFO] [stdout] | [INFO] [stdout] 391 | if arduboy.pressed(B_BUTTON) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A_BUTTON` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:405:28 [INFO] [stdout] | [INFO] [stdout] 405 | if arduboy.pressed(A_BUTTON) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UP_BUTTON` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:409:28 [INFO] [stdout] | [INFO] [stdout] 409 | if arduboy.pressed(UP_BUTTON) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B_BUTTON` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:412:28 [INFO] [stdout] | [INFO] [stdout] 412 | if arduboy.pressed(B_BUTTON) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A_BUTTON` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:424:28 [INFO] [stdout] | [INFO] [stdout] 424 | if arduboy.pressed(A_BUTTON) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> Examples/snake/src/lib.rs:273:28 [INFO] [stdout] | [INFO] [stdout] 273 | eeprom.put(&scoreboard); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 273 | eeprom.put(addr_of!(scoreboard)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_C5H` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:428:30 [INFO] [stdout] | [INFO] [stdout] 428 | in_ram[38] = NOTE_C5H; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_D5H` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:431:30 [INFO] [stdout] | [INFO] [stdout] 431 | in_ram[38] = NOTE_D5H; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:435:28 [INFO] [stdout] | [INFO] [stdout] 435 | if arduboy.pressed(B) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 282 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:446:28 [INFO] [stdout] | [INFO] [stdout] 446 | if arduboy.pressed(B) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 282 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VOLUME_ALWAYS_NORMAL` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:452:23 [INFO] [stdout] | [INFO] [stdout] 452 | sound.volume_mode(VOLUME_ALWAYS_NORMAL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:460:28 [INFO] [stdout] | [INFO] [stdout] 460 | if arduboy.pressed(B) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 282 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VOLUME_ALWAYS_HIGH` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:467:23 [INFO] [stdout] | [INFO] [stdout] 467 | sound.volume_mode(VOLUME_ALWAYS_HIGH); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:473:28 [INFO] [stdout] | [INFO] [stdout] 473 | if arduboy.pressed(B) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 282 | pub unsafe extern "C" fn loop_() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VOLUME_IN_TONE` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:478:23 [INFO] [stdout] | [INFO] [stdout] 478 | sound.volume_mode(VOLUME_IN_TONE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arduboy2` [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | const arduboy: Arduboy2 = Arduboy2::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Arduboy2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ArduboyTones` [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | const sound: ArduboyTones = ArduboyTones::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ArduboyTones` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 43 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `demo6` (lib test) due to 20 previous errors [INFO] [stderr] error: could not compile `demo7` (lib test) due to 29 previous errors [INFO] [stdout] error[E0425]: cannot find function `delay` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | delay(BUTTON_DELAY); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delay` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | delay(1000); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delay` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | delay(BUTTON_DELAY); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delay` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:379:13 [INFO] [stdout] | [INFO] [stdout] 379 | delay(BUTTON_DELAY); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `snake` (lib test) due to 44 previous errors; 2 warnings emitted [INFO] [stdout] error[E0425]: cannot find function `delay` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 393 | delay(BUTTON_DELAY); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delay` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:413:13 [INFO] [stdout] | [INFO] [stdout] 413 | delay(BUTTON_DELAY); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delay` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 433 | delay(BUTTON_DELAY); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delay` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:436:13 [INFO] [stdout] | [INFO] [stdout] 436 | delay(BUTTON_DELAY); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delay` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | delay(BUTTON_DELAY); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delay` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | delay(BUTTON_DELAY); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delay` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:474:13 [INFO] [stdout] | [INFO] [stdout] 474 | delay(BUTTON_DELAY); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:483:48 [INFO] [stdout] | [INFO] [stdout] 483 | arduboy.fill_circle(circle_pos, 54, 7, Color::Black); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:488:48 [INFO] [stdout] | [INFO] [stdout] 488 | arduboy.fill_circle(circle_pos, 54, 7, Color::White); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delay` in this scope [INFO] [stdout] --> Examples/Arduboy-Tutorials/tone/src/lib.rs:491:5 [INFO] [stdout] | [INFO] [stdout] 491 | delay(100); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 88 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tone` (lib test) due to 89 previous errors [INFO] running `Command { std: "docker" "inspect" "b534c1557ef50ed4ee7a4222618d40f360326907ddfaa3b4e76c060bc8837a24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b534c1557ef50ed4ee7a4222618d40f360326907ddfaa3b4e76c060bc8837a24", kill_on_drop: false }` [INFO] [stdout] b534c1557ef50ed4ee7a4222618d40f360326907ddfaa3b4e76c060bc8837a24 [INFO] checking ZennDev1337/Rust-for-Arduboy against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZennDev1337%2FRust-for-Arduboy" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZennDev1337/Rust-for-Arduboy on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/ZennDev1337/Rust-for-Arduboy [INFO] finished tweaking git repo https://github.com/ZennDev1337/Rust-for-Arduboy [INFO] tweaked toml for git repo https://github.com/ZennDev1337/Rust-for-Arduboy written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ZennDev1337/Rust-for-Arduboy 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bebcea82a1d69528bab8fe70b96ef8587cb8a862436c5de203a3083e6404977b [INFO] running `Command { std: "docker" "start" "-a" "bebcea82a1d69528bab8fe70b96ef8587cb8a862436c5de203a3083e6404977b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bebcea82a1d69528bab8fe70b96ef8587cb8a862436c5de203a3083e6404977b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bebcea82a1d69528bab8fe70b96ef8587cb8a862436c5de203a3083e6404977b", kill_on_drop: false }` [INFO] [stdout] bebcea82a1d69528bab8fe70b96ef8587cb8a862436c5de203a3083e6404977b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ace47c9668f8c40e33d85da8347824894e689dd0d7553003351cc3bc14c3ed3 [INFO] running `Command { std: "docker" "start" "-a" "6ace47c9668f8c40e33d85da8347824894e689dd0d7553003351cc3bc14c3ed3", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "6ace47c9668f8c40e33d85da8347824894e689dd0d7553003351cc3bc14c3ed3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ace47c9668f8c40e33d85da8347824894e689dd0d7553003351cc3bc14c3ed3", kill_on_drop: false }` [INFO] [stdout] 6ace47c9668f8c40e33d85da8347824894e689dd0d7553003351cc3bc14c3ed3