Skip to content

System SC mock

System SC mock #1226

Triggered via pull request July 4, 2023 14:30
@ovstingaovstinga
synchronize #1100
system-sc
Status Success
Total duration 3m 44s
Artifacts

lldb-formatter-tests.yml

on: pull_request
LLDB formatter tests
3m 35s
LLDB formatter tests
Fit to window
Zoom out
Zoom in

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/