Skip to content

Fix -Wunused-packages in hls-cabal-fmt-plugin #9707

Fix -Wunused-packages in hls-cabal-fmt-plugin

Fix -Wunused-packages in hls-cabal-fmt-plugin #9707

Triggered via pull request January 16, 2024 06:44
Status Success
Total duration 41m 40s
Artifacts

test.yml

on: pull_request
Matrix: test
test_post_job
0s
test_post_job
Fit to window
Zoom out
Zoom in

Annotations

170 warnings
test (9.8, macOS-latest)
The import of ‘Control.Applicative’ is redundant
test (9.8, macOS-latest)
Pattern synonym with no type signature:
test (9.8, macOS-latest)
Redundant constraint: Eq a
test (9.8, macOS-latest)
Pattern match(es) are non-exhaustive
test (9.8, macOS-latest)
Defined but not used: ‘x’
test (9.8, macOS-latest)
Pattern match(es) are non-exhaustive
test (9.8, macOS-latest)
Pattern match(es) are non-exhaustive
test (9.8, macOS-latest)
The import of ‘Development.IDE.Graph.Classes’ is redundant
test (9.8, macOS-latest)
Top-level binding with no type signature:
test (9.8, macOS-latest)
Pattern match(es) are non-exhaustive
test (9.4, macOS-latest)
Pattern synonym with no type signature:
test (9.4, macOS-latest)
Redundant constraint: Eq a
test (9.4, macOS-latest)
Pattern match(es) are non-exhaustive
test (9.4, macOS-latest)
Defined but not used: ‘x’
test (9.4, macOS-latest)
Pattern match(es) are non-exhaustive
test (9.4, macOS-latest)
Pattern match(es) are non-exhaustive
test (9.4, macOS-latest)
The import of ‘Development.IDE.Graph.Classes’ is redundant
test (9.4, macOS-latest)
Top-level binding with no type signature:
test (9.4, macOS-latest)
Pattern match(es) are non-exhaustive
test (9.4, macOS-latest)
The export item ‘NameCacheUpdater(..)’ suggests that
test (9.6, macOS-latest)
The import of ‘Control.Applicative’ is redundant
test (9.6, macOS-latest)
Pattern synonym with no type signature:
test (9.6, macOS-latest)
Redundant constraint: Eq a
test (9.6, macOS-latest)
Pattern match(es) are non-exhaustive
test (9.6, macOS-latest)
Defined but not used: ‘x’
test (9.6, macOS-latest)
Pattern match(es) are non-exhaustive
test (9.6, macOS-latest)
Pattern match(es) are non-exhaustive
test (9.6, macOS-latest)
The import of ‘Development.IDE.Graph.Classes’ is redundant
test (9.6, macOS-latest)
Top-level binding with no type signature:
test (9.6, macOS-latest)
Pattern match(es) are non-exhaustive
test (9.8, ubuntu-latest)
The import item ‘lsp-test-0.16.0.1-494120c3dd34f2648ca5594cb989cf9351c712d8792786531e08e410babdb90b:Language.LSP.Test.Session.Session(..)’ suggests that
test (9.8, ubuntu-latest)
Top-level binding with no type signature:
test (9.8, ubuntu-latest)
Pattern match(es) are non-exhaustive
test (9.8, ubuntu-latest)
Defined but not used: ‘modifySemantic’
test (9.8, ubuntu-latest)
• Defaulting the type variable ‘a0’ to type ‘Integer’ in the following constraints
test (9.8, ubuntu-latest)
The import of ‘Control.Applicative’ is redundant
test (9.8, ubuntu-latest)
Pattern synonym with no type signature:
test (9.8, ubuntu-latest)
Redundant constraint: Eq a
test (9.8, ubuntu-latest)
Pattern match(es) are non-exhaustive
test (9.8, ubuntu-latest)
Defined but not used: ‘x’
test (9.8, ubuntu-latest)
Pattern match(es) are non-exhaustive
test (9.8, ubuntu-latest)
Pattern match(es) are non-exhaustive
test (9.8, ubuntu-latest)
The import of ‘Development.IDE.Graph.Classes’ is redundant
test (9.8, ubuntu-latest)
Top-level binding with no type signature:
test (9.8, ubuntu-latest)
Pattern match(es) are non-exhaustive
test (9.8, ubuntu-latest)
In the use of ‘head’
test (9.2, macOS-latest)
Pattern synonym with no type signature:
test (9.2, macOS-latest)
• Redundant constraint: Eq a
test (9.2, macOS-latest)
Pattern match(es) are non-exhaustive
test (9.2, macOS-latest)
Defined but not used: ‘x’
test (9.2, macOS-latest)
Defined but not used: ‘mkHieFile’
test (9.2, macOS-latest)
Defined but not used: ‘mkHieFileWithSource’
test (9.2, macOS-latest)
Defined but not used: ‘getCompressedAsts’
test (9.2, macOS-latest)
Pattern match(es) are non-exhaustive
test (9.2, macOS-latest)
Pattern match(es) are non-exhaustive
test (9.2, macOS-latest)
The import of ‘Development.IDE.Graph.Classes’ is redundant
test (9.8, windows-latest)
The import item ‘lsp-test-0.16.0.1-fcae149f723a54446d773021bfa38643a7a08620:Language.LSP.Test.Session.Session(..)’ suggests that
test (9.8, windows-latest)
Top-level binding with no type signature:
test (9.8, windows-latest)
Pattern match(es) are non-exhaustive
test (9.8, windows-latest)
Defined but not used: ‘modifySemantic’
test (9.8, windows-latest)
• Defaulting the type variable ‘a0’ to type ‘Integer’ in the following constraints
test (9.8, windows-latest)
The import of ‘Control.Applicative’ is redundant
test (9.8, windows-latest)
Pattern synonym with no type signature:
test (9.8, windows-latest)
|
test (9.8, windows-latest)
This binding for ‘as’ shadows the existing bindingsrc\Development\IDE\Graph\Internal\Types.hs:117:11: warning: [GHC-
test (9.8, windows-latest)
This binding for ‘as’ shadows the existing binding
test (9.8, windows-latest)
Pattern match(es) are non-exhaustive
test (9.8, windows-latest)
This binding for ‘bs’ shadows the existing binding
test (9.8, windows-latest)
Pattern match is redundant
test (9.8, windows-latest)
Defined but not used: ‘x’
test (9.8, windows-latest)
Pattern match(es) are non-exhaustive
test (9.8, windows-latest)
In the use of ‘head’
test (9.6, ubuntu-latest)
The import of ‘Control.Applicative’ is redundant
test (9.6, ubuntu-latest)
Unrecognised pragma: HLINT
test (9.6, ubuntu-latest)
The import of ‘Control.Applicative’ is redundant
test (9.6, ubuntu-latest)
Pattern synonym with no type signature:
test (9.6, ubuntu-latest)
Redundant constraint: Eq a
test (9.6, ubuntu-latest)
Pattern match(es) are non-exhaustive
test (9.6, ubuntu-latest)
Defined but not used: ‘x’
test (9.6, ubuntu-latest)
Pattern match(es) are non-exhaustive
test (9.6, ubuntu-latest)
Pattern match(es) are non-exhaustive
test (9.6, ubuntu-latest)
The export item ‘NameCacheUpdater(..)’ suggests that
test (9.6, ubuntu-latest)
This binding for ‘as’ shadows the existing binding
test (9.6, ubuntu-latest)
This binding for ‘bs’ shadows the existing binding
test (9.6, ubuntu-latest)
The import item ‘Session(..)’ suggests that
test (9.6, ubuntu-latest)
Top-level binding with no type signature:
test (9.6, ubuntu-latest)
Pattern match(es) are non-exhaustive
test (9.6, ubuntu-latest)
Defined but not used: ‘modifySemantic’
test (9.6, ubuntu-latest)
• Defaulting the type variable ‘a0’ to type ‘Integer’ in the following constraints
test (9.4, ubuntu-latest)
Unrecognised pragma
test (9.4, ubuntu-latest)
Pattern synonym with no type signature:
test (9.4, ubuntu-latest)
Redundant constraint: Eq a
test (9.4, ubuntu-latest)
Pattern match(es) are non-exhaustive
test (9.4, ubuntu-latest)
Defined but not used: ‘x’
test (9.4, ubuntu-latest)
Pattern match(es) are non-exhaustive
test (9.4, ubuntu-latest)
Pattern match(es) are non-exhaustive
test (9.4, ubuntu-latest)
The export item ‘NameCacheUpdater(..)’ suggests that
test (9.4, ubuntu-latest)
This binding for ‘as’ shadows the existing binding
test (9.4, ubuntu-latest)
This binding for ‘bs’ shadows the existing binding
test (9.4, ubuntu-latest)
This binding for ‘as’ shadows the existing binding
test (9.4, ubuntu-latest)
The import item ‘Session(..)’ suggests that
test (9.4, ubuntu-latest)
Top-level binding with no type signature:
test (9.4, ubuntu-latest)
Pattern match(es) are non-exhaustive
test (9.4, ubuntu-latest)
Defined but not used: ‘modifySemantic’
test (9.4, ubuntu-latest)
• Defaulting the type variable ‘a0’ to type ‘Integer’ in the following constraints
test (9.2, ubuntu-latest)
The import item ‘Session(..)’ suggests that
test (9.2, ubuntu-latest)
Top-level binding with no type signature:
test (9.2, ubuntu-latest)
Pattern match(es) are non-exhaustive
test (9.2, ubuntu-latest)
Defined but not used: ‘modifySemantic’
test (9.2, ubuntu-latest)
• Defaulting the following constraints to type ‘Integer’
test (9.2, ubuntu-latest)
Unrecognised pragma
test (9.2, ubuntu-latest)
Pattern synonym with no type signature:
test (9.2, ubuntu-latest)
• Redundant constraint: Eq a
test (9.2, ubuntu-latest)
Pattern match(es) are non-exhaustive
test (9.2, ubuntu-latest)
Defined but not used: ‘x’
test (9.2, ubuntu-latest)
Defined but not used: ‘mkHieFile’
test (9.2, ubuntu-latest)
Defined but not used: ‘mkHieFileWithSource’
test (9.2, ubuntu-latest)
Defined but not used: ‘getCompressedAsts’
test (9.2, ubuntu-latest)
Pattern match(es) are non-exhaustive
test (9.2, ubuntu-latest)
Pattern match(es) are non-exhaustive
test (9.2, ubuntu-latest)
The import of ‘Development.IDE.Graph.Classes’ is redundant
test (9.2, windows-latest)
The import item ‘Session(..)’ suggests that
test (9.2, windows-latest)
Top-level binding with no type signature:
test (9.2, windows-latest)
Pattern match(es) are non-exhaustive
test (9.2, windows-latest)
Defined but not used: ‘modifySemantic’
test (9.2, windows-latest)
• Defaulting the following constraints to type ‘Integer’
test (9.2, windows-latest)
Unrecognised pragma
test (9.2, windows-latest)
Defined but not used: ‘mkHieFile’
test (9.2, windows-latest)
Defined but not used: ‘mkHieFileWithSource’
test (9.2, windows-latest)
Defined but not used: ‘getCompressedAsts’
test (9.2, windows-latest)
Pattern synonym with no type signature:
test (9.2, windows-latest)
• Redundant constraint: Eq a
test (9.2, windows-latest)
Pattern match(es) are non-exhaustive
test (9.2, windows-latest)
Defined but not used: ‘x’
test (9.2, windows-latest)
Pattern match(es) are non-exhaustive
test (9.2, windows-latest)
Pattern match(es) are non-exhaustive
test (9.2, windows-latest)
The import of ‘Development.IDE.Graph.Classes’ is redundant
test (9.4, windows-latest)
Unrecognised pragma
test (9.4, windows-latest)
Pattern synonym with no type signature:
test (9.4, windows-latest)
Redundant constraint: Eq a
test (9.4, windows-latest)
Pattern match(es) are non-exhaustive
test (9.4, windows-latest)
Defined but not used: ‘x’
test (9.4, windows-latest)
Pattern match(es) are non-exhaustive
test (9.4, windows-latest)
Pattern match(es) are non-exhaustive
test (9.4, windows-latest)
The export item ‘NameCacheUpdater(..)’ suggests that
test (9.4, windows-latest)
This binding for ‘as’ shadows the existing binding
test (9.4, windows-latest)
This binding for ‘bs’ shadows the existing binding
test (9.4, windows-latest)
This binding for ‘as’ shadows the existing binding
test (9.4, windows-latest)
The import item ‘Session(..)’ suggests that
test (9.4, windows-latest)
Top-level binding with no type signature:
test (9.4, windows-latest)
Pattern match(es) are non-exhaustive
test (9.4, windows-latest)
Defined but not used: ‘modifySemantic’
test (9.4, windows-latest)
• Defaulting the type variable ‘a0’ to type ‘Integer’ in the following constraints
test (9.6, windows-latest)
The import of ‘Control.Applicative’ is redundant
test (9.6, windows-latest)
Unrecognised pragma: HLINT
test (9.6, windows-latest)
The import item ‘Session(..)’ suggests that
test (9.6, windows-latest)
Top-level binding with no type signature:
test (9.6, windows-latest)
Pattern match(es) are non-exhaustive
test (9.6, windows-latest)
Defined but not used: ‘modifySemantic’
test (9.6, windows-latest)
• Defaulting the type variable ‘a0’ to type ‘Integer’ in the following constraints
test (9.6, windows-latest)
The export item ‘NameCacheUpdater(..)’ suggests that
test (9.6, windows-latest)
This binding for ‘as’ shadows the existing binding
test (9.6, windows-latest)
This binding for ‘bs’ shadows the existing binding
test (9.6, windows-latest)
This binding for ‘as’ shadows the existing binding
test (9.6, windows-latest)
This binding for ‘bs’ shadows the existing binding
test (9.6, windows-latest)
The import of ‘Control.Applicative’ is redundant
test (9.6, windows-latest)
Pattern synonym with no type signature:
test (9.6, windows-latest)
Redundant constraint: Eq a
test (9.6, windows-latest)
Pattern match(es) are non-exhaustive
test (9.6, windows-latest)
Defined but not used: ‘x’