Files
pezkuwi-sdk/bizinikiwi/primitives/runtime-interface/tests/ui/no_feature_gated_method.stderr
T
pezkuwichain 1c0e57d984 feat: Rebrand Polkadot/Substrate references to PezkuwiChain
This commit systematically rebrands various references from Parity Technologies'
Polkadot/Substrate ecosystem to PezkuwiChain within the kurdistan-sdk.

Key changes include:
- Updated external repository URLs (zombienet-sdk, parity-db, parity-scale-codec, wasm-instrument) to point to pezkuwichain forks.
- Modified internal documentation and code comments to reflect PezkuwiChain naming and structure.
- Replaced direct references to  with  or specific paths within the  for XCM, Pezkuwi, and other modules.
- Cleaned up deprecated  issue and PR references in various  and  files, particularly in  and  modules.
- Adjusted image and logo URLs in documentation to point to PezkuwiChain assets.
- Removed or rephrased comments related to external Polkadot/Substrate PRs and issues.

This is a significant step towards fully customizing the SDK for the PezkuwiChain ecosystem.
2025-12-14 00:04:10 +03:00

101 lines
4.9 KiB
Plaintext

error[E0425]: cannot find function `bar` in module `test`
--> tests/ui/no_feature_gated_method.rs:37:8
|
37 | test::bar();
| ^^^ not found in `test`
|
note: found an item that was configured out
--> tests/ui/no_feature_gated_method.rs:29:5
|
29 | fn bar() {}
| ^^^
note: the item is gated behind the `bar-feature` feature
--> tests/ui/no_feature_gated_method.rs:28:8
|
28 | #[cfg(feature = "bar-feature")]
| ^^^^^^^^^^^^^^^^^^^^^^^
note: found an item that was configured out
--> tests/ui/no_feature_gated_method.rs:29:5
|
29 | fn bar() {}
| ^^^
note: the item is gated here
--> tests/ui/no_feature_gated_method.rs:24:1
|
24 | #[runtime_interface]
| ^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the attribute macro `runtime_interface` (in Nightly builds, run with -Z macro-backtrace for more info)
warning: unexpected `cfg` condition name: `substrate_runtime`
--> tests/ui/no_feature_gated_method.rs:28:2
|
28 | #[cfg(feature = "bar-feature")]
| ^
|
= help: expected names are: `docsrs`, `feature`, and `test` and 31 more
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(substrate_runtime)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(substrate_runtime)");` to the top of the `build.rs`
= 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: `bar-feature`
--> tests/ui/no_feature_gated_method.rs:28:8
|
28 | #[cfg(feature = "bar-feature")]
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `default`, `disable_target_static_assertions`, and `std`
= help: consider adding `bar-feature` 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: unexpected `cfg` condition name: `substrate_runtime`
--> tests/ui/no_feature_gated_method.rs:24:1
|
24 | #[runtime_interface]
| ^^^^^^^^^^^^^^^^^^^^
|
= note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate
= help: try referring to `runtime_interface` crate for guidance on how handle this unexpected cfg
= help: the attribute macro `runtime_interface` may come from an old version of the `sp_runtime_interface_proc_macro` crate, try updating your dependency with `cargo update -p sp_runtime_interface_proc_macro`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: this warning originates in the attribute macro `runtime_interface` (in Nightly builds, run with -Z macro-backtrace for more info)
warning: unexpected `cfg` condition name: `substrate_runtime`
--> tests/ui/no_feature_gated_method.rs:26:2
|
26 | fn foo() {}
| ^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(substrate_runtime)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(substrate_runtime)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition name: `substrate_runtime`
--> tests/ui/no_feature_gated_method.rs:31:2
|
31 | #[cfg(not(feature = "bar-feature"))]
| ^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(substrate_runtime)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(substrate_runtime)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `bar-feature`
--> tests/ui/no_feature_gated_method.rs:31:12
|
31 | #[cfg(not(feature = "bar-feature"))]
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `default`, `disable_target_static_assertions`, and `std`
= help: consider adding `bar-feature` 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