Skip to content

runtimes: add template mainnet runtime #67

runtimes: add template mainnet runtime

runtimes: add template mainnet runtime #67

Triggered via pull request July 17, 2024 13:01
Status Failure
Total duration 10m 45s
Artifacts

pr-test-clippy.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
test-clippy: tc-subxt/src/metadata.rs#L155
error[E0432]: unresolved import `$crate::metadata::timechain` --> tc-subxt/src/metadata.rs:155:9 | 155 | use $crate::metadata::timechain as metadata; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `timechain` in `metadata` | ::: tc-subxt/src/shards.rs:7:3 | 7 | / metadata_scope!(self.metadata, { 8 | | let storage = metadata::storage().shards().shard_commitment(shard_id); 9 | | self.client 10 | | .storage() ... | 16 | | .map(|v| v[0]) 17 | | }) | |__________- in this macro invocation | = note: this error originates in the macro `metadata_scope` (in Nightly builds, run with -Z macro-backtrace for more info)
test-clippy: tc-subxt/src/metadata.rs#L159
error[E0432]: unresolved import `$crate::metadata::staging` --> tc-subxt/src/metadata.rs:159:9 | 159 | use $crate::metadata::staging as metadata; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `staging` in `metadata` | ::: tc-subxt/src/shards.rs:7:3 | 7 | / metadata_scope!(self.metadata, { 8 | | let storage = metadata::storage().shards().shard_commitment(shard_id); 9 | | self.client 10 | | .storage() ... | 16 | | .map(|v| v[0]) 17 | | }) | |__________- in this macro invocation | = note: this error originates in the macro `metadata_scope` (in Nightly builds, run with -Z macro-backtrace for more info)
test-clippy: tc-subxt/src/metadata.rs#L155
error[E0432]: unresolved import `$crate::metadata::timechain` --> tc-subxt/src/metadata.rs:155:9 | 155 | use $crate::metadata::timechain as metadata; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `timechain` in `metadata` | ::: tc-subxt/src/shards.rs:21:3 | 21 | / metadata_scope!(self.metadata, { 22 | | let storage_query = metadata::storage().shards().shard_id_counter(); 23 | | Ok(self 24 | | .client ... | 29 | | .await?) 30 | | }) | |__________- in this macro invocation | = note: this error originates in the macro `metadata_scope` (in Nightly builds, run with -Z macro-backtrace for more info)
test-clippy: tc-subxt/src/metadata.rs#L159
error[E0432]: unresolved import `$crate::metadata::staging` --> tc-subxt/src/metadata.rs:159:9 | 159 | use $crate::metadata::staging as metadata; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `staging` in `metadata` | ::: tc-subxt/src/shards.rs:21:3 | 21 | / metadata_scope!(self.metadata, { 22 | | let storage_query = metadata::storage().shards().shard_id_counter(); 23 | | Ok(self 24 | | .client ... | 29 | | .await?) 30 | | }) | |__________- in this macro invocation | = note: this error originates in the macro `metadata_scope` (in Nightly builds, run with -Z macro-backtrace for more info)
test-clippy: tc-subxt/src/metadata.rs#L155
error[E0432]: unresolved import `$crate::metadata::timechain` --> tc-subxt/src/metadata.rs:155:9 | 155 | use $crate::metadata::timechain as metadata; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `timechain` in `metadata` | ::: tc-subxt/src/shards.rs:34:3 | 34 | / metadata_scope!(self.metadata, { 35 | | let storage_query = metadata::storage().shards().shard_network(shard_id); 36 | | self.client 37 | | .storage() ... | 42 | | .ok_or(anyhow!("Shard network not found")) 43 | | }) | |__________- in this macro invocation | = note: this error originates in the macro `metadata_scope` (in Nightly builds, run with -Z macro-backtrace for more info)
test-clippy: tc-subxt/src/metadata.rs#L159
error[E0432]: unresolved import `$crate::metadata::staging` --> tc-subxt/src/metadata.rs:159:9 | 159 | use $crate::metadata::staging as metadata; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `staging` in `metadata` | ::: tc-subxt/src/shards.rs:34:3 | 34 | / metadata_scope!(self.metadata, { 35 | | let storage_query = metadata::storage().shards().shard_network(shard_id); 36 | | self.client 37 | | .storage() ... | 42 | | .ok_or(anyhow!("Shard network not found")) 43 | | }) | |__________- in this macro invocation | = note: this error originates in the macro `metadata_scope` (in Nightly builds, run with -Z macro-backtrace for more info)
test-clippy: tc-subxt/src/metadata.rs#L155
error[E0432]: unresolved import `$crate::metadata::timechain` --> tc-subxt/src/metadata.rs:155:9 | 155 | use $crate::metadata::timechain as metadata; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `timechain` in `metadata` | ::: tc-subxt/src/shards.rs:47:3 | 47 | / metadata_scope!(self.metadata, { 48 | | let storage_query = metadata::storage().shards().shard_state(shard_id); 49 | | self.client 50 | | .storage() ... | 56 | | .map(|s| s.0) 57 | | }) | |__________- in this macro invocation | = note: this error originates in the macro `metadata_scope` (in Nightly builds, run with -Z macro-backtrace for more info)
test-clippy: tc-subxt/src/metadata.rs#L159
error[E0432]: unresolved import `$crate::metadata::staging` --> tc-subxt/src/metadata.rs:159:9 | 159 | use $crate::metadata::staging as metadata; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `staging` in `metadata` | ::: tc-subxt/src/shards.rs:47:3 | 47 | / metadata_scope!(self.metadata, { 48 | | let storage_query = metadata::storage().shards().shard_state(shard_id); 49 | | self.client 50 | | .storage() ... | 56 | | .map(|s| s.0) 57 | | }) | |__________- in this macro invocation | = note: this error originates in the macro `metadata_scope` (in Nightly builds, run with -Z macro-backtrace for more info)
test-clippy: tc-subxt/src/metadata.rs#L155
error[E0432]: unresolved import `$crate::metadata::timechain` --> tc-subxt/src/metadata.rs:155:9 | 155 | use $crate::metadata::timechain as metadata; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `timechain` in `metadata` | ::: tc-subxt/src/shards.rs:61:3 | 61 | / metadata_scope!(self.metadata, { 62 | | let storage_query = metadata::storage().elections().shard_size(); 63 | | self.client 64 | | .storage() ... | 69 | | .ok_or(anyhow!("Shard size not found")) 70 | | }) | |__________- in this macro invocation | = note: this error originates in the macro `metadata_scope` (in Nightly builds, run with -Z macro-backtrace for more info)
test-clippy: tc-subxt/src/metadata.rs#L159
error[E0432]: unresolved import `$crate::metadata::staging` --> tc-subxt/src/metadata.rs:159:9 | 159 | use $crate::metadata::staging as metadata; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `staging` in `metadata` | ::: tc-subxt/src/shards.rs:61:3 | 61 | / metadata_scope!(self.metadata, { 62 | | let storage_query = metadata::storage().elections().shard_size(); 63 | | self.client 64 | | .storage() ... | 69 | | .ok_or(anyhow!("Shard size not found")) 70 | | }) | |__________- in this macro invocation | = note: this error originates in the macro `metadata_scope` (in Nightly builds, run with -Z macro-backtrace for more info)