System SC mock #1226
lldb-formatter-tests.yml
on: pull_request
LLDB formatter tests
3m 35s
Annotations
11 warnings
[clippy] vm/src/tx_execution/system_sc/system_sc_issue.rs#L96:
vm/src/tx_execution/system_sc/system_sc_issue.rs#L96
warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
--> vm/src/tx_execution/system_sc/system_sc_issue.rs:96:24
|
96 | token_identifiers: &Vec<String>,
| ^^^^^^^^^^^^ help: change this to: `&[String]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: `#[warn(clippy::ptr_arg)]` on by default
|
[clippy] vm/src/tx_execution/system_sc/system_sc_issue.rs#L100:
vm/src/tx_execution/system_sc/system_sc_issue.rs#L100
warning: single-character string constant used as pattern
--> vm/src/tx_execution/system_sc/system_sc_issue.rs:100:44
|
100 | |ti: &String| -> String { ti.split("-").map(|x| x.to_string()).next().unwrap() };
| ^^^ help: try using a `char` instead: `'-'`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern
= note: `#[warn(clippy::single_char_pattern)]` on by default
|
[clippy] vm/src/tx_execution/system_sc/system_sc_issue.rs#L106:
vm/src/tx_execution/system_sc/system_sc_issue.rs#L106
warning: manual implementation of `Option::map`
--> vm/src/tx_execution/system_sc/system_sc_issue.rs:106:5
|
106 | / if let Some(i) = position {
107 | | Some((i, token_identifiers[i].clone()))
108 | | } else {
109 | | None
110 | | }
| |_____^ help: try this: `position.map(|i| (i, token_identifiers[i].clone()))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_map
= note: `#[warn(clippy::manual_map)]` on by default
|
[clippy] vm/src/tx_execution/system_sc/system_sc_issue.rs#L96:
vm/src/tx_execution/system_sc/system_sc_issue.rs#L96
warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
--> vm/src/tx_execution/system_sc/system_sc_issue.rs:96:24
|
96 | token_identifiers: &Vec<String>,
| ^^^^^^^^^^^^ help: change this to: `&[String]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: `#[warn(clippy::ptr_arg)]` on by default
|
[clippy] vm/src/tx_execution/system_sc/system_sc_issue.rs#L100:
vm/src/tx_execution/system_sc/system_sc_issue.rs#L100
warning: single-character string constant used as pattern
--> vm/src/tx_execution/system_sc/system_sc_issue.rs:100:44
|
100 | |ti: &String| -> String { ti.split("-").map(|x| x.to_string()).next().unwrap() };
| ^^^ help: try using a `char` instead: `'-'`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern
= note: `#[warn(clippy::single_char_pattern)]` on by default
|
[clippy] vm/src/tx_execution/system_sc/system_sc_issue.rs#L106:
vm/src/tx_execution/system_sc/system_sc_issue.rs#L106
warning: manual implementation of `Option::map`
--> vm/src/tx_execution/system_sc/system_sc_issue.rs:106:5
|
106 | / if let Some(i) = position {
107 | | Some((i, token_identifiers[i].clone()))
108 | | } else {
109 | | None
110 | | }
| |_____^ help: try this: `position.map(|i| (i, token_identifiers[i].clone()))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_map
= note: `#[warn(clippy::manual_map)]` on by default
|
LLDB formatter tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
LLDB formatter tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
LLDB formatter tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
LLDB formatter tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
LLDB formatter tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|