[INFO] fetching crate picorv32 0.1.3... [INFO] checking picorv32-0.1.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate picorv32 0.1.3 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate picorv32 0.1.3 [INFO] finished tweaking crates.io crate picorv32 0.1.3 [INFO] tweaked toml for crates.io crate picorv32 0.1.3 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate picorv32 0.1.3 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] [stderr] Adding bare-metal v0.2.5 (available: v1.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5fa64c62206349f988eab7205dbaf6d03157ec598d2f8d5146f06f72b2dd2dec [INFO] running `Command { std: "docker" "start" "-a" "5fa64c62206349f988eab7205dbaf6d03157ec598d2f8d5146f06f72b2dd2dec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fa64c62206349f988eab7205dbaf6d03157ec598d2f8d5146f06f72b2dd2dec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fa64c62206349f988eab7205dbaf6d03157ec598d2f8d5146f06f72b2dd2dec", kill_on_drop: false }` [INFO] [stdout] 5fa64c62206349f988eab7205dbaf6d03157ec598d2f8d5146f06f72b2dd2dec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b081c1b652309be38dcee78b2086983c3d0113d31f38f8b3583e0fd8996a0de0 [INFO] running `Command { std: "docker" "start" "-a" "b081c1b652309be38dcee78b2086983c3d0113d31f38f8b3583e0fd8996a0de0", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling picorv32 v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error: unexpected `cfg` condition value: `interrupt-qregs` [INFO] [stdout] --> src/asm.rs:161:7 [INFO] [stdout] | [INFO] [stdout] 161 | #[cfg(feature = "interrupt-qregs")] [INFO] [stdout] | ^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"interrupts-qregs"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `const-fn`, `inline-asm`, and `interrupts-qregs` [INFO] [stdout] = help: consider adding `interrupt-qregs` as a feature in `Cargo.toml` [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:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unexpected_cfgs)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `interrupt-qregs` [INFO] [stdout] --> src/asm.rs:208:7 [INFO] [stdout] | [INFO] [stdout] 208 | #[cfg(feature = "interrupt-qregs")] [INFO] [stdout] | ^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"interrupts-qregs"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `const-fn`, `inline-asm`, and `interrupts-qregs` [INFO] [stdout] = help: consider adding `interrupt-qregs` as a feature in `Cargo.toml` [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:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [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] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/asm.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | #[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:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | #[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/asm.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | #[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:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | #[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:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | #[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/asm.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | #[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:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | #[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:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | #[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] [stderr] error: could not compile `picorv32` (lib) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: unexpected `cfg` condition value: `interrupt-qregs` [INFO] [stdout] --> src/asm.rs:161:7 [INFO] [stdout] | [INFO] [stdout] 161 | #[cfg(feature = "interrupt-qregs")] [INFO] [stdout] | ^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"interrupts-qregs"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `const-fn`, `inline-asm`, and `interrupts-qregs` [INFO] [stdout] = help: consider adding `interrupt-qregs` as a feature in `Cargo.toml` [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:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unexpected_cfgs)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `interrupt-qregs` [INFO] [stdout] --> src/asm.rs:208:7 [INFO] [stdout] | [INFO] [stdout] 208 | #[cfg(feature = "interrupt-qregs")] [INFO] [stdout] | ^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"interrupts-qregs"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `const-fn`, `inline-asm`, and `interrupts-qregs` [INFO] [stdout] = help: consider adding `interrupt-qregs` as a feature in `Cargo.toml` [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:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(all(riscv, feature = "inline-asm"))] [INFO] [stdout] | ^^^^^ [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] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `riscv` [INFO] [stdout] --> src/asm.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | #[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:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | #[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/asm.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | #[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:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | #[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:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | #[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/asm.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | #[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:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | #[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:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | #[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] [stderr] error: could not compile `picorv32` (lib test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "b081c1b652309be38dcee78b2086983c3d0113d31f38f8b3583e0fd8996a0de0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b081c1b652309be38dcee78b2086983c3d0113d31f38f8b3583e0fd8996a0de0", kill_on_drop: false }` [INFO] [stdout] b081c1b652309be38dcee78b2086983c3d0113d31f38f8b3583e0fd8996a0de0