Build profile: -w ghc-9.4.5 -O1
In order, the following will be built (use -v for more details):
 - yesod-core-1.6.25.1 (lib) (requires build)
 - yesod-static-1.6.1.0 (lib) (requires build)
 - yesod-persistent-1.6.0.8 (lib) (requires build)
 - yesod-form-1.7.9 (lib) (requires build)
 - yesod-1.6.2.1 (lib) (requires build)
 - formexp-0.1.0.0 (exe:formexp) (first run)
Starting     yesod-core-1.6.25.1 (lib)
Building     yesod-core-1.6.25.1 (lib)

Failed to build yesod-core-1.6.25.1.
Build log (
/home/kqr/.cabal/logs/ghc-9.4.5/yesod-core-1.6.25.1-5803a84e6df6822b50d4b471147c9aebd11d891836b7ff5678f18157d6a8e681.log
):
Configuring library for yesod-core-1.6.25.1..
Preprocessing library for yesod-core-1.6.25.1..
Building library for yesod-core-1.6.25.1..
[ 1 of 31] Compiling Paths_yesod_core ( dist/build/autogen/Paths_yesod_core.hs, dist/build/Paths_yesod_core.o, dist/build/Paths_yesod_core.dyn_o )
[ 2 of 31] Compiling Yesod.Core.Internal.Util ( src/Yesod/Core/Internal/Util.hs, dist/build/Yesod/Core/Internal/Util.o, dist/build/Yesod/Core/Internal/Util.dyn_o )
[ 3 of 31] Compiling Yesod.Core.TypeCache ( src/Yesod/Core/TypeCache.hs, dist/build/Yesod/Core/TypeCache.o, dist/build/Yesod/Core/TypeCache.dyn_o )
[ 4 of 31] Compiling Yesod.Routes.Class ( src/Yesod/Routes/Class.hs, dist/build/Yesod/Routes/Class.o, dist/build/Yesod/Routes/Class.dyn_o )
[ 5 of 31] Compiling Yesod.Core.Types ( src/Yesod/Core/Types.hs, dist/build/Yesod/Core/Types.o, dist/build/Yesod/Core/Types.dyn_o )

src/Yesod/Core/Types.hs:32: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()
   |
32 | import           Data.Semigroup                     (Semigroup(..))
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Yesod/Core/Types.hs:262:12: warning: [-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
    |
262 | instance a ~ () => Monoid (WidgetFor site a) where
    |            ^

src/Yesod/Core/Types.hs:267:12: warning: [-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
    |
267 | instance a ~ () => Semigroup (WidgetFor site a) where
    |            ^

src/Yesod/Core/Types.hs:275:12: warning: [-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
    |
275 | instance a ~ () => IsString (WidgetFor site a) where
    |            ^

src/Yesod/Core/Types.hs:402:3: warning: [-Wnoncanonical-monoid-instances]
    Noncanonical ‘(<>) = mappend’ definition detected
    in the instance declaration for ‘Semigroup (Head url)’.
    Move definition from ‘mappend’ to ‘(<>)’
    See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/semigroup-monoid
    |
402 |   (<>) = mappend
    |   ^^^^^^^^^^^^^^

src/Yesod/Core/Types.hs:406:3: warning: [-Wnoncanonical-monoid-instances]
    Noncanonical ‘(<>) = mappend’ definition detected
    in the instance declaration for ‘Semigroup (Body url)’.
    Move definition from ‘mappend’ to ‘(<>)’
    See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/semigroup-monoid
    |
406 |   (<>) = mappend
    |   ^^^^^^^^^^^^^^
[ 6 of 31] Compiling Yesod.Core.Internal.Session ( src/Yesod/Core/Internal/Session.hs, dist/build/Yesod/Core/Internal/Session.o, dist/build/Yesod/Core/Internal/Session.dyn_o )
[ 7 of 31] Compiling Yesod.Core.Internal.Request ( src/Yesod/Core/Internal/Request.hs, dist/build/Yesod/Core/Internal/Request.o, dist/build/Yesod/Core/Internal/Request.dyn_o )

src/Yesod/Core/Internal/Request.hs:53:11: warning: [-Wdeprecations]
    In the use of ‘requestBody’
    (imported from Network.Wai, but defined in Network.Wai.Internal):
    Deprecated: "requestBody's name is misleading because it only gets a partial chunk of the body. Use getRequestBodyChunk instead when getting the field, and setRequestBodyChunks when setting the field."
   |
53 |         { W.requestBody = do
   |           ^^^^^^^^^^^^^

src/Yesod/Core/Internal/Request.hs:54:19: warning: [-Wdeprecations]
    In the use of ‘requestBody’
    (imported from Network.Wai, but defined in Network.Wai.Internal):
    Deprecated: "requestBody's name is misleading because it only gets a partial chunk of the body. Use getRequestBodyChunk instead when getting the field, and setRequestBodyChunks when setting the field."
   |
54 |             bs <- W.requestBody req
   |                   ^^^^^^^^^^^^^
[ 8 of 31] Compiling Yesod.Core.Content ( src/Yesod/Core/Content.hs, dist/build/Yesod/Core/Content.o, dist/build/Yesod/Core/Content.dyn_o )
[ 9 of 31] Compiling Yesod.Core.Internal.Response ( src/Yesod/Core/Internal/Response.hs, dist/build/Yesod/Core/Internal/Response.o, dist/build/Yesod/Core/Internal/Response.dyn_o )
[10 of 31] Compiling Yesod.Core.Class.Handler ( src/Yesod/Core/Class/Handler.hs, dist/build/Yesod/Core/Class/Handler.o, dist/build/Yesod/Core/Class/Handler.dyn_o )

src/Yesod/Core/Class/Handler.hs:23:1: warning: [-Wdeprecations]
    Module ‘Control.Monad.Trans.List’ is deprecated:
      "This transformer is invalid on most monads"
   |
23 | import Control.Monad.Trans.List     ( ListT    )
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Yesod/Core/Class/Handler.hs:82:42: warning: [-Wdeprecations]
    In the use of type constructor or class ‘ListT’
    (imported from Control.Monad.Trans.List):
    Deprecated: "This transformer is invalid on most monads"
   |
82 | GO(ListT)
   |                                          ^^^^^

src/Yesod/Core/Class/Handler.hs:82:75: warning: [-Wdeprecations]
    In the use of type constructor or class ‘ListT’
    (imported from Control.Monad.Trans.List):
    Deprecated: "This transformer is invalid on most monads"
   |
82 | GO(ListT)
   |                                                                           ^^^^^

src/Yesod/Core/Class/Handler.hs:82:122: warning: [-Wdeprecations]
    In the use of type constructor or class ‘ListT’
    (imported from Control.Monad.Trans.List):
    Deprecated: "This transformer is invalid on most monads"
   |
82 | GO(ListT)
   |                                                                                                                          ^^^^^

src/Yesod/Core/Class/Handler.hs:112:40: warning: [-Wdeprecations]
    In the use of type constructor or class ‘ListT’
    (imported from Control.Monad.Trans.List):
    Deprecated: "This transformer is invalid on most monads"
    |
112 | GO(ListT)
    |                                        ^^^^^
[11 of 31] Compiling Yesod.Core.Handler ( src/Yesod/Core/Handler.hs, dist/build/Yesod/Core/Handler.o, dist/build/Yesod/Core/Handler.dyn_o )

src/Yesod/Core/Handler.hs:252:1: warning: [-Wunused-imports]
    The import of ‘Yesod.Routes.Class’ is redundant
      except perhaps to import instances from ‘Yesod.Routes.Class’
    To import instances alone, use: import Yesod.Routes.Class()
    |
252 | import           Yesod.Routes.Class            (Route)
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Yesod/Core/Handler.hs:418:37: warning: [-Wdeprecations]
    In the use of ‘requestBody’
    (imported from Network.Wai, but defined in Network.Wai.Internal):
    Deprecated: "requestBody's name is misleading because it only gets a partial chunk of the body. Use getRequestBodyChunk instead when getting the field, and setRequestBodyChunks when setting the field."
    |
418 |             newWaiReq = oldWaiReq { W.requestBody = return mempty
    |                                     ^^^^^^^^^^^^^

src/Yesod/Core/Handler.hs:1014:49: warning: [-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
     |
1014 |     toTextUrl :: (MonadHandler m, HandlerSite m ~ master) => a -> m Text
     |                                                 ^

src/Yesod/Core/Handler.hs:1027:15: warning: [-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
     |
1027 | instance (key ~ Text, val ~ Text) => RedirectUrl master (Route master, [(key, val)]) where
     |               ^

src/Yesod/Core/Handler.hs:1027:27: warning: [-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
     |
1027 | instance (key ~ Text, val ~ Text) => RedirectUrl master (Route master, [(key, val)]) where
     |                           ^

src/Yesod/Core/Handler.hs:1032:15: warning: [-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
     |
1032 | instance (key ~ Text, val ~ Text) => RedirectUrl master (Route master, Map.Map key val) where
     |               ^

src/Yesod/Core/Handler.hs:1032:27: warning: [-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
     |
1032 | instance (key ~ Text, val ~ Text) => RedirectUrl master (Route master, Map.Map key val) where
     |                           ^

src/Yesod/Core/Handler.hs:1437:28: warning: [-Wdeprecations]
    In the use of ‘requestBody’
    (imported from Network.Wai, but defined in Network.Wai.Internal):
    Deprecated: "requestBody's name is misleading because it only gets a partial chunk of the body. Use getRequestBodyChunk instead when getting the field, and setRequestBodyChunks when setting the field."
     |
1437 |             bs <- liftIO $ W.requestBody req
     |                            ^^^^^^^^^^^^^
[12 of 31] Compiling Yesod.Core.Widget ( src/Yesod/Core/Widget.hs, dist/build/Yesod/Core/Widget.o, dist/build/Yesod/Core/Widget.dyn_o )

src/Yesod/Core/Widget.hs:90:47: warning: [-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
   |
90 |     toWidget :: (MonadWidget m, HandlerSite m ~ site) => a -> m ()
   |                                               ^

src/Yesod/Core/Widget.hs:92:17: warning: [-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
   |
92 | instance render ~ RY site => ToWidget site (render -> Html) where
   |                 ^

src/Yesod/Core/Widget.hs:94:17: warning: [-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
   |
94 | instance render ~ RY site => ToWidget site (render -> Css) where
   |                 ^

src/Yesod/Core/Widget.hs:98:17: warning: [-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
   |
98 | instance render ~ RY site => ToWidget site (render -> CssBuilder) where
   |                 ^

src/Yesod/Core/Widget.hs:102:17: warning: [-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 render ~ RY site => ToWidget site (render -> Javascript) where
    |                 ^

src/Yesod/Core/Widget.hs:106:17: warning: [-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
    |
106 | instance (site' ~ site, a ~ ()) => ToWidget site' (WidgetFor site a) where
    |                 ^

src/Yesod/Core/Widget.hs:106:27: warning: [-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
    |
106 | instance (site' ~ site, a ~ ()) => ToWidget site' (WidgetFor site a) where
    |                           ^

src/Yesod/Core/Widget.hs:127:52: warning: [-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
    |
127 |     toWidgetMedia :: (MonadWidget m, HandlerSite m ~ site)
    |                                                    ^

src/Yesod/Core/Widget.hs:131:17: warning: [-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
    |
131 | instance render ~ RY site => ToWidgetMedia site (render -> Css) where
    |                 ^

src/Yesod/Core/Widget.hs:135:17: warning: [-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
    |
135 | instance render ~ RY site => ToWidgetMedia site (render -> CssBuilder) where
    |                 ^

src/Yesod/Core/Widget.hs:141:51: warning: [-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
    |
141 |     toWidgetBody :: (MonadWidget m, HandlerSite m ~ site) => a -> m ()
    |                                                   ^

src/Yesod/Core/Widget.hs:143:17: warning: [-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
    |
143 | instance render ~ RY site => ToWidgetBody site (render -> Html) where
    |                 ^

src/Yesod/Core/Widget.hs:145:17: warning: [-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
    |
145 | instance render ~ RY site => ToWidgetBody site (render -> Javascript) where
    |                 ^

src/Yesod/Core/Widget.hs:153:51: warning: [-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
    |
153 |     toWidgetHead :: (MonadWidget m, HandlerSite m ~ site) => a -> m ()
    |                                                   ^

src/Yesod/Core/Widget.hs:155:17: warning: [-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
    |
155 | instance render ~ RY site => ToWidgetHead site (render -> Html) where
    |                 ^

src/Yesod/Core/Widget.hs:157:17: warning: [-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
    |
157 | instance render ~ RY site => ToWidgetHead site (render -> Css) where
    |                 ^

src/Yesod/Core/Widget.hs:161:17: warning: [-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
    |
161 | instance render ~ RY site => ToWidgetHead site (render -> CssBuilder) where
    |                 ^

src/Yesod/Core/Widget.hs:165:17: warning: [-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
    |
165 | instance render ~ RY site => ToWidgetHead site (render -> Javascript) where
    |                 ^
[13 of 31] Compiling Yesod.Core.Class.Yesod ( src/Yesod/Core/Class/Yesod.hs, dist/build/Yesod/Core/Class/Yesod.o, dist/build/Yesod/Core/Class/Yesod.dyn_o )

src/Yesod/Core/Class/Yesod.hs:57:1: warning: [-Wunused-imports]
    The qualified import of ‘Network.Wai.Handler.Warp’ is redundant
      except perhaps to import instances from ‘Network.Wai.Handler.Warp’
    To import instances alone, use: import Network.Wai.Handler.Warp()
   |
57 | import qualified Network.Wai.Handler.Warp as Warp
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[14 of 31] Compiling Yesod.Core.Json  ( src/Yesod/Core/Json.hs, dist/build/Yesod/Core/Json.o, dist/build/Yesod/Core/Json.dyn_o )
[15 of 31] Compiling Yesod.Core.Internal.Run ( src/Yesod/Core/Internal/Run.hs, dist/build/Yesod/Core/Internal/Run.o, dist/build/Yesod/Core/Internal/Run.dyn_o )

src/Yesod/Core/Internal/Run.hs:25:1: warning: [-Wunused-imports]
    The qualified import of ‘Control.Exception’ is redundant
      except perhaps to import instances from ‘Control.Exception’
    To import instances alone, use: import Control.Exception()
   |
25 | import qualified Control.Exception as EUnsafe
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Yesod/Core/Internal/Run.hs:54:48: warning: [-Wunused-imports]
    The import of ‘Route’ from module ‘Yesod.Routes.Class’ is redundant
   |
54 | import           Yesod.Routes.Class           (Route, renderRoute)
   |                                                ^^^^^

src/Yesod/Core/Internal/Run.hs:57:1: warning: [-Wunused-imports]
    The import of ‘UnliftIO’ is redundant
      except perhaps to import instances from ‘UnliftIO’
    To import instances alone, use: import UnliftIO()
   |
57 | import           UnliftIO(MonadUnliftIO, withRunInIO)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Yesod/Core/Internal/Run.hs:58:1: warning: [-Wunused-imports]
    The import of ‘Data.Proxy’ is redundant
      except perhaps to import instances from ‘Data.Proxy’
    To import instances alone, use: import Data.Proxy()
   |
58 | import           Data.Proxy(Proxy(..))
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Yesod/Core/Internal/Run.hs:302:13: warning: [-Wdeprecations]
    In the use of ‘requestBody’ (imported from Network.Wai.Internal):
    Deprecated: "requestBody's name is misleading because it only gets a partial chunk of the body. Use getRequestBodyChunk instead when getting the field, and setRequestBodyChunks when setting the field."
    |
302 |           , requestBody    = return mempty
    |             ^^^^^^^^^^^

src/Yesod/Core/Internal/Run.hs:328:3: warning: [-Wname-shadowing]
    This binding for ‘mmaxLen’ shadows the existing binding
      bound at src/Yesod/Core/Internal/Run.hs:368:5
    |
328 |   mmaxLen <- maximumContentLengthIO yreSite route
    |   ^^^^^^^

src/Yesod/Core/Internal/Run.hs:368:5: warning: [-Wunused-local-binds]
    Defined but not used: ‘mmaxLen’
    |
368 |     mmaxLen = maximumContentLength yreSite route
    |     ^^^^^^^
[16 of 31] Compiling Yesod.Core.Unsafe ( src/Yesod/Core/Unsafe.hs, dist/build/Yesod/Core/Unsafe.o, dist/build/Yesod/Core/Unsafe.dyn_o )
[17 of 31] Compiling Yesod.Core.Class.Dispatch ( src/Yesod/Core/Class/Dispatch.hs, dist/build/Yesod/Core/Class/Dispatch.o, dist/build/Yesod/Core/Class/Dispatch.dyn_o )
[18 of 31] Compiling Yesod.Core.Internal.LiteApp ( src/Yesod/Core/Internal/LiteApp.hs, dist/build/Yesod/Core/Internal/LiteApp.o, dist/build/Yesod/Core/Internal/LiteApp.dyn_o )
[19 of 31] Compiling Yesod.Core.Class.Breadcrumbs ( src/Yesod/Core/Class/Breadcrumbs.hs, dist/build/Yesod/Core/Class/Breadcrumbs.o, dist/build/Yesod/Core/Class/Breadcrumbs.dyn_o )
[20 of 31] Compiling Yesod.Routes.TH.Types ( src/Yesod/Routes/TH/Types.hs, dist/build/Yesod/Routes/TH/Types.o, dist/build/Yesod/Routes/TH/Types.dyn_o )
[21 of 31] Compiling Yesod.Routes.TH.RouteAttrs ( src/Yesod/Routes/TH/RouteAttrs.hs, dist/build/Yesod/Routes/TH/RouteAttrs.o, dist/build/Yesod/Routes/TH/RouteAttrs.dyn_o )
[22 of 31] Compiling Yesod.Routes.TH.RenderRoute ( src/Yesod/Routes/TH/RenderRoute.hs, dist/build/Yesod/Routes/TH/RenderRoute.o, dist/build/Yesod/Routes/TH/RenderRoute.dyn_o )
[23 of 31] Compiling Yesod.Routes.TH.Dispatch ( src/Yesod/Routes/TH/Dispatch.hs, dist/build/Yesod/Routes/TH/Dispatch.o, dist/build/Yesod/Routes/TH/Dispatch.dyn_o )
[24 of 31] Compiling Yesod.Routes.TH.ParseRoute ( src/Yesod/Routes/TH/ParseRoute.hs, dist/build/Yesod/Routes/TH/ParseRoute.o, dist/build/Yesod/Routes/TH/ParseRoute.dyn_o )
[25 of 31] Compiling Yesod.Routes.TH  ( src/Yesod/Routes/TH.hs, dist/build/Yesod/Routes/TH.o, dist/build/Yesod/Routes/TH.dyn_o )
[26 of 31] Compiling Yesod.Routes.Overlap ( src/Yesod/Routes/Overlap.hs, dist/build/Yesod/Routes/Overlap.o, dist/build/Yesod/Routes/Overlap.dyn_o )
[27 of 31] Compiling Yesod.Routes.Parse ( src/Yesod/Routes/Parse.hs, dist/build/Yesod/Routes/Parse.o, dist/build/Yesod/Routes/Parse.dyn_o )

src/Yesod/Routes/Parse.hs:103:25: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type ‘([Piece String], Maybe String,
                           Bool)’ not matched:
            (_, (Just _), _)
    |
103 |                         (pieces, Nothing, check) = piecesFromStringCheck pattern
    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[28 of 31] Compiling Yesod.Core.Internal.TH ( src/Yesod/Core/Internal/TH.hs, dist/build/Yesod/Core/Internal/TH.o, dist/build/Yesod/Core/Internal/TH.dyn_o )

src/Yesod/Core/Internal/TH.hs:221:24: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a lambda abstraction:
        Patterns of type ‘[String]’ not matched: []
    |
221 |     let appCxt = fmap (\(c:rest) ->
    |                        ^^^^^^^^^^^^^...
[29 of 31] Compiling Yesod.Core.Internal ( src/Yesod/Core/Internal.hs, dist/build/Yesod/Core/Internal.o, dist/build/Yesod/Core/Internal.dyn_o )
[30 of 31] Compiling Yesod.Core.Dispatch ( src/Yesod/Core/Dispatch.hs, dist/build/Yesod/Core/Dispatch.o, dist/build/Yesod/Core/Dispatch.dyn_o )

src/Yesod/Core/Dispatch.hs:247:32: error:
    • Couldn't match expected type ‘RequestLoggerSettings’
                  with actual type ‘GzipSettings’
    • In the first argument of ‘mkRequestLogger’, namely
        ‘def
           {destination = Network.Wai.Middleware.RequestLogger.Logger
                            $ loggerSet logger,
            outputFormat = Apache FromSocket}’
      In a stmt of a 'do' block:
        logWare <- mkRequestLogger
                     def
                       {destination = Network.Wai.Middleware.RequestLogger.Logger
                                        $ loggerSet logger,
                        outputFormat = Apache FromSocket}
      In the expression:
        do logWare <- mkRequestLogger
                        def
                          {destination = Network.Wai.Middleware.RequestLogger.Logger
                                           $ loggerSet logger,
                           outputFormat = Apache FromSocket}
           return $ logWare . defaultMiddlewaresNoLogging
    |
247 |     logWare <- mkRequestLogger def
    |                                ^^^...
Error: cabal: Failed to build yesod-core-1.6.25.1 (which is required by
exe:formexp from formexp-0.1.0.0). See the build log above for details.