Skip to content

chore: resolve Clippy warnings #420

chore: resolve Clippy warnings

chore: resolve Clippy warnings #420

Triggered via push October 29, 2023 18:52
Status Failure
Total duration 58s
Artifacts

release.yml

on: push
Test Suite
48s
Test Suite
cargo-release
0s
cargo-release
Matrix: github-release
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
mismatched types: crates/jrsonnet-evaluator/src/arr/spec.rs#L208
error[E0308]: mismatched types --> crates/jrsonnet-evaluator/src/arr/spec.rs:208:24 | 205 | match &self.cached.borrow()[index] { | ---------------------------- this expression has type `&arr::spec::ArrayThunk<jrsonnet_parser::LocExpr>` ... 208 | ArrayThunk::Waiting(()) | ArrayThunk::Pending => {} | ^^ expected `LocExpr`, found `()`
Test Suite
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
mismatched types: crates/jrsonnet-evaluator/src/arr/spec.rs#L208
error[E0308]: mismatched types --> crates/jrsonnet-evaluator/src/arr/spec.rs:208:24 | 205 | match &self.cached.borrow()[index] { | ---------------------------- this expression has type `&arr::spec::ArrayThunk<jrsonnet_parser::LocExpr>` ... 208 | ArrayThunk::Waiting(()) | ArrayThunk::Pending => {} | ^^ expected `LocExpr`, found `()`
Test Suite
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/