Skip to content

feat: add support for @defer directive #14505

feat: add support for @defer directive

feat: add support for @defer directive #14505

Triggered via pull request November 26, 2024 15:51
Status Failure
Total duration 1m 38s
Artifacts

lint.yml

on: pull_request
Run Formatter and Lint Check
1m 29s
Run Formatter and Lint Check
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 10 warnings
Run Formatter and Lint Check: src/core/jit/transform/input_resolver.rs#L90
redundant field names in struct initialization
Run Formatter and Lint Check: src/core/jit/transform/wrap_defer.rs#L44
called `is_some()` after searching an `Iterator` with `find`
Run Formatter and Lint Check: src/core/jit/transform/wrap_defer.rs#L72
called `is_some()` after searching an `Iterator` with `find`
Run Formatter and Lint Check: src/core/jit/transform/defer_planner.rs#L23
you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`
Run Formatter and Lint Check: src/core/jit/transform/defer_planner.rs#L47
you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`
Run Formatter and Lint Check: src/core/jit/builder.rs#L298
called `is_some()` after searching an `Iterator` with `find`
Run Formatter and Lint Check
Process completed with exit code 1.
Run Formatter and Lint Check: src/core/blueprint/operators/http.rs#L64
Diff in /home/runner/work/tailcall/tailcall/src/core/blueprint/operators/http.rs
Run Formatter and Lint Check: src/core/jit/exec_const.rs#L98
Diff in /home/runner/work/tailcall/tailcall/src/core/jit/exec_const.rs
Run Formatter and Lint Check: src/core/jit/model.rs#L610
Diff in /home/runner/work/tailcall/tailcall/src/core/jit/model.rs
Run Formatter and Lint Check: src/core/jit/response.rs#L22
Diff in /home/runner/work/tailcall/tailcall/src/core/jit/response.rs
Run Formatter and Lint Check: src/core/jit/transform/check_cache.rs#L35
Diff in /home/runner/work/tailcall/tailcall/src/core/jit/transform/check_cache.rs
Run Formatter and Lint Check: src/core/jit/transform/check_const.rs#L28
Diff in /home/runner/work/tailcall/tailcall/src/core/jit/transform/check_const.rs
Run Formatter and Lint Check: src/core/jit/transform/check_dedupe.rs#L27
Diff in /home/runner/work/tailcall/tailcall/src/core/jit/transform/check_dedupe.rs
Run Formatter and Lint Check: src/core/jit/transform/check_protected.rs#L28
Diff in /home/runner/work/tailcall/tailcall/src/core/jit/transform/check_protected.rs
Run Formatter and Lint Check: src/core/jit/transform/defer_planner.rs#L1
Diff in /home/runner/work/tailcall/tailcall/src/core/jit/transform/defer_planner.rs
Run Formatter and Lint Check: src/core/jit/transform/defer_planner.rs#L5
Diff in /home/runner/work/tailcall/tailcall/src/core/jit/transform/defer_planner.rs