Skip to content

rhine-dom

rhine-dom #901

Triggered via pull request November 16, 2024 13:57
Status Failure
Total duration 1m 38s
Artifacts

ci.yml

on: pull_request
Matrix: Nix Flake
Generate matrix from cabal
10s
Generate matrix from cabal
Run hlint
10s
Run hlint
Run fourmolu
6s
Run fourmolu
Check and format all cabal files
7s
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
Run fourmolu
fourmolu detected unformatted files
Check and format all cabal files
Process completed with exit code 1.
Run hlint
HLint failed with status: 1. Warning (8), Suggestion (8)
Haskell GHC 9.8.2 cabal
Process completed with exit code 1.
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.
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.10.1 cabal
The job was canceled because "_9_8_2_ubuntu-latest" failed.
Haskell GHC 9.10.1 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/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#L9
Warning in module Main: Use fewer imports ▫︎ Found: "import Language.Javascript.JSaddle\n ( askJSM,\n fun,\n global,\n js,\n js1,\n jsg,\n jsg3,\n jss,\n nextAnimationFrame,\n runJSM,\n syncPoint,\n valToNumber,\n valToJSON )\nimport Language.Javascript.JSaddle\n" ▫︎ Perhaps: "import Language.Javascript.JSaddle\n"
Run hlint: rhine-tree/app/Dommy.hs#L27
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#L88
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#L102
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#L174
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))"
Run hlint: rhine-tree/src/FRP/Rhine/Tree.hs#L181
Suggestion in JSMClock in module FRP.Rhine.Tree: Use newtype instead of data ▫︎ Found: "data JSMClock = JSMClock {events :: MVar JSMEvent}" ▫︎ Perhaps: "newtype JSMClock = JSMClock {events :: MVar JSMEvent}" ▫︎ Note: decreases laziness