Skip to content

rustfmt

rustfmt #2372

Triggered via push October 24, 2023 22:19
Status Success
Total duration 10m 34s
Artifacts 1
Create conformance report for `push` and `pull_request` events
9m 40s
Create conformance report for `push` and `pull_request` events
Matrix: Build and Test
Matrix: cargo-deny
Create comparison report for `pull_request` event
0s
Create comparison report for `pull_request` event
Fit to window
Zoom out
Zoom in

Annotations

1 error and 7 warnings
Create conformance report for `push` and `pull_request` events
Process completed with exit code 101.
usage of `Iterator::fold` on a type that implements `Try`: partiql-eval/src/eval/expr/path.rs#L132
warning: usage of `Iterator::fold` on a type that implements `Try` --> partiql-eval/src/eval/expr/path.rs:132:18 | 132 | .fold(Some(owned), |v, path| { | __________________^ 133 | | v.and_then(|v| path.take_val(v, bindings, ctx)) 134 | | }) | |__________________^ help: use `try_fold` instead: `try_fold(owned, |v, path| ...)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_try_fold
usage of `Iterator::fold` on a type that implements `Try`: partiql-eval/src/eval/expr/path.rs#L125
warning: usage of `Iterator::fold` on a type that implements `Try` --> partiql-eval/src/eval/expr/path.rs:125:18 | 125 | .fold(Some(borrowed), |v, path| { | __________________^ 126 | | v.and_then(|v| path.get_val(v, bindings, ctx)) 127 | | }) | |__________________^ help: use `try_fold` instead: `try_fold(borrowed, |v, path| ...)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_try_fold = note: `#[warn(clippy::manual_try_fold)]` on by default
redundant pattern matching, consider using `is_some()`: /home/runner/work/partiql-lang-rust/partiql-lang-rust/target/debug/build/partiql-parser-dfb8c13a5c10ee4a/out/partiql.rs#L47881
warning: redundant pattern matching, consider using `is_some()` --> /home/runner/work/partiql-lang-rust/partiql-lang-rust/target/debug/build/partiql-parser-dfb8c13a5c10ee4a/out/partiql.rs:47881:25 | 47881 | let recursive = matches!(rec, Some(_)); | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `rec.is_some()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching = note: `#[warn(clippy::redundant_pattern_matching)]` on by default
usage of `Iterator::fold` on a type that implements `Try`: partiql-eval/src/eval/expr/path.rs#L132
warning: usage of `Iterator::fold` on a type that implements `Try` --> partiql-eval/src/eval/expr/path.rs:132:18 | 132 | .fold(Some(owned), |v, path| { | __________________^ 133 | | v.and_then(|v| path.take_val(v, bindings, ctx)) 134 | | }) | |__________________^ help: use `try_fold` instead: `try_fold(owned, |v, path| ...)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_try_fold
usage of `Iterator::fold` on a type that implements `Try`: partiql-eval/src/eval/expr/path.rs#L125
warning: usage of `Iterator::fold` on a type that implements `Try` --> partiql-eval/src/eval/expr/path.rs:125:18 | 125 | .fold(Some(borrowed), |v, path| { | __________________^ 126 | | v.and_then(|v| path.get_val(v, bindings, ctx)) 127 | | }) | |__________________^ help: use `try_fold` instead: `try_fold(borrowed, |v, path| ...)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_try_fold = note: `#[warn(clippy::manual_try_fold)]` on by default
redundant pattern matching, consider using `is_some()`: /home/runner/work/partiql-lang-rust/partiql-lang-rust/target/debug/build/partiql-parser-dfb8c13a5c10ee4a/out/partiql.rs#L47881
warning: redundant pattern matching, consider using `is_some()` --> /home/runner/work/partiql-lang-rust/partiql-lang-rust/target/debug/build/partiql-parser-dfb8c13a5c10ee4a/out/partiql.rs:47881:25 | 47881 | let recursive = matches!(rec, Some(_)); | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `rec.is_some()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching = note: `#[warn(clippy::redundant_pattern_matching)]` on by default
Build and Test (ubuntu-20.04)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/

Artifacts

Produced during runtime
Name Size
artifact Expired
1010 KB