You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upon running RUST_BACKTRACE=1 cargo build --package minimal-template-node --release, the following warnings are produced:
warning: unexpected `cfg` condition value: `try-runtime`
--> pallets/template/src/lib.rs:20:12
|
20 | #[pallet::pallet]
| ^^^^^^
|
= note: expected values for `feature` are: `default` and `std`
= help: consider adding `try-runtime` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
warning: `pallet-minimal-template` (lib) generated 1 warning
warning: unexpected `cfg` condition value: `runtime-benchmarks`
--> node/src/service.rs:30:7
|
30 | #[cfg(feature = "runtime-benchmarks")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `default` and `std`
= help: consider adding `runtime-benchmarks` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
warning: unexpected `cfg` condition value: `runtime-benchmarks`
--> node/src/service.rs:34:11
|
34 | #[cfg(not(feature = "runtime-benchmarks"))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `default` and `std`
= help: consider adding `runtime-benchmarks` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: `minimal-template-node` (lib) generated 2 warnings
warning: unexpected `cfg` condition value: `try-runtime`
--> node/src/command.rs:26:7
|
26 | #[cfg(feature = "try-runtime")]
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `default` and `std`
= help: consider adding `try-runtime` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
warning: unexpected `cfg` condition value: `runtime-benchmarks`
--> node/src/service.rs:30:7
|
30 | #[cfg(feature = "runtime-benchmarks")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `default` and `std`
= help: consider adding `runtime-benchmarks` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: `minimal-template-node` (bin "minimal-template-node") generated 3 warnings (1 duplicate)
Finished `release` profile [optimized] target(s) in 1.26s
Upon running
RUST_BACKTRACE=1 cargo build --package minimal-template-node --release
, the following warnings are produced:system info
The text was updated successfully, but these errors were encountered: