[INFO] fetching crate nrf24l01-commands 2.0.0... [INFO] checking nrf24l01-commands-2.0.0 against master#bbe853615821442ef11d6cd42a30a73432b38d89 for pr-154205 [INFO] extracting crate nrf24l01-commands 2.0.0 into /workspace/builds/worker-0-tc1/source [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate nrf24l01-commands 2.0.0 [INFO] finished tweaking crates.io crate nrf24l01-commands 2.0.0 [INFO] tweaked toml for crates.io crate nrf24l01-commands 2.0.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nrf24l01-commands 2.0.0 on toolchain bbe853615821442ef11d6cd42a30a73432b38d89 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate nrf24l01-commands 2.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitfield-struct v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] afe5bb5e99ddcbc053279d2f14685900af29fea975ad9310de883bb8dfdf4abb [INFO] running `Command { std: "docker" "start" "-a" "afe5bb5e99ddcbc053279d2f14685900af29fea975ad9310de883bb8dfdf4abb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afe5bb5e99ddcbc053279d2f14685900af29fea975ad9310de883bb8dfdf4abb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afe5bb5e99ddcbc053279d2f14685900af29fea975ad9310de883bb8dfdf4abb", kill_on_drop: false }` [INFO] [stdout] afe5bb5e99ddcbc053279d2f14685900af29fea975ad9310de883bb8dfdf4abb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f2d57b1e6f193c78bee57dd92328450e062b8b02b81049cb6dbfd3c101fc3d7 [INFO] running `Command { std: "docker" "start" "-a" "2f2d57b1e6f193c78bee57dd92328450e062b8b02b81049cb6dbfd3c101fc3d7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling bitfield-struct v0.10.1 [INFO] [stderr] Checking nrf24l01-commands v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find attribute `const_trait` in this scope [INFO] [stdout] --> src/commands.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[const_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `const_trait` in this scope [INFO] [stdout] --> src/fields.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[const_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `const_trait` in this scope [INFO] [stdout] --> src/registers.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | #[const_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `const_trait` in this scope [INFO] [stdout] --> src/registers.rs:48:3 [INFO] [stdout] | [INFO] [stdout] 48 | #[const_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `const_trait` in this scope [INFO] [stdout] --> src/commands.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[const_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `const_trait` in this scope [INFO] [stdout] --> src/fields.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[const_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `const_trait` in this scope [INFO] [stdout] --> src/registers.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | #[const_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `const_trait` in this scope [INFO] [stdout] --> src/registers.rs:48:3 [INFO] [stdout] | [INFO] [stdout] 48 | #[const_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Command` which is not `const` [INFO] [stdout] --> src/commands.rs:214:15 [INFO] [stdout] | [INFO] [stdout] 214 | impl const Command for RRegister { [INFO] [stdout] | ^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Command` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 24 | pub const trait Command { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Command` which is not `const` [INFO] [stdout] --> src/commands.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217 | impl const Command for WRegister { [INFO] [stdout] | ^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Command` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 24 | pub const trait Command { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Command` which is not `const` [INFO] [stdout] --> src/commands.rs:220:28 [INFO] [stdout] | [INFO] [stdout] 220 | impl const Command for RRxPayload { [INFO] [stdout] | ^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Command` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 24 | pub const trait Command { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Command` which is not `const` [INFO] [stdout] --> src/commands.rs:223:28 [INFO] [stdout] | [INFO] [stdout] 223 | impl const Command for WTxPayload { [INFO] [stdout] | ^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Command` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 24 | pub const trait Command { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Command` which is not `const` [INFO] [stdout] --> src/commands.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 226 | impl const Command for FlushTx { [INFO] [stdout] | ^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Command` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 24 | pub const trait Command { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Command` which is not `const` [INFO] [stdout] --> src/commands.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | impl const Command for FlushRx { [INFO] [stdout] | ^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Command` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 24 | pub const trait Command { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Command` which is not `const` [INFO] [stdout] --> src/commands.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | impl const Command for ReuseTxPl { [INFO] [stdout] | ^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Command` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 24 | pub const trait Command { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Command` which is not `const` [INFO] [stdout] --> src/commands.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 235 | impl const Command for RRxPlWid { [INFO] [stdout] | ^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Command` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 24 | pub const trait Command { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Command` which is not `const` [INFO] [stdout] --> src/commands.rs:238:28 [INFO] [stdout] | [INFO] [stdout] 238 | impl const Command for WAckPayload { [INFO] [stdout] | ^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Command` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 24 | pub const trait Command { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Command` which is not `const` [INFO] [stdout] --> src/commands.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 241 | impl const Command for WTxPayloadNoack { [INFO] [stdout] | ^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Command` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 24 | pub const trait Command { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Command` which is not `const` [INFO] [stdout] --> src/commands.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 244 | impl const Command for Nop { [INFO] [stdout] | ^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Command` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 24 | pub const trait Command { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Command` which is not `const` [INFO] [stdout] --> src/commands.rs:214:15 [INFO] [stdout] | [INFO] [stdout] 214 | impl const Command for RRegister { [INFO] [stdout] | ^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Command` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 24 | pub const trait Command { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Command` which is not `const` [INFO] [stdout] --> src/commands.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217 | impl const Command for WRegister { [INFO] [stdout] | ^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Command` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 24 | pub const trait Command { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Command` which is not `const` [INFO] [stdout] --> src/commands.rs:220:28 [INFO] [stdout] | [INFO] [stdout] 220 | impl const Command for RRxPayload { [INFO] [stdout] | ^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Command` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 24 | pub const trait Command { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Command` which is not `const` [INFO] [stdout] --> src/commands.rs:223:28 [INFO] [stdout] | [INFO] [stdout] 223 | impl const Command for WTxPayload { [INFO] [stdout] | ^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Command` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 24 | pub const trait Command { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Command` which is not `const` [INFO] [stdout] --> src/commands.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 226 | impl const Command for FlushTx { [INFO] [stdout] | ^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Command` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 24 | pub const trait Command { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Command` which is not `const` [INFO] [stdout] --> src/commands.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | impl const Command for FlushRx { [INFO] [stdout] | ^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Command` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 24 | pub const trait Command { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Command` which is not `const` [INFO] [stdout] --> src/commands.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | impl const Command for ReuseTxPl { [INFO] [stdout] | ^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Command` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 24 | pub const trait Command { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Command` which is not `const` [INFO] [stdout] --> src/commands.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 235 | impl const Command for RRxPlWid { [INFO] [stdout] | ^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Command` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 24 | pub const trait Command { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Command` which is not `const` [INFO] [stdout] --> src/commands.rs:238:28 [INFO] [stdout] | [INFO] [stdout] 238 | impl const Command for WAckPayload { [INFO] [stdout] | ^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Command` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 24 | pub const trait Command { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Command` which is not `const` [INFO] [stdout] --> src/commands.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 241 | impl const Command for WTxPayloadNoack { [INFO] [stdout] | ^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Command` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 24 | pub const trait Command { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Command` which is not `const` [INFO] [stdout] --> src/commands.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 244 | impl const Command for Nop { [INFO] [stdout] | ^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Command` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 24 | pub const trait Command { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `const` can only be applied to `const` traits [INFO] [stdout] --> src/commands.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | impl RRegister { [INFO] [stdout] | ^^^^^ can't be applied to `Register` [INFO] [stdout] | [INFO] [stdout] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/registers.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `const` can only be applied to `const` traits [INFO] [stdout] --> src/commands.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | impl WRegister { [INFO] [stdout] | ^^^^^ can't be applied to `Register` [INFO] [stdout] | [INFO] [stdout] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/registers.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `const` can only be applied to `const` traits [INFO] [stdout] --> src/commands.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | impl RRegister { [INFO] [stdout] | ^^^^^ can't be applied to `Register` [INFO] [stdout] | [INFO] [stdout] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/registers.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `const` can only be applied to `const` traits [INFO] [stdout] --> src/commands.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | impl WRegister { [INFO] [stdout] | ^^^^^ can't be applied to `Register` [INFO] [stdout] | [INFO] [stdout] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/registers.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `EnumField` which is not `const` [INFO] [stdout] --> src/fields.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl const EnumField for Crco { [INFO] [stdout] | ^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `EnumField` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `EnumField` which is not `const` [INFO] [stdout] --> src/fields.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl const EnumField for AddressWidth { [INFO] [stdout] | ^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `EnumField` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `EnumField` which is not `const` [INFO] [stdout] --> src/fields.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl const EnumField for AutoRetransmitDelay { [INFO] [stdout] | ^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `EnumField` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `EnumField` which is not `const` [INFO] [stdout] --> src/fields.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl const EnumField for RfDrHigh { [INFO] [stdout] | ^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `EnumField` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `EnumField` which is not `const` [INFO] [stdout] --> src/fields.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl const EnumField for RfPower { [INFO] [stdout] | ^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `EnumField` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `EnumField` which is not `const` [INFO] [stdout] --> src/fields.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | impl const EnumField for RxPipeNo { [INFO] [stdout] | ^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `EnumField` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | impl const Register for Config { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:243:12 [INFO] [stdout] | [INFO] [stdout] 243 | impl const Register for EnAa { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:305:12 [INFO] [stdout] | [INFO] [stdout] 305 | impl const Register for EnRxaddr { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 347 | impl const Register for SetupAw { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:413:12 [INFO] [stdout] | [INFO] [stdout] 413 | impl const Register for SetupRetr { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:452:12 [INFO] [stdout] | [INFO] [stdout] 452 | impl const Register for RfCh { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:555:12 [INFO] [stdout] | [INFO] [stdout] 555 | impl const Register for RfSetup { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:642:12 [INFO] [stdout] | [INFO] [stdout] 642 | impl const Register for Status { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:691:12 [INFO] [stdout] | [INFO] [stdout] 691 | impl const Register for ObserveTx { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:729:12 [INFO] [stdout] | [INFO] [stdout] 729 | impl const Register for Rpd { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:950:12 [INFO] [stdout] | [INFO] [stdout] 950 | impl const Register for RxAddrP2 { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:987:12 [INFO] [stdout] | [INFO] [stdout] 987 | impl const Register for RxAddrP3 { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:1024:12 [INFO] [stdout] | [INFO] [stdout] 1024 | impl const Register for RxAddrP4 { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:1061:12 [INFO] [stdout] | [INFO] [stdout] 1061 | impl const Register for RxAddrP5 { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:1185:12 [INFO] [stdout] | [INFO] [stdout] 1185 | impl const Register for RxPwP0 { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:1224:12 [INFO] [stdout] | [INFO] [stdout] 1224 | impl const Register for RxPwP1 { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:1263:12 [INFO] [stdout] | [INFO] [stdout] 1263 | impl const Register for RxPwP2 { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:1302:12 [INFO] [stdout] | [INFO] [stdout] 1302 | impl const Register for RxPwP3 { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:1341:12 [INFO] [stdout] | [INFO] [stdout] 1341 | impl const Register for RxPwP4 { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:1380:12 [INFO] [stdout] | [INFO] [stdout] 1380 | impl const Register for RxPwP5 { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:1462:12 [INFO] [stdout] | [INFO] [stdout] 1462 | impl const Register for FifoStatus { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:1529:12 [INFO] [stdout] | [INFO] [stdout] 1529 | impl const Register for Dynpd { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:1585:12 [INFO] [stdout] | [INFO] [stdout] 1585 | impl const Register for Feature { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `EnumField` which is not `const` [INFO] [stdout] --> src/fields.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl const EnumField for Crco { [INFO] [stdout] | ^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `EnumField` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `EnumField` which is not `const` [INFO] [stdout] --> src/fields.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl const EnumField for AddressWidth { [INFO] [stdout] | ^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `EnumField` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `EnumField` which is not `const` [INFO] [stdout] --> src/fields.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl const EnumField for AutoRetransmitDelay { [INFO] [stdout] | ^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `EnumField` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `EnumField` which is not `const` [INFO] [stdout] --> src/fields.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl const EnumField for RfDrHigh { [INFO] [stdout] | ^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `EnumField` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `EnumField` which is not `const` [INFO] [stdout] --> src/fields.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl const EnumField for RfPower { [INFO] [stdout] | ^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `EnumField` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `EnumField` which is not `const` [INFO] [stdout] --> src/fields.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | impl const EnumField for RxPipeNo { [INFO] [stdout] | ^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `EnumField` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `AddressRegister` which is not `const` [INFO] [stdout] --> src/registers.rs:797:28 [INFO] [stdout] | [INFO] [stdout] 797 | impl const AddressRegister for RxAddrP0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `AddressRegister` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 49 | pub const trait AddressRegister: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `AddressRegister` which is not `const` [INFO] [stdout] --> src/registers.rs:882:28 [INFO] [stdout] | [INFO] [stdout] 882 | impl const AddressRegister for RxAddrP1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `AddressRegister` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 49 | pub const trait AddressRegister: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `AddressRegister` which is not `const` [INFO] [stdout] --> src/registers.rs:1115:28 [INFO] [stdout] | [INFO] [stdout] 1115 | impl const AddressRegister for TxAddr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `AddressRegister` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 49 | pub const trait AddressRegister: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | impl const Register for Config { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:243:12 [INFO] [stdout] | [INFO] [stdout] 243 | impl const Register for EnAa { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:305:12 [INFO] [stdout] | [INFO] [stdout] 305 | impl const Register for EnRxaddr { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 347 | impl const Register for SetupAw { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:413:12 [INFO] [stdout] | [INFO] [stdout] 413 | impl const Register for SetupRetr { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:452:12 [INFO] [stdout] | [INFO] [stdout] 452 | impl const Register for RfCh { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:555:12 [INFO] [stdout] | [INFO] [stdout] 555 | impl const Register for RfSetup { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:642:12 [INFO] [stdout] | [INFO] [stdout] 642 | impl const Register for Status { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:691:12 [INFO] [stdout] | [INFO] [stdout] 691 | impl const Register for ObserveTx { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:729:12 [INFO] [stdout] | [INFO] [stdout] 729 | impl const Register for Rpd { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:950:12 [INFO] [stdout] | [INFO] [stdout] 950 | impl const Register for RxAddrP2 { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:987:12 [INFO] [stdout] | [INFO] [stdout] 987 | impl const Register for RxAddrP3 { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:1024:12 [INFO] [stdout] | [INFO] [stdout] 1024 | impl const Register for RxAddrP4 { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:1061:12 [INFO] [stdout] | [INFO] [stdout] 1061 | impl const Register for RxAddrP5 { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:1185:12 [INFO] [stdout] | [INFO] [stdout] 1185 | impl const Register for RxPwP0 { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:1224:12 [INFO] [stdout] | [INFO] [stdout] 1224 | impl const Register for RxPwP1 { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:1263:12 [INFO] [stdout] | [INFO] [stdout] 1263 | impl const Register for RxPwP2 { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:1302:12 [INFO] [stdout] | [INFO] [stdout] 1302 | impl const Register for RxPwP3 { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:1341:12 [INFO] [stdout] | [INFO] [stdout] 1341 | impl const Register for RxPwP4 { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:1380:12 [INFO] [stdout] | [INFO] [stdout] 1380 | impl const Register for RxPwP5 { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:1462:12 [INFO] [stdout] | [INFO] [stdout] 1462 | impl const Register for FifoStatus { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:1529:12 [INFO] [stdout] | [INFO] [stdout] 1529 | impl const Register for Dynpd { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Register` which is not `const` [INFO] [stdout] --> src/registers.rs:1585:12 [INFO] [stdout] | [INFO] [stdout] 1585 | impl const Register for Feature { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `Register` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `AddressRegister` which is not `const` [INFO] [stdout] --> src/registers.rs:797:28 [INFO] [stdout] | [INFO] [stdout] 797 | impl const AddressRegister for RxAddrP0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `AddressRegister` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 49 | pub const trait AddressRegister: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `AddressRegister` which is not `const` [INFO] [stdout] --> src/registers.rs:882:28 [INFO] [stdout] | [INFO] [stdout] 882 | impl const AddressRegister for RxAddrP1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `AddressRegister` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 49 | pub const trait AddressRegister: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `AddressRegister` which is not `const` [INFO] [stdout] --> src/registers.rs:1115:28 [INFO] [stdout] | [INFO] [stdout] 1115 | impl const AddressRegister for TxAddr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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] help: mark `AddressRegister` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 49 | pub const trait AddressRegister: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as registers::AddressRegister<5>>::new` in constants [INFO] [stdout] --> src/commands.rs:463:13 [INFO] [stdout] | [INFO] [stdout] 463 | registers::RxAddrP0::<5>::new().with_rx_addr_p0(0x8106310AC0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: associated function `new` is not const because trait `AddressRegister` is not const [INFO] [stdout] --> src/registers.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub trait AddressRegister: Copy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 53 | fn new() -> Self; [INFO] [stdout] | ----------------- this associated function is not const [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: consider making trait `AddressRegister` const [INFO] [stdout] --> src/registers.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub const trait AddressRegister: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as registers::AddressRegister<4>>::new` in constants [INFO] [stdout] --> src/commands.rs:471:13 [INFO] [stdout] | [INFO] [stdout] 471 | registers::RxAddrP1::<4>::new().with_rx_addr_p1(0x605F4459BF); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: associated function `new` is not const because trait `AddressRegister` is not const [INFO] [stdout] --> src/registers.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub trait AddressRegister: Copy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 53 | fn new() -> Self; [INFO] [stdout] | ----------------- this associated function is not const [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: consider making trait `AddressRegister` const [INFO] [stdout] --> src/registers.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub const trait AddressRegister: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as registers::AddressRegister<3>>::new` in constants [INFO] [stdout] --> src/commands.rs:479:13 [INFO] [stdout] | [INFO] [stdout] 479 | registers::TxAddr::<3>::new().with_tx_addr(0xFF32C8ED07); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: associated function `new` is not const because trait `AddressRegister` is not const [INFO] [stdout] --> src/registers.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub trait AddressRegister: Copy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 53 | fn new() -> Self; [INFO] [stdout] | ----------------- this associated function is not const [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: consider making trait `AddressRegister` const [INFO] [stdout] --> src/registers.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub const trait AddressRegister: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::into_bits` in constant functions [INFO] [stdout] --> src/commands.rs:310:31 [INFO] [stdout] | [INFO] [stdout] 310 | [Self::word(), self.0.into_bits()] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: method `into_bits` is not const because trait `Register` is not const [INFO] [stdout] --> src/registers.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait Register: Copy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 41 | fn into_bits(self) -> u8; [INFO] [stdout] | ------------------------- this method is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: consider making trait `Register` const [INFO] [stdout] --> src/registers.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as AddressRegister>::into_bytes` in constant functions [INFO] [stdout] --> src/commands.rs:336:47 [INFO] [stdout] | [INFO] [stdout] 336 | concat_word_addr(Self::word(), self.0.into_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: method `into_bytes` is not const because trait `AddressRegister` is not const [INFO] [stdout] --> src/registers.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub trait AddressRegister: Copy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 59 | fn into_bytes(self) -> [u8; N]; [INFO] [stdout] | ------------------------------- this method is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: consider making trait `AddressRegister` const [INFO] [stdout] --> src/registers.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub const trait AddressRegister: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as AddressRegister>::into_bytes` in constant functions [INFO] [stdout] --> src/commands.rs:348:47 [INFO] [stdout] | [INFO] [stdout] 348 | concat_word_addr(Self::word(), self.0.into_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: method `into_bytes` is not const because trait `AddressRegister` is not const [INFO] [stdout] --> src/registers.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub trait AddressRegister: Copy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 59 | fn into_bytes(self) -> [u8; N]; [INFO] [stdout] | ------------------------------- this method is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: consider making trait `AddressRegister` const [INFO] [stdout] --> src/registers.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub const trait AddressRegister: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as AddressRegister>::into_bytes` in constant functions [INFO] [stdout] --> src/commands.rs:360:47 [INFO] [stdout] | [INFO] [stdout] 360 | concat_word_addr(Self::word(), self.0.into_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: method `into_bytes` is not const because trait `AddressRegister` is not const [INFO] [stdout] --> src/registers.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub trait AddressRegister: Copy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 59 | fn into_bytes(self) -> [u8; N]; [INFO] [stdout] | ------------------------------- this method is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: consider making trait `AddressRegister` const [INFO] [stdout] --> src/registers.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub const trait AddressRegister: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::from_bits` in constant functions [INFO] [stdout] --> src/registers.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | #[bitfield(u8, order = Msb)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: associated function `from_bits` is not const because trait `EnumField` is not const [INFO] [stdout] --> src/fields.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait EnumField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 9 | fn from_bits(bits: u8) -> Self; [INFO] [stdout] | ------------------------------- this associated function is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the attribute macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `EnumField` const [INFO] [stdout] --> src/fields.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::into_bits` in constant functions [INFO] [stdout] --> src/registers.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | #[bitfield(u8, order = Msb)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: method `into_bits` is not const because trait `EnumField` is not const [INFO] [stdout] --> src/fields.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait EnumField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] 6 | /// Convert the field to its bits representation. [INFO] [stdout] 7 | fn into_bits(self) -> u8; [INFO] [stdout] | ------------------------- this method is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the attribute macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `EnumField` const [INFO] [stdout] --> src/fields.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::into_bits` in constant functions [INFO] [stdout] --> src/commands.rs:310:31 [INFO] [stdout] | [INFO] [stdout] 310 | [Self::word(), self.0.into_bits()] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: method `into_bits` is not const because trait `Register` is not const [INFO] [stdout] --> src/registers.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait Register: Copy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 41 | fn into_bits(self) -> u8; [INFO] [stdout] | ------------------------- this method is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: consider making trait `Register` const [INFO] [stdout] --> src/registers.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub const trait Register: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as registers::AddressRegister>::into_bytes` in constant functions [INFO] [stdout] --> src/commands.rs:336:47 [INFO] [stdout] | [INFO] [stdout] 336 | concat_word_addr(Self::word(), self.0.into_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: method `into_bytes` is not const because trait `AddressRegister` is not const [INFO] [stdout] --> src/registers.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub trait AddressRegister: Copy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 59 | fn into_bytes(self) -> [u8; N]; [INFO] [stdout] | ------------------------------- this method is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: consider making trait `AddressRegister` const [INFO] [stdout] --> src/registers.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub const trait AddressRegister: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as registers::AddressRegister>::into_bytes` in constant functions [INFO] [stdout] --> src/commands.rs:348:47 [INFO] [stdout] | [INFO] [stdout] 348 | concat_word_addr(Self::word(), self.0.into_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: method `into_bytes` is not const because trait `AddressRegister` is not const [INFO] [stdout] --> src/registers.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub trait AddressRegister: Copy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 59 | fn into_bytes(self) -> [u8; N]; [INFO] [stdout] | ------------------------------- this method is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: consider making trait `AddressRegister` const [INFO] [stdout] --> src/registers.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub const trait AddressRegister: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as registers::AddressRegister>::into_bytes` in constant functions [INFO] [stdout] --> src/commands.rs:360:47 [INFO] [stdout] | [INFO] [stdout] 360 | concat_word_addr(Self::word(), self.0.into_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: method `into_bytes` is not const because trait `AddressRegister` is not const [INFO] [stdout] --> src/registers.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub trait AddressRegister: Copy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 59 | fn into_bytes(self) -> [u8; N]; [INFO] [stdout] | ------------------------------- this method is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: consider making trait `AddressRegister` const [INFO] [stdout] --> src/registers.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub const trait AddressRegister: Copy { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::from_bits` in constant functions [INFO] [stdout] --> src/registers.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | #[bitfield(u8, order = Msb)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: associated function `from_bits` is not const because trait `EnumField` is not const [INFO] [stdout] --> src/fields.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait EnumField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 9 | fn from_bits(bits: u8) -> Self; [INFO] [stdout] | ------------------------------- this associated function is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the attribute macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `EnumField` const [INFO] [stdout] --> src/fields.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::into_bits` in constant functions [INFO] [stdout] --> src/registers.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | #[bitfield(u8, order = Msb)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: method `into_bits` is not const because trait `EnumField` is not const [INFO] [stdout] --> src/fields.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait EnumField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] 6 | /// Convert the field to its bits representation. [INFO] [stdout] 7 | fn into_bits(self) -> u8; [INFO] [stdout] | ------------------------- this method is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the attribute macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `EnumField` const [INFO] [stdout] --> src/fields.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::from_bits` in constant functions [INFO] [stdout] --> src/registers.rs:392:1 [INFO] [stdout] | [INFO] [stdout] 392 | #[bitfield(u8, order = Msb)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: associated function `from_bits` is not const because trait `EnumField` is not const [INFO] [stdout] --> src/fields.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait EnumField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 9 | fn from_bits(bits: u8) -> Self; [INFO] [stdout] | ------------------------------- this associated function is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the attribute macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `EnumField` const [INFO] [stdout] --> src/fields.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::from_bits` in constant functions [INFO] [stdout] --> src/registers.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | #[bitfield(u8, order = Msb)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: associated function `from_bits` is not const because trait `EnumField` is not const [INFO] [stdout] --> src/fields.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait EnumField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 9 | fn from_bits(bits: u8) -> Self; [INFO] [stdout] | ------------------------------- this associated function is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the attribute macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `EnumField` const [INFO] [stdout] --> src/fields.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::into_bits` in constant functions [INFO] [stdout] --> src/registers.rs:392:1 [INFO] [stdout] | [INFO] [stdout] 392 | #[bitfield(u8, order = Msb)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: method `into_bits` is not const because trait `EnumField` is not const [INFO] [stdout] --> src/fields.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait EnumField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] 6 | /// Convert the field to its bits representation. [INFO] [stdout] 7 | fn into_bits(self) -> u8; [INFO] [stdout] | ------------------------- this method is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the attribute macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `EnumField` const [INFO] [stdout] --> src/fields.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::into_bits` in constant functions [INFO] [stdout] --> src/registers.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | #[bitfield(u8, order = Msb)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: method `into_bits` is not const because trait `EnumField` is not const [INFO] [stdout] --> src/fields.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait EnumField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] 6 | /// Convert the field to its bits representation. [INFO] [stdout] 7 | fn into_bits(self) -> u8; [INFO] [stdout] | ------------------------- this method is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the attribute macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `EnumField` const [INFO] [stdout] --> src/fields.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::from_bits` in constant functions [INFO] [stdout] --> src/registers.rs:513:1 [INFO] [stdout] | [INFO] [stdout] 513 | #[bitfield(u8, order = Msb)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: associated function `from_bits` is not const because trait `EnumField` is not const [INFO] [stdout] --> src/fields.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait EnumField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 9 | fn from_bits(bits: u8) -> Self; [INFO] [stdout] | ------------------------------- this associated function is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the attribute macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `EnumField` const [INFO] [stdout] --> src/fields.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::into_bits` in constant functions [INFO] [stdout] --> src/registers.rs:513:1 [INFO] [stdout] | [INFO] [stdout] 513 | #[bitfield(u8, order = Msb)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: method `into_bits` is not const because trait `EnumField` is not const [INFO] [stdout] --> src/fields.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait EnumField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] 6 | /// Convert the field to its bits representation. [INFO] [stdout] 7 | fn into_bits(self) -> u8; [INFO] [stdout] | ------------------------- this method is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the attribute macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `EnumField` const [INFO] [stdout] --> src/fields.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::from_bits` in constant functions [INFO] [stdout] --> src/registers.rs:513:1 [INFO] [stdout] | [INFO] [stdout] 513 | #[bitfield(u8, order = Msb)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: associated function `from_bits` is not const because trait `EnumField` is not const [INFO] [stdout] --> src/fields.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait EnumField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 9 | fn from_bits(bits: u8) -> Self; [INFO] [stdout] | ------------------------------- this associated function is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the attribute macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `EnumField` const [INFO] [stdout] --> src/fields.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::into_bits` in constant functions [INFO] [stdout] --> src/registers.rs:513:1 [INFO] [stdout] | [INFO] [stdout] 513 | #[bitfield(u8, order = Msb)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: method `into_bits` is not const because trait `EnumField` is not const [INFO] [stdout] --> src/fields.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait EnumField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] 6 | /// Convert the field to its bits representation. [INFO] [stdout] 7 | fn into_bits(self) -> u8; [INFO] [stdout] | ------------------------- this method is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the attribute macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `EnumField` const [INFO] [stdout] --> src/fields.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::from_bits` in constant functions [INFO] [stdout] --> src/registers.rs:611:1 [INFO] [stdout] | [INFO] [stdout] 611 | #[bitfield(u8, order = Msb)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: associated function `from_bits` is not const because trait `EnumField` is not const [INFO] [stdout] --> src/fields.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait EnumField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 9 | fn from_bits(bits: u8) -> Self; [INFO] [stdout] | ------------------------------- this associated function is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the attribute macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `EnumField` const [INFO] [stdout] --> src/fields.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::from_bits` in constant functions [INFO] [stdout] --> src/registers.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | #[bitfield(u8, order = Msb)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: associated function `from_bits` is not const because trait `EnumField` is not const [INFO] [stdout] --> src/fields.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait EnumField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 9 | fn from_bits(bits: u8) -> Self; [INFO] [stdout] | ------------------------------- this associated function is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the attribute macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `EnumField` const [INFO] [stdout] --> src/fields.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::into_bits` in constant functions [INFO] [stdout] --> src/registers.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | #[bitfield(u8, order = Msb)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: method `into_bits` is not const because trait `EnumField` is not const [INFO] [stdout] --> src/fields.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait EnumField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] 6 | /// Convert the field to its bits representation. [INFO] [stdout] 7 | fn into_bits(self) -> u8; [INFO] [stdout] | ------------------------- this method is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the attribute macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `EnumField` const [INFO] [stdout] --> src/fields.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::from_bits` in constant functions [INFO] [stdout] --> src/registers.rs:392:1 [INFO] [stdout] | [INFO] [stdout] 392 | #[bitfield(u8, order = Msb)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: associated function `from_bits` is not const because trait `EnumField` is not const [INFO] [stdout] --> src/fields.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait EnumField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 9 | fn from_bits(bits: u8) -> Self; [INFO] [stdout] | ------------------------------- this associated function is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the attribute macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `EnumField` const [INFO] [stdout] --> src/fields.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::into_bits` in constant functions [INFO] [stdout] --> src/registers.rs:392:1 [INFO] [stdout] | [INFO] [stdout] 392 | #[bitfield(u8, order = Msb)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: method `into_bits` is not const because trait `EnumField` is not const [INFO] [stdout] --> src/fields.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait EnumField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] 6 | /// Convert the field to its bits representation. [INFO] [stdout] 7 | fn into_bits(self) -> u8; [INFO] [stdout] | ------------------------- this method is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the attribute macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `EnumField` const [INFO] [stdout] --> src/fields.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::from_bits` in constant functions [INFO] [stdout] --> src/registers.rs:513:1 [INFO] [stdout] | [INFO] [stdout] 513 | #[bitfield(u8, order = Msb)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: associated function `from_bits` is not const because trait `EnumField` is not const [INFO] [stdout] --> src/fields.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait EnumField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 9 | fn from_bits(bits: u8) -> Self; [INFO] [stdout] | ------------------------------- this associated function is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the attribute macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `EnumField` const [INFO] [stdout] --> src/fields.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::into_bits` in constant functions [INFO] [stdout] --> src/registers.rs:513:1 [INFO] [stdout] | [INFO] [stdout] 513 | #[bitfield(u8, order = Msb)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: method `into_bits` is not const because trait `EnumField` is not const [INFO] [stdout] --> src/fields.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait EnumField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] 6 | /// Convert the field to its bits representation. [INFO] [stdout] 7 | fn into_bits(self) -> u8; [INFO] [stdout] | ------------------------- this method is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the attribute macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `EnumField` const [INFO] [stdout] --> src/fields.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::from_bits` in constant functions [INFO] [stdout] --> src/registers.rs:513:1 [INFO] [stdout] | [INFO] [stdout] 513 | #[bitfield(u8, order = Msb)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: associated function `from_bits` is not const because trait `EnumField` is not const [INFO] [stdout] --> src/fields.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait EnumField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 9 | fn from_bits(bits: u8) -> Self; [INFO] [stdout] | ------------------------------- this associated function is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the attribute macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `EnumField` const [INFO] [stdout] --> src/fields.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::into_bits` in constant functions [INFO] [stdout] --> src/registers.rs:513:1 [INFO] [stdout] | [INFO] [stdout] 513 | #[bitfield(u8, order = Msb)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: method `into_bits` is not const because trait `EnumField` is not const [INFO] [stdout] --> src/fields.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait EnumField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] 6 | /// Convert the field to its bits representation. [INFO] [stdout] 7 | fn into_bits(self) -> u8; [INFO] [stdout] | ------------------------- this method is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the attribute macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `EnumField` const [INFO] [stdout] --> src/fields.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::from_bits` in constant functions [INFO] [stdout] --> src/registers.rs:611:1 [INFO] [stdout] | [INFO] [stdout] 611 | #[bitfield(u8, order = Msb)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: associated function `from_bits` is not const because trait `EnumField` is not const [INFO] [stdout] --> src/fields.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait EnumField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 9 | fn from_bits(bits: u8) -> Self; [INFO] [stdout] | ------------------------------- this associated function is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the attribute macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider making trait `EnumField` const [INFO] [stdout] --> src/fields.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub const trait EnumField { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nrf24l01-commands` (lib) due to 64 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nrf24l01-commands` (lib test) due to 67 previous errors [INFO] running `Command { std: "docker" "inspect" "2f2d57b1e6f193c78bee57dd92328450e062b8b02b81049cb6dbfd3c101fc3d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f2d57b1e6f193c78bee57dd92328450e062b8b02b81049cb6dbfd3c101fc3d7", kill_on_drop: false }` [INFO] [stdout] 2f2d57b1e6f193c78bee57dd92328450e062b8b02b81049cb6dbfd3c101fc3d7