Skip to content

Add Lint/UnusedGenericOrUnion #1555

Add Lint/UnusedGenericOrUnion

Add Lint/UnusedGenericOrUnion #1555

Triggered via pull request January 27, 2025 22:39
Status Failure
Total duration 1m 30s
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 (ubuntu-latest, latest): src/ameba/rule/lint/unused_generic_or_union.cr#L65
method Ameba::Rule::Lint::UnusedGenericOrUnion#valid_type_node? must return Bool but it is returning (Bool | Nil)
test (ubuntu-latest, latest)
Process completed with exit code 2.
test (macos-latest, latest): src/ameba/rule/lint/unused_generic_or_union.cr#L65
method Ameba::Rule::Lint::UnusedGenericOrUnion#valid_type_node? must return Bool but it is returning (Bool | Nil)
test (macos-latest, latest)
Process completed with exit code 2.
test (macos-latest, nightly): src/ameba/rule/lint/unused_generic_or_union.cr#L65
method Ameba::Rule::Lint::UnusedGenericOrUnion#valid_type_node? must return Bool but it is returning (Bool | Nil)
test (macos-latest, nightly)
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