Skip to content

Add Lint/UnusedGenericOrUnion #1552

Add Lint/UnusedGenericOrUnion

Add Lint/UnusedGenericOrUnion #1552

Triggered via pull request January 27, 2025 22:32
Status Failure
Total duration 1m 23s
Artifacts

ci.yml

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

Annotations

7 errors and 2 warnings
test (ubuntu-latest, nightly)
Error: spawn shards ENOENT
test (macos-latest, nightly): src/ameba/rule/lint/unused_generic_or_union.cr#L62
expected argument #1 to 'Ameba::Rule::Lint::UnusedGenericOrUnion#valid_type_node?' to be Crystal::ASTNode, not (Crystal::ASTNode | Nil)
test (macos-latest, nightly)
Process completed with exit code 2.
test (ubuntu-latest, latest): src/ameba/rule/lint/unused_generic_or_union.cr#L62
expected argument #1 to 'Ameba::Rule::Lint::UnusedGenericOrUnion#valid_type_node?' to be Crystal::ASTNode, not (Crystal::ASTNode | Nil)
test (ubuntu-latest, latest)
Process completed with exit code 2.
test (macos-latest, latest): src/ameba/rule/lint/unused_generic_or_union.cr#L62
expected argument #1 to 'Ameba::Rule::Lint::UnusedGenericOrUnion#valid_type_node?' to be Crystal::ASTNode, not (Crystal::ASTNode | Nil)
test (macos-latest, latest)
Process completed with exit code 2.
test (ubuntu-latest, nightly)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test (ubuntu-latest, latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636