Skip to content

rhine-dom

rhine-dom #902

Triggered via pull request November 16, 2024 15:41
@turionturion
synchronize #374
dev_tree
Status Failure
Total duration 1m 16s
Artifacts

ci.yml

on: pull_request
Matrix: Nix Flake
Generate matrix from cabal
5s
Generate matrix from cabal
Run hlint
13s
Run hlint
Run fourmolu
9s
Run fourmolu
Check and format all cabal files
8s
Check and format all cabal files
Matrix: build-cabal
Successfully build and test on all systems
0s
Successfully build and test on all systems
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 10 warnings
Check and format all cabal files
Process completed with exit code 1.
Run fourmolu
fourmolu detected unformatted files
Run hlint
HLint failed with status: 1. Warning (11), Suggestion (9)
Haskell GHC 9.8.2 cabal
Process completed with exit code 1.
Haskell GHC 9.10.1 cabal
The job was canceled because "_9_8_2_ubuntu-latest" failed.
Haskell GHC 9.10.1 cabal
Process completed with exit code 1.
Haskell GHC 9.6.4 cabal
The job was canceled because "_9_8_2_ubuntu-latest" failed.
Haskell GHC 9.6.4 cabal
The operation was canceled.
Haskell GHC 9.4.7 cabal
The job was canceled because "_9_8_2_ubuntu-latest" failed.
Haskell GHC 9.4.7 cabal
The operation was canceled.
Haskell GHC 9.2.8 cabal
The job was canceled because "_9_8_2_ubuntu-latest" failed.
Haskell GHC 9.2.8 cabal
The operation was canceled.
Nix Flake (macos-latest)
Process completed with exit code 1.
Nix Flake (ubuntu-latest)
The job was canceled because "macos-latest" failed.
Nix Flake (ubuntu-latest)
The operation was canceled.
Run hlint: rhine/src/FRP/Rhine/ClSF/State.hs#L2
Warning in module FRP.Rhine.ClSF.State: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE TupleSections #-}"
Run hlint: rhine/src/FRP/Rhine/ClSF/State.hs#L52
Warning in runStateS_ in module FRP.Rhine.ClSF.State: Eta reduce ▫︎ Found: "runStateS_ behaviour s\n = Automaton.runStateS_ (hoistS commuteState behaviour) s" ▫︎ Perhaps: "runStateS_ behaviour\n = Automaton.runStateS_ (hoistS commuteState behaviour)"
Run hlint: rhine/src/FRP/Rhine/Schedule/Internal.hs#L33
Suggestion in apInjs_NPNonEmpty in module FRP.Rhine.Schedule.Internal: Use camelCase ▫︎ Found: "apInjs_NPNonEmpty ::\n (SListI xs) => NP f (x ': xs) -> NonEmpty (NS f (x ': xs))" ▫︎ Perhaps: "apInjsNPNonEmpty ::\n (SListI xs) => NP f (x ': xs) -> NonEmpty (NS f (x ': xs))"
Run hlint: rhine/src/FRP/Rhine/Schedule/Internal.hs#L34
Suggestion in apInjs_NPNonEmpty in module FRP.Rhine.Schedule.Internal: Use camelCase ▫︎ Found: "apInjs_NPNonEmpty (fx :* fxs) = ..." ▫︎ Perhaps: "apInjsNPNonEmpty (fx :* fxs) = ..."
Run hlint: rhine/src/FRP/Rhine/Schedule/Internal.hs#L61
Suggestion in scheduleStreams in module FRP.Rhine.Schedule.Internal: Redundant bracket ▫︎ Found: "finished <&> (hliftA (getRunningResult >>> resultState >>> I))" ▫︎ Perhaps: "finished <&> hliftA (getRunningResult >>> resultState >>> I)"
Run hlint: rhine-tree/app/Dommy.hs#L1
Warning in module Main: Use fewer imports ▫︎ Found: "import FRP.Rhine.Tree\nimport FRP.Rhine.Tree\n" ▫︎ Perhaps: "import FRP.Rhine.Tree\n"
Run hlint: rhine-tree/app/Dommy.hs#L28
Warning in module Main: Use fewer imports ▫︎ Found: "import FRP.Rhine.Tree.Types ( DOM(..) )\nimport FRP.Rhine.Tree.Types ( Node(..), Content(ContentText) )\n" ▫︎ Perhaps: "import FRP.Rhine.Tree.Types\n ( DOM(..), Node(..), Content(ContentText) )\n"
Run hlint: rhine-tree/src/FRP/Rhine/Tree.hs#L93
Suggestion in AnEvent in module FRP.Rhine.Tree: Use newtype instead of data ▫︎ Found: "data AnEvent a = AnEvent (Event a)" ▫︎ Perhaps: "newtype AnEvent a = AnEvent (Event a)" ▫︎ Note: decreases laziness
Run hlint: rhine-tree/src/FRP/Rhine/Tree.hs#L107
Warning in indexAutomaton1 in module FRP.Rhine.Tree: Functor law ▫︎ Found: "maybeStep <&> unzipResult <&> mapResultState (fromMaybe s)" ▫︎ Perhaps: "(maybeStep <&> mapResultState (fromMaybe s) . unzipResult)"
Run hlint: rhine-tree/src/FRP/Rhine/Tree.hs#L181
Warning in diff in module FRP.Rhine.Tree: Use mapMaybe ▫︎ Found: "align fa1 fa2\n ^@.. t <. to (these (pure . const Delete) (pure . Add) diff0)\n <&> (\\ (i, me) -> (i,) <$> me)\n & catMaybes" ▫︎ Perhaps: "mapMaybe\n (\\ (i, me) -> (i,) <$> me)\n (align fa1 fa2\n ^@.. t <. to (these (pure . const Delete) (pure . Add) diff0))"