Skip to content

feat(meta): stabalize tests, use nextest for workflows #143

feat(meta): stabalize tests, use nextest for workflows

feat(meta): stabalize tests, use nextest for workflows #143

Triggered via pull request November 12, 2023 22:18
Status Failure
Total duration 9m 26s
Artifacts

tests.yml

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

Annotations

1 error and 8 warnings
doctest
Process completed with exit code 101.
clippy: common/src/io/logging.rs#L102
[clippy] reported by reviewdog 🐶 <pre><code>warning: accessing first element with `trace.message.get(0)` --> common/src/io/logging.rs:102:21 | 102 | trace.message.get(0).expect("Failed to build trace.") | ^^^^^^^^^^^^^^^^^^^^ help: try: `trace.message.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `#[warn(clippy::get_first)]` on by default </code></pre> Raw Output: common/src/io/logging.rs:102:21:w: <pre><code>warning: accessing first element with `trace.message.get(0)` --> common/src/io/logging.rs:102:21 | 102 | trace.message.get(0).expect("Failed to build trace.") | ^^^^^^^^^^^^^^^^^^^^ help: try: `trace.message.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `#[warn(clippy::get_first)]` on by default </code></pre> __END__
clippy: common/src/io/logging.rs#L130
[clippy] reported by reviewdog 🐶 <pre><code>warning: accessing first element with `trace.message.get(0)` --> common/src/io/logging.rs:130:21 | 130 | trace.message.get(0).expect("Failed to build trace.") | ^^^^^^^^^^^^^^^^^^^^ help: try: `trace.message.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first </code></pre> Raw Output: common/src/io/logging.rs:130:21:w: <pre><code>warning: accessing first element with `trace.message.get(0)` --> common/src/io/logging.rs:130:21 | 130 | trace.message.get(0).expect("Failed to build trace.") | ^^^^^^^^^^^^^^^^^^^^ help: try: `trace.message.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first </code></pre> __END__
clippy: common/src/io/logging.rs#L205
[clippy] reported by reviewdog 🐶 <pre><code>warning: accessing first element with `trace.message.get(0)` --> common/src/io/logging.rs:205:21 | 205 | trace.message.get(0).expect("Failed to build trace.") | ^^^^^^^^^^^^^^^^^^^^ help: try: `trace.message.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first </code></pre> Raw Output: common/src/io/logging.rs:205:21:w: <pre><code>warning: accessing first element with `trace.message.get(0)` --> common/src/io/logging.rs:205:21 | 205 | trace.message.get(0).expect("Failed to build trace.") | ^^^^^^^^^^^^^^^^^^^^ help: try: `trace.message.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first </code></pre> __END__
clippy: core/src/decompile/analyzers/yul.rs#L408
[clippy] reported by reviewdog 🐶 <pre><code>warning: you seem to use `.enumerate()` and immediately discard the index --> core/src/decompile/analyzers/yul.rs:408:23 | 408 | for (_, child) in vm_trace.children.iter().enumerate() { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_enumerate_index = note: `#[warn(clippy::unused_enumerate_index)]` on by default help: remove the `.enumerate()` call | 408 | for child in vm_trace.children.iter() { | ~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ </code></pre> Raw Output: core/src/decompile/analyzers/yul.rs:408:23:w: <pre><code>warning: you seem to use `.enumerate()` and immediately discard the index --> core/src/decompile/analyzers/yul.rs:408:23 | 408 | for (_, child) in vm_trace.children.iter().enumerate() { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_enumerate_index = note: `#[warn(clippy::unused_enumerate_index)]` on by default help: remove the `.enumerate()` call | 408 | for child in vm_trace.children.iter() { | ~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ </code></pre> __END__
clippy: core/src/decompile/out/solidity.rs#L25
[clippy] reported by reviewdog 🐶 <pre><code>warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do --> core/src/decompile/out/solidity.rs:25:10 | 25 | abi: &Vec<ABIStructure>, | ^^^^^^^^^^^^^^^^^^ help: change this to: `&[ABIStructure]` | = 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 </code></pre> Raw Output: core/src/decompile/out/solidity.rs:25:10:w: <pre><code>warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do --> core/src/decompile/out/solidity.rs:25:10 | 25 | abi: &Vec<ABIStructure>, | ^^^^^^^^^^^^^^^^^^ help: change this to: `&[ABIStructure]` | = 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 </code></pre> __END__
clippy: core/src/decompile/resolve.rs#L23
[clippy] reported by reviewdog 🐶 <pre><code>warning: accessing first element with `types.get(0)` --> core/src/decompile/resolve.rs:23:35 | 23 | .map(|(_, types)| types.get(0).unwrap().clone()) | ^^^^^^^^^^^^ help: try: `types.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `#[warn(clippy::get_first)]` on by default </code></pre> Raw Output: core/src/decompile/resolve.rs:23:35:w: <pre><code>warning: accessing first element with `types.get(0)` --> core/src/decompile/resolve.rs:23:35 | 23 | .map(|(_, types)| types.get(0).unwrap().clone()) | ^^^^^^^^^^^^ help: try: `types.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `#[warn(clippy::get_first)]` on by default </code></pre> __END__
clippy: core/src/snapshot/analyze.rs#L532
[clippy] reported by reviewdog 🐶 <pre><code>warning: you seem to use `.enumerate()` and immediately discard the index --> core/src/snapshot/analyze.rs:532:23 | 532 | for (_, child) in vm_trace.children.iter().enumerate() { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_enumerate_index help: remove the `.enumerate()` call | 532 | for child in vm_trace.children.iter() { | ~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ </code></pre> Raw Output: core/src/snapshot/analyze.rs:532:23:w: <pre><code>warning: you seem to use `.enumerate()` and immediately discard the index --> core/src/snapshot/analyze.rs:532:23 | 532 | for (_, child) in vm_trace.children.iter().enumerate() { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_enumerate_index help: remove the `.enumerate()` call | 532 | for child in vm_trace.children.iter() { | ~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ </code></pre> __END__
clippy: core/src/snapshot/resolve.rs#L24
[clippy] reported by reviewdog 🐶 <pre><code>warning: accessing first element with `types.get(0)` --> core/src/snapshot/resolve.rs:24:35 | 24 | .map(|(_, types)| types.get(0).unwrap().clone()) | ^^^^^^^^^^^^ help: try: `types.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first </code></pre> Raw Output: core/src/snapshot/resolve.rs:24:35:w: <pre><code>warning: accessing first element with `types.get(0)` --> core/src/snapshot/resolve.rs:24:35 | 24 | .map(|(_, types)| types.get(0).unwrap().clone()) | ^^^^^^^^^^^^ help: try: `types.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first </code></pre> __END__