Build #1 for shakespeare-2.1.1
| Package | shakespeare-2.1.1 |
|---|
| Install | InstallOk |
|---|---|
| Docs | Ok |
| Tests | NotTried |
| Time submitted | 2024-08-05 07:38:56.186242284 UTC |
|---|---|
| Compiler | ghc-9.6.3 |
| OS | linux |
| Arch | x86_64 |
| Dependencies | aeson-2.2.3.0, base-4.18.1.0, blaze-html-0.9.2.0, blaze-markup-0.8.3.0, bytestring-0.12.1.0, containers-0.6.7, directory-1.3.8.5, exceptions-0.10.7, file-embed-0.0.16.0, ghc-prim-0.10.0, parsec-3.1.17.0, process-1.6.20.0, scientific-0.3.8.0, template-haskell-2.20.0.0, text-2.1.1, th-lift-0.8.4, time-1.12.2, transformers-0.6.1.0, unordered-containers-0.2.20, vector-0.13.1.0 |
| Flags | -test_coffee -test_export -test_roy |
Code Coverage
No Code Coverage was submitted for this report.
Build log
[view raw]
Resolving dependencies... Starting StateVar-1.2.2 Starting OneTuple-0.4.2 Starting assoc-1.1.1 Starting character-ps-0.1 Starting base-orphans-0.9.2 Starting generically-0.1.1 Starting dlist-1.0 Starting indexed-traversable-0.1.4 Starting integer-logarithms-1.0.3.1 Starting tagged-0.8.8 Starting splitmix-0.1.0.5 Starting th-abstraction-0.7.0.0 Starting vector-stream-0.1.0.1 Starting transformers-compat-0.7.2 Starting th-compat-0.1.5 Starting primitive-0.9.0.0 Starting bytestring-0.12.1.0 Building base-orphans-0.9.2 Building assoc-1.1.1 Building StateVar-1.2.2 Building indexed-traversable-0.1.4 Building OneTuple-0.4.2 Building splitmix-0.1.0.5 Building character-ps-0.1 Building dlist-1.0 Building generically-0.1.1 Building th-abstraction-0.7.0.0 Building integer-logarithms-1.0.3.1 Building vector-stream-0.1.0.1 Building th-compat-0.1.5 Building transformers-compat-0.7.2 Building bytestring-0.12.1.0 Building tagged-0.8.8 Building primitive-0.9.0.0 Completed generically-0.1.1 Completed assoc-1.1.1 Completed integer-logarithms-1.0.3.1 Completed StateVar-1.2.2 Starting contravariant-1.5.5 Completed th-compat-0.1.5 Completed OneTuple-0.4.2 Building contravariant-1.5.5 Completed splitmix-0.1.0.5 Completed character-ps-0.1 Completed tagged-0.8.8 Completed transformers-compat-0.7.2 Completed base-orphans-0.9.2 Starting distributive-0.6.2.1 Completed dlist-1.0 Building distributive-0.6.2.1 Completed vector-stream-0.1.0.1 Completed indexed-traversable-0.1.4 Completed th-abstraction-0.7.0.0 Starting th-lift-0.8.4 Building th-lift-0.8.4 Completed contravariant-1.5.5 Completed distributive-0.6.2.1 Starting comonad-5.0.8 Building comonad-5.0.8 Completed primitive-0.9.0.0 Starting vector-0.13.1.0 Completed th-lift-0.8.4 Building vector-0.13.1.0 Completed comonad-5.0.8 Starting bifunctors-5.6.2 Building bifunctors-5.6.2 Completed bytestring-0.12.1.0 Starting binary-0.8.9.2 Starting os-string-2.0.6 Starting random-1.2.1.2 Building binary-0.8.9.2 Building os-string-2.0.6 Building random-1.2.1.2 Completed os-string-2.0.6 Starting filepath-1.5.3.0 Building filepath-1.5.3.0 Completed binary-0.8.9.2 Starting text-2.1.1 Completed bifunctors-5.6.2 Building text-2.1.1 Completed random-1.2.1.2 Starting QuickCheck-2.15.0.1 Building QuickCheck-2.15.0.1 Completed filepath-1.5.3.0 Starting unix-2.8.5.1 Building unix-2.8.5.1 Completed vector-0.13.1.0 Completed QuickCheck-2.15.0.1 Completed text-2.1.1 Starting integer-conversion-0.1.1 Starting parsec-3.1.17.0 Starting blaze-builder-0.4.2.3 Starting hashable-1.5.0.0 Building integer-conversion-0.1.1 Building parsec-3.1.17.0 Building blaze-builder-0.4.2.3 Building hashable-1.5.0.0 Completed unix-2.8.5.1 Starting directory-1.3.8.5 Completed integer-conversion-0.1.1 Building directory-1.3.8.5 Completed blaze-builder-0.4.2.3 Starting blaze-markup-0.8.3.0 Building blaze-markup-0.8.3.0 Completed hashable-1.5.0.0 Starting uuid-types-1.0.6 Starting these-1.2.1 Starting unordered-containers-0.2.20 Starting text-short-0.1.6 Starting data-fix-0.3.4 Starting scientific-0.3.8.0 Starting time-compat-1.9.7 Building uuid-types-1.0.6 Building these-1.2.1 Building scientific-0.3.8.0 Building unordered-containers-0.2.20 Building text-short-0.1.6 Building data-fix-0.3.4 Building time-compat-1.9.7 Completed parsec-3.1.17.0 Starting network-uri-2.6.4.2 Building network-uri-2.6.4.2 Completed directory-1.3.8.5 Starting file-embed-0.0.16.0 Starting process-1.6.20.0 Completed blaze-markup-0.8.3.0 Starting blaze-html-0.9.2.0 Building file-embed-0.0.16.0 Building blaze-html-0.9.2.0 Building process-1.6.20.0 Completed uuid-types-1.0.6 Completed data-fix-0.3.4 Completed scientific-0.3.8.0 Completed these-1.2.1 Starting strict-0.5.1 Completed text-short-0.1.6 Building strict-0.5.1 Completed network-uri-2.6.4.2 Completed time-compat-1.9.7 Starting text-iso8601-0.1.1 Building text-iso8601-0.1.1 Completed file-embed-0.0.16.0 Completed process-1.6.20.0 Completed unordered-containers-0.2.20 Starting indexed-traversable-instances-0.1.2 Starting semigroupoids-6.0.1 Building indexed-traversable-instances-0.1.2 Building semigroupoids-6.0.1 Completed text-iso8601-0.1.1 Completed strict-0.5.1 Completed blaze-html-0.9.2.0 Completed indexed-traversable-instances-0.1.2 Starting witherable-0.5 Building witherable-0.5 Completed semigroupoids-6.0.1 Starting semialign-1.3.1 Building semialign-1.3.1 Completed witherable-0.5 Completed semialign-1.3.1 Starting aeson-2.2.3.0 Building aeson-2.2.3.0 Completed aeson-2.2.3.0 Downloading shakespeare-2.1.1 Downloaded shakespeare-2.1.1 Starting shakespeare-2.1.1 Building shakespeare-2.1.1 Completed shakespeare-2.1.1
Test log
[view raw]
Resolving dependencies...
Build profile: -w ghc-9.6.3 -O0
In order, the following will be built (use -v for more details):
- blaze-builder-0.4.2.3 (lib:blaze-builder) (requires build)
- data-fix-0.3.4 (lib:data-fix) (requires build)
- file-embed-0.0.16.0 (lib:file-embed) (requires build)
- indexed-traversable-instances-0.1.2 (lib:indexed-traversable-instances) (requires build)
- integer-conversion-0.1.1 (lib:integer-conversion) (requires build)
- parsec-3.1.17.0 (lib:parsec) (requires build)
- these-1.2.1 (lib:these) (requires build)
- time-compat-1.9.7 (lib:time-compat) (requires build)
- uuid-types-1.0.6 (lib:uuid-types) (requires build)
- blaze-markup-0.8.3.0 (lib:blaze-markup) (requires build)
- witherable-0.5 (lib:witherable) (requires build)
- network-uri-2.6.4.2 (lib:network-uri) (requires build)
- strict-0.5.1 (lib:strict) (requires build)
- semialign-1.3.1 (lib:semialign) (requires build)
- text-iso8601-0.1.1 (lib:text-iso8601) (requires build)
- blaze-html-0.9.2.0 (lib:blaze-html) (requires build)
- aeson-2.2.3.0 (lib:aeson) (requires build)
- shakespeare-2.1.1 (first run)
Starting data-fix-0.3.4 (all, legacy fallback)
Starting file-embed-0.0.16.0 (all, legacy fallback)
Starting indexed-traversable-instances-0.1.2 (all, legacy fallback)
Starting blaze-builder-0.4.2.3 (all, legacy fallback)
Starting these-1.2.1 (all, legacy fallback)
Starting uuid-types-1.0.6 (all, legacy fallback)
Starting integer-conversion-0.1.1 (all, legacy fallback)
Starting parsec-3.1.17.0 (all, legacy fallback)
Starting time-compat-1.9.7 (all, legacy fallback)
Building parsec-3.1.17.0 (all, legacy fallback)
Building these-1.2.1 (all, legacy fallback)
Building uuid-types-1.0.6 (all, legacy fallback)
Building data-fix-0.3.4 (all, legacy fallback)
Building time-compat-1.9.7 (all, legacy fallback)
Building file-embed-0.0.16.0 (all, legacy fallback)
Building indexed-traversable-instances-0.1.2 (all, legacy fallback)
Building blaze-builder-0.4.2.3 (all, legacy fallback)
Building integer-conversion-0.1.1 (all, legacy fallback)
Installing integer-conversion-0.1.1 (all, legacy fallback)
Installing data-fix-0.3.4 (all, legacy fallback)
Installing file-embed-0.0.16.0 (all, legacy fallback)
Installing indexed-traversable-instances-0.1.2 (all, legacy fallback)
Installing uuid-types-1.0.6 (all, legacy fallback)
Installing time-compat-1.9.7 (all, legacy fallback)
Installing these-1.2.1 (all, legacy fallback)
Installing blaze-builder-0.4.2.3 (all, legacy fallback)
Completed integer-conversion-0.1.1 (all, legacy fallback)
Completed data-fix-0.3.4 (all, legacy fallback)
Completed file-embed-0.0.16.0 (all, legacy fallback)
Completed indexed-traversable-instances-0.1.2 (all, legacy fallback)
Starting witherable-0.5 (all, legacy fallback)
Installing parsec-3.1.17.0 (all, legacy fallback)
Completed uuid-types-1.0.6 (all, legacy fallback)
Completed time-compat-1.9.7 (all, legacy fallback)
Starting text-iso8601-0.1.1 (all, legacy fallback)
Building witherable-0.5 (all, legacy fallback)
Completed these-1.2.1 (all, legacy fallback)
Starting strict-0.5.1 (all, legacy fallback)
Starting semialign-1.3.1 (all, legacy fallback)
Completed blaze-builder-0.4.2.3 (all, legacy fallback)
Starting blaze-markup-0.8.3.0 (all, legacy fallback)
Installing witherable-0.5 (all, legacy fallback)
Building text-iso8601-0.1.1 (all, legacy fallback)
Completed parsec-3.1.17.0 (all, legacy fallback)
Starting network-uri-2.6.4.2 (all, legacy fallback)
Building strict-0.5.1 (all, legacy fallback)
Building semialign-1.3.1 (all, legacy fallback)
Completed witherable-0.5 (all, legacy fallback)
Building blaze-markup-0.8.3.0 (all, legacy fallback)
Installing text-iso8601-0.1.1 (all, legacy fallback)
Installing semialign-1.3.1 (all, legacy fallback)
Installing strict-0.5.1 (all, legacy fallback)
Building network-uri-2.6.4.2 (all, legacy fallback)
Completed text-iso8601-0.1.1 (all, legacy fallback)
Installing blaze-markup-0.8.3.0 (all, legacy fallback)
Completed semialign-1.3.1 (all, legacy fallback)
Completed strict-0.5.1 (all, legacy fallback)
Installing network-uri-2.6.4.2 (all, legacy fallback)
Completed blaze-markup-0.8.3.0 (all, legacy fallback)
Starting blaze-html-0.9.2.0 (all, legacy fallback)
Completed network-uri-2.6.4.2 (all, legacy fallback)
Starting aeson-2.2.3.0 (all, legacy fallback)
Building blaze-html-0.9.2.0 (all, legacy fallback)
Building aeson-2.2.3.0 (all, legacy fallback)
Installing blaze-html-0.9.2.0 (all, legacy fallback)
Completed blaze-html-0.9.2.0 (all, legacy fallback)
Installing aeson-2.2.3.0 (all, legacy fallback)
Completed aeson-2.2.3.0 (all, legacy fallback)
Configuring shakespeare-2.1.1...
Preprocessing library for shakespeare-2.1.1..
Building library for shakespeare-2.1.1..
[ 1 of 22] Compiling Text.IndentToBrace ( Text/IndentToBrace.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/IndentToBrace.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/IndentToBrace.dyn_o )
Text/IndentToBrace.hs:32:25: warning: [GHC-62161] [-Wincomplete-uni-patterns]
Pattern match(es) are non-exhaustive
In a pattern binding: Patterns of type [T.Text] not matched: []
|
32 | let (x:xs) = go True $ after : ls
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 2 of 22] Compiling Text.Internal.Cassius ( Text/Internal/Cassius.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Internal/Cassius.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Internal/Cassius.dyn_o )
[ 3 of 22] Compiling Text.MkSizeType ( Text/MkSizeType.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/MkSizeType.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/MkSizeType.dyn_o )
[ 4 of 22] Compiling Text.Shakespeare.Base ( Text/Shakespeare/Base.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Shakespeare/Base.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Shakespeare/Base.dyn_o )
Text/Shakespeare/Base.hs:31:1: warning: [-Wunused-imports]
The import of Language.Haskell.TH is redundant
except perhaps to import instances from Language.Haskell.TH
To import instances alone, use: import Language.Haskell.TH()
|
31 | import Language.Haskell.TH (appE)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Text/Shakespeare/Base.hs:37:1: warning: [-Wunused-imports]
The import of Data.Ratio is redundant
except perhaps to import instances from Data.Ratio
To import instances alone, use: import Data.Ratio()
|
37 | import Data.Ratio (Ratio, numerator, denominator, (%))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Text/Shakespeare/Base.hs:44:1: warning: [-Wunused-imports]
The import of Data.Maybe is redundant
except perhaps to import instances from Data.Maybe
To import instances alone, use: import Data.Maybe()
|
44 | import Data.Maybe (mapMaybe)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Text/Shakespeare/Base.hs:45:1: warning: [-Wunused-imports]
The import of Data.List.NonEmpty is redundant
except perhaps to import instances from Data.List.NonEmpty
To import instances alone, use: import Data.List.NonEmpty()
|
45 | import Data.List.NonEmpty (nonEmpty, NonEmpty ((:|)))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 5 of 22] Compiling Text.Shakespeare ( Text/Shakespeare.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Shakespeare.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Shakespeare.dyn_o )
[ 6 of 22] Compiling Text.Julius ( Text/Julius.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Julius.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Julius.dyn_o )
Text/Julius.hs:51:1: warning: [-Wunused-imports]
The import of Data.Monoid is redundant
except perhaps to import instances from Data.Monoid
To import instances alone, use: import Data.Monoid()
|
51 | import Data.Monoid (Monoid(..))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Text/Julius.hs:52:1: warning: [-Wunused-imports]
The import of Data.Semigroup is redundant
except perhaps to import instances from Data.Semigroup
To import instances alone, use: import Data.Semigroup()
|
52 | import Data.Semigroup (Semigroup(..))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 7 of 22] Compiling Text.Roy ( Text/Roy.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Roy.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Roy.dyn_o )
[ 8 of 22] Compiling Text.Coffee ( Text/Coffee.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Coffee.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Coffee.dyn_o )
[ 9 of 22] Compiling Text.Internal.Css ( Text/Internal/Css.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Internal/Css.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Internal/Css.dyn_o )
Text/Internal/Css.hs:22:1: warning: [-Wunused-imports]
The import of Data.Monoid is redundant
except perhaps to import instances from Data.Monoid
To import instances alone, use: import Data.Monoid()
|
22 | import Data.Monoid (Monoid, mconcat, mappend, mempty)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Text/Internal/Css.hs:23:1: warning: [-Wunused-imports]
The import of Data.Semigroup is redundant
except perhaps to import instances from Data.Semigroup
To import instances alone, use: import Data.Semigroup()
|
23 | import Data.Semigroup (Semigroup(..))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Text/Internal/Css.hs:31:1: warning: [-Wunused-imports]
The import of Control.Applicative is redundant
except perhaps to import instances from Control.Applicative
To import instances alone, use: import Control.Applicative()
|
31 | import Control.Applicative ((<$>), (<*>))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Text/Internal/Css.hs:34:1: warning: [-Wunused-imports]
The import of Data.Functor.Identity is redundant
except perhaps to import instances from Data.Functor.Identity
To import instances alone, use: import Data.Functor.Identity()
|
34 | import Data.Functor.Identity (runIdentity)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[10 of 22] Compiling Text.Internal.Lucius ( Text/Internal/Lucius.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Internal/Lucius.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Internal/Lucius.dyn_o )
[11 of 22] Compiling Text.Internal.CssCommon ( Text/Internal/CssCommon.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Internal/CssCommon.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Internal/CssCommon.dyn_o )
Text/Internal/CssCommon.hs:54:9: warning: [GHC-62161] [-Wincomplete-uni-patterns]
Pattern match(es) are non-exhaustive
In a pattern binding:
Patterns of type [(Double, String)] not matched:
[]
((_, _):_:_)
|
54 | where [(value, unit)] = reads s :: [(Double, String)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[12 of 22] Compiling Text.Lucius.Ordered ( Text/Lucius/Ordered.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Lucius/Ordered.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Lucius/Ordered.dyn_o )
[13 of 22] Compiling Text.Lucius ( Text/Lucius.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Lucius.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Lucius.dyn_o )
[14 of 22] Compiling Text.Hamlet.Parse ( Text/Hamlet/Parse.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Hamlet/Parse.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Hamlet/Parse.dyn_o )
Text/Hamlet/Parse.hs:25:1: warning: [-Wunused-imports]
The import of Control.Applicative is redundant
except perhaps to import instances from Control.Applicative
To import instances alone, use: import Control.Applicative()
|
25 | import Control.Applicative ((<$>), Applicative (..))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Text/Hamlet/Parse.hs:39:5: warning: [-Wnoncanonical-monad-instances]
Noncanonical return definition detected
in the instance declaration for Monad Result.
return will eventually be removed in favour of pure
Either remove definition for return (recommended) or define as return = pure
See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return
|
39 | return = Ok
| ^^^^^^^^^^^
Text/Hamlet/Parse.hs:49:5: warning: [-Wnoncanonical-monad-instances]
Noncanonical pure = return definition detected
in the instance declaration for Applicative Result.
Move definition from return to pure
See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return
|
49 | pure = return
| ^^^^^^^^^^^^^
[15 of 22] Compiling Text.Hamlet.RT ( Text/Hamlet/RT.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Hamlet/RT.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Hamlet/RT.dyn_o )
Text/Hamlet/RT.hs:20:1: warning: [-Wunused-imports]
The import of Data.Monoid is redundant
except perhaps to import instances from Data.Monoid
To import instances alone, use: import Data.Monoid()
|
20 | import Data.Monoid (mconcat)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Text/Hamlet/RT.hs:70:13: warning: [-Wunused-matches]
Defined but not used: x
|
70 | convert x@(DocForall deref (BindAs _ _) docs) =
| ^
Text/Hamlet/RT.hs:70:26: warning: [-Wunused-matches]
Defined but not used: deref
|
70 | convert x@(DocForall deref (BindAs _ _) docs) =
| ^^^^^
Text/Hamlet/RT.hs:70:45: warning: [-Wunused-matches]
Defined but not used: docs
|
70 | convert x@(DocForall deref (BindAs _ _) docs) =
| ^^^^
Text/Hamlet/RT.hs:77:13: warning: [-Wunused-matches]
Defined but not used: x
|
77 | convert x@(DocMaybe deref (BindAs _ _) jdocs ndocs) =
| ^
Text/Hamlet/RT.hs:77:25: warning: [-Wunused-matches]
Defined but not used: deref
|
77 | convert x@(DocMaybe deref (BindAs _ _) jdocs ndocs) =
| ^^^^^
Text/Hamlet/RT.hs:77:44: warning: [-Wunused-matches]
Defined but not used: jdocs
|
77 | convert x@(DocMaybe deref (BindAs _ _) jdocs ndocs) =
| ^^^^^
Text/Hamlet/RT.hs:77:50: warning: [-Wunused-matches]
Defined but not used: ndocs
|
77 | convert x@(DocMaybe deref (BindAs _ _) jdocs ndocs) =
| ^^^^^
Text/Hamlet/RT.hs:107:37: warning: [GHC-63397] [-Wname-shadowing]
This binding for x shadows the existing binding
bound at Text/Hamlet/RT.hs:100:13
|
107 | go (DerefBranch (DerefIdent x) _, docs') | x == specialOrIdent = do
| ^
[16 of 22] Compiling Text.Hamlet ( Text/Hamlet.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Hamlet.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Hamlet.dyn_o )
Text/Hamlet.hs:58:1: warning: [-Wunused-imports]
The qualified import of Data.Text.Lazy is redundant
except perhaps to import instances from Data.Text.Lazy
To import instances alone, use: import Data.Text.Lazy()
|
58 | import qualified Data.Text.Lazy as TL
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Text/Hamlet.hs:63:1: warning: [-Wunused-imports]
The import of Data.Monoid is redundant
except perhaps to import instances from Data.Monoid
To import instances alone, use: import Data.Monoid()
|
63 | import Data.Monoid (mempty, mappend, mconcat)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Text/Hamlet.hs:400:1: warning: [-Wunused-top-binds]
Defined but not used: ixhamlet
|
400 | ixhamlet = hamletWithSettings ihamletRules xhtmlHamletSettings
| ^^^^^^^^
Text/Hamlet.hs:480:1: warning: [-Wunused-top-binds]
Defined but not used: varName
|
480 | varName _ "" = error "Illegal empty varName"
| ^^^^^^^
Text/Hamlet.hs:484:1: warning: [-Wunused-top-binds]
Defined but not used: strToExp
|
484 | strToExp s@(c:_)
| ^^^^^^^^
Text/Hamlet.hs:517:16: warning: [-Wunused-matches]
Defined but not used: html
|
517 | show (EPlain html) = "EPlain"
| ^^^^
Text/Hamlet.hs:518:14: warning: [-Wunused-matches]
Defined but not used: url
|
518 | show (EUrl url) = "EUrl"
| ^^^
Text/Hamlet.hs:519:19: warning: [-Wunused-matches]
Defined but not used: url
|
519 | show (EUrlParam url) = "EUrlParam"
| ^^^
Text/Hamlet.hs:520:16: warning: [-Wunused-matches]
Defined but not used: url
|
520 | show (EMixin url) = "EMixin"
| ^^^
Text/Hamlet.hs:521:20: warning: [-Wunused-matches]
Defined but not used: msg_url
|
521 | show (EMixinI18n msg_url) = "EMixinI18n"
| ^^^^^^^
Text/Hamlet.hs:522:14: warning: [-Wunused-matches]
Defined but not used: msg
|
522 | show (EMsg msg) = "EMsg"
| ^^^
Text/Hamlet.hs:570:43: warning: [GHC-63397] [-Wname-shadowing]
This binding for c shadows the existing binding
bound at Text/Hamlet.hs:566:13
|
570 | c VTMixin = [|\r -> EMixin $ \c -> r c|]
| ^
[17 of 22] Compiling Text.Hamlet.Runtime ( Text/Hamlet/Runtime.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Hamlet/Runtime.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Hamlet/Runtime.dyn_o )
Text/Hamlet/Runtime.hs:100:12: warning: [GHC-58520] [-Wtype-equality-requires-operators]
The use of ~ without TypeOperators
will become an error in a future GHC release.
Suggested fix: Perhaps you intended to use TypeOperators
|
100 | instance a ~ HamletData => ToHamletData [a] where
| ^
Text/Hamlet/Runtime.hs:102:12: warning: [GHC-58520] [-Wtype-equality-requires-operators]
The use of ~ without TypeOperators
will become an error in a future GHC release.
Suggested fix: Perhaps you intended to use TypeOperators
|
102 | instance a ~ HamletData => ToHamletData (Maybe a) where
| ^
[18 of 22] Compiling Text.Cassius.Ordered ( Text/Cassius/Ordered.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Cassius/Ordered.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Cassius/Ordered.dyn_o )
[19 of 22] Compiling Text.Cassius ( Text/Cassius.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Cassius.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Cassius.dyn_o )
[20 of 22] Compiling Text.Shakespeare.I18N ( Text/Shakespeare/I18N.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Shakespeare/I18N.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Shakespeare/I18N.dyn_o )
Text/Shakespeare/I18N.hs:65:1: warning: [-Wunused-imports]
The import of Control.Applicative is redundant
except perhaps to import instances from Control.Applicative
To import instances alone, use: import Control.Applicative()
|
65 | import Control.Applicative ((<$>))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Text/Shakespeare/I18N.hs:80:1: warning: [-Wunused-imports]
The import of Data.Monoid is redundant
except perhaps to import instances from Data.Monoid
To import instances alone, use: import Data.Monoid()
|
80 | import Data.Monoid (mempty, mappend)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Text/Shakespeare/I18N.hs:410:17: warning: [GHC-58520] [-Wtype-equality-requires-operators]
The use of ~ without TypeOperators
will become an error in a future GHC release.
Suggested fix: Perhaps you intended to use TypeOperators
|
410 | instance master ~ master' => RenderMessage master (SomeMessage master') where
| ^
[21 of 22] Compiling Text.Shakespeare.Text ( Text/Shakespeare/Text.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Shakespeare/Text.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/Shakespeare/Text.dyn_o )
[22 of 22] Compiling Text.TypeScript ( Text/TypeScript.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/TypeScript.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/shakespeare-2.1.1/noopt/build/Text/TypeScript.dyn_o )
Preprocessing test suite 'test' for shakespeare-2.1.1..
Building test suite 'test' for shakespeare-2.1.1..
ghc-9.6.3: could not execute: hspec-discover