Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tonicebrian/005504532af8b162f4525b585465228d to your computer and use it in GitHub Desktop.
Save tonicebrian/005504532af8b162f4525b585465228d to your computer and use it in GitHub Desktop.
Error compiling shakespeare
❯ stack install shakespeare 2&> /tmp/aux.txt
sydtest.cabal is up-to-date
sydtest-aeson.cabal is up-to-date
sydtest-amqp.cabal is up-to-date
sydtest-autodocodec.cabal is up-to-date
sydtest-discover.cabal is up-to-date
sydtest-hedgehog.cabal is up-to-date
sydtest-hedis.cabal is up-to-date
sydtest-hspec.cabal is up-to-date
sydtest-mongo.cabal is up-to-date
sydtest-persistent.cabal is up-to-date
sydtest-persistent-postgresql.cabal is up-to-date
sydtest-persistent-sqlite.cabal is up-to-date
sydtest-process.cabal is up-to-date
sydtest-rabbitmq.cabal is up-to-date
sydtest-servant.cabal is up-to-date
sydtest-typed-process.cabal is up-to-date
sydtest-wai.cabal is up-to-date
sydtest-webdriver.cabal is up-to-date
sydtest-webdriver-screenshot.cabal is up-to-date
sydtest-webdriver-yesod.cabal is up-to-date
sydtest-yesod.cabal is up-to-date
sydtest-misbehaved-test-suite.cabal is up-to-date
shakespeare> configure
shakespeare> configure
shakespeare> Configuring shakespeare-2.0.30...
shakespeare> Configuring shakespeare-2.0.30...
shakespeare> build
shakespeare> build
shakespeare> Preprocessing library for shakespeare-2.0.30..
shakespeare> Preprocessing library for shakespeare-2.0.30..
shakespeare> Building library for shakespeare-2.0.30..
shakespeare> Building library for shakespeare-2.0.30..
shakespeare> [ 1 of 22] Compiling Text.IndentToBrace
shakespeare> [ 1 of 22] Compiling Text.IndentToBrace
shakespeare>
shakespeare>
shakespeare> /tmp/nix-shell.F2e80X/stack-15a5d90249b7c54f/shakespeare-2.0.30/Text/IndentToBrace.hs:32:25: warning: [-Wincomplete-uni-patterns]
shakespeare> /tmp/nix-shell.F2e80X/stack-15a5d90249b7c54f/shakespeare-2.0.30/Text/IndentToBrace.hs:32:25: warning: [-Wincomplete-uni-patterns]
shakespeare> Pattern match(es) are non-exhaustive
shakespeare> Pattern match(es) are non-exhaustive
shakespeare> In a pattern binding: Patterns of type ‘[T.Text]’ not matched: []
shakespeare> In a pattern binding: Patterns of type ‘[T.Text]’ not matched: []
shakespeare> |
shakespeare> |
shakespeare> 32 | let (x:xs) = go True $ after : ls
shakespeare> 32 | let (x:xs) = go True $ after : ls
shakespeare> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
shakespeare> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
shakespeare> [ 2 of 22] Compiling Text.Internal.Cassius
shakespeare> [ 2 of 22] Compiling Text.Internal.Cassius
shakespeare> [ 3 of 22] Compiling Text.MkSizeType
shakespeare> [ 3 of 22] Compiling Text.MkSizeType
shakespeare> [ 4 of 22] Compiling Text.Shakespeare.Base
shakespeare> [ 4 of 22] Compiling Text.Shakespeare.Base
shakespeare>
shakespeare>
shakespeare> /tmp/nix-shell.F2e80X/stack-15a5d90249b7c54f/shakespeare-2.0.30/Text/Shakespeare/Base.hs:30:1: warning: [-Wdodgy-imports]
shakespeare> /tmp/nix-shell.F2e80X/stack-15a5d90249b7c54f/shakespeare-2.0.30/Text/Shakespeare/Base.hs:30:1: warning: [-Wdodgy-imports]
shakespeare> Module
shakespeare> Module
shakespeare> ‘Language.Haskell.TH.Syntax’
shakespeare> ‘Language.Haskell.TH.Syntax’
shakespeare> does not export
shakespeare> does not export
shakespeare> ‘makeRelativeToProject’
shakespeare> ‘makeRelativeToProject’
shakespeare> |
shakespeare> |
shakespeare> 30 | import Language.Haskell.TH.Syntax hiding (makeRelativeToProject)
shakespeare> 30 | import Language.Haskell.TH.Syntax hiding (makeRelativeToProject)
shakespeare> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
shakespeare> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
shakespeare>
shakespeare>
shakespeare> /tmp/nix-shell.F2e80X/stack-15a5d90249b7c54f/shakespeare-2.0.30/Text/Shakespeare/Base.hs:31:1: warning: [-Wunused-imports]
shakespeare> /tmp/nix-shell.F2e80X/stack-15a5d90249b7c54f/shakespeare-2.0.30/Text/Shakespeare/Base.hs:31:1: warning: [-Wunused-imports]
shakespeare> The import of ‘Language.Haskell.TH’ is redundant
shakespeare> The import of ‘Language.Haskell.TH’ is redundant
shakespeare> except perhaps to import instances from ‘Language.Haskell.TH’
shakespeare> except perhaps to import instances from ‘Language.Haskell.TH’
shakespeare> To import instances alone, use: import Language.Haskell.TH()
shakespeare> To import instances alone, use: import Language.Haskell.TH()
shakespeare> |
shakespeare> |
shakespeare> 31 | import Language.Haskell.TH (appE)
shakespeare> 31 | import Language.Haskell.TH (appE)
shakespeare> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
shakespeare> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
shakespeare>
shakespeare>
shakespeare> /tmp/nix-shell.F2e80X/stack-15a5d90249b7c54f/shakespeare-2.0.30/Text/Shakespeare/Base.hs:37:1: warning: [-Wunused-imports]
shakespeare> /tmp/nix-shell.F2e80X/stack-15a5d90249b7c54f/shakespeare-2.0.30/Text/Shakespeare/Base.hs:37:1: warning: [-Wunused-imports]
shakespeare> The import of ‘Data.Ratio’ is redundant
shakespeare> The import of ‘Data.Ratio’ is redundant
shakespeare> except perhaps to import instances from ‘Data.Ratio’
shakespeare> To import instances alone, use: import Data.Ratio()
shakespeare> except perhaps to import instances from ‘Data.Ratio’
shakespeare> To import instances alone, use: import Data.Ratio()
shakespeare> |
shakespeare> |
shakespeare> 37 | import Data.Ratio (Ratio, numerator, denominator, (%))
shakespeare> 37 | import Data.Ratio (Ratio, numerator, denominator, (%))
shakespeare> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
shakespeare> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
shakespeare> [ 5 of 22] Compiling Text.Shakespeare
shakespeare> [ 5 of 22] Compiling Text.Shakespeare
shakespeare> [ 6 of 22] Compiling Text.Julius
shakespeare> [ 6 of 22] Compiling Text.Julius
shakespeare>
shakespeare>
shakespeare> /tmp/nix-shell.F2e80X/stack-15a5d90249b7c54f/shakespeare-2.0.30/Text/Julius.hs:51:1: warning: [-Wunused-imports]
shakespeare> The import of ‘Data.Monoid’ is redundant
shakespeare> /tmp/nix-shell.F2e80X/stack-15a5d90249b7c54f/shakespeare-2.0.30/Text/Julius.hs:51:1: warning: [-Wunused-imports]
shakespeare> The import of ‘Data.Monoid’ is redundant
shakespeare> except perhaps to import instances from ‘Data.Monoid’
shakespeare> except perhaps to import instances from ‘Data.Monoid’
shakespeare> To import instances alone, use: import Data.Monoid()
shakespeare> To import instances alone, use: import Data.Monoid()
shakespeare> |
shakespeare> |
shakespeare> 51 | import Data.Monoid (Monoid(..))
shakespeare> 51 | import Data.Monoid (Monoid(..))
shakespeare> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
shakespeare> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
shakespeare>
shakespeare>
shakespeare> /tmp/nix-shell.F2e80X/stack-15a5d90249b7c54f/shakespeare-2.0.30/Text/Julius.hs:52:1: warning: [-Wunused-imports]
shakespeare> /tmp/nix-shell.F2e80X/stack-15a5d90249b7c54f/shakespeare-2.0.30/Text/Julius.hs:52:1: warning: [-Wunused-imports]
shakespeare> The import of ‘Data.Semigroup’ is redundant
shakespeare> The import of ‘Data.Semigroup’ is redundant
shakespeare> except perhaps to import instances from ‘Data.Semigroup’
shakespeare> except perhaps to import instances from ‘Data.Semigroup’
shakespeare> To import instances alone, use: import Data.Semigroup()
shakespeare> To import instances alone, use: import Data.Semigroup()
shakespeare> |
shakespeare> |
shakespeare> 52 | import Data.Semigroup (Semigroup(..))
shakespeare> 52 | import Data.Semigroup (Semigroup(..))
shakespeare> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
shakespeare> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
shakespeare> [ 7 of 22] Compiling Text.Roy
shakespeare> [ 7 of 22] Compiling Text.Roy
shakespeare> [ 8 of 22] Compiling Text.Coffee
shakespeare> [ 8 of 22] Compiling Text.Coffee
shakespeare> [ 9 of 22] Compiling Text.Internal.Css
shakespeare> [ 9 of 22] Compiling Text.Internal.Css
shakespeare>
shakespeare>
shakespeare> /tmp/nix-shell.F2e80X/stack-15a5d90249b7c54f/shakespeare-2.0.30/Text/Internal/Css.hs:22:1: warning: [-Wunused-imports]
shakespeare> /tmp/nix-shell.F2e80X/stack-15a5d90249b7c54f/shakespeare-2.0.30/Text/Internal/Css.hs:22:1: warning: [-Wunused-imports]
shakespeare> The import of ‘Data.Monoid’ is redundant
shakespeare> The import of ‘Data.Monoid’ is redundant
shakespeare> except perhaps to import instances from ‘Data.Monoid’
shakespeare> except perhaps to import instances from ‘Data.Monoid’
shakespeare> To import instances alone, use: import Data.Monoid()
shakespeare> To import instances alone, use: import Data.Monoid()
shakespeare> |
shakespeare> |
shakespeare> 22 | import Data.Monoid (Monoid, mconcat, mappend, mempty)
shakespeare> 22 | import Data.Monoid (Monoid, mconcat, mappend, mempty)
shakespeare> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
shakespeare> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
shakespeare>
shakespeare>
shakespeare> /tmp/nix-shell.F2e80X/stack-15a5d90249b7c54f/shakespeare-2.0.30/Text/Internal/Css.hs:23:1: warning: [-Wunused-imports]
shakespeare> /tmp/nix-shell.F2e80X/stack-15a5d90249b7c54f/shakespeare-2.0.30/Text/Internal/Css.hs:23:1: warning: [-Wunused-imports]
shakespeare> The import of ‘Data.Semigroup’ is redundant
shakespeare> The import of ‘Data.Semigroup’ is redundant
shakespeare> except perhaps to import instances from ‘Data.Semigroup’
shakespeare> except perhaps to import instances from ‘Data.Semigroup’
shakespeare> To import instances alone, use: import Data.Semigroup()
shakespeare> To import instances alone, use: import Data.Semigroup()
shakespeare> |
shakespeare> |
shakespeare> 23 | import Data.Semigroup (Semigroup(..))
shakespeare> 23 | import Data.Semigroup (Semigroup(..))
shakespeare> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
shakespeare> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
shakespeare>
shakespeare>
shakespeare> /tmp/nix-shell.F2e80X/stack-15a5d90249b7c54f/shakespeare-2.0.30/Text/Internal/Css.hs:31:1: warning: [-Wunused-imports]
shakespeare> /tmp/nix-shell.F2e80X/stack-15a5d90249b7c54f/shakespeare-2.0.30/Text/Internal/Css.hs:31:1: warning: [-Wunused-imports]
shakespeare> The import of ‘Control.Applicative’ is redundant
shakespeare> The import of ‘Control.Applicative’ is redundant
shakespeare> except perhaps to import instances from ‘Control.Applicative’
shakespeare> except perhaps to import instances from ‘Control.Applicative’
shakespeare> To import instances alone, use: import Control.Applicative()
shakespeare> To import instances alone, use: import Control.Applicative()
shakespeare> |
shakespeare> |
shakespeare> 31 | import Control.Applicative ((<$>), (<*>))
shakespeare> 31 | import Control.Applicative ((<$>), (<*>))
shakespeare> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
shakespeare> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
shakespeare>
shakespeare>
shakespeare> /tmp/nix-shell.F2e80X/stack-15a5d90249b7c54f/shakespeare-2.0.30/Text/Internal/Css.hs:34:1: warning: [-Wunused-imports]
shakespeare> /tmp/nix-shell.F2e80X/stack-15a5d90249b7c54f/shakespeare-2.0.30/Text/Internal/Css.hs:34:1: warning: [-Wunused-imports]
shakespeare> The import of ‘Data.Functor.Identity’ is redundant
shakespeare> The import of ‘Data.Functor.Identity’ is redundant
shakespeare> except perhaps to import instances from ‘Data.Functor.Identity’
shakespeare> except perhaps to import instances from ‘Data.Functor.Identity’
shakespeare> To import instances alone, use: import Data.Functor.Identity()
shakespeare> To import instances alone, use: import Data.Functor.Identity()
shakespeare> |
shakespeare> |
shakespeare> 34 | import Data.Functor.Identity (runIdentity)
shakespeare> 34 | import Data.Functor.Identity (runIdentity)
shakespeare> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
shakespeare> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
shakespeare> [10 of 22] Compiling Text.Internal.Lucius
shakespeare> [10 of 22] Compiling Text.Internal.Lucius
shakespeare> [11 of 22] Compiling Text.Internal.CssCommon
shakespeare> [11 of 22] Compiling Text.Internal.CssCommon
Error: [S-7282]
Stack failed to execute the build plan.
While executing the build plan, Stack encountered the following errors:
[S-7011]
While building package shakespeare-2.0.30 (scroll up to its section to see the error) using:
/home/cebrian/.stack/setup-exe-cache/x86_64-linux/Cabal-simple_SvXsv1f__3.6.3.0_ghc-9.2.7 --verbose=1 --builddir=.stack-work/dist/x86_64-linux/Cabal-3.6.3.0 build --ghc-options ""
Process exited with code: ExitFailure (-11)
Error: [S-7282]
Stack failed to execute the build plan.
While executing the build plan, Stack encountered the following errors:
[S-7011]
While building package shakespeare-2.0.30 (scroll up to its section to see the error) using:
/home/cebrian/.stack/setup-exe-cache/x86_64-linux/Cabal-simple_SvXsv1f__3.6.3.0_ghc-9.2.7 --verbose=1 --builddir=.stack-work/dist/x86_64-linux/Cabal-3.6.3.0 build --ghc-options ""
Process exited with code: ExitFailure (-11)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment