Skip to content

Replace dunai by automata/state machines #630

Replace dunai by automata/state machines

Replace dunai by automata/state machines #630

Triggered via pull request April 19, 2024 13:52
@turionturion
synchronize #299
dev_automata
Status Failure
Total duration 4m 3s
Artifacts

ci.yml

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

Annotations

17 errors and 11 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 (1)
Haskell GHC 9.2.8 stack
Process completed with exit code 1.
Haskell GHC 9.0.2 stack
The job was canceled because "_9_2_8_ubuntu-latest" failed.
Haskell GHC 9.0.2 stack
The operation was canceled.
Haskell GHC 9.4.7 stack
The job was canceled because "_9_2_8_ubuntu-latest" failed.
Haskell GHC 9.4.7 stack
The operation was canceled.
Haskell GHC 9.0.2 cabal
The import of ‘Control.Monad’ is redundant
Haskell GHC 9.0.2 cabal
The import of ‘Control.Monad.Trans.Class’ is redundant
Haskell GHC 9.0.2 cabal
The import of ‘Control.Monad.Trans.Except’ is redundant
Haskell GHC 9.0.2 cabal
Process completed with exit code 1.
Haskell GHC 9.4.7 cabal
The job was canceled because "_9_0_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_0_2_ubuntu-latest" failed.
Haskell GHC 9.2.8 cabal
The operation was canceled.
Nix Flake (macos-latest)
Process completed with exit code 1.
Run hlint: rhine/src/Data/Automaton.hs#L14
Warning in module Data.Automaton: Use fewer imports ▫︎ Found: "import Control.Monad ( (<$!>) )\nimport Control.Monad ( (<$!>) )\n" ▫︎ Perhaps: "import Control.Monad ( (<$!>), (<$!>) )\n"
Run hlint: rhine/src/Data/Automaton.hs#L18
Warning in module Data.Automaton: Use fewer imports ▫︎ Found: "import Control.Monad.Trans.Class\nimport Control.Monad.Trans.Class\n" ▫︎ Perhaps: "import Control.Monad.Trans.Class\n"
Run hlint: rhine/src/Data/Automaton.hs#L19
Warning in module Data.Automaton: Use fewer imports ▫︎ Found: "import Control.Monad.Trans.Except\n ( ExceptT, runExceptT, throwE, withExceptT )\nimport Control.Monad.Trans.Except\n ( ExceptT, runExceptT, throwE, withExceptT )\n" ▫︎ Perhaps: "import Control.Monad.Trans.Except\n ( ExceptT,\n runExceptT,\n throwE,\n withExceptT,\n ExceptT,\n runExceptT,\n throwE,\n withExceptT )\n"
Run hlint: rhine/src/Data/Automaton/Internal.hs#L15
Suggestion in Fix in module Data.Automaton.Internal: Use newtype instead of data ▫︎ Found: "data Fix t = Fix {getFix :: ~(t (Fix t))}" ▫︎ Perhaps: "newtype Fix t = Fix {getFix :: (t (Fix t))}" ▫︎ Note: decreases laziness
Run hlint: rhine/src/Data/Automaton/MSF.hs#L7
Warning in module Data.Automaton.MSF: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE StandaloneDeriving #-}"
Run hlint: rhine/src/Data/Automaton/MSF/Final.hs#L9
Warning in module Data.Automaton.MSF.Final: Use fewer imports ▫︎ Found: "import Control.Arrow\nimport Control.Arrow\n" ▫︎ Perhaps: "import Control.Arrow\n"
Run hlint: rhine/src/Data/Automaton/MSF/Final.hs#L12
Warning in module Data.Automaton.MSF.Final: Use fewer imports ▫︎ Found: "import Data.Automaton.Final qualified as AutomatonFinal\nimport Data.Automaton.Final qualified as AutomatonFinal\n" ▫︎ Perhaps: "import Data.Automaton.Final qualified as AutomatonFinal\n"
Run hlint: rhine/src/Data/Automaton/MSF/Final.hs#L13
Warning in module Data.Automaton.MSF.Final: Use fewer imports ▫︎ Found: "import Data.Automaton.MSF\nimport Data.Automaton.MSF\n" ▫︎ Perhaps: "import Data.Automaton.MSF\n"
Run hlint: rhine/src/Data/Automaton/MSF/Final.hs#L14
Warning in module Data.Automaton.MSF.Final: Use fewer imports ▫︎ Found: "import Data.Automaton.Optimized qualified as AutomatonOptimized\nimport Data.Automaton.Optimized qualified as AutomatonOptimized\n" ▫︎ Perhaps: "import Data.Automaton.Optimized qualified as AutomatonOptimized\n"
Run hlint: rhine/src/FRP/Rhine/ResamplingBuffer/ClSF.hs#L1
Warning in module FRP.Rhine.ResamplingBuffer.ClSF: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE RecordWildCards #-}" ▫︎ Note: may require `{-# LANGUAGE DisambiguateRecordFields #-}` adding to the top of the file
Haskell GHC 9.2.8 stack
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: freckle/stack-cache-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.