[INFO] fetching crate avr-oxide 0.4.2... [INFO] checking avr-oxide-0.4.2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate avr-oxide 0.4.2 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate avr-oxide 0.4.2 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate avr-oxide 0.4.2 [INFO] finished tweaking crates.io crate avr-oxide 0.4.2 [INFO] tweaked toml for crates.io crate avr-oxide 0.4.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 15 packages to latest compatible versions [INFO] [stderr] Adding darling v0.13.4 (available: v0.20.10) [INFO] [stderr] Adding darling_core v0.13.4 (available: v0.20.10) [INFO] [stderr] Adding darling_macro v0.13.4 (available: v0.20.10) [INFO] [stderr] Adding strsim v0.10.0 (available: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding ufmt v0.1.2 (available: v0.2.0) [INFO] [stderr] Adding ufmt-macros v0.2.0 (available: v0.3.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ufmt-write v0.1.0 [INFO] [stderr] Downloaded ufmt-macros v0.2.0 [INFO] [stderr] Downloaded oxide-macros v0.4.2 [INFO] [stderr] Downloaded ufmt v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 766d4fe31b2a148fd559a70d07b608314129e8e880221a2d873a64fbf0135db6 [INFO] running `Command { std: "docker" "start" "-a" "766d4fe31b2a148fd559a70d07b608314129e8e880221a2d873a64fbf0135db6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "766d4fe31b2a148fd559a70d07b608314129e8e880221a2d873a64fbf0135db6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "766d4fe31b2a148fd559a70d07b608314129e8e880221a2d873a64fbf0135db6", kill_on_drop: false }` [INFO] [stdout] 766d4fe31b2a148fd559a70d07b608314129e8e880221a2d873a64fbf0135db6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5326a0893a0464811dca52246247970f8d34fc9d5958b7b57ab4a8fa3a40f6b [INFO] running `Command { std: "docker" "start" "-a" "b5326a0893a0464811dca52246247970f8d34fc9d5958b7b57ab4a8fa3a40f6b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling avr-oxide v0.4.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling ufmt-macros v0.2.0 [INFO] [stderr] Checking ufmt v0.1.2 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling oxide-macros v0.4.2 [INFO] [stdout] error: A clockspeed feature ("16MHz", "20MHz") must be enabled for this crate [INFO] [stdout] --> src/deviceconsts.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | compile_error!("A clockspeed feature (\"16MHz\", \"20MHz\") must be enabled for this crate"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: A processor feature ("atmega4809", "atmega328p") must be enabled for this crate [INFO] [stdout] --> src/deviceconsts.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | compile_error!("A processor feature (\"atmega4809\", \"atmega328p\") must be enabled for this crate"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: A clockspeed feature ("16MHz", "20MHz") must be enabled for this crate [INFO] [stdout] --> src/deviceconsts.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | compile_error!("A clockspeed feature (\"16MHz\", \"20MHz\") must be enabled for this crate"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: A processor feature ("atmega4809", "atmega328p") must be enabled for this crate [INFO] [stdout] --> src/deviceconsts.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | compile_error!("A processor feature (\"atmega4809\", \"atmega328p\") must be enabled for this crate"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `hardware` in the crate root [INFO] [stdout] --> src/hal/generic/cpu.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | use avr_oxide::hardware::cpu::cpuregs::{IOREG_CONTEXT_FLAGS,IOREG_SREG}; [INFO] [stdout] | ^^^^^^^^ could not find `hardware` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:380:39 [INFO] [stdout] | [INFO] [stdout] 380 | pub use avr_oxide::hal::atmega4809 as hardware; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega4809` feature [INFO] [stdout] --> src/lib.rs:379:7 [INFO] [stdout] | [INFO] [stdout] 379 | #[cfg(feature="atmega4809")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:382:39 [INFO] [stdout] | [INFO] [stdout] 382 | pub use avr_oxide::hal::atmega328p as hardware; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega328p` feature [INFO] [stdout] --> src/lib.rs:381:7 [INFO] [stdout] | [INFO] [stdout] 381 | #[cfg(feature="atmega328p")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `avr_oxide::sleepctrl` [INFO] [stdout] --> src/hal/generic/twi.rs:471:64 [INFO] [stdout] | [INFO] [stdout] 471 | use avr_oxide::{isr_cb_invoke, OxideResult, panic_if_none, sleepctrl}; [INFO] [stdout] | ^^^^^^^^^ no `sleepctrl` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `avr_oxide::cpu` [INFO] [stdout] --> src/concurrency/scheduler.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use avr_oxide::{cpu, OxideResult, thread}; [INFO] [stdout] | ^^^ no `cpu` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this module instead: [INFO] [stdout] crate::hal::generic::cpu [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `avr_oxide::cpu` [INFO] [stdout] --> src/concurrency/thread.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | use avr_oxide::cpu; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `cpu` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing this module instead [INFO] [stdout] | [INFO] [stdout] 103 | use crate::hal::generic::cpu; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `avr_oxide::cpu` [INFO] [stdout] --> src/concurrency/interrupt.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use avr_oxide::cpu; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `cpu` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing this module instead [INFO] [stdout] | [INFO] [stdout] 11 | use crate::hal::generic::cpu; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `avr_oxide::deviceconsts::clock` [INFO] [stdout] --> src/devices/masterclock.rs:150:30 [INFO] [stdout] | [INFO] [stdout] 150 | use avr_oxide::deviceconsts::clock::{ MASTER_CLOCK_PRESCALER, MASTER_CLOCK_HZ, MASTER_TICK_FREQ_HZ }; [INFO] [stdout] | ^^^^^ could not find `clock` in `deviceconsts` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | pub mod clock { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `20MHz` feature [INFO] [stdout] --> src/deviceconsts.rs:86:7 [INFO] [stdout] | [INFO] [stdout] 86 | #[cfg(feature="20MHz")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | pub mod clock { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `16MHz` feature [INFO] [stdout] --> src/deviceconsts.rs:106:7 [INFO] [stdout] | [INFO] [stdout] 106 | #[cfg(feature="16MHz")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `avr_oxide::deviceconsts::oxide` [INFO] [stdout] --> src/hal/generic/port.rs:159:32 [INFO] [stdout] | [INFO] [stdout] 159 | use avr_oxide::deviceconsts::oxide::PIN_ARRAY_SIZE; [INFO] [stdout] | ^^^^^ could not find `oxide` in `deviceconsts` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub mod oxide { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega4809` feature [INFO] [stdout] --> src/deviceconsts.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(feature="atmega4809")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub mod oxide { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega328p` feature [INFO] [stdout] --> src/deviceconsts.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(feature="atmega328p")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `avr_oxide::deviceconsts::clock` [INFO] [stdout] --> src/hal/generic/twi.rs:467:34 [INFO] [stdout] | [INFO] [stdout] 467 | use avr_oxide::deviceconsts::clock::{MASTER_CLOCK_HZ, MASTER_CLOCK_PRESCALER}; [INFO] [stdout] | ^^^^^ could not find `clock` in `deviceconsts` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | pub mod clock { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `20MHz` feature [INFO] [stdout] --> src/deviceconsts.rs:86:7 [INFO] [stdout] | [INFO] [stdout] 86 | #[cfg(feature="20MHz")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | pub mod clock { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `16MHz` feature [INFO] [stdout] --> src/deviceconsts.rs:106:7 [INFO] [stdout] | [INFO] [stdout] 106 | #[cfg(feature="16MHz")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `avr_oxide::deviceconsts::oxide` [INFO] [stdout] --> src/concurrency/scheduler.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | use avr_oxide::deviceconsts::oxide::MAX_THREADS; [INFO] [stdout] | ^^^^^ could not find `oxide` in `deviceconsts` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub mod oxide { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega4809` feature [INFO] [stdout] --> src/deviceconsts.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(feature="atmega4809")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub mod oxide { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega328p` feature [INFO] [stdout] --> src/deviceconsts.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(feature="atmega328p")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `avr_oxide::deviceconsts::oxide` [INFO] [stdout] --> src/concurrency/thread.rs:104:30 [INFO] [stdout] | [INFO] [stdout] 104 | use avr_oxide::deviceconsts::oxide::{DEFAULT_THREAD_STACK_SIZE}; [INFO] [stdout] | ^^^^^ could not find `oxide` in `deviceconsts` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub mod oxide { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega4809` feature [INFO] [stdout] --> src/deviceconsts.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(feature="atmega4809")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub mod oxide { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega328p` feature [INFO] [stdout] --> src/deviceconsts.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(feature="atmega328p")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `avr_oxide::deviceconsts::oxide` [INFO] [stdout] --> src/concurrency/util.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use avr_oxide::deviceconsts::oxide; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `oxide` in `deviceconsts` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub mod oxide { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega4809` feature [INFO] [stdout] --> src/deviceconsts.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(feature="atmega4809")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub mod oxide { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega328p` feature [INFO] [stdout] --> src/deviceconsts.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(feature="atmega328p")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this module instead [INFO] [stdout] | [INFO] [stdout] 12 | use crate::oxide; [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `avr_oxide::deviceconsts::oxide` [INFO] [stdout] --> src/oxide.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | use avr_oxide::deviceconsts::oxide; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `oxide` in `deviceconsts` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub mod oxide { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega4809` feature [INFO] [stdout] --> src/deviceconsts.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(feature="atmega4809")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub mod oxide { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega328p` feature [INFO] [stdout] --> src/deviceconsts.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(feature="atmega328p")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this module instead [INFO] [stdout] | [INFO] [stdout] 116 | use crate::oxide; [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `avr_oxide::deviceconsts::oxide` [INFO] [stdout] --> src/util/debug.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use avr_oxide::deviceconsts::oxide; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `oxide` in `deviceconsts` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub mod oxide { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega4809` feature [INFO] [stdout] --> src/deviceconsts.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(feature="atmega4809")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub mod oxide { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega328p` feature [INFO] [stdout] --> src/deviceconsts.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(feature="atmega328p")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this module instead [INFO] [stdout] | [INFO] [stdout] 28 | use crate::oxide; [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `avr_oxide::deviceconsts::memory` [INFO] [stdout] --> src/alloc.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use avr_oxide::deviceconsts::memory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `memory` in `deviceconsts` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub mod memory { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega4809` feature [INFO] [stdout] --> src/deviceconsts.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(feature = "atmega4809")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub mod memory { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega328p` feature [INFO] [stdout] --> src/deviceconsts.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg(feature = "atmega328p")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/concurrency/stack.rs:203:25 [INFO] [stdout] | [INFO] [stdout] 203 | let sp = avr_oxide::cpu!().read_sp() as usize; [INFO] [stdout] | ^^^ unresolved import [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/concurrency/stack.rs:239:25 [INFO] [stdout] | [INFO] [stdout] 239 | let sp = avr_oxide::cpu!().read_sp() as usize; [INFO] [stdout] | ^^^ unresolved import [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `hardware` in the crate root [INFO] [stdout] --> src/hal/generic/cpu.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | use avr_oxide::hardware::cpu::cpuregs::{IOREG_CONTEXT_FLAGS,IOREG_SREG}; [INFO] [stdout] | ^^^^^^^^ could not find `hardware` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:380:39 [INFO] [stdout] | [INFO] [stdout] 380 | pub use avr_oxide::hal::atmega4809 as hardware; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega4809` feature [INFO] [stdout] --> src/lib.rs:379:7 [INFO] [stdout] | [INFO] [stdout] 379 | #[cfg(feature="atmega4809")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:382:39 [INFO] [stdout] | [INFO] [stdout] 382 | pub use avr_oxide::hal::atmega328p as hardware; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega328p` feature [INFO] [stdout] --> src/lib.rs:381:7 [INFO] [stdout] | [INFO] [stdout] 381 | #[cfg(feature="atmega328p")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `avr_oxide::sleepctrl` [INFO] [stdout] --> src/hal/generic/twi.rs:471:64 [INFO] [stdout] | [INFO] [stdout] 471 | use avr_oxide::{isr_cb_invoke, OxideResult, panic_if_none, sleepctrl}; [INFO] [stdout] | ^^^^^^^^^ no `sleepctrl` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `avr_oxide::cpu` [INFO] [stdout] --> src/concurrency/scheduler.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use avr_oxide::{cpu, OxideResult, thread}; [INFO] [stdout] | ^^^ no `cpu` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this module instead: [INFO] [stdout] crate::hal::generic::cpu [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `avr_oxide::cpu` [INFO] [stdout] --> src/concurrency/thread.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | use avr_oxide::cpu; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `cpu` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing this module instead [INFO] [stdout] | [INFO] [stdout] 103 | use crate::hal::generic::cpu; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `avr_oxide::cpu` [INFO] [stdout] --> src/concurrency/interrupt.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use avr_oxide::cpu; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `cpu` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing this module instead [INFO] [stdout] | [INFO] [stdout] 11 | use crate::hal::generic::cpu; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `avr_oxide::deviceconsts::clock` [INFO] [stdout] --> src/devices/masterclock.rs:150:30 [INFO] [stdout] | [INFO] [stdout] 150 | use avr_oxide::deviceconsts::clock::{ MASTER_CLOCK_PRESCALER, MASTER_CLOCK_HZ, MASTER_TICK_FREQ_HZ }; [INFO] [stdout] | ^^^^^ could not find `clock` in `deviceconsts` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | pub mod clock { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `20MHz` feature [INFO] [stdout] --> src/deviceconsts.rs:86:7 [INFO] [stdout] | [INFO] [stdout] 86 | #[cfg(feature="20MHz")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | pub mod clock { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `16MHz` feature [INFO] [stdout] --> src/deviceconsts.rs:106:7 [INFO] [stdout] | [INFO] [stdout] 106 | #[cfg(feature="16MHz")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `avr_oxide::deviceconsts::oxide` [INFO] [stdout] --> src/hal/generic/port.rs:159:32 [INFO] [stdout] | [INFO] [stdout] 159 | use avr_oxide::deviceconsts::oxide::PIN_ARRAY_SIZE; [INFO] [stdout] | ^^^^^ could not find `oxide` in `deviceconsts` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub mod oxide { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega4809` feature [INFO] [stdout] --> src/deviceconsts.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(feature="atmega4809")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub mod oxide { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega328p` feature [INFO] [stdout] --> src/deviceconsts.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(feature="atmega328p")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `avr_oxide::deviceconsts::clock` [INFO] [stdout] --> src/hal/generic/twi.rs:467:34 [INFO] [stdout] | [INFO] [stdout] 467 | use avr_oxide::deviceconsts::clock::{MASTER_CLOCK_HZ, MASTER_CLOCK_PRESCALER}; [INFO] [stdout] | ^^^^^ could not find `clock` in `deviceconsts` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | pub mod clock { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `20MHz` feature [INFO] [stdout] --> src/deviceconsts.rs:86:7 [INFO] [stdout] | [INFO] [stdout] 86 | #[cfg(feature="20MHz")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | pub mod clock { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `16MHz` feature [INFO] [stdout] --> src/deviceconsts.rs:106:7 [INFO] [stdout] | [INFO] [stdout] 106 | #[cfg(feature="16MHz")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `avr_oxide::deviceconsts::oxide` [INFO] [stdout] --> src/concurrency/scheduler.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | use avr_oxide::deviceconsts::oxide::MAX_THREADS; [INFO] [stdout] | ^^^^^ could not find `oxide` in `deviceconsts` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub mod oxide { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega4809` feature [INFO] [stdout] --> src/deviceconsts.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(feature="atmega4809")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub mod oxide { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega328p` feature [INFO] [stdout] --> src/deviceconsts.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(feature="atmega328p")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `avr_oxide::deviceconsts::oxide` [INFO] [stdout] --> src/concurrency/thread.rs:104:30 [INFO] [stdout] | [INFO] [stdout] 104 | use avr_oxide::deviceconsts::oxide::{DEFAULT_THREAD_STACK_SIZE}; [INFO] [stdout] | ^^^^^ could not find `oxide` in `deviceconsts` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub mod oxide { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega4809` feature [INFO] [stdout] --> src/deviceconsts.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(feature="atmega4809")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub mod oxide { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega328p` feature [INFO] [stdout] --> src/deviceconsts.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(feature="atmega328p")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `avr_oxide::deviceconsts::oxide` [INFO] [stdout] --> src/concurrency/util.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use avr_oxide::deviceconsts::oxide; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `oxide` in `deviceconsts` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub mod oxide { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega4809` feature [INFO] [stdout] --> src/deviceconsts.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(feature="atmega4809")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub mod oxide { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega328p` feature [INFO] [stdout] --> src/deviceconsts.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(feature="atmega328p")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this module instead [INFO] [stdout] | [INFO] [stdout] 12 | use crate::oxide; [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `avr_oxide::deviceconsts::oxide` [INFO] [stdout] --> src/concurrency/util.rs:107:32 [INFO] [stdout] | [INFO] [stdout] 107 | use avr_oxide::deviceconsts::oxide::MAX_THREADS; [INFO] [stdout] | ^^^^^ could not find `oxide` in `deviceconsts` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub mod oxide { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega4809` feature [INFO] [stdout] --> src/deviceconsts.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(feature="atmega4809")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub mod oxide { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega328p` feature [INFO] [stdout] --> src/deviceconsts.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(feature="atmega328p")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `avr_oxide::deviceconsts::oxide` [INFO] [stdout] --> src/oxide.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | use avr_oxide::deviceconsts::oxide; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `oxide` in `deviceconsts` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub mod oxide { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega4809` feature [INFO] [stdout] --> src/deviceconsts.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(feature="atmega4809")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub mod oxide { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega328p` feature [INFO] [stdout] --> src/deviceconsts.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(feature="atmega328p")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this module instead [INFO] [stdout] | [INFO] [stdout] 116 | use crate::oxide; [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `avr_oxide::deviceconsts::oxide` [INFO] [stdout] --> src/util/debug.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use avr_oxide::deviceconsts::oxide; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `oxide` in `deviceconsts` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub mod oxide { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega4809` feature [INFO] [stdout] --> src/deviceconsts.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(feature="atmega4809")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub mod oxide { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega328p` feature [INFO] [stdout] --> src/deviceconsts.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(feature="atmega328p")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this module instead [INFO] [stdout] | [INFO] [stdout] 28 | use crate::oxide; [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `avr_oxide::deviceconsts::memory` [INFO] [stdout] --> src/alloc.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use avr_oxide::deviceconsts::memory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `memory` in `deviceconsts` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub mod memory { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega4809` feature [INFO] [stdout] --> src/deviceconsts.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(feature = "atmega4809")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub mod memory { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega328p` feature [INFO] [stdout] --> src/deviceconsts.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg(feature = "atmega328p")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `hardware` in the crate root [INFO] [stdout] --> src/concurrency/scheduler.rs:136:44 [INFO] [stdout] | [INFO] [stdout] 136 | context_flags_reg = const(avr_oxide::hardware::cpu::cpuregs::IOADR_CONTEXT_FLAGS), [INFO] [stdout] | ^^^^^^^^ could not find `hardware` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:380:39 [INFO] [stdout] | [INFO] [stdout] 380 | pub use avr_oxide::hal::atmega4809 as hardware; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega4809` feature [INFO] [stdout] --> src/lib.rs:379:7 [INFO] [stdout] | [INFO] [stdout] 379 | #[cfg(feature="atmega4809")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:382:39 [INFO] [stdout] | [INFO] [stdout] 382 | pub use avr_oxide::hal::atmega328p as hardware; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega328p` feature [INFO] [stdout] --> src/lib.rs:381:7 [INFO] [stdout] | [INFO] [stdout] 381 | #[cfg(feature="atmega328p")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/concurrency/stack.rs:203:25 [INFO] [stdout] | [INFO] [stdout] 203 | let sp = avr_oxide::cpu!().read_sp() as usize; [INFO] [stdout] | ^^^ unresolved import [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/concurrency/stack.rs:239:25 [INFO] [stdout] | [INFO] [stdout] 239 | let sp = avr_oxide::cpu!().read_sp() as usize; [INFO] [stdout] | ^^^ unresolved import [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `oxide` in `deviceconsts` [INFO] [stdout] --> src/concurrency/sync/eventwait.rs:63:43 [INFO] [stdout] | [INFO] [stdout] 63 | self.release(avr_oxide::deviceconsts::oxide::MAX_THREADS) [INFO] [stdout] | ^^^^^ could not find `oxide` in `deviceconsts` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub mod oxide { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega4809` feature [INFO] [stdout] --> src/deviceconsts.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(feature="atmega4809")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub mod oxide { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega328p` feature [INFO] [stdout] --> src/deviceconsts.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(feature="atmega328p")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 326 | #![feature(lang_items)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::arch::asm` [INFO] [stdout] --> src/hal/generic/datatypes.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use core::arch::asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProxyPin` and `handlers` [INFO] [stdout] --> src/hal/generic/port.rs:646:41 [INFO] [stdout] | [INFO] [stdout] 646 | use avr_oxide::hal::generic::port::{handlers, InterruptMode, Pin, ProxyPin, PinIsrCallback}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BitFieldAccess`, `BitIndex`, `VolatileBitField`, and `Volatile` [INFO] [stdout] --> src/hal/generic/port.rs:649:38 [INFO] [stdout] | [INFO] [stdout] 649 | use avr_oxide::util::datatypes::{BitFieldAccess, BitIndex, Volatile, VolatileBitField}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::arch::asm` [INFO] [stdout] --> src/hal/generic/cpu.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use core::arch::asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BitFieldAccess` and `BitIndex` [INFO] [stdout] --> src/hal/generic/cpu.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | use avr_oxide::util::datatypes::{BitField, BitFieldAccess, BitIndex}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ReadHandlerResult`, `SerialError`, and `SerialPortIdentity` [INFO] [stdout] --> src/hal/generic/serial.rs:1270:59 [INFO] [stdout] | [INFO] [stdout] 1270 | ...e, SerialPortIdentity, BaudRate, Parity, StopBits, DataBits, SerialRxTx, SerialWriteEventCallback, SerialReadEventCallback, SerialError, ReadHandlerResult, S... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::marker::PhantomData` [INFO] [stdout] --> src/hal/generic/serial.rs:1272:9 [INFO] [stdout] | [INFO] [stdout] 1272 | use core::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cpu` [INFO] [stdout] --> src/concurrency/scheduler.rs:12:56 [INFO] [stdout] | [INFO] [stdout] 12 | use avr_oxide::hal::generic::cpu::{ContextSaveRestore, Cpu}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::arch::asm` [INFO] [stdout] --> src/concurrency/interrupt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use core::arch::asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `avr_oxide::concurrency::util::ThreadId` [INFO] [stdout] --> src/util/debug.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use avr_oxide::concurrency::util::ThreadId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `avr_oxide::concurrency::stack` [INFO] [stdout] --> src/util/debug.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use avr_oxide::concurrency::stack; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `avr_oxide::concurrency::scheduler` [INFO] [stdout] --> src/util/debug.rs:82:7 [INFO] [stdout] | [INFO] [stdout] 82 | use avr_oxide::concurrency::scheduler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `panic_unwind` [INFO] [stdout] --> src/staticwrap.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | #[cfg(not(feature="panic_unwind"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `16MHz`, `20MHz`, `32BitDiv`, `all_tcbs`, `all_twis`, `all_usarts`, `arduino`, `arduino_nanoevery`, `arduino_uno`, `atmega328p`, `atmega4809`, `atmega4809_xplained_pro`, `atmega_xplained`, `boardcompat`, `bootable`, `extended_addressing`, `panic_handler`, `panicout`, `panicout_usart0`, `panicout_usart1`, `panicout_usart2`, `panicout_usart3`, `porta`, `portb`, `portc`, `portd`, `porte`, `portf`, `power_low`, `power_med`, `rtc`, `runtime_checks`, `std_build`, `std_build_328p`, and `std_test` and 9 more [INFO] [stdout] = help: consider adding `panic_unwind` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `panic_unwind` [INFO] [stdout] --> src/staticwrap.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | #[cfg(feature="panic_unwind")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `16MHz`, `20MHz`, `32BitDiv`, `all_tcbs`, `all_twis`, `all_usarts`, `arduino`, `arduino_nanoevery`, `arduino_uno`, `atmega328p`, `atmega4809`, `atmega4809_xplained_pro`, `atmega_xplained`, `boardcompat`, `bootable`, `extended_addressing`, `panic_handler`, `panicout`, `panicout_usart0`, `panicout_usart1`, `panicout_usart2`, `panicout_usart3`, `porta`, `portb`, `portc`, `portd`, `porte`, `portf`, `power_low`, `power_med`, `rtc`, `runtime_checks`, `std_build`, `std_build_328p`, and `std_test` and 9 more [INFO] [stdout] = help: consider adding `panic_unwind` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `panic_unwind` [INFO] [stdout] --> src/staticwrap.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(not(feature="panic_unwind"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `16MHz`, `20MHz`, `32BitDiv`, `all_tcbs`, `all_twis`, `all_usarts`, `arduino`, `arduino_nanoevery`, `arduino_uno`, `atmega328p`, `atmega4809`, `atmega4809_xplained_pro`, `atmega_xplained`, `boardcompat`, `bootable`, `extended_addressing`, `panic_handler`, `panicout`, `panicout_usart0`, `panicout_usart1`, `panicout_usart2`, `panicout_usart3`, `porta`, `portb`, `portc`, `portd`, `porte`, `portf`, `power_low`, `power_med`, `rtc`, `runtime_checks`, `std_build`, `std_build_328p`, and `std_test` and 9 more [INFO] [stdout] = help: consider adding `panic_unwind` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `panic_unwind` [INFO] [stdout] --> src/staticwrap.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | #[cfg(feature="panic_unwind")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `16MHz`, `20MHz`, `32BitDiv`, `all_tcbs`, `all_twis`, `all_usarts`, `arduino`, `arduino_nanoevery`, `arduino_uno`, `atmega328p`, `atmega4809`, `atmega4809_xplained_pro`, `atmega_xplained`, `boardcompat`, `bootable`, `extended_addressing`, `panic_handler`, `panicout`, `panicout_usart0`, `panicout_usart1`, `panicout_usart2`, `panicout_usart3`, `porta`, `portb`, `portc`, `portd`, `porte`, `portf`, `power_low`, `power_med`, `rtc`, `runtime_checks`, `std_build`, `std_build_328p`, and `std_test` and 9 more [INFO] [stdout] = help: consider adding `panic_unwind` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `hardware` in the crate root [INFO] [stdout] --> src/concurrency/scheduler.rs:136:44 [INFO] [stdout] | [INFO] [stdout] 136 | context_flags_reg = const(avr_oxide::hardware::cpu::cpuregs::IOADR_CONTEXT_FLAGS), [INFO] [stdout] | ^^^^^^^^ could not find `hardware` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:380:39 [INFO] [stdout] | [INFO] [stdout] 380 | pub use avr_oxide::hal::atmega4809 as hardware; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega4809` feature [INFO] [stdout] --> src/lib.rs:379:7 [INFO] [stdout] | [INFO] [stdout] 379 | #[cfg(feature="atmega4809")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:382:39 [INFO] [stdout] | [INFO] [stdout] 382 | pub use avr_oxide::hal::atmega328p as hardware; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega328p` feature [INFO] [stdout] --> src/lib.rs:381:7 [INFO] [stdout] | [INFO] [stdout] 381 | #[cfg(feature="atmega328p")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InterruptMode` and `PinMode` [INFO] [stdout] --> src/oserror.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | use avr_oxide::hal::generic::port::{InterruptMode, Pin, PinMode}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `avr_oxide::util::debug` [INFO] [stdout] --> src/oserror.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use avr_oxide::util::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `oxide` in `deviceconsts` [INFO] [stdout] --> src/concurrency/sync/eventwait.rs:63:43 [INFO] [stdout] | [INFO] [stdout] 63 | self.release(avr_oxide::deviceconsts::oxide::MAX_THREADS) [INFO] [stdout] | ^^^^^ could not find `oxide` in `deviceconsts` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub mod oxide { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega4809` feature [INFO] [stdout] --> src/deviceconsts.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(feature="atmega4809")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/deviceconsts.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub mod oxide { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `atmega328p` feature [INFO] [stdout] --> src/deviceconsts.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(feature="atmega328p")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 326 | #![feature(lang_items)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::arch::asm` [INFO] [stdout] --> src/hal/generic/datatypes.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use core::arch::asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProxyPin` and `handlers` [INFO] [stdout] --> src/hal/generic/port.rs:646:41 [INFO] [stdout] | [INFO] [stdout] 646 | use avr_oxide::hal::generic::port::{handlers, InterruptMode, Pin, ProxyPin, PinIsrCallback}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BitFieldAccess`, `BitIndex`, `VolatileBitField`, and `Volatile` [INFO] [stdout] --> src/hal/generic/port.rs:649:38 [INFO] [stdout] | [INFO] [stdout] 649 | use avr_oxide::util::datatypes::{BitFieldAccess, BitIndex, Volatile, VolatileBitField}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::arch::asm` [INFO] [stdout] --> src/hal/generic/cpu.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use core::arch::asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BitFieldAccess` and `BitIndex` [INFO] [stdout] --> src/hal/generic/cpu.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | use avr_oxide::util::datatypes::{BitField, BitFieldAccess, BitIndex}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ReadHandlerResult`, `SerialError`, and `SerialPortIdentity` [INFO] [stdout] --> src/hal/generic/serial.rs:1270:59 [INFO] [stdout] | [INFO] [stdout] 1270 | ...e, SerialPortIdentity, BaudRate, Parity, StopBits, DataBits, SerialRxTx, SerialWriteEventCallback, SerialReadEventCallback, SerialError, ReadHandlerResult, S... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::marker::PhantomData` [INFO] [stdout] --> src/hal/generic/serial.rs:1272:9 [INFO] [stdout] | [INFO] [stdout] 1272 | use core::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cpu` [INFO] [stdout] --> src/concurrency/scheduler.rs:12:56 [INFO] [stdout] | [INFO] [stdout] 12 | use avr_oxide::hal::generic::cpu::{ContextSaveRestore, Cpu}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::arch::asm` [INFO] [stdout] --> src/concurrency/interrupt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use core::arch::asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Debug` and `Formatter` [INFO] [stdout] --> src/concurrency/util.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | use std::fmt::{Debug, Formatter}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ThreadId` [INFO] [stdout] --> src/concurrency/util.rs:106:38 [INFO] [stdout] | [INFO] [stdout] 106 | use avr_oxide::concurrency::util::{ThreadId, ThreadSet}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `avr_oxide::concurrency::util::ThreadId` [INFO] [stdout] --> src/util/debug.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use avr_oxide::concurrency::util::ThreadId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `avr_oxide::concurrency::stack` [INFO] [stdout] --> src/util/debug.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use avr_oxide::concurrency::stack; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `avr_oxide::concurrency::scheduler` [INFO] [stdout] --> src/util/debug.rs:82:7 [INFO] [stdout] | [INFO] [stdout] 82 | use avr_oxide::concurrency::scheduler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BoundedMaths` [INFO] [stdout] --> src/private/ringq.rs:247:81 [INFO] [stdout] | [INFO] [stdout] 247 | use avr_oxide::private::ringq::{RingQ, DoesNotCoalesce, Coalesce, QueueError, BoundedMaths}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Err` [INFO] [stdout] --> src/private/ringq.rs:248:32 [INFO] [stdout] | [INFO] [stdout] 248 | use avr_oxide::OxideResult::{Err,Ok}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string::String` [INFO] [stdout] --> src/private/delayq.rs:244:7 [INFO] [stdout] | [INFO] [stdout] 244 | use std::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/alloc.rs:730:66 [INFO] [stdout] | [INFO] [stdout] 730 | heap.set_heap_location(&mut memory as *mut u16 as *mut u8, {SIZE*2}); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 730 - heap.set_heap_location(&mut memory as *mut u16 as *mut u8, {SIZE*2}); [INFO] [stdout] 730 + heap.set_heap_location(&mut memory as *mut u16 as *mut u8, SIZE*2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `panic_unwind` [INFO] [stdout] --> src/staticwrap.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | #[cfg(not(feature="panic_unwind"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `16MHz`, `20MHz`, `32BitDiv`, `all_tcbs`, `all_twis`, `all_usarts`, `arduino`, `arduino_nanoevery`, `arduino_uno`, `atmega328p`, `atmega4809`, `atmega4809_xplained_pro`, `atmega_xplained`, `boardcompat`, `bootable`, `extended_addressing`, `panic_handler`, `panicout`, `panicout_usart0`, `panicout_usart1`, `panicout_usart2`, `panicout_usart3`, `porta`, `portb`, `portc`, `portd`, `porte`, `portf`, `power_low`, `power_med`, `rtc`, `runtime_checks`, `std_build`, `std_build_328p`, and `std_test` and 9 more [INFO] [stdout] = help: consider adding `panic_unwind` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `panic_unwind` [INFO] [stdout] --> src/staticwrap.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | #[cfg(feature="panic_unwind")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `16MHz`, `20MHz`, `32BitDiv`, `all_tcbs`, `all_twis`, `all_usarts`, `arduino`, `arduino_nanoevery`, `arduino_uno`, `atmega328p`, `atmega4809`, `atmega4809_xplained_pro`, `atmega_xplained`, `boardcompat`, `bootable`, `extended_addressing`, `panic_handler`, `panicout`, `panicout_usart0`, `panicout_usart1`, `panicout_usart2`, `panicout_usart3`, `porta`, `portb`, `portc`, `portd`, `porte`, `portf`, `power_low`, `power_med`, `rtc`, `runtime_checks`, `std_build`, `std_build_328p`, and `std_test` and 9 more [INFO] [stdout] = help: consider adding `panic_unwind` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `panic_unwind` [INFO] [stdout] --> src/staticwrap.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(not(feature="panic_unwind"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `16MHz`, `20MHz`, `32BitDiv`, `all_tcbs`, `all_twis`, `all_usarts`, `arduino`, `arduino_nanoevery`, `arduino_uno`, `atmega328p`, `atmega4809`, `atmega4809_xplained_pro`, `atmega_xplained`, `boardcompat`, `bootable`, `extended_addressing`, `panic_handler`, `panicout`, `panicout_usart0`, `panicout_usart1`, `panicout_usart2`, `panicout_usart3`, `porta`, `portb`, `portc`, `portd`, `porte`, `portf`, `power_low`, `power_med`, `rtc`, `runtime_checks`, `std_build`, `std_build_328p`, and `std_test` and 9 more [INFO] [stdout] = help: consider adding `panic_unwind` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `panic_unwind` [INFO] [stdout] --> src/staticwrap.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | #[cfg(feature="panic_unwind")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `16MHz`, `20MHz`, `32BitDiv`, `all_tcbs`, `all_twis`, `all_usarts`, `arduino`, `arduino_nanoevery`, `arduino_uno`, `atmega328p`, `atmega4809`, `atmega4809_xplained_pro`, `atmega_xplained`, `boardcompat`, `bootable`, `extended_addressing`, `panic_handler`, `panicout`, `panicout_usart0`, `panicout_usart1`, `panicout_usart2`, `panicout_usart3`, `porta`, `portb`, `portc`, `portd`, `porte`, `portf`, `power_low`, `power_med`, `rtc`, `runtime_checks`, `std_build`, `std_build_328p`, and `std_test` and 9 more [INFO] [stdout] = help: consider adding `panic_unwind` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Debug` and `Formatter` [INFO] [stdout] --> src/time.rs:231:19 [INFO] [stdout] | [INFO] [stdout] 231 | use core::fmt::{Debug, Formatter}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InterruptMode` and `PinMode` [INFO] [stdout] --> src/oserror.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | use avr_oxide::hal::generic::port::{InterruptMode, Pin, PinMode}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `avr_oxide::util::debug` [INFO] [stdout] --> src/oserror.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use avr_oxide::util::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm_const` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:336:12 [INFO] [stdout] | [INFO] [stdout] 336 | #![feature(asm_const)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:337:12 [INFO] [stdout] | [INFO] [stdout] 337 | #![feature(const_mut_refs)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm_const` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:336:12 [INFO] [stdout] | [INFO] [stdout] 336 | #![feature(asm_const)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:337:12 [INFO] [stdout] | [INFO] [stdout] 337 | #![feature(const_mut_refs)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ProxyPin: PinToPort` is not satisfied [INFO] [stdout] --> src/hal/generic/port.rs:591:7 [INFO] [stdout] | [INFO] [stdout] 591 | ProxyPin: PinToPort [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `PinToPort` is not implemented for `ProxyPin` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/hal/generic/port.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | pub trait PinToPort { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: see issue #48214 [INFO] [stdout] help: add `#![feature(trivial_bounds)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:349:1 [INFO] [stdout] | [INFO] [stdout] 349 + #![feature(trivial_bounds)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0747]: unresolved item provided when a constant was expected [INFO] [stdout] --> src/concurrency/scheduler.rs:32:50 [INFO] [stdout] | [INFO] [stdout] 32 | static mut SCHEDULER: MaybeUninit> = MaybeUninit::uninit(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this generic argument was intended as a const parameter, surround it with braces [INFO] [stdout] | [INFO] [stdout] 32 | static mut SCHEDULER: MaybeUninit> = MaybeUninit::uninit(); [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0747]: unresolved item provided when a constant was expected [INFO] [stdout] --> src/concurrency/scheduler.rs:113:64 [INFO] [stdout] | [INFO] [stdout] 113 | pub(super) unsafe fn instance() -> &'static mut SchedulerState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this generic argument was intended as a const parameter, surround it with braces [INFO] [stdout] | [INFO] [stdout] 113 | pub(super) unsafe fn instance() -> &'static mut SchedulerState<{ MAX_THREADS }> { [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ProxyPin: PinToPort` is not satisfied [INFO] [stdout] --> src/hal/generic/port.rs:591:7 [INFO] [stdout] | [INFO] [stdout] 591 | ProxyPin: PinToPort [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `PinToPort` is not implemented for `ProxyPin` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/hal/generic/port.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | pub trait PinToPort { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: see issue #48214 [INFO] [stdout] help: add `#![feature(trivial_bounds)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:349:1 [INFO] [stdout] | [INFO] [stdout] 349 + #![feature(trivial_bounds)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `FromResidual` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/oserror.rs:194:30 [INFO] [stdout] | [INFO] [stdout] 194 | impl> const core::ops::FromResidual> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0747]: unresolved item provided when a constant was expected [INFO] [stdout] --> src/concurrency/scheduler.rs:32:50 [INFO] [stdout] | [INFO] [stdout] 32 | static mut SCHEDULER: MaybeUninit> = MaybeUninit::uninit(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this generic argument was intended as a const parameter, surround it with braces [INFO] [stdout] | [INFO] [stdout] 32 | static mut SCHEDULER: MaybeUninit> = MaybeUninit::uninit(); [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0747]: unresolved item provided when a constant was expected [INFO] [stdout] --> src/concurrency/scheduler.rs:113:64 [INFO] [stdout] | [INFO] [stdout] 113 | pub(super) unsafe fn instance() -> &'static mut SchedulerState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this generic argument was intended as a const parameter, surround it with braces [INFO] [stdout] | [INFO] [stdout] 113 | pub(super) unsafe fn instance() -> &'static mut SchedulerState<{ MAX_THREADS }> { [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `FromResidual` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/oserror.rs:194:30 [INFO] [stdout] | [INFO] [stdout] 194 | impl> const core::ops::FromResidual> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/hal/generic/port.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Clone,Copy,PartialEq,Eq,uDebug,Persist)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable expression [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Persist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/mutstatic.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | core::ptr::replace(&mut $name, Some($constructor)); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/hal/generic/port.rs:171:3 [INFO] [stdout] | [INFO] [stdout] 171 | / mut_singleton!( [INFO] [stdout] 172 | | PinHandlerSet, [INFO] [stdout] 173 | | __INSTANCE, [INFO] [stdout] 174 | | instance, instance_isolated, [INFO] [stdout] ... | [INFO] [stdout] 177 | | handlers: Vec::with_capacity(4) [INFO] [stdout] 178 | | }); [INFO] [stdout] | |______- in this macro invocation [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] = note: this warning originates in the macro `mut_singleton` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 24 | core::ptr::replace(addr_of_mut!($name), Some($constructor)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/mutstatic.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | match &mut $name { [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/hal/generic/port.rs:171:3 [INFO] [stdout] | [INFO] [stdout] 171 | / mut_singleton!( [INFO] [stdout] 172 | | PinHandlerSet, [INFO] [stdout] 173 | | __INSTANCE, [INFO] [stdout] 174 | | instance, instance_isolated, [INFO] [stdout] ... | [INFO] [stdout] 177 | | handlers: Vec::with_capacity(4) [INFO] [stdout] 178 | | }); [INFO] [stdout] | |______- in this macro invocation [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: this warning originates in the macro `mut_singleton` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 27 | match addr_of_mut!($name) { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/hal/generic/port.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Clone,Copy,PartialEq,Eq,uDebug,Persist)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable expression [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Persist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/mutstatic.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | core::ptr::replace(&mut $name, Some($constructor)); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/hal/generic/port.rs:171:3 [INFO] [stdout] | [INFO] [stdout] 171 | / mut_singleton!( [INFO] [stdout] 172 | | PinHandlerSet, [INFO] [stdout] 173 | | __INSTANCE, [INFO] [stdout] 174 | | instance, instance_isolated, [INFO] [stdout] ... | [INFO] [stdout] 177 | | handlers: Vec::with_capacity(4) [INFO] [stdout] 178 | | }); [INFO] [stdout] | |______- in this macro invocation [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] = note: this warning originates in the macro `mut_singleton` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 24 | core::ptr::replace(addr_of_mut!($name), Some($constructor)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/mutstatic.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | match &mut $name { [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/hal/generic/port.rs:171:3 [INFO] [stdout] | [INFO] [stdout] 171 | / mut_singleton!( [INFO] [stdout] 172 | | PinHandlerSet, [INFO] [stdout] 173 | | __INSTANCE, [INFO] [stdout] 174 | | instance, instance_isolated, [INFO] [stdout] ... | [INFO] [stdout] 177 | | handlers: Vec::with_capacity(4) [INFO] [stdout] 178 | | }); [INFO] [stdout] | |______- in this macro invocation [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: this warning originates in the macro `mut_singleton` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 27 | match addr_of_mut!($name) { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/hal/generic/twi.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 554 | &mut INSTANCE [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] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 554 | addr_of_mut!(INSTANCE) [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/hal/generic/twi.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 554 | &mut INSTANCE [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] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 554 | addr_of_mut!(INSTANCE) [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/concurrency/stack.rs:97:16 [INFO] [stdout] | [INFO] [stdout] 97 | let base = &mut __ISR_STACK_BOTTOM as *mut u8; [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] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 97 | let base = addr_of_mut!(__ISR_STACK_BOTTOM) as *mut u8; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/concurrency/stack.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | ((&__ISR_STACK_TOP as *const u8 as usize) - (&__ISR_STACK_BOTTOM as *const u8 as usize))+1 [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] 118 | ((addr_of!(__ISR_STACK_TOP) as *const u8 as usize) - (&__ISR_STACK_BOTTOM as *const u8 as usize))+1 [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/concurrency/stack.rs:118:52 [INFO] [stdout] | [INFO] [stdout] 118 | ((&__ISR_STACK_TOP as *const u8 as usize) - (&__ISR_STACK_BOTTOM as *const u8 as usize))+1 [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] 118 | ((&__ISR_STACK_TOP as *const u8 as usize) - (addr_of!(__ISR_STACK_BOTTOM) as *const u8 as usize))+1 [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/concurrency/stack.rs:124:7 [INFO] [stdout] | [INFO] [stdout] 124 | &__ISR_STACK_TOP as *const u8 as usize [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] 124 | addr_of!(__ISR_STACK_TOP) as *const u8 as usize [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/concurrency/stack.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | if *(&__ISR_STACK_BOTTOM as *const u8).offset(count as isize) != 0xa5 { [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] 131 | if *(addr_of!(__ISR_STACK_BOTTOM) as *const u8).offset(count as isize) != 0xa5 { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/concurrency/stack.rs:97:16 [INFO] [stdout] | [INFO] [stdout] 97 | let base = &mut __ISR_STACK_BOTTOM as *mut u8; [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] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 97 | let base = addr_of_mut!(__ISR_STACK_BOTTOM) as *mut u8; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/concurrency/stack.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | ((&__ISR_STACK_TOP as *const u8 as usize) - (&__ISR_STACK_BOTTOM as *const u8 as usize))+1 [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] 118 | ((addr_of!(__ISR_STACK_TOP) as *const u8 as usize) - (&__ISR_STACK_BOTTOM as *const u8 as usize))+1 [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/concurrency/stack.rs:118:52 [INFO] [stdout] | [INFO] [stdout] 118 | ((&__ISR_STACK_TOP as *const u8 as usize) - (&__ISR_STACK_BOTTOM as *const u8 as usize))+1 [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] 118 | ((&__ISR_STACK_TOP as *const u8 as usize) - (addr_of!(__ISR_STACK_BOTTOM) as *const u8 as usize))+1 [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/concurrency/stack.rs:124:7 [INFO] [stdout] | [INFO] [stdout] 124 | &__ISR_STACK_TOP as *const u8 as usize [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] 124 | addr_of!(__ISR_STACK_TOP) as *const u8 as usize [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/concurrency/stack.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | if *(&__ISR_STACK_BOTTOM as *const u8).offset(count as isize) != 0xa5 { [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] 131 | if *(addr_of!(__ISR_STACK_BOTTOM) as *const u8).offset(count as isize) != 0xa5 { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `PortA` found for enum `PinIdentity` in the current scope [INFO] [stdout] --> src/event.rs:283:72 [INFO] [stdout] | [INFO] [stdout] 283 | let event2 = OxideEventEnvelope::to(&DES, ButtonEvent(PinIdentity::PortA(0),ButtonState::Pressed)); [INFO] [stdout] | ^^^^^ variant or associated item not found in `PinIdentity` [INFO] [stdout] | [INFO] [stdout] ::: src/hal/generic/port.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum PinIdentity { [INFO] [stdout] | -------------------- variant or associated item `PortA` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/stdout.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | match &mut STDIO { [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] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 74 | match addr_of_mut!(STDIO) { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/oserror.rs:253:26 [INFO] [stdout] | [INFO] [stdout] 253 | core::ptr::replace(&mut DEBUGPIN, Some(pin)); [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] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 253 | core::ptr::replace(addr_of_mut!(DEBUGPIN), Some(pin)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `avr_oxide::hal::generic::cpu::Cpu` [INFO] [stdout] --> src/concurrency/interrupt.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use avr_oxide::hal::generic::cpu::Cpu; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `avr_oxide::hal::generic::cpu::Cpu` [INFO] [stdout] --> src/concurrency/thread.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | use avr_oxide::hal::generic::cpu::Cpu; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `avr_oxide::hal::generic::cpu::SleepControl` [INFO] [stdout] --> src/hal/generic/twi.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 473 | use avr_oxide::hal::generic::cpu::SleepControl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `avr_oxide::hal::generic::cpu::Cpu` [INFO] [stdout] --> src/concurrency/stack.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use avr_oxide::hal::generic::cpu::Cpu; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContextSaveRestore` [INFO] [stdout] --> src/concurrency/scheduler.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | use avr_oxide::hal::generic::cpu::{ContextSaveRestore, Cpu}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/hal/generic/datatypes.rs:254:28 [INFO] [stdout] | [INFO] [stdout] 254 | fn write_byte(&mut self, val: u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bit` [INFO] [stdout] --> src/hal/generic/datatypes.rs:258:20 [INFO] [stdout] | [INFO] [stdout] 258 | fn is_set(&self, bit: BitIndex) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bit` [INFO] [stdout] --> src/hal/generic/datatypes.rs:262:20 [INFO] [stdout] | [INFO] [stdout] 262 | fn is_clr(&self, bit: BitIndex) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bits` [INFO] [stdout] --> src/hal/generic/datatypes.rs:266:67 [INFO] [stdout] | [INFO] [stdout] 266 | fn set_isolated(&mut self, _isotoken: Isolated, bits: B) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bits` [INFO] [stdout] --> src/hal/generic/datatypes.rs:278:67 [INFO] [stdout] | [INFO] [stdout] 278 | fn clr_isolated(&mut self, _isotoken: Isolated, bits: B) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/hal/generic/timer.rs:787:41 [INFO] [stdout] | [INFO] [stdout] 787 | fn set_clock_calibration(&mut self, source: RtcSource, calibration: RtcCalibration, prescaler: RtcPrescaler) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `calibration` [INFO] [stdout] --> src/hal/generic/timer.rs:787:60 [INFO] [stdout] | [INFO] [stdout] 787 | fn set_clock_calibration(&mut self, source: RtcSource, calibration: RtcCalibration, prescaler: RtcPrescaler) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_calibration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prescaler` [INFO] [stdout] --> src/hal/generic/timer.rs:787:89 [INFO] [stdout] | [INFO] [stdout] 787 | fn set_clock_calibration(&mut self, source: RtcSource, calibration: RtcCalibration, prescaler: RtcPrescaler) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prescaler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rtcperiod` [INFO] [stdout] --> src/hal/generic/timer.rs:802:11 [INFO] [stdout] | [INFO] [stdout] 802 | let rtcperiod : RtcPitPeriod = period.into(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rtcperiod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/hal/generic/timer.rs:807:28 [INFO] [stdout] | [INFO] [stdout] 807 | fn set_mode(&mut self, mode: TimerMode) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: type `&PinIdentity` is non-empty [INFO] [stdout] --> src/hal/generic/port.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Clone,Copy,PartialEq,Eq,uDebug,Persist)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PinIdentity` defined here [INFO] [stdout] --> src/hal/generic/port.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum PinIdentity { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: the matched value is of type `&PinIdentity` [INFO] [stdout] = note: references are always considered inhabited [INFO] [stdout] = note: this error originates in the derive macro `Persist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `get_pin` [INFO] [stdout] --> src/hal/generic/port.rs:715:54 [INFO] [stdout] | [INFO] [stdout] 715 | fn isr(&'static mut self, _isotoken: Isolated, get_pin: fn(u8)->&'static dyn Pin) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_get_pin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/hal/generic/port.rs:718:32 [INFO] [stdout] | [INFO] [stdout] 718 | fn listen(&'static self, p: u8, handler: PinIsrCallback){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handler` [INFO] [stdout] --> src/hal/generic/port.rs:718:39 [INFO] [stdout] | [INFO] [stdout] 718 | fn listen(&'static self, p: u8, handler: PinIsrCallback){ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sp` [INFO] [stdout] --> src/hal/generic/cpu.rs:197:33 [INFO] [stdout] | [INFO] [stdout] 197 | unsafe fn write_sp(&mut self, sp: u16) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sregval` [INFO] [stdout] --> src/hal/generic/cpu.rs:213:35 [INFO] [stdout] | [INFO] [stdout] 213 | unsafe fn write_sreg(&mut self, sregval: u8) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sregval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/hal/generic/cpu.rs:564:34 [INFO] [stdout] | [INFO] [stdout] 564 | fn permit_standby(&mut self, token: PermitStandbyToken) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/hal/generic/cpu.rs:576:31 [INFO] [stdout] | [INFO] [stdout] 576 | fn permit_idle(&mut self, token: PermitIdleToken) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/stdout.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | match &mut STDIO { [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] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 74 | match addr_of_mut!(STDIO) { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/oserror.rs:253:26 [INFO] [stdout] | [INFO] [stdout] 253 | core::ptr::replace(&mut DEBUGPIN, Some(pin)); [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] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 253 | core::ptr::replace(addr_of_mut!(DEBUGPIN), Some(pin)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `avr_oxide::hal::generic::cpu::SleepControl` [INFO] [stdout] --> src/hal/generic/twi.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 473 | use avr_oxide::hal::generic::cpu::SleepControl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `avr_oxide::hal::generic::cpu::Cpu` [INFO] [stdout] --> src/concurrency/stack.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use avr_oxide::hal::generic::cpu::Cpu; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `avr_oxide::hal::generic::cpu::Cpu` [INFO] [stdout] --> src/concurrency/interrupt.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use avr_oxide::hal::generic::cpu::Cpu; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContextSaveRestore` [INFO] [stdout] --> src/concurrency/scheduler.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | use avr_oxide::hal::generic::cpu::{ContextSaveRestore, Cpu}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `avr_oxide::hal::generic::cpu::Cpu` [INFO] [stdout] --> src/concurrency/thread.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | use avr_oxide::hal::generic::cpu::Cpu; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/hal/generic/eeprom.rs:285:28 [INFO] [stdout] | [INFO] [stdout] 285 | fn read_at_into(&self, offset: usize, dest: &mut [u8]) -> usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/hal/generic/eeprom.rs:285:43 [INFO] [stdout] | [INFO] [stdout] 285 | fn read_at_into(&self, offset: usize, dest: &mut [u8]) -> usize { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/hal/generic/eeprom.rs:289:33 [INFO] [stdout] | [INFO] [stdout] 289 | fn write_at_from(&mut self, offset: usize, src: &[u8]) -> usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/hal/generic/eeprom.rs:289:48 [INFO] [stdout] | [INFO] [stdout] 289 | fn write_at_from(&mut self, offset: usize, src: &[u8]) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/hal/generic/eeprom.rs:297:32 [INFO] [stdout] | [INFO] [stdout] 297 | fn writer_at(&'e mut self, offset: usize) -> Self::W { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/hal/generic/eeprom.rs:305:28 [INFO] [stdout] | [INFO] [stdout] 305 | fn reader_at(&'e self, offset: usize) -> Self::R { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/hal/generic/twi.rs:536:47 [INFO] [stdout] | [INFO] [stdout] 536 | pub(crate) unsafe fn instance_from_addr(addr: u16) -> &'static mut Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `isotoken` [INFO] [stdout] --> src/concurrency/interrupt.rs:101:44 [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) unsafe fn preemptive_reschedule(isotoken: Isolated) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_isotoken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/hal/generic/datatypes.rs:254:28 [INFO] [stdout] | [INFO] [stdout] 254 | fn write_byte(&mut self, val: u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bit` [INFO] [stdout] --> src/hal/generic/datatypes.rs:258:20 [INFO] [stdout] | [INFO] [stdout] 258 | fn is_set(&self, bit: BitIndex) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bit` [INFO] [stdout] --> src/hal/generic/datatypes.rs:262:20 [INFO] [stdout] | [INFO] [stdout] 262 | fn is_clr(&self, bit: BitIndex) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bits` [INFO] [stdout] --> src/hal/generic/datatypes.rs:266:67 [INFO] [stdout] | [INFO] [stdout] 266 | fn set_isolated(&mut self, _isotoken: Isolated, bits: B) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bits` [INFO] [stdout] --> src/hal/generic/datatypes.rs:278:67 [INFO] [stdout] | [INFO] [stdout] 278 | fn clr_isolated(&mut self, _isotoken: Isolated, bits: B) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/hal/generic/timer.rs:787:41 [INFO] [stdout] | [INFO] [stdout] 787 | fn set_clock_calibration(&mut self, source: RtcSource, calibration: RtcCalibration, prescaler: RtcPrescaler) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `calibration` [INFO] [stdout] --> src/hal/generic/timer.rs:787:60 [INFO] [stdout] | [INFO] [stdout] 787 | fn set_clock_calibration(&mut self, source: RtcSource, calibration: RtcCalibration, prescaler: RtcPrescaler) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_calibration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prescaler` [INFO] [stdout] --> src/hal/generic/timer.rs:787:89 [INFO] [stdout] | [INFO] [stdout] 787 | fn set_clock_calibration(&mut self, source: RtcSource, calibration: RtcCalibration, prescaler: RtcPrescaler) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prescaler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rtcperiod` [INFO] [stdout] --> src/hal/generic/timer.rs:802:11 [INFO] [stdout] | [INFO] [stdout] 802 | let rtcperiod : RtcPitPeriod = period.into(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rtcperiod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/hal/generic/timer.rs:807:28 [INFO] [stdout] | [INFO] [stdout] 807 | fn set_mode(&mut self, mode: TimerMode) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: type `&PinIdentity` is non-empty [INFO] [stdout] --> src/hal/generic/port.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Clone,Copy,PartialEq,Eq,uDebug,Persist)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PinIdentity` defined here [INFO] [stdout] --> src/hal/generic/port.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum PinIdentity { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: the matched value is of type `&PinIdentity` [INFO] [stdout] = note: references are always considered inhabited [INFO] [stdout] = note: this error originates in the derive macro `Persist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `get_pin` [INFO] [stdout] --> src/hal/generic/port.rs:715:54 [INFO] [stdout] | [INFO] [stdout] 715 | fn isr(&'static mut self, _isotoken: Isolated, get_pin: fn(u8)->&'static dyn Pin) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_get_pin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/hal/generic/port.rs:718:32 [INFO] [stdout] | [INFO] [stdout] 718 | fn listen(&'static self, p: u8, handler: PinIsrCallback){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handler` [INFO] [stdout] --> src/hal/generic/port.rs:718:39 [INFO] [stdout] | [INFO] [stdout] 718 | fn listen(&'static self, p: u8, handler: PinIsrCallback){ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sp` [INFO] [stdout] --> src/hal/generic/cpu.rs:197:33 [INFO] [stdout] | [INFO] [stdout] 197 | unsafe fn write_sp(&mut self, sp: u16) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sregval` [INFO] [stdout] --> src/hal/generic/cpu.rs:213:35 [INFO] [stdout] | [INFO] [stdout] 213 | unsafe fn write_sreg(&mut self, sregval: u8) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sregval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/hal/generic/cpu.rs:564:34 [INFO] [stdout] | [INFO] [stdout] 564 | fn permit_standby(&mut self, token: PermitStandbyToken) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/hal/generic/cpu.rs:576:31 [INFO] [stdout] | [INFO] [stdout] 576 | fn permit_idle(&mut self, token: PermitIdleToken) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/util/debug.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn print(string: &str){ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/hal/generic/eeprom.rs:285:28 [INFO] [stdout] | [INFO] [stdout] 285 | fn read_at_into(&self, offset: usize, dest: &mut [u8]) -> usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/hal/generic/eeprom.rs:285:43 [INFO] [stdout] | [INFO] [stdout] 285 | fn read_at_into(&self, offset: usize, dest: &mut [u8]) -> usize { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/hal/generic/eeprom.rs:289:33 [INFO] [stdout] | [INFO] [stdout] 289 | fn write_at_from(&mut self, offset: usize, src: &[u8]) -> usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/hal/generic/eeprom.rs:289:48 [INFO] [stdout] | [INFO] [stdout] 289 | fn write_at_from(&mut self, offset: usize, src: &[u8]) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/hal/generic/eeprom.rs:297:32 [INFO] [stdout] | [INFO] [stdout] 297 | fn writer_at(&'e mut self, offset: usize) -> Self::W { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/hal/generic/eeprom.rs:305:28 [INFO] [stdout] | [INFO] [stdout] 305 | fn reader_at(&'e self, offset: usize) -> Self::R { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/hal/generic/twi.rs:536:47 [INFO] [stdout] | [INFO] [stdout] 536 | pub(crate) unsafe fn instance_from_addr(addr: u16) -> &'static mut Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::from` in constant functions [INFO] [stdout] --> src/oserror.rs:200:54 [INFO] [stdout] | [INFO] [stdout] 200 | OxideResult::Err(e) => return OxideResult::Err(From::from(e)), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:349:1 [INFO] [stdout] | [INFO] [stdout] 349 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors; 63 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0004, E0015, E0277, E0432, E0433, E0747. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `isotoken` [INFO] [stdout] --> src/concurrency/interrupt.rs:101:44 [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) unsafe fn preemptive_reschedule(isotoken: Isolated) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_isotoken` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `avr-oxide` (lib) due to 27 previous errors; 63 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `evt` [INFO] [stdout] --> src/event.rs:231:29 [INFO] [stdout] | [INFO] [stdout] 231 | fn process_event(&self, evt: OxideEvent) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_evt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/event.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | let mut event1 = OxideEventEnvelope::to(&DES, ClockTick(TimerIdentity::Tcb0, 12)); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/event.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | let mut event1 = OxideEventEnvelope::to(&DES, SerialEvent(SerialPortIdentity::Usart0, SerialState::ReadAvailable)); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/event.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | let mut event1 = OxideEventEnvelope::to(&DES, SerialEvent(SerialPortIdentity::Usart0, SerialState::BreakDetected)); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/event.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | let mut event1 = OxideEventEnvelope::to(&DES, SerialEvent(SerialPortIdentity::Usart0, SerialState::ReadAvailable)); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/util/debug.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn print(string: &str){ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `discard` [INFO] [stdout] --> src/alloc.rs:665:11 [INFO] [stdout] | [INFO] [stdout] 665 | let discard = global.alloc(Layout::from_size_align(3, 2).unwrap()); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_discard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/alloc.rs:729:11 [INFO] [stdout] | [INFO] [stdout] 729 | let mut heap = global.heap.get().as_mut().unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `borrow_one` [INFO] [stdout] --> src/staticwrap.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | let borrow_one = thing.borrow(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_borrow_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `borrow_two` [INFO] [stdout] --> src/staticwrap.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | let borrow_two = thing.borrow(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_borrow_two` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `borrow_one` [INFO] [stdout] --> src/staticwrap.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | let borrow_one = thing.borrow(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_borrow_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `borrow_two` [INFO] [stdout] --> src/staticwrap.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | let borrow_two = thing.borrow_mut(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_borrow_two` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::from` in constant functions [INFO] [stdout] --> src/oserror.rs:200:54 [INFO] [stdout] | [INFO] [stdout] 200 | OxideResult::Err(e) => return OxideResult::Err(From::from(e)), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:349:1 [INFO] [stdout] | [INFO] [stdout] 349 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors; 81 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0004, E0015, E0277, E0432, E0433, E0599, E0747. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: could not compile `avr-oxide` (lib test) due to 29 previous errors; 81 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b5326a0893a0464811dca52246247970f8d34fc9d5958b7b57ab4a8fa3a40f6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5326a0893a0464811dca52246247970f8d34fc9d5958b7b57ab4a8fa3a40f6b", kill_on_drop: false }` [INFO] [stdout] b5326a0893a0464811dca52246247970f8d34fc9d5958b7b57ab4a8fa3a40f6b