[INFO] fetching crate xous-riscv 0.5.6... [INFO] testing xous-riscv-0.5.6 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate xous-riscv 0.5.6 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate xous-riscv 0.5.6 [INFO] finished tweaking crates.io crate xous-riscv 0.5.6 [INFO] tweaked toml for crates.io crate xous-riscv 0.5.6 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate xous-riscv 0.5.6 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] [stderr] Adding bare-metal v0.2.4 (available: v0.2.5) [INFO] [stderr] Adding bit_field v0.9.0 (available: v0.10.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bare-metal v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d61a7809db19dc028cd121f6f5e89bdca0006ae6d0333eb6c87a59a6c087a65 [INFO] running `Command { std: "docker" "start" "-a" "9d61a7809db19dc028cd121f6f5e89bdca0006ae6d0333eb6c87a59a6c087a65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d61a7809db19dc028cd121f6f5e89bdca0006ae6d0333eb6c87a59a6c087a65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d61a7809db19dc028cd121f6f5e89bdca0006ae6d0333eb6c87a59a6c087a65", kill_on_drop: false }` [INFO] [stdout] 9d61a7809db19dc028cd121f6f5e89bdca0006ae6d0333eb6c87a59a6c087a65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0484a2d43b989aafc2e32e9ea33568b558029347936f299e2e352265da94430 [INFO] running `Command { std: "docker" "start" "-a" "f0484a2d43b989aafc2e32e9ea33568b558029347936f299e2e352265da94430", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling bare-metal v0.2.4 [INFO] [stderr] Compiling xous-riscv v0.5.6 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bit_field v0.9.0 [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/asm.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | / instruction!( [INFO] [stdout] 30 | | /// `EBREAK` instruction wrapper [INFO] [stdout] 31 | | /// [INFO] [stdout] 32 | | /// Generates a breakpoint exception. [INFO] [stdout] 33 | | , ebreak, "ebreak", __ebreak); [INFO] [stdout] | |_________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unexpected_cfgs)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in the macro `instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/asm.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | / instruction!( [INFO] [stdout] 30 | | /// `EBREAK` instruction wrapper [INFO] [stdout] 31 | | /// [INFO] [stdout] 32 | | /// Generates a breakpoint exception. [INFO] [stdout] 33 | | , ebreak, "ebreak", __ebreak); [INFO] [stdout] | |_________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/asm.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | / instruction!( [INFO] [stdout] 30 | | /// `EBREAK` instruction wrapper [INFO] [stdout] 31 | | /// [INFO] [stdout] 32 | | /// Generates a breakpoint exception. [INFO] [stdout] 33 | | , ebreak, "ebreak", __ebreak); [INFO] [stdout] | |_________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/asm.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | / instruction!( [INFO] [stdout] 35 | | /// `WFI` instruction wrapper [INFO] [stdout] 36 | | /// [INFO] [stdout] 37 | | /// Provides a hint to the implementation that the current hart can be stalled until an interrupt might need servicing. [INFO] [stdout] 38 | | /// The WFI instruction is just a hint, and a legal implementation is to implement WFI as a NOP. [INFO] [stdout] 39 | | , wfi, "wfi", __wfi); [INFO] [stdout] | |________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/asm.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | / instruction!( [INFO] [stdout] 35 | | /// `WFI` instruction wrapper [INFO] [stdout] 36 | | /// [INFO] [stdout] 37 | | /// Provides a hint to the implementation that the current hart can be stalled until an interrupt might need servicing. [INFO] [stdout] 38 | | /// The WFI instruction is just a hint, and a legal implementation is to implement WFI as a NOP. [INFO] [stdout] 39 | | , wfi, "wfi", __wfi); [INFO] [stdout] | |________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/asm.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | / instruction!( [INFO] [stdout] 35 | | /// `WFI` instruction wrapper [INFO] [stdout] 36 | | /// [INFO] [stdout] 37 | | /// Provides a hint to the implementation that the current hart can be stalled until an interrupt might need servicing. [INFO] [stdout] 38 | | /// The WFI instruction is just a hint, and a legal implementation is to implement WFI as a NOP. [INFO] [stdout] 39 | | , wfi, "wfi", __wfi); [INFO] [stdout] | |________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/asm.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | / instruction!( [INFO] [stdout] 41 | | /// `SFENCE.VMA` instruction wrapper (all address spaces and page table levels) [INFO] [stdout] 42 | | /// [INFO] [stdout] 43 | | /// Synchronizes updates to in-memory memory-management data structures with current execution. [INFO] [stdout] ... | [INFO] [stdout] 47 | | /// `SFENCE.VMA` are ordered before all implicit references subsequent to the `SFENCE.VMA`. [INFO] [stdout] 48 | | , sfence_vma_all, "sfence.vma", __sfence_vma_all); [INFO] [stdout] | |_____________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/asm.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | / instruction!( [INFO] [stdout] 41 | | /// `SFENCE.VMA` instruction wrapper (all address spaces and page table levels) [INFO] [stdout] 42 | | /// [INFO] [stdout] 43 | | /// Synchronizes updates to in-memory memory-management data structures with current execution. [INFO] [stdout] ... | [INFO] [stdout] 47 | | /// `SFENCE.VMA` are ordered before all implicit references subsequent to the `SFENCE.VMA`. [INFO] [stdout] 48 | | , sfence_vma_all, "sfence.vma", __sfence_vma_all); [INFO] [stdout] | |_____________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/asm.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | / instruction!( [INFO] [stdout] 41 | | /// `SFENCE.VMA` instruction wrapper (all address spaces and page table levels) [INFO] [stdout] 42 | | /// [INFO] [stdout] 43 | | /// Synchronizes updates to in-memory memory-management data structures with current execution. [INFO] [stdout] ... | [INFO] [stdout] 47 | | /// `SFENCE.VMA` are ordered before all implicit references subsequent to the `SFENCE.VMA`. [INFO] [stdout] 48 | | , sfence_vma_all, "sfence.vma", __sfence_vma_all); [INFO] [stdout] | |_____________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/asm.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/asm.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/asm.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/interrupt.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(riscv)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/interrupt.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/interrupt.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(riscv)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/interrupt.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/ustatus.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | read_csr_as!(Ustatus, 0x000, __read_ustatus); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/ustatus.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | read_csr_as!(Ustatus, 0x000, __read_ustatus); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/ustatus.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | read_csr_as!(Ustatus, 0x000, __read_ustatus); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/ustatus.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | write_csr!(0x000, __write_ustatus); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/ustatus.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | write_csr!(0x000, __write_ustatus); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/ustatus.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | write_csr!(0x000, __write_ustatus); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:178:27 [INFO] [stdout] | [INFO] [stdout] 178 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/ustatus.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | set!(0x000, __set_ustatus); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/ustatus.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | set!(0x000, __set_ustatus); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:190:27 [INFO] [stdout] | [INFO] [stdout] 190 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/ustatus.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | set!(0x000, __set_ustatus); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:204:27 [INFO] [stdout] | [INFO] [stdout] 204 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/ustatus.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | clear!(0x000, __clear_ustatus); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `clear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:207:27 [INFO] [stdout] | [INFO] [stdout] 207 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/ustatus.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | clear!(0x000, __clear_ustatus); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `clear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:216:27 [INFO] [stdout] | [INFO] [stdout] 216 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/ustatus.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | clear!(0x000, __clear_ustatus); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `clear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/uie.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | read_csr_as!(Uie, 0x004, __read_uie); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/uie.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | read_csr_as!(Uie, 0x004, __read_uie); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/uie.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | read_csr_as!(Uie, 0x004, __read_uie); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:178:27 [INFO] [stdout] | [INFO] [stdout] 178 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/uie.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | set!(0x004, __set_uie); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/uie.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | set!(0x004, __set_uie); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:190:27 [INFO] [stdout] | [INFO] [stdout] 190 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/uie.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | set!(0x004, __set_uie); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:204:27 [INFO] [stdout] | [INFO] [stdout] 204 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/uie.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | clear!(0x004, __clear_uie); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `clear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:207:27 [INFO] [stdout] | [INFO] [stdout] 207 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/uie.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | clear!(0x004, __clear_uie); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `clear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:216:27 [INFO] [stdout] | [INFO] [stdout] 216 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/uie.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | clear!(0x004, __clear_uie); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `clear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/utvec.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | read_csr_as!(Utvec, 0x005, __read_utvec); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/utvec.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | read_csr_as!(Utvec, 0x005, __read_utvec); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/utvec.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | read_csr_as!(Utvec, 0x005, __read_utvec); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/utvec.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | write_csr!(0x005, __write_utvec); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/utvec.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | write_csr!(0x005, __write_utvec); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/utvec.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | write_csr!(0x005, __write_utvec); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/uscratch.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0x040, __read_uscratch); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/uscratch.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0x040, __read_uscratch); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/uscratch.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0x040, __read_uscratch); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/uscratch.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | write_csr_as_usize!(0x040, __write_uscratch); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `write_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/uscratch.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | write_csr_as_usize!(0x040, __write_uscratch); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `write_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/uscratch.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | write_csr_as_usize!(0x040, __write_uscratch); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `write_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/uepc.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0x041, __read_uepc); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/uepc.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0x041, __read_uepc); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/uepc.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0x041, __read_uepc); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/uepc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | write_csr_as_usize!(0x041, __write_uepc); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `write_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/uepc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | write_csr_as_usize!(0x041, __write_uepc); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `write_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/uepc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | write_csr_as_usize!(0x041, __write_uepc); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `write_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/ucause.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | read_csr_as!(Ucause, 0x042, __read_ucause); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/ucause.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | read_csr_as!(Ucause, 0x042, __read_ucause); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/ucause.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | read_csr_as!(Ucause, 0x042, __read_ucause); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/utval.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0x043, __read_utval); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/utval.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0x043, __read_utval); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/utval.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0x043, __read_utval); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/uip.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | read_csr_as!(Uip, 0x044, __read_uip); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/uip.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | read_csr_as!(Uip, 0x044, __read_uip); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/uip.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | read_csr_as!(Uip, 0x044, __read_uip); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/fcsr.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | read_csr!(0x003, __read_fcsr); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/fcsr.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | read_csr!(0x003, __read_fcsr); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/fcsr.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | read_csr!(0x003, __read_fcsr); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/fcsr.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | write_csr!(0x003, __write_fcsr); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/fcsr.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | write_csr!(0x003, __write_fcsr); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/fcsr.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | write_csr!(0x003, __write_fcsr); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:204:27 [INFO] [stdout] | [INFO] [stdout] 204 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/fcsr.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | clear!(0x003, __clear_fcsr); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `clear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:207:27 [INFO] [stdout] | [INFO] [stdout] 207 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/fcsr.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | clear!(0x003, __clear_fcsr); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `clear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:216:27 [INFO] [stdout] | [INFO] [stdout] 216 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/fcsr.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | clear!(0x003, __clear_fcsr); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `clear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/time.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0xC01, __read_time); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/time.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0xC01, __read_time); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/time.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0xC01, __read_time); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/time.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | read_composite_csr!(super::timeh::read(), read()); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/time.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | read_composite_csr!(super::timeh::read(), read()); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | reg!(0xC03, hpmcounter3, hpmcounter3h, __read_hpmcounter3, __write_hpmcounter3); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | reg!(0xC03, hpmcounter3, hpmcounter3h, __read_hpmcounter3, __write_hpmcounter3); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | reg!(0xC03, hpmcounter3, hpmcounter3h, __read_hpmcounter3, __write_hpmcounter3); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | reg!(0xC03, hpmcounter3, hpmcounter3h, __read_hpmcounter3, __write_hpmcounter3); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | reg!(0xC03, hpmcounter3, hpmcounter3h, __read_hpmcounter3, __write_hpmcounter3); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | reg!(0xC04, hpmcounter4, hpmcounter4h, __read_hpmcounter4, __write_hpmcounter4); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | reg!(0xC04, hpmcounter4, hpmcounter4h, __read_hpmcounter4, __write_hpmcounter4); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | reg!(0xC04, hpmcounter4, hpmcounter4h, __read_hpmcounter4, __write_hpmcounter4); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | reg!(0xC04, hpmcounter4, hpmcounter4h, __read_hpmcounter4, __write_hpmcounter4); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | reg!(0xC04, hpmcounter4, hpmcounter4h, __read_hpmcounter4, __write_hpmcounter4); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | reg!(0xC05, hpmcounter5, hpmcounter5h, __read_hpmcounter5, __write_hpmcounter5); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | reg!(0xC05, hpmcounter5, hpmcounter5h, __read_hpmcounter5, __write_hpmcounter5); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | reg!(0xC05, hpmcounter5, hpmcounter5h, __read_hpmcounter5, __write_hpmcounter5); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | reg!(0xC05, hpmcounter5, hpmcounter5h, __read_hpmcounter5, __write_hpmcounter5); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | reg!(0xC05, hpmcounter5, hpmcounter5h, __read_hpmcounter5, __write_hpmcounter5); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | reg!(0xC06, hpmcounter6, hpmcounter6h, __read_hpmcounter6, __write_hpmcounter6); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | reg!(0xC06, hpmcounter6, hpmcounter6h, __read_hpmcounter6, __write_hpmcounter6); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | reg!(0xC06, hpmcounter6, hpmcounter6h, __read_hpmcounter6, __write_hpmcounter6); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | reg!(0xC06, hpmcounter6, hpmcounter6h, __read_hpmcounter6, __write_hpmcounter6); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | reg!(0xC06, hpmcounter6, hpmcounter6h, __read_hpmcounter6, __write_hpmcounter6); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | reg!(0xC07, hpmcounter7, hpmcounter7h, __read_hpmcounter7, __write_hpmcounter7); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | reg!(0xC07, hpmcounter7, hpmcounter7h, __read_hpmcounter7, __write_hpmcounter7); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | reg!(0xC07, hpmcounter7, hpmcounter7h, __read_hpmcounter7, __write_hpmcounter7); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | reg!(0xC07, hpmcounter7, hpmcounter7h, __read_hpmcounter7, __write_hpmcounter7); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | reg!(0xC07, hpmcounter7, hpmcounter7h, __read_hpmcounter7, __write_hpmcounter7); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | reg!(0xC08, hpmcounter8, hpmcounter8h, __read_hpmcounter8, __write_hpmcounter8); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | reg!(0xC08, hpmcounter8, hpmcounter8h, __read_hpmcounter8, __write_hpmcounter8); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | reg!(0xC08, hpmcounter8, hpmcounter8h, __read_hpmcounter8, __write_hpmcounter8); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | reg!(0xC08, hpmcounter8, hpmcounter8h, __read_hpmcounter8, __write_hpmcounter8); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | reg!(0xC08, hpmcounter8, hpmcounter8h, __read_hpmcounter8, __write_hpmcounter8); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | reg!(0xC09, hpmcounter9, hpmcounter9h, __read_hpmcounter9, __write_hpmcounter9); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | reg!(0xC09, hpmcounter9, hpmcounter9h, __read_hpmcounter9, __write_hpmcounter9); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | reg!(0xC09, hpmcounter9, hpmcounter9h, __read_hpmcounter9, __write_hpmcounter9); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | reg!(0xC09, hpmcounter9, hpmcounter9h, __read_hpmcounter9, __write_hpmcounter9); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | reg!(0xC09, hpmcounter9, hpmcounter9h, __read_hpmcounter9, __write_hpmcounter9); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | reg!(0xC0A, hpmcounter10, hpmcounter10h, __read_hpmcounter10, __write_hpmcounter10); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | reg!(0xC0A, hpmcounter10, hpmcounter10h, __read_hpmcounter10, __write_hpmcounter10); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | reg!(0xC0A, hpmcounter10, hpmcounter10h, __read_hpmcounter10, __write_hpmcounter10); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | reg!(0xC0A, hpmcounter10, hpmcounter10h, __read_hpmcounter10, __write_hpmcounter10); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | reg!(0xC0A, hpmcounter10, hpmcounter10h, __read_hpmcounter10, __write_hpmcounter10); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | reg!(0xC0B, hpmcounter11, hpmcounter11h, __read_hpmcounter11, __write_hpmcounter11); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | reg!(0xC0B, hpmcounter11, hpmcounter11h, __read_hpmcounter11, __write_hpmcounter11); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | reg!(0xC0B, hpmcounter11, hpmcounter11h, __read_hpmcounter11, __write_hpmcounter11); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | reg!(0xC0B, hpmcounter11, hpmcounter11h, __read_hpmcounter11, __write_hpmcounter11); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | reg!(0xC0B, hpmcounter11, hpmcounter11h, __read_hpmcounter11, __write_hpmcounter11); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | reg!(0xC0C, hpmcounter12, hpmcounter12h, __read_hpmcounter12, __write_hpmcounter12); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | reg!(0xC0C, hpmcounter12, hpmcounter12h, __read_hpmcounter12, __write_hpmcounter12); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | reg!(0xC0C, hpmcounter12, hpmcounter12h, __read_hpmcounter12, __write_hpmcounter12); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | reg!(0xC0C, hpmcounter12, hpmcounter12h, __read_hpmcounter12, __write_hpmcounter12); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | reg!(0xC0C, hpmcounter12, hpmcounter12h, __read_hpmcounter12, __write_hpmcounter12); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | reg!(0xC0D, hpmcounter13, hpmcounter13h, __read_hpmcounter13, __write_hpmcounter13); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | reg!(0xC0D, hpmcounter13, hpmcounter13h, __read_hpmcounter13, __write_hpmcounter13); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | reg!(0xC0D, hpmcounter13, hpmcounter13h, __read_hpmcounter13, __write_hpmcounter13); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | reg!(0xC0D, hpmcounter13, hpmcounter13h, __read_hpmcounter13, __write_hpmcounter13); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | reg!(0xC0D, hpmcounter13, hpmcounter13h, __read_hpmcounter13, __write_hpmcounter13); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | reg!(0xC0E, hpmcounter14, hpmcounter14h, __read_hpmcounter14, __write_hpmcounter14); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | reg!(0xC0E, hpmcounter14, hpmcounter14h, __read_hpmcounter14, __write_hpmcounter14); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | reg!(0xC0E, hpmcounter14, hpmcounter14h, __read_hpmcounter14, __write_hpmcounter14); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | reg!(0xC0E, hpmcounter14, hpmcounter14h, __read_hpmcounter14, __write_hpmcounter14); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | reg!(0xC0E, hpmcounter14, hpmcounter14h, __read_hpmcounter14, __write_hpmcounter14); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | reg!(0xC0F, hpmcounter15, hpmcounter15h, __read_hpmcounter15, __write_hpmcounter15); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | reg!(0xC0F, hpmcounter15, hpmcounter15h, __read_hpmcounter15, __write_hpmcounter15); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | reg!(0xC0F, hpmcounter15, hpmcounter15h, __read_hpmcounter15, __write_hpmcounter15); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | reg!(0xC0F, hpmcounter15, hpmcounter15h, __read_hpmcounter15, __write_hpmcounter15); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | reg!(0xC0F, hpmcounter15, hpmcounter15h, __read_hpmcounter15, __write_hpmcounter15); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | reg!(0xC10, hpmcounter16, hpmcounter16h, __read_hpmcounter16, __write_hpmcounter16); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | reg!(0xC10, hpmcounter16, hpmcounter16h, __read_hpmcounter16, __write_hpmcounter16); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | reg!(0xC10, hpmcounter16, hpmcounter16h, __read_hpmcounter16, __write_hpmcounter16); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | reg!(0xC10, hpmcounter16, hpmcounter16h, __read_hpmcounter16, __write_hpmcounter16); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | reg!(0xC10, hpmcounter16, hpmcounter16h, __read_hpmcounter16, __write_hpmcounter16); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | reg!(0xC11, hpmcounter17, hpmcounter17h, __read_hpmcounter17, __write_hpmcounter17); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | reg!(0xC11, hpmcounter17, hpmcounter17h, __read_hpmcounter17, __write_hpmcounter17); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | reg!(0xC11, hpmcounter17, hpmcounter17h, __read_hpmcounter17, __write_hpmcounter17); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | reg!(0xC11, hpmcounter17, hpmcounter17h, __read_hpmcounter17, __write_hpmcounter17); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | reg!(0xC11, hpmcounter17, hpmcounter17h, __read_hpmcounter17, __write_hpmcounter17); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | reg!(0xC12, hpmcounter18, hpmcounter18h, __read_hpmcounter18, __write_hpmcounter18); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | reg!(0xC12, hpmcounter18, hpmcounter18h, __read_hpmcounter18, __write_hpmcounter18); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | reg!(0xC12, hpmcounter18, hpmcounter18h, __read_hpmcounter18, __write_hpmcounter18); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | reg!(0xC12, hpmcounter18, hpmcounter18h, __read_hpmcounter18, __write_hpmcounter18); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | reg!(0xC12, hpmcounter18, hpmcounter18h, __read_hpmcounter18, __write_hpmcounter18); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | reg!(0xC13, hpmcounter19, hpmcounter19h, __read_hpmcounter19, __write_hpmcounter19); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | reg!(0xC13, hpmcounter19, hpmcounter19h, __read_hpmcounter19, __write_hpmcounter19); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | reg!(0xC13, hpmcounter19, hpmcounter19h, __read_hpmcounter19, __write_hpmcounter19); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | reg!(0xC13, hpmcounter19, hpmcounter19h, __read_hpmcounter19, __write_hpmcounter19); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | reg!(0xC13, hpmcounter19, hpmcounter19h, __read_hpmcounter19, __write_hpmcounter19); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | reg!(0xC14, hpmcounter20, hpmcounter20h, __read_hpmcounter20, __write_hpmcounter20); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | reg!(0xC14, hpmcounter20, hpmcounter20h, __read_hpmcounter20, __write_hpmcounter20); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | reg!(0xC14, hpmcounter20, hpmcounter20h, __read_hpmcounter20, __write_hpmcounter20); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | reg!(0xC14, hpmcounter20, hpmcounter20h, __read_hpmcounter20, __write_hpmcounter20); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | reg!(0xC14, hpmcounter20, hpmcounter20h, __read_hpmcounter20, __write_hpmcounter20); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | reg!(0xC15, hpmcounter21, hpmcounter21h, __read_hpmcounter21, __write_hpmcounter21); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | reg!(0xC15, hpmcounter21, hpmcounter21h, __read_hpmcounter21, __write_hpmcounter21); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | reg!(0xC15, hpmcounter21, hpmcounter21h, __read_hpmcounter21, __write_hpmcounter21); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | reg!(0xC15, hpmcounter21, hpmcounter21h, __read_hpmcounter21, __write_hpmcounter21); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | reg!(0xC15, hpmcounter21, hpmcounter21h, __read_hpmcounter21, __write_hpmcounter21); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | reg!(0xC16, hpmcounter22, hpmcounter22h, __read_hpmcounter22, __write_hpmcounter22); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | reg!(0xC16, hpmcounter22, hpmcounter22h, __read_hpmcounter22, __write_hpmcounter22); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | reg!(0xC16, hpmcounter22, hpmcounter22h, __read_hpmcounter22, __write_hpmcounter22); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | reg!(0xC16, hpmcounter22, hpmcounter22h, __read_hpmcounter22, __write_hpmcounter22); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | reg!(0xC16, hpmcounter22, hpmcounter22h, __read_hpmcounter22, __write_hpmcounter22); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | reg!(0xC17, hpmcounter23, hpmcounter23h, __read_hpmcounter23, __write_hpmcounter23); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | reg!(0xC17, hpmcounter23, hpmcounter23h, __read_hpmcounter23, __write_hpmcounter23); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | reg!(0xC17, hpmcounter23, hpmcounter23h, __read_hpmcounter23, __write_hpmcounter23); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | reg!(0xC17, hpmcounter23, hpmcounter23h, __read_hpmcounter23, __write_hpmcounter23); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | reg!(0xC17, hpmcounter23, hpmcounter23h, __read_hpmcounter23, __write_hpmcounter23); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | reg!(0xC18, hpmcounter24, hpmcounter24h, __read_hpmcounter24, __write_hpmcounter24); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | reg!(0xC18, hpmcounter24, hpmcounter24h, __read_hpmcounter24, __write_hpmcounter24); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | reg!(0xC18, hpmcounter24, hpmcounter24h, __read_hpmcounter24, __write_hpmcounter24); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | reg!(0xC18, hpmcounter24, hpmcounter24h, __read_hpmcounter24, __write_hpmcounter24); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | reg!(0xC18, hpmcounter24, hpmcounter24h, __read_hpmcounter24, __write_hpmcounter24); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | reg!(0xC19, hpmcounter25, hpmcounter25h, __read_hpmcounter25, __write_hpmcounter25); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | reg!(0xC19, hpmcounter25, hpmcounter25h, __read_hpmcounter25, __write_hpmcounter25); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | reg!(0xC19, hpmcounter25, hpmcounter25h, __read_hpmcounter25, __write_hpmcounter25); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | reg!(0xC19, hpmcounter25, hpmcounter25h, __read_hpmcounter25, __write_hpmcounter25); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | reg!(0xC19, hpmcounter25, hpmcounter25h, __read_hpmcounter25, __write_hpmcounter25); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | reg!(0xC1A, hpmcounter26, hpmcounter26h, __read_hpmcounter26, __write_hpmcounter26); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | reg!(0xC1A, hpmcounter26, hpmcounter26h, __read_hpmcounter26, __write_hpmcounter26); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | reg!(0xC1A, hpmcounter26, hpmcounter26h, __read_hpmcounter26, __write_hpmcounter26); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | reg!(0xC1A, hpmcounter26, hpmcounter26h, __read_hpmcounter26, __write_hpmcounter26); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | reg!(0xC1A, hpmcounter26, hpmcounter26h, __read_hpmcounter26, __write_hpmcounter26); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | reg!(0xC1B, hpmcounter27, hpmcounter27h, __read_hpmcounter27, __write_hpmcounter27); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | reg!(0xC1B, hpmcounter27, hpmcounter27h, __read_hpmcounter27, __write_hpmcounter27); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | reg!(0xC1B, hpmcounter27, hpmcounter27h, __read_hpmcounter27, __write_hpmcounter27); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | reg!(0xC1B, hpmcounter27, hpmcounter27h, __read_hpmcounter27, __write_hpmcounter27); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | reg!(0xC1B, hpmcounter27, hpmcounter27h, __read_hpmcounter27, __write_hpmcounter27); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | reg!(0xC1C, hpmcounter28, hpmcounter28h, __read_hpmcounter28, __write_hpmcounter28); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | reg!(0xC1C, hpmcounter28, hpmcounter28h, __read_hpmcounter28, __write_hpmcounter28); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | reg!(0xC1C, hpmcounter28, hpmcounter28h, __read_hpmcounter28, __write_hpmcounter28); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | reg!(0xC1C, hpmcounter28, hpmcounter28h, __read_hpmcounter28, __write_hpmcounter28); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | reg!(0xC1C, hpmcounter28, hpmcounter28h, __read_hpmcounter28, __write_hpmcounter28); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | reg!(0xC1D, hpmcounter29, hpmcounter29h, __read_hpmcounter29, __write_hpmcounter29); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | reg!(0xC1D, hpmcounter29, hpmcounter29h, __read_hpmcounter29, __write_hpmcounter29); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | reg!(0xC1D, hpmcounter29, hpmcounter29h, __read_hpmcounter29, __write_hpmcounter29); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | reg!(0xC1D, hpmcounter29, hpmcounter29h, __read_hpmcounter29, __write_hpmcounter29); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | reg!(0xC1D, hpmcounter29, hpmcounter29h, __read_hpmcounter29, __write_hpmcounter29); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | reg!(0xC1E, hpmcounter30, hpmcounter30h, __read_hpmcounter30, __write_hpmcounter30); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | reg!(0xC1E, hpmcounter30, hpmcounter30h, __read_hpmcounter30, __write_hpmcounter30); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | reg!(0xC1E, hpmcounter30, hpmcounter30h, __read_hpmcounter30, __write_hpmcounter30); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | reg!(0xC1E, hpmcounter30, hpmcounter30h, __read_hpmcounter30, __write_hpmcounter30); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | reg!(0xC1E, hpmcounter30, hpmcounter30h, __read_hpmcounter30, __write_hpmcounter30); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | reg!(0xC1F, hpmcounter31, hpmcounter31h, __read_hpmcounter31, __write_hpmcounter31); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | reg!(0xC1F, hpmcounter31, hpmcounter31h, __read_hpmcounter31, __write_hpmcounter31); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | reg!(0xC1F, hpmcounter31, hpmcounter31h, __read_hpmcounter31, __write_hpmcounter31); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | reg!(0xC1F, hpmcounter31, hpmcounter31h, __read_hpmcounter31, __write_hpmcounter31); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | reg!(0xC1F, hpmcounter31, hpmcounter31h, __read_hpmcounter31, __write_hpmcounter31); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_composite_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | regh!(0xC83, hpmcounter3h, __read_hpmcounter3h, __write_hpmcounter3h); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | regh!(0xC83, hpmcounter3h, __read_hpmcounter3h, __write_hpmcounter3h); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | regh!(0xC83, hpmcounter3h, __read_hpmcounter3h, __write_hpmcounter3h); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | regh!(0xC84, hpmcounter4h, __read_hpmcounter4h, __write_hpmcounter4h); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | regh!(0xC84, hpmcounter4h, __read_hpmcounter4h, __write_hpmcounter4h); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | regh!(0xC84, hpmcounter4h, __read_hpmcounter4h, __write_hpmcounter4h); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | regh!(0xC85, hpmcounter5h, __read_hpmcounter5h, __write_hpmcounter5h); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | regh!(0xC85, hpmcounter5h, __read_hpmcounter5h, __write_hpmcounter5h); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | regh!(0xC85, hpmcounter5h, __read_hpmcounter5h, __write_hpmcounter5h); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | regh!(0xC86, hpmcounter6h, __read_hpmcounter6h, __write_hpmcounter6h); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | regh!(0xC86, hpmcounter6h, __read_hpmcounter6h, __write_hpmcounter6h); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | regh!(0xC86, hpmcounter6h, __read_hpmcounter6h, __write_hpmcounter6h); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | regh!(0xC87, hpmcounter7h, __read_hpmcounter7h, __write_hpmcounter7h); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | regh!(0xC87, hpmcounter7h, __read_hpmcounter7h, __write_hpmcounter7h); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | regh!(0xC87, hpmcounter7h, __read_hpmcounter7h, __write_hpmcounter7h); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | regh!(0xC88, hpmcounter8h, __read_hpmcounter8h, __write_hpmcounter8h); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | regh!(0xC88, hpmcounter8h, __read_hpmcounter8h, __write_hpmcounter8h); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | regh!(0xC88, hpmcounter8h, __read_hpmcounter8h, __write_hpmcounter8h); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | regh!(0xC89, hpmcounter9h, __read_hpmcounter9h, __write_hpmcounter9h); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | regh!(0xC89, hpmcounter9h, __read_hpmcounter9h, __write_hpmcounter9h); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | regh!(0xC89, hpmcounter9h, __read_hpmcounter9h, __write_hpmcounter9h); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | regh!(0xC8A, hpmcounter10h, __read_hpmcounter10h, __write_hpmcounter10h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | regh!(0xC8A, hpmcounter10h, __read_hpmcounter10h, __write_hpmcounter10h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | regh!(0xC8A, hpmcounter10h, __read_hpmcounter10h, __write_hpmcounter10h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | regh!(0xC8B, hpmcounter11h, __read_hpmcounter11h, __write_hpmcounter11h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | regh!(0xC8B, hpmcounter11h, __read_hpmcounter11h, __write_hpmcounter11h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | regh!(0xC8B, hpmcounter11h, __read_hpmcounter11h, __write_hpmcounter11h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | regh!(0xC8C, hpmcounter12h, __read_hpmcounter12h, __write_hpmcounter12h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | regh!(0xC8C, hpmcounter12h, __read_hpmcounter12h, __write_hpmcounter12h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | regh!(0xC8C, hpmcounter12h, __read_hpmcounter12h, __write_hpmcounter12h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | regh!(0xC8D, hpmcounter13h, __read_hpmcounter13h, __write_hpmcounter13h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | regh!(0xC8D, hpmcounter13h, __read_hpmcounter13h, __write_hpmcounter13h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | regh!(0xC8D, hpmcounter13h, __read_hpmcounter13h, __write_hpmcounter13h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | regh!(0xC8E, hpmcounter14h, __read_hpmcounter14h, __write_hpmcounter14h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | regh!(0xC8E, hpmcounter14h, __read_hpmcounter14h, __write_hpmcounter14h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | regh!(0xC8E, hpmcounter14h, __read_hpmcounter14h, __write_hpmcounter14h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | regh!(0xC8F, hpmcounter15h, __read_hpmcounter15h, __write_hpmcounter15h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | regh!(0xC8F, hpmcounter15h, __read_hpmcounter15h, __write_hpmcounter15h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | regh!(0xC8F, hpmcounter15h, __read_hpmcounter15h, __write_hpmcounter15h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | regh!(0xC90, hpmcounter16h, __read_hpmcounter16h, __write_hpmcounter16h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | regh!(0xC90, hpmcounter16h, __read_hpmcounter16h, __write_hpmcounter16h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | regh!(0xC90, hpmcounter16h, __read_hpmcounter16h, __write_hpmcounter16h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | regh!(0xC91, hpmcounter17h, __read_hpmcounter17h, __write_hpmcounter17h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | regh!(0xC91, hpmcounter17h, __read_hpmcounter17h, __write_hpmcounter17h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | regh!(0xC91, hpmcounter17h, __read_hpmcounter17h, __write_hpmcounter17h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | regh!(0xC92, hpmcounter18h, __read_hpmcounter18h, __write_hpmcounter18h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | regh!(0xC92, hpmcounter18h, __read_hpmcounter18h, __write_hpmcounter18h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | regh!(0xC92, hpmcounter18h, __read_hpmcounter18h, __write_hpmcounter18h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | regh!(0xC93, hpmcounter19h, __read_hpmcounter19h, __write_hpmcounter19h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | regh!(0xC93, hpmcounter19h, __read_hpmcounter19h, __write_hpmcounter19h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | regh!(0xC93, hpmcounter19h, __read_hpmcounter19h, __write_hpmcounter19h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | regh!(0xC94, hpmcounter20h, __read_hpmcounter20h, __write_hpmcounter20h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | regh!(0xC94, hpmcounter20h, __read_hpmcounter20h, __write_hpmcounter20h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | regh!(0xC94, hpmcounter20h, __read_hpmcounter20h, __write_hpmcounter20h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | regh!(0xC95, hpmcounter21h, __read_hpmcounter21h, __write_hpmcounter21h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | regh!(0xC95, hpmcounter21h, __read_hpmcounter21h, __write_hpmcounter21h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | regh!(0xC95, hpmcounter21h, __read_hpmcounter21h, __write_hpmcounter21h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | regh!(0xC96, hpmcounter22h, __read_hpmcounter22h, __write_hpmcounter22h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | regh!(0xC96, hpmcounter22h, __read_hpmcounter22h, __write_hpmcounter22h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | regh!(0xC96, hpmcounter22h, __read_hpmcounter22h, __write_hpmcounter22h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | regh!(0xC97, hpmcounter23h, __read_hpmcounter23h, __write_hpmcounter23h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | regh!(0xC97, hpmcounter23h, __read_hpmcounter23h, __write_hpmcounter23h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | regh!(0xC97, hpmcounter23h, __read_hpmcounter23h, __write_hpmcounter23h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | regh!(0xC98, hpmcounter24h, __read_hpmcounter24h, __write_hpmcounter24h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | regh!(0xC98, hpmcounter24h, __read_hpmcounter24h, __write_hpmcounter24h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | regh!(0xC98, hpmcounter24h, __read_hpmcounter24h, __write_hpmcounter24h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | regh!(0xC99, hpmcounter25h, __read_hpmcounter25h, __write_hpmcounter25h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | regh!(0xC99, hpmcounter25h, __read_hpmcounter25h, __write_hpmcounter25h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | regh!(0xC99, hpmcounter25h, __read_hpmcounter25h, __write_hpmcounter25h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | regh!(0xC9A, hpmcounter26h, __read_hpmcounter26h, __write_hpmcounter26h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | regh!(0xC9A, hpmcounter26h, __read_hpmcounter26h, __write_hpmcounter26h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | regh!(0xC9A, hpmcounter26h, __read_hpmcounter26h, __write_hpmcounter26h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | regh!(0xC9B, hpmcounter27h, __read_hpmcounter27h, __write_hpmcounter27h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | regh!(0xC9B, hpmcounter27h, __read_hpmcounter27h, __write_hpmcounter27h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | regh!(0xC9B, hpmcounter27h, __read_hpmcounter27h, __write_hpmcounter27h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | regh!(0xC9C, hpmcounter28h, __read_hpmcounter28h, __write_hpmcounter28h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | regh!(0xC9C, hpmcounter28h, __read_hpmcounter28h, __write_hpmcounter28h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | regh!(0xC9C, hpmcounter28h, __read_hpmcounter28h, __write_hpmcounter28h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | regh!(0xC9D, hpmcounter29h, __read_hpmcounter29h, __write_hpmcounter29h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | regh!(0xC9D, hpmcounter29h, __read_hpmcounter29h, __write_hpmcounter29h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | regh!(0xC9D, hpmcounter29h, __read_hpmcounter29h, __write_hpmcounter29h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | regh!(0xC9E, hpmcounter30h, __read_hpmcounter30h, __write_hpmcounter30h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | regh!(0xC9E, hpmcounter30h, __read_hpmcounter30h, __write_hpmcounter30h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | regh!(0xC9E, hpmcounter30h, __read_hpmcounter30h, __write_hpmcounter30h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | regh!(0xC9F, hpmcounter31h, __read_hpmcounter31h, __write_hpmcounter31h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | regh!(0xC9F, hpmcounter31h, __read_hpmcounter31h, __write_hpmcounter31h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/hpmcounterx.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | regh!(0xC9F, hpmcounter31h, __read_hpmcounter31h, __write_hpmcounter31h); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `regh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/timeh.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize_rv32!(0xC81, __read_timeh); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `read_csr_as_usize_rv32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/timeh.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize_rv32!(0xC81, __read_timeh); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `read_csr_as_usize_rv32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/timeh.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize_rv32!(0xC81, __read_timeh); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `read_csr_as_usize_rv32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/sstatus.rs:125:7 [INFO] [stdout] | [INFO] [stdout] 125 | #[cfg(riscv)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/sstatus.rs:135:7 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg(riscv)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sstatus.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | read_csr_as!(Sstatus, 0x100, __read_sstatus); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sstatus.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | read_csr_as!(Sstatus, 0x100, __read_sstatus); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sstatus.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | read_csr_as!(Sstatus, 0x100, __read_sstatus); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sstatus.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | write_csr!(0x100, __write_sstatus); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sstatus.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | write_csr!(0x100, __write_sstatus); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sstatus.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | write_csr!(0x100, __write_sstatus); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:178:27 [INFO] [stdout] | [INFO] [stdout] 178 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sstatus.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | set!(0x100, __set_sstatus); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sstatus.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | set!(0x100, __set_sstatus); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:190:27 [INFO] [stdout] | [INFO] [stdout] 190 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sstatus.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | set!(0x100, __set_sstatus); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:204:27 [INFO] [stdout] | [INFO] [stdout] 204 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sstatus.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | clear!(0x100, __clear_sstatus); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `clear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:207:27 [INFO] [stdout] | [INFO] [stdout] 207 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sstatus.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | clear!(0x100, __clear_sstatus); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `clear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:216:27 [INFO] [stdout] | [INFO] [stdout] 216 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sstatus.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | clear!(0x100, __clear_sstatus); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `clear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sie.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | read_csr_as!(Sie, 0x104, __read_sie); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sie.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | read_csr_as!(Sie, 0x104, __read_sie); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sie.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | read_csr_as!(Sie, 0x104, __read_sie); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:178:27 [INFO] [stdout] | [INFO] [stdout] 178 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sie.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | set!(0x104, __set_sie); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sie.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | set!(0x104, __set_sie); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:190:27 [INFO] [stdout] | [INFO] [stdout] 190 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sie.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | set!(0x104, __set_sie); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:204:27 [INFO] [stdout] | [INFO] [stdout] 204 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sie.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | clear!(0x104, __clear_sie); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `clear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:207:27 [INFO] [stdout] | [INFO] [stdout] 207 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sie.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | clear!(0x104, __clear_sie); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `clear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:216:27 [INFO] [stdout] | [INFO] [stdout] 216 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sie.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | clear!(0x104, __clear_sie); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `clear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/stvec.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | read_csr_as!(Stvec, 0x105, __read_stvec); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/stvec.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | read_csr_as!(Stvec, 0x105, __read_stvec); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/stvec.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | read_csr_as!(Stvec, 0x105, __read_stvec); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/stvec.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | write_csr!(0x105, __write_stvec); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/stvec.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | write_csr!(0x105, __write_stvec); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/stvec.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | write_csr!(0x105, __write_stvec); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sscratch.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0x140, __read_sscratch); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sscratch.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0x140, __read_sscratch); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sscratch.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0x140, __read_sscratch); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sscratch.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | write_csr_as_usize!(0x140, __write_sscratch); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `write_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sscratch.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | write_csr_as_usize!(0x140, __write_sscratch); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `write_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sscratch.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | write_csr_as_usize!(0x140, __write_sscratch); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `write_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sepc.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0x141, __read_sepc); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sepc.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0x141, __read_sepc); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sepc.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0x141, __read_sepc); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sepc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | write_csr_as_usize!(0x141, __write_sepc); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `write_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sepc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | write_csr_as_usize!(0x141, __write_sepc); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `write_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sepc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | write_csr_as_usize!(0x141, __write_sepc); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `write_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/scause.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | read_csr_as!(Scause, 0x142, __read_scause); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/scause.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | read_csr_as!(Scause, 0x142, __read_scause); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/scause.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | read_csr_as!(Scause, 0x142, __read_scause); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/stval.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0x143, __read_stval); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/stval.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0x143, __read_stval); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/stval.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0x143, __read_stval); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sip.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | read_csr_as!(Sip, 0x144, __read_sip); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sip.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | read_csr_as!(Sip, 0x144, __read_sip); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/sip.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | read_csr_as!(Sip, 0x144, __read_sip); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/satp.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(riscv)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/satp.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv64` [INFO] [stdout] --> src/register/satp.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | #[cfg(riscv64)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv64"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/satp.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv64` [INFO] [stdout] --> src/register/satp.rs:103:7 [INFO] [stdout] | [INFO] [stdout] 103 | #[cfg(riscv64)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv64"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/satp.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv64` [INFO] [stdout] --> src/register/satp.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(riscv64)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv64"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/satp.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv64` [INFO] [stdout] --> src/register/satp.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(riscv64)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv64"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/satp.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | #[cfg(riscv32)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv64` [INFO] [stdout] --> src/register/satp.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg(riscv64)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv64"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/satp.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | read_csr_as!(Satp, 0x180, __read_satp); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/satp.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | read_csr_as!(Satp, 0x180, __read_satp); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/satp.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | read_csr_as!(Satp, 0x180, __read_satp); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/satp.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | write_csr_as_usize!(0x180, __write_satp); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `write_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/satp.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | write_csr_as_usize!(0x180, __write_satp); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `write_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/satp.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | write_csr_as_usize!(0x180, __write_satp); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `write_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mvendorid.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | read_csr!(0xF11, __read_mvendorid); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mvendorid.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | read_csr!(0xF11, __read_mvendorid); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mvendorid.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | read_csr!(0xF11, __read_mvendorid); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/marchid.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | read_csr!(0xF11, __read_marchid); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/marchid.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | read_csr!(0xF11, __read_marchid); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/marchid.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | read_csr!(0xF11, __read_marchid); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mimpid.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | read_csr!(0xF11, __read_mimpid); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mimpid.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | read_csr!(0xF11, __read_mimpid); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mimpid.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | read_csr!(0xF11, __read_mimpid); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mhartid.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0xf14, __read_mhartid); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mhartid.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0xf14, __read_mhartid); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mhartid.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0xf14, __read_mhartid); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mstatus.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | read_csr_as!(Mstatus, 0x300, __read_mstatus); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mstatus.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | read_csr_as!(Mstatus, 0x300, __read_mstatus); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mstatus.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | read_csr_as!(Mstatus, 0x300, __read_mstatus); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mstatus.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | write_csr!(0x300, __write_mstatus); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mstatus.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | write_csr!(0x300, __write_mstatus); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mstatus.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | write_csr!(0x300, __write_mstatus); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:178:27 [INFO] [stdout] | [INFO] [stdout] 178 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mstatus.rs:150:1 [INFO] [stdout] | [INFO] [stdout] 150 | set!(0x300, __set_mstatus); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mstatus.rs:150:1 [INFO] [stdout] | [INFO] [stdout] 150 | set!(0x300, __set_mstatus); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:190:27 [INFO] [stdout] | [INFO] [stdout] 190 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mstatus.rs:150:1 [INFO] [stdout] | [INFO] [stdout] 150 | set!(0x300, __set_mstatus); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:204:27 [INFO] [stdout] | [INFO] [stdout] 204 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mstatus.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | clear!(0x300, __clear_mstatus); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `clear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:207:27 [INFO] [stdout] | [INFO] [stdout] 207 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mstatus.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | clear!(0x300, __clear_mstatus); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `clear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:216:27 [INFO] [stdout] | [INFO] [stdout] 216 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mstatus.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | clear!(0x300, __clear_mstatus); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `clear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/misa.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | read_csr!(0x301, __read_misa); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/misa.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | read_csr!(0x301, __read_misa); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/misa.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | read_csr!(0x301, __read_misa); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mideleg.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | read_csr_as!(Mideleg, 0x304, __read_mideleg); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mideleg.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | read_csr_as!(Mideleg, 0x304, __read_mideleg); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mideleg.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | read_csr_as!(Mideleg, 0x304, __read_mideleg); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:178:27 [INFO] [stdout] | [INFO] [stdout] 178 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mideleg.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | set!(0x303, __set_mideleg); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mideleg.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | set!(0x303, __set_mideleg); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:190:27 [INFO] [stdout] | [INFO] [stdout] 190 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mideleg.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | set!(0x303, __set_mideleg); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:204:27 [INFO] [stdout] | [INFO] [stdout] 204 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mideleg.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | clear!(0x303, __clear_mideleg); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `clear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:207:27 [INFO] [stdout] | [INFO] [stdout] 207 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mideleg.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | clear!(0x303, __clear_mideleg); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `clear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:216:27 [INFO] [stdout] | [INFO] [stdout] 216 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mideleg.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | clear!(0x303, __clear_mideleg); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `clear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mie.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | read_csr_as!(Mie, 0x304, __read_mie); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mie.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | read_csr_as!(Mie, 0x304, __read_mie); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mie.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | read_csr_as!(Mie, 0x304, __read_mie); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:178:27 [INFO] [stdout] | [INFO] [stdout] 178 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mie.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | set!(0x304, __set_mie); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mie.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | set!(0x304, __set_mie); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:190:27 [INFO] [stdout] | [INFO] [stdout] 190 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mie.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | set!(0x304, __set_mie); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:204:27 [INFO] [stdout] | [INFO] [stdout] 204 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mie.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | clear!(0x304, __clear_mie); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `clear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:207:27 [INFO] [stdout] | [INFO] [stdout] 207 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mie.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | clear!(0x304, __clear_mie); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `clear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:216:27 [INFO] [stdout] | [INFO] [stdout] 216 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mie.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | clear!(0x304, __clear_mie); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `clear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mtvec.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | read_csr_as!(Mtvec, 0x305, __read_mtvec); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mtvec.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | read_csr_as!(Mtvec, 0x305, __read_mtvec); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mtvec.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | read_csr_as!(Mtvec, 0x305, __read_mtvec); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mtvec.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | write_csr!(0x305, __write_mtvec); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mtvec.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | write_csr!(0x305, __write_mtvec); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mtvec.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | write_csr!(0x305, __write_mtvec); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mscratch.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0x340, __read_mscratch); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mscratch.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0x340, __read_mscratch); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mscratch.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0x340, __read_mscratch); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mscratch.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | write_csr_as_usize!(0x340, __write_mscratch); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `write_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mscratch.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | write_csr_as_usize!(0x340, __write_mscratch); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `write_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mscratch.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | write_csr_as_usize!(0x340, __write_mscratch); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `write_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mepc.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0x341, __read_mepc); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mepc.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0x341, __read_mepc); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mepc.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0x341, __read_mepc); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mepc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | write_csr_as_usize!(0x341, __write_mepc); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `write_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mepc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | write_csr_as_usize!(0x341, __write_mepc); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `write_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mepc.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | write_csr_as_usize!(0x341, __write_mepc); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `write_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `128` [INFO] [stdout] --> src/register/mcause.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | #[cfg(target_pointer_width = "128")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_pointer_width` are: `16`, `32`, and `64` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `128` [INFO] [stdout] --> src/register/mcause.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | #[cfg(target_pointer_width = "128")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_pointer_width` are: `16`, `32`, and `64` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mcause.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | read_csr_as!(Mcause, 0x342, __read_mcause); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mcause.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | read_csr_as!(Mcause, 0x342, __read_mcause); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mcause.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | read_csr_as!(Mcause, 0x342, __read_mcause); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mtval.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0x343, __read_mtval); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mtval.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0x343, __read_mtval); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mtval.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0x343, __read_mtval); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mip.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | read_csr_as!(Mip, 0x344, __read_mip); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mip.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | read_csr_as!(Mip, 0x344, __read_mip); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mip.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | read_csr_as!(Mip, 0x344, __read_mip); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:178:27 [INFO] [stdout] | [INFO] [stdout] 178 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mip.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | set!(0x344, __set_mip); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mip.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | set!(0x344, __set_mip); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:190:27 [INFO] [stdout] | [INFO] [stdout] 190 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mip.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | set!(0x344, __set_mip); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:204:27 [INFO] [stdout] | [INFO] [stdout] 204 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mip.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | clear!(0x344, __clear_mip); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `clear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:207:27 [INFO] [stdout] | [INFO] [stdout] 207 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mip.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | clear!(0x344, __clear_mip); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `clear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:216:27 [INFO] [stdout] | [INFO] [stdout] 216 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/mip.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | clear!(0x344, __clear_mip); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `clear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpcfgx.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0x3A0, __read_pmpcfg0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpcfgx.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0x3A0, __read_pmpcfg0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpcfgx.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | read_csr_as_usize!(0x3A0, __read_pmpcfg0); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpcfgx.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | write_csr_as_usize!(0x3A0, __write_pmpcfg0); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `write_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpcfgx.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | write_csr_as_usize!(0x3A0, __write_pmpcfg0); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `write_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpcfgx.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | write_csr_as_usize!(0x3A0, __write_pmpcfg0); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `write_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpcfgx.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | read_csr_as_usize_rv32!(0x3A1, __read_pmpcfg1); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `read_csr_as_usize_rv32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpcfgx.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | read_csr_as_usize_rv32!(0x3A1, __read_pmpcfg1); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `read_csr_as_usize_rv32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpcfgx.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | read_csr_as_usize_rv32!(0x3A1, __read_pmpcfg1); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `read_csr_as_usize_rv32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:128:27 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpcfgx.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | write_csr_as_usize_rv32!(0x3A1, __write_pmpcfg1); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr_rv32` which comes from the expansion of the macro `write_csr_as_usize_rv32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:131:27 [INFO] [stdout] | [INFO] [stdout] 131 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpcfgx.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | write_csr_as_usize_rv32!(0x3A1, __write_pmpcfg1); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr_rv32` which comes from the expansion of the macro `write_csr_as_usize_rv32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:140:27 [INFO] [stdout] | [INFO] [stdout] 140 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpcfgx.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | write_csr_as_usize_rv32!(0x3A1, __write_pmpcfg1); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr_rv32` which comes from the expansion of the macro `write_csr_as_usize_rv32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpcfgx.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | read_csr_as_usize!(0x3A2, __read_pmpcfg2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpcfgx.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | read_csr_as_usize!(0x3A2, __read_pmpcfg2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpcfgx.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | read_csr_as_usize!(0x3A2, __read_pmpcfg2); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `read_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpcfgx.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | write_csr_as_usize!(0x3A2, __write_pmpcfg2); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `write_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpcfgx.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | write_csr_as_usize!(0x3A2, __write_pmpcfg2); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `write_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpcfgx.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | write_csr_as_usize!(0x3A2, __write_pmpcfg2); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `write_csr_as_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpcfgx.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | read_csr_as_usize_rv32!(0x3A3, __read_pmpcfg3); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `read_csr_as_usize_rv32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpcfgx.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | read_csr_as_usize_rv32!(0x3A3, __read_pmpcfg3); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `read_csr_as_usize_rv32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpcfgx.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | read_csr_as_usize_rv32!(0x3A3, __read_pmpcfg3); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr_rv32` which comes from the expansion of the macro `read_csr_as_usize_rv32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:128:27 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg(all(riscv32, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpcfgx.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | write_csr_as_usize_rv32!(0x3A3, __write_pmpcfg3); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr_rv32` which comes from the expansion of the macro `write_csr_as_usize_rv32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:131:27 [INFO] [stdout] | [INFO] [stdout] 131 | #[cfg(all(riscv32, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpcfgx.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | write_csr_as_usize_rv32!(0x3A3, __write_pmpcfg3); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr_rv32` which comes from the expansion of the macro `write_csr_as_usize_rv32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv32` [INFO] [stdout] --> src/register/macros.rs:140:27 [INFO] [stdout] | [INFO] [stdout] 140 | #[cfg(not(riscv32))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "riscv32"` [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpcfgx.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | write_csr_as_usize_rv32!(0x3A3, __write_pmpcfg3); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv32)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv32)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr_rv32` which comes from the expansion of the macro `write_csr_as_usize_rv32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpaddrx.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | reg!(0x3B0, pmpaddr0, __read_pmpaddr0, __write_pmpaddr0); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpaddrx.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | reg!(0x3B0, pmpaddr0, __read_pmpaddr0, __write_pmpaddr0); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpaddrx.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | reg!(0x3B0, pmpaddr0, __read_pmpaddr0, __write_pmpaddr0); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpaddrx.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | reg!(0x3B0, pmpaddr0, __read_pmpaddr0, __write_pmpaddr0); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpaddrx.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | reg!(0x3B0, pmpaddr0, __read_pmpaddr0, __write_pmpaddr0); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpaddrx.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | reg!(0x3B0, pmpaddr0, __read_pmpaddr0, __write_pmpaddr0); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpaddrx.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | reg!(0x3B1, pmpaddr1, __read_pmpaddr1, __write_pmpaddr1); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpaddrx.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | reg!(0x3B1, pmpaddr1, __read_pmpaddr1, __write_pmpaddr1); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpaddrx.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | reg!(0x3B1, pmpaddr1, __read_pmpaddr1, __write_pmpaddr1); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpaddrx.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | reg!(0x3B1, pmpaddr1, __read_pmpaddr1, __write_pmpaddr1); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpaddrx.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | reg!(0x3B1, pmpaddr1, __read_pmpaddr1, __write_pmpaddr1); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpaddrx.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | reg!(0x3B1, pmpaddr1, __read_pmpaddr1, __write_pmpaddr1); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpaddrx.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | reg!(0x3B2, pmpaddr2, __read_pmpaddr2, __write_pmpaddr2); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpaddrx.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | reg!(0x3B2, pmpaddr2, __read_pmpaddr2, __write_pmpaddr2); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpaddrx.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | reg!(0x3B2, pmpaddr2, __read_pmpaddr2, __write_pmpaddr2); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpaddrx.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | reg!(0x3B2, pmpaddr2, __read_pmpaddr2, __write_pmpaddr2); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpaddrx.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | reg!(0x3B2, pmpaddr2, __read_pmpaddr2, __write_pmpaddr2); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(not(riscv))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpaddrx.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | reg!(0x3B2, pmpaddr2, __read_pmpaddr2, __write_pmpaddr2); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `write_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpaddrx.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | reg!(0x3B3, pmpaddr3, __read_pmpaddr3, __write_pmpaddr3); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `read_csr` which comes from the expansion of the macro `reg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/register/macros.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(riscv, not(feature = "inline-asm")))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/register/pmpaddrx.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | reg!(0x3B3, pmpaddr3, __read_pmpaddr3, __write_pmpaddr3); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(riscv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(riscv)");` to the top of the `build.rs` [WARN] too many lines in the log, truncating it