Skip to content

sc-meta test CLI

sc-meta test CLI #279

Triggered via pull request October 26, 2023 12:46
Status Success
Total duration 7m 30s
Artifacts

template-test-current.yml

on: pull_request
Template tool test - current (unreleased) templates
7m 19s
Template tool test - current (unreleased) templates
Fit to window
Zoom out
Zoom in

Annotations

6 warnings
[clippy] framework/meta/src/cmd/standalone/test.rs#L20: framework/meta/src/cmd/standalone/test.rs#L20
warning: useless use of `format!` --> framework/meta/src/cmd/standalone/test.rs:20:28 | 20 | println!("{}", format!("If scen parameter is true, it will override the go parameter. Executing scenarios...").yellow()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"If scen parameter is true, it will override the go parameter. Executing scenarios...".to_string()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format = note: `#[warn(clippy::useless_format)]` on by default
[clippy] framework/meta/src/cmd/standalone/test.rs#L34: framework/meta/src/cmd/standalone/test.rs#L34
warning: use of `expect` followed by a function call --> framework/meta/src/cmd/standalone/test.rs:34:10 | 34 | .expect(&format!("Failed to run program: {program} {:?}", args).bright_red()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| { panic!("{}", format!("Failed to run program: {program} {:?}", args).bright_red().to_string()) })` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call = note: `#[warn(clippy::expect_fun_call)]` on by default
[clippy] framework/meta/src/cmd/standalone/test.rs#L20: framework/meta/src/cmd/standalone/test.rs#L20
warning: useless use of `format!` --> framework/meta/src/cmd/standalone/test.rs:20:28 | 20 | println!("{}", format!("If scen parameter is true, it will override the go parameter. Executing scenarios...").yellow()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"If scen parameter is true, it will override the go parameter. Executing scenarios...".to_string()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format = note: `#[warn(clippy::useless_format)]` on by default
[clippy] framework/meta/src/cmd/standalone/test.rs#L34: framework/meta/src/cmd/standalone/test.rs#L34
warning: use of `expect` followed by a function call --> framework/meta/src/cmd/standalone/test.rs:34:10 | 34 | .expect(&format!("Failed to run program: {program} {:?}", args).bright_red()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| { panic!("{}", format!("Failed to run program: {program} {:?}", args).bright_red().to_string()) })` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call = note: `#[warn(clippy::expect_fun_call)]` on by default
Template tool test - current (unreleased) templates
Unexpected input(s) 'default', valid inputs are ['toolchain', 'target', 'components', 'cache', 'rustflags']
Template tool test - current (unreleased) templates
Unexpected input(s) 'default', valid inputs are ['toolchain', 'target', 'components', 'cache', 'rustflags']