Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc-yesod-core.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-224433-81067/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc-yesod-core.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/ghc-yesod-core-1.6.27.0-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc-yesod-core.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-224433-81067/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc-yesod-core.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Q2VuNZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf yesod-core-1.6.27.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/yesod-core-1.6.27.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd yesod-core-1.6.27.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6TrDlp + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd yesod-core-1.6.27.0 ++ ls ++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f ChangeLog.md -a -x ChangeLog.md ']' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f README.md -a -x README.md ']' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,--build-id=sha1' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,--build-id=sha1' + '[' -f Setup.hs -o -f Setup.lhs ']' + '[' -d /usr/lib64/ghc-9.8.4/lib ']' + subsubdir=/lib + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 2] Compiling Main ( Setup.lhs, Setup.o ) [2 of 2] Linking Setup + LANG=C.utf8 + ./Setup --version Cabal library version 3.10.3.0 + '[' -x Setup ']' + LANG=C.utf8 ++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ++ sed -e 's/ / -optc/g' ++ echo ' -Wl,-z,relro' -Wl,--as-needed -Wl,--build-id=sha1 ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc-yesod-core '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.8.4/lib --global '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Wall -optc-Werror=format-security -optc-Wp,-D_FORTIFY_SOURCE=2 -optc-Wp,-D_GLIBCXX_ASSERTIONS -optc-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -optc-fstack-protector-strong -optc-mbranch-protection=standard -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-Wl,--build-id=sha1 -fhide-source-paths' --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/yesod-core-1.6.27.0 --global Configuring yesod-core-1.6.27.0... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j8 Preprocessing library for yesod-core-1.6.27.0.. Building library for yesod-core-1.6.27.0.. [ 1 of 31] Compiling Paths_yesod_core [ 2 of 31] Compiling Yesod.Core.Internal.Util [ 3 of 31] Compiling Yesod.Core.TypeCache [ 4 of 31] Compiling Yesod.Routes.Class [ 5 of 31] Compiling Yesod.Core.Types src/Yesod/Core/Types.hs:32:1: warning: [GHC-66111] [-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: [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 | 262 | instance a ~ () => Monoid (WidgetFor site a) where | ^ src/Yesod/Core/Types.hs:267: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 | 267 | instance a ~ () => Semigroup (WidgetFor site a) where | ^ src/Yesod/Core/Types.hs:275: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 | 275 | instance a ~ () => IsString (WidgetFor site a) where | ^ src/Yesod/Core/Types.hs:402:3: warning: [GHC-50928] [-Wnoncanonical-monoid-instances] Noncanonical ‘(<>) = mappend’ definition detected in the instance declaration for ‘Semigroup (Head url)’. Suggested fix: 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: [GHC-50928] [-Wnoncanonical-monoid-instances] Noncanonical ‘(<>) = mappend’ definition detected in the instance declaration for ‘Semigroup (Body url)’. Suggested fix: 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 [ 7 of 31] Compiling Yesod.Core.Internal.Request src/Yesod/Core/Internal/Request.hs:53:11: warning: [GHC-68441] [-Wdeprecations] In the use of record field of Request ‘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: [GHC-68441] [-Wdeprecations] In the use of record field of Request ‘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 [ 9 of 31] Compiling Yesod.Core.Internal.Response [10 of 31] Compiling Yesod.Core.Class.Handler [11 of 31] Compiling Yesod.Core.Handler src/Yesod/Core/Handler.hs:252:1: warning: [GHC-66111] [-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: [GHC-68441] [-Wdeprecations] In the use of record field of Request ‘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: [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 | 1014 | toTextUrl :: (MonadHandler m, HandlerSite m ~ master) => a -> m Text | ^ src/Yesod/Core/Handler.hs:1027:15: 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 | 1027 | instance (key ~ Text, val ~ Text) => RedirectUrl master (Route master, [(key, val)]) where | ^ src/Yesod/Core/Handler.hs:1027:27: 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 | 1027 | instance (key ~ Text, val ~ Text) => RedirectUrl master (Route master, [(key, val)]) where | ^ src/Yesod/Core/Handler.hs:1032:15: 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 | 1032 | instance (key ~ Text, val ~ Text) => RedirectUrl master (Route master, Map.Map key val) where | ^ src/Yesod/Core/Handler.hs:1032:27: 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 | 1032 | instance (key ~ Text, val ~ Text) => RedirectUrl master (Route master, Map.Map key val) where | ^ src/Yesod/Core/Handler.hs:1437:28: warning: [GHC-68441] [-Wdeprecations] In the use of record field of Request ‘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:90:47: 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 | 90 | toWidget :: (MonadWidget m, HandlerSite m ~ site) => a -> m () | ^ src/Yesod/Core/Widget.hs:92: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 | 92 | instance render ~ RY site => ToWidget site (render -> Html) where | ^ src/Yesod/Core/Widget.hs:94: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 | 94 | instance render ~ RY site => ToWidget site (render -> Css) where | ^ src/Yesod/Core/Widget.hs:98: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 | 98 | instance render ~ RY site => ToWidget site (render -> CssBuilder) where | ^ src/Yesod/Core/Widget.hs:102: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 | 102 | instance render ~ RY site => ToWidget site (render -> Javascript) where | ^ src/Yesod/Core/Widget.hs:106: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 | 106 | instance (site' ~ site, a ~ ()) => ToWidget site' (WidgetFor site a) where | ^ src/Yesod/Core/Widget.hs:106:27: 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 | 106 | instance (site' ~ site, a ~ ()) => ToWidget site' (WidgetFor site a) where | ^ src/Yesod/Core/Widget.hs:127:52: 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 | 127 | toWidgetMedia :: (MonadWidget m, HandlerSite m ~ site) | ^ src/Yesod/Core/Widget.hs:131: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 | 131 | instance render ~ RY site => ToWidgetMedia site (render -> Css) where | ^ src/Yesod/Core/Widget.hs:135: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 | 135 | instance render ~ RY site => ToWidgetMedia site (render -> CssBuilder) where | ^ src/Yesod/Core/Widget.hs:141:51: 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 | 141 | toWidgetBody :: (MonadWidget m, HandlerSite m ~ site) => a -> m () | ^ src/Yesod/Core/Widget.hs:143: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 | 143 | instance render ~ RY site => ToWidgetBody site (render -> Html) where | ^ src/Yesod/Core/Widget.hs:145: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 | 145 | instance render ~ RY site => ToWidgetBody site (render -> Javascript) where | ^ src/Yesod/Core/Widget.hs:153:51: 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 | 153 | toWidgetHead :: (MonadWidget m, HandlerSite m ~ site) => a -> m () | ^ src/Yesod/Core/Widget.hs:155: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 | 155 | instance render ~ RY site => ToWidgetHead site (render -> Html) where | ^ src/Yesod/Core/Widget.hs:157: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 | 157 | instance render ~ RY site => ToWidgetHead site (render -> Css) where | ^ src/Yesod/Core/Widget.hs:161: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 | 161 | instance render ~ RY site => ToWidgetHead site (render -> CssBuilder) where | ^ src/Yesod/Core/Widget.hs:165: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 | 165 | instance render ~ RY site => ToWidgetHead site (render -> Javascript) where | ^ [13 of 31] Compiling Yesod.Core.Class.Yesod src/Yesod/Core/Class/Yesod.hs:57:1: warning: [GHC-66111] [-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 [15 of 31] Compiling Yesod.Core.Internal.Run src/Yesod/Core/Internal/Run.hs:25:1: warning: [GHC-66111] [-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: [GHC-38856] [-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: [GHC-66111] [-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: [GHC-66111] [-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: [GHC-68441] [-Wdeprecations] In the use of record field of Request ‘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: [GHC-63397] [-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: [GHC-40910] [-Wunused-local-binds] Defined but not used: ‘mmaxLen’ | 368 | mmaxLen = maximumContentLength yreSite route | ^^^^^^^ [16 of 31] Compiling Yesod.Core.Unsafe [17 of 31] Compiling Yesod.Core.Class.Dispatch [18 of 31] Compiling Yesod.Core.Internal.LiteApp [19 of 31] Compiling Yesod.Core.Class.Breadcrumbs [20 of 31] Compiling Yesod.Routes.TH.Types [21 of 31] Compiling Yesod.Routes.TH.RouteAttrs [22 of 31] Compiling Yesod.Routes.TH.RenderRoute [23 of 31] Compiling Yesod.Routes.TH.Dispatch [24 of 31] Compiling Yesod.Routes.TH.ParseRoute [25 of 31] Compiling Yesod.Routes.TH [26 of 31] Compiling Yesod.Routes.Overlap [27 of 31] Compiling Yesod.Routes.Parse src/Yesod/Routes/Parse.hs:103:25: warning: [GHC-62161] [-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 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Yesod/Core/Internal/TH.hs:221:24: warning: [GHC-62161] [-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) -> | ^^^^^^^^^^^^^... [28 of 31] Compiling Yesod.Core.Internal.TH [29 of 31] Compiling Yesod.Core.Internal [30 of 31] Compiling Yesod.Core.Dispatch [31 of 31] Compiling Yesod.Core + '[' -n dist/build/libHSyesod-core-1.6.27.0-4PDqO1Yk0tyQ3obE7TD3f-ghc9.8.4.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for yesod-core-1.6.27.0.. Running Haddock on library for yesod-core-1.6.27.0.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: HUnit-1.6.2.0, OneTuple-0.4.2, QuickCheck-2.14.3, StateVar-1.2.2, aeson-2.2.3.0, ansi-terminal-1.1.2, ansi-terminal-types-1.1, appar-0.1.8, array-0.5.8.0, asn1-encoding-0.9.6, asn1-parse-0.9.5, asn1-types-0.3.4, assoc-1.1.1, async-2.2.5, attoparsec-0.14.4, attoparsec-0.14.4, attoparsec-aeson-2.2.2.0, auto-update-0.2.6, base-4.19.2.0, base-orphans-0.9.3, base64-bytestring-1.2.1.0, basement-0.0.16, bifunctors-5.6.2, binary-0.8.9.1, bitvec-1.1.5.0, blaze-builder-0.4.2.3, blaze-html-0.9.2.0, blaze-markup-0.8.3.0, bsb-http-chunked-0.0.0.4, byteorder-1.0.4, bytestring-0.12.1.0, call-stack-0.4.0, case-insensitive-1.2.1.0, cereal-0.5.8.3, character-ps-0.1, clientsession-0.9.2.0, colour-2.3.6, comonad-5.0.9, conduit-1.3.6.1, conduit-extra-1.3.7, containers-0.6.8, contravariant-1.5.5, cookie-0.5.0, crypto-api-0.13.3, crypton-0.34, crypton-x509-1.7.7, cryptonite-0.30, data-default-0.7.1.1, data-default-class-0.1.2.2, data-default-instances-containers-0.1.0.3, data-default-instances-dlist-0.0.1.2, data-default-instances-old-locale-0.0.1.2, data-fix-0.3.4, deepseq-1.5.1.0, directory-1.3.8.5, distributive-0.6.2.1, dlist-1.0, easy-file-0.2.5, entropy-0.4.1.11, exceptions-0.10.7, fast-logger-3.2.5, file-embed-0.0.16.0, filepath-1.4.301.0, generically-0.1.1, ghc-bignum-1.3, ghc-boot-th-9.8.4, ghc-prim-0.11.0, hashable-1.4.7.0, hourglass-0.2.12, http-date-0.0.11, http-semantics-0.3.0, http-types-0.12.4, http2-5.3.9, indexed-traversable-0.1.4, indexed-traversable-instances-0.1.2, integer-conversion-0.1.1, integer-gmp-1.1, integer-logarithms-1.0.3.1, iproute-1.7.15, lifted-base-0.2.3.12, memory-0.18.0, monad-control-1.0.3.1, monad-logger-0.3.42, monad-loops-0.4.3, mono-traversable-1.0.21.0, mtl-2.3.1, network-3.1.4.0, network-byte-order-0.1.7, network-control-0.1.4, network-uri-2.6.4.2, old-locale-1.0.0.7, old-time-1.1.0.3, os-string-2.0.7, parsec-3.1.17.0, path-pieces-0.2.1, pem-0.2.4, pretty-1.1.3.6, primitive-0.9.0.0, process-1.6.25.0, psqueues-0.2.8.1, random-1.2.1.3, recv-0.1.0, resourcet-1.3.0, safe-exceptions-0.1.7.4, scientific-0.3.8.0, semialign-1.3.1, semigroupoids-6.0.1, setenv-0.1.1.3, shakespeare-2.1.0, simple-sendfile-0.2.32, skein-1.0.9.4, split-0.2.5, splitmix-0.1.1, stm-2.5.3.1, stm-chans-3.0.0.9, streaming-commons-0.2.3.0, strict-0.5.1, tagged-0.8.8, template-haskell-2.21.0.0, text-2.1.1, text-iso8601-0.1.1, text-short-0.1.6, th-abstraction-0.7.1.0, th-compat-0.1.6, th-lift-0.8.6, these-1.2.1, time-1.12.2, time-compat-1.9.6.1, time-manager-0.2.2, transformers-0.6.1.0, transformers-base-0.4.6, transformers-compat-0.7.2, typed-process-0.2.12.0, unix-2.8.6.0, unix-compat-0.7.3, unix-time-0.4.16, unliftio-0.2.25.1, unliftio-core-0.2.1.0, unordered-containers-0.2.20, utf8-string-1.0.2, uuid-types-1.0.6, vault-0.3.1.5, vector-0.13.1.0, vector-algorithms-0.9.1.0, vector-stream-0.1.0.1, wai-3.2.4, wai-extra-3.1.13.0, wai-logger-2.5.0, warp-3.4.7, witherable-0.5, word8-0.1.3, zlib-0.7.1.0 Warning: --source-* options are ignored when --hyperlinked-source is enabled. [ 1 of 31] Compiling Paths_yesod_core ( dist/build/autogen/Paths_yesod_core.hs, /tmp/ghc3311309_0/ghc_26.o, /tmp/ghc3311309_0/ghc_26.dyn_o ) [ 2 of 31] Compiling Yesod.Core.Internal.Util ( src/Yesod/Core/Internal/Util.hs, /tmp/ghc3311309_0/ghc_48.o, /tmp/ghc3311309_0/ghc_48.dyn_o ) [ 3 of 31] Compiling Yesod.Core.TypeCache ( src/Yesod/Core/TypeCache.hs, /tmp/ghc3311309_0/ghc_50.o, /tmp/ghc3311309_0/ghc_50.dyn_o ) [ 4 of 31] Compiling Yesod.Routes.Class ( src/Yesod/Routes/Class.hs, /tmp/ghc3311309_0/ghc_56.o, /tmp/ghc3311309_0/ghc_56.dyn_o ) [ 5 of 31] Compiling Yesod.Core.Types ( src/Yesod/Core/Types.hs, /tmp/ghc3311309_0/ghc_52.o, /tmp/ghc3311309_0/ghc_52.dyn_o ) src/Yesod/Core/Types.hs:32:1: warning: [GHC-66111] [-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: [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 | 262 | instance a ~ () => Monoid (WidgetFor site a) where | ^ src/Yesod/Core/Types.hs:267: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 | 267 | instance a ~ () => Semigroup (WidgetFor site a) where | ^ src/Yesod/Core/Types.hs:275: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 | 275 | instance a ~ () => IsString (WidgetFor site a) where | ^ src/Yesod/Core/Types.hs:402:3: warning: [GHC-50928] [-Wnoncanonical-monoid-instances] Noncanonical ‘(<>) = mappend’ definition detected in the instance declaration for ‘Semigroup (Head url)’. Suggested fix: 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: [GHC-50928] [-Wnoncanonical-monoid-instances] Noncanonical ‘(<>) = mappend’ definition detected in the instance declaration for ‘Semigroup (Body url)’. Suggested fix: 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, /tmp/ghc3311309_0/ghc_44.o, /tmp/ghc3311309_0/ghc_44.dyn_o ) [ 7 of 31] Compiling Yesod.Core.Internal.Request ( src/Yesod/Core/Internal/Request.hs, /tmp/ghc3311309_0/ghc_38.o, /tmp/ghc3311309_0/ghc_38.dyn_o ) src/Yesod/Core/Internal/Request.hs:53:11: warning: [GHC-68441] [-Wdeprecations] In the use of record field of Request ‘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: [GHC-68441] [-Wdeprecations] In the use of record field of Request ‘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, /tmp/ghc3311309_0/ghc_34.o, /tmp/ghc3311309_0/ghc_34.dyn_o ) [ 9 of 31] Compiling Yesod.Core.Internal.Response ( src/Yesod/Core/Internal/Response.hs, /tmp/ghc3311309_0/ghc_40.o, /tmp/ghc3311309_0/ghc_40.dyn_o ) [10 of 31] Compiling Yesod.Core.Class.Handler ( src/Yesod/Core/Class/Handler.hs, /tmp/ghc3311309_0/ghc_30.o, /tmp/ghc3311309_0/ghc_30.dyn_o ) [11 of 31] Compiling Yesod.Core.Handler ( src/Yesod/Core/Handler.hs, /tmp/ghc3311309_0/ghc_36.o, /tmp/ghc3311309_0/ghc_36.dyn_o ) src/Yesod/Core/Handler.hs:252:1: warning: [GHC-66111] [-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: [GHC-68441] [-Wdeprecations] In the use of record field of Request ‘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: [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 | 1014 | toTextUrl :: (MonadHandler m, HandlerSite m ~ master) => a -> m Text | ^ src/Yesod/Core/Handler.hs:1027:15: 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 | 1027 | instance (key ~ Text, val ~ Text) => RedirectUrl master (Route master, [(key, val)]) where | ^ src/Yesod/Core/Handler.hs:1027:27: 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 | 1027 | instance (key ~ Text, val ~ Text) => RedirectUrl master (Route master, [(key, val)]) where | ^ src/Yesod/Core/Handler.hs:1032:15: 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 | 1032 | instance (key ~ Text, val ~ Text) => RedirectUrl master (Route master, Map.Map key val) where | ^ src/Yesod/Core/Handler.hs:1032:27: 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 | 1032 | instance (key ~ Text, val ~ Text) => RedirectUrl master (Route master, Map.Map key val) where | ^ src/Yesod/Core/Handler.hs:1437:28: warning: [GHC-68441] [-Wdeprecations] In the use of record field of Request ‘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, /tmp/ghc3311309_0/ghc_54.o, /tmp/ghc3311309_0/ghc_54.dyn_o ) src/Yesod/Core/Widget.hs:90:47: 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 | 90 | toWidget :: (MonadWidget m, HandlerSite m ~ site) => a -> m () | ^ src/Yesod/Core/Widget.hs:92: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 | 92 | instance render ~ RY site => ToWidget site (render -> Html) where | ^ src/Yesod/Core/Widget.hs:94: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 | 94 | instance render ~ RY site => ToWidget site (render -> Css) where | ^ src/Yesod/Core/Widget.hs:98: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 | 98 | instance render ~ RY site => ToWidget site (render -> CssBuilder) where | ^ src/Yesod/Core/Widget.hs:102: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 | 102 | instance render ~ RY site => ToWidget site (render -> Javascript) where | ^ src/Yesod/Core/Widget.hs:106: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 | 106 | instance (site' ~ site, a ~ ()) => ToWidget site' (WidgetFor site a) where | ^ src/Yesod/Core/Widget.hs:106:27: 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 | 106 | instance (site' ~ site, a ~ ()) => ToWidget site' (WidgetFor site a) where | ^ src/Yesod/Core/Widget.hs:127:52: 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 | 127 | toWidgetMedia :: (MonadWidget m, HandlerSite m ~ site) | ^ src/Yesod/Core/Widget.hs:131: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 | 131 | instance render ~ RY site => ToWidgetMedia site (render -> Css) where | ^ src/Yesod/Core/Widget.hs:135: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 | 135 | instance render ~ RY site => ToWidgetMedia site (render -> CssBuilder) where | ^ src/Yesod/Core/Widget.hs:141:51: 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 | 141 | toWidgetBody :: (MonadWidget m, HandlerSite m ~ site) => a -> m () | ^ src/Yesod/Core/Widget.hs:143: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 | 143 | instance render ~ RY site => ToWidgetBody site (render -> Html) where | ^ src/Yesod/Core/Widget.hs:145: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 | 145 | instance render ~ RY site => ToWidgetBody site (render -> Javascript) where | ^ src/Yesod/Core/Widget.hs:153:51: 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 | 153 | toWidgetHead :: (MonadWidget m, HandlerSite m ~ site) => a -> m () | ^ src/Yesod/Core/Widget.hs:155: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 | 155 | instance render ~ RY site => ToWidgetHead site (render -> Html) where | ^ src/Yesod/Core/Widget.hs:157: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 | 157 | instance render ~ RY site => ToWidgetHead site (render -> Css) where | ^ src/Yesod/Core/Widget.hs:161: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 | 161 | instance render ~ RY site => ToWidgetHead site (render -> CssBuilder) where | ^ src/Yesod/Core/Widget.hs:165: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 | 165 | instance render ~ RY site => ToWidgetHead site (render -> Javascript) where | ^ [13 of 31] Compiling Yesod.Core.Class.Yesod ( src/Yesod/Core/Class/Yesod.hs, /tmp/ghc3311309_0/ghc_32.o, /tmp/ghc3311309_0/ghc_32.dyn_o ) src/Yesod/Core/Class/Yesod.hs:57:1: warning: [GHC-66111] [-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, nothing ) [15 of 31] Compiling Yesod.Core.Internal.Run ( src/Yesod/Core/Internal/Run.hs, /tmp/ghc3311309_0/ghc_42.o, /tmp/ghc3311309_0/ghc_42.dyn_o )