Skip to content

Prepare try-runtime-cli for publication on crates.io #319

Prepare try-runtime-cli for publication on crates.io

Prepare try-runtime-cli for publication on crates.io #319

Triggered via pull request November 24, 2025 21:46
Status Failure
Total duration 1h 13m 40s
Artifacts

rust-checks.yaml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 2 warnings
clippy
Clippy had exited with the 101 exit code
the `Err`-variant returned from this function is very large: core/src/lib.rs#L41
error: the `Err`-variant returned from this function is very large --> core/src/lib.rs:41:57 | 41 | pub(crate) fn hash_of<Block: BlockT>(hash_str: &str) -> sc_cli::Result<Block::Hash> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 176 bytes | = help: try reducing the size of `sc_cli::Error`, for example by boxing large elements or replacing it with `Box<sc_cli::Error>` = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#result_large_err
the `Err`-variant returned from this function is very large: core/src/common/state.rs#L405
error: the `Err`-variant returned from this function is very large --> core/src/common/state.rs:405:6 | 405 | ) -> sc_cli::Result<(StorageProof, Vec<u8>)> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 176 bytes | = help: try reducing the size of `sc_cli::Error`, for example by boxing large elements or replacing it with `Box<sc_cli::Error>` = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#result_large_err
the `Err`-variant returned from this function is very large: core/src/common/state.rs#L374
error: the `Err`-variant returned from this function is very large --> core/src/common/state.rs:374:6 | 374 | ) -> sc_cli::Result<(OverlayedChanges<HashingFor<Block>>, Vec<u8>)> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 176 bytes | = help: try reducing the size of `sc_cli::Error`, for example by boxing large elements or replacing it with `Box<sc_cli::Error>` = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#result_large_err
the `Err`-variant returned from this function is very large: core/src/common/state.rs#L92
error: the `Err`-variant returned from this function is very large --> core/src/common/state.rs:92:40 | 92 | pub fn at<Block: BlockT>(&self) -> sc_cli::Result<Option<<Block>::Hash>> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 176 bytes | = help: try reducing the size of `sc_cli::Error`, for example by boxing large elements or replacing it with `Box<sc_cli::Error>` = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#result_large_err
the `Err`-variant returned from this function is very large: core/src/common/empty_block/production.rs#L233
error: the `Err`-variant returned from this function is very large --> core/src/common/empty_block/production.rs:233:6 | 233 | ) -> Result<T> { | ^^^^^^^^^ the `Err`-variant is at least 176 bytes | = help: try reducing the size of `sc_cli::Error`, for example by boxing large elements or replacing it with `Box<sc_cli::Error>` = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#result_large_err
the `Err`-variant returned from this function is very large: core/src/common/empty_block/production.rs#L223
error: the `Err`-variant returned from this function is very large --> core/src/common/empty_block/production.rs:223:6 | 223 | ) -> Result<u32> { | ^^^^^^^^^^^ the `Err`-variant is at least 176 bytes | = help: try reducing the size of `sc_cli::Error`, for example by boxing large elements or replacing it with `Box<sc_cli::Error>` = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#result_large_err
the `Err`-variant returned from this function is very large: core/src/commands/on_runtime_upgrade/mod.rs#L308
error: the `Err`-variant returned from this function is very large --> core/src/commands/on_runtime_upgrade/mod.rs:308:10 | 308 | ) -> sc_cli::Result<bool> { | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 176 bytes | = help: try reducing the size of `sc_cli::Error`, for example by boxing large elements or replacing it with `Box<sc_cli::Error>` = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#result_large_err
the `Err`-variant returned from this function is very large: core/src/commands/on_runtime_upgrade/mod.rs#L255
error: the `Err`-variant returned from this function is very large --> core/src/commands/on_runtime_upgrade/mod.rs:255:65 | 255 | fn check_weight(&self, ext: &RemoteExternalities<Block>) -> sc_cli::Result<bool> { | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 176 bytes | = help: try reducing the size of `sc_cli::Error`, for example by boxing large elements or replacing it with `Box<sc_cli::Error>` = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#result_large_err
the `Err`-variant returned from this function is very large: core/src/commands/on_runtime_upgrade/mod.rs#L182
error: the `Err`-variant returned from this function is very large --> core/src/commands/on_runtime_upgrade/mod.rs:182:10 | 182 | ) -> sc_cli::Result<bool> { | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 176 bytes | = help: try reducing the size of `sc_cli::Error`, for example by boxing large elements or replacing it with `Box<sc_cli::Error>` = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#result_large_err = note: `-D clippy::result-large-err` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::result_large_err)]`
test (ubuntu-latest, stable)
Process completed with exit code 101.
clippy
Cache not found for keys: v0-rust-clippy-v0-clippy-Linux-x64-4f3e7ab3-22a76c36, v0-rust-clippy-v0-clippy-Linux-x64-4f3e7ab3
test (ubuntu-latest, stable)
Cache not found for keys: v0-rust-test-Linux-x64-53718771-22a76c36, v0-rust-test-Linux-x64-53718771