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 x86_64 --nodeps /builddir/build/SPECS/ghc-scotty.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-227294-81149/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 x86_64 --nodeps /builddir/build/SPECS/ghc-scotty.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ghc-scotty-0.22-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ghc-scotty.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-227294-81149/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 x86_64 --nodeps /builddir/build/SPECS/ghc-scotty.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sxzL14 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf scotty-0.22 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/scotty-0.22.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd scotty-0.22 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + dos2unix -k -n /builddir/build/SOURCES/scotty-0.22.cabal scotty.cabal dos2unix: converting file /builddir/build/SOURCES/scotty-0.22.cabal to file scotty.cabal in Unix format... + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1Tj3qK + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 scotty-0.22 ++ 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 README.md -a -x README.md ']' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f changelog.md -a -x changelog.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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.hs, 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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-scotty '--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-m64 -optc-march=x86-64-v2 -optc-mtune=generic -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection -optc-fcf-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/scotty-0.22 --global Configuring scotty-0.22... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j32 Preprocessing library for scotty-0.22.. Building library for scotty-0.22.. [ 1 of 10] Compiling Web.Scotty.Internal.Types Web/Scotty/Internal/Types.hs:25:53: warning: [GHC-38856] [-Wunused-imports] The import of ‘StateT’ from module ‘Control.Monad.State.Strict’ is redundant | 25 | import Control.Monad.State.Strict (State, StateT(..)) | ^^^^^^^^^^ [ 2 of 10] Compiling Web.Scotty.Util [ 3 of 10] Compiling Web.Scotty.Body [ 4 of 10] Compiling Web.Scotty.Action Web/Scotty/Action.hs:105:106: warning: [GHC-38856] [-Wunused-imports] The import of ‘decodeUtf8Lenient’ from module ‘Web.Scotty.Util’ is redundant | 105 | import Web.Scotty.Util (mkResponse, addIfNotPresent, add, replace, lazyTextToStrictByteString, decodeUtf8Lenient) | ^^^^^^^^^^^^^^^^^ Web/Scotty/Action.hs:135:3: warning: [GHC-68441] [-Wdeprecations] In the use of data constructor ‘StatusError’ (imported from Web.Scotty.Internal.Types): Deprecated: "If it is supposed to be caught, a proper exception type should be defined" | 135 | StatusError s e -> do | ^^^^^^^^^^^ Web/Scotty/Action.hs:220:27: warning: [GHC-68441] [-Wdeprecations] In the use of data constructor ‘StatusError’ (imported from Web.Scotty.Internal.Types): Deprecated: "If it is supposed to be caught, a proper exception type should be defined" | 220 | raiseStatus s = E.throw . StatusError s | ^^^^^^^^^^^ [ 5 of 10] Compiling Web.Scotty.Trans.Lazy Web/Scotty/Trans/Lazy.hs:19:10: warning: [GHC-68441] [-Wdeprecations] In the use of ‘raise’ (imported from Web.Scotty.Action): Deprecated: "Throw an exception instead" | 19 | raise = Base.raise . T.toStrict | ^^^^^^^^^^ Web/Scotty/Trans/Lazy.hs:26:17: warning: [GHC-68441] [-Wdeprecations] In the use of ‘raiseStatus’ (imported from Web.Scotty.Action): Deprecated: "Use status, text, and finish instead" | 26 | raiseStatus s = Base.raiseStatus s . T.toStrict | ^^^^^^^^^^^^^^^^ [ 6 of 10] Compiling Web.Scotty.Route Web/Scotty/Route.hs:26:101: warning: [GHC-38856] [-Wunused-imports] The import of ‘ActionT’ from module ‘Web.Scotty.Internal.Types’ is redundant | 26 | import Web.Scotty.Internal.Types (Options, RoutePattern(..), RouteOptions, ActionEnv(..), ActionT, ScottyState(..), ScottyT(..), ErrorHandler, Middleware, BodyInfo, File, handler, addRoute, defaultScottyResponse) | ^^^^^^^ [ 7 of 10] Compiling Web.Scotty.Trans Web/Scotty/Trans.hs:133:12: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘options’ shadows the existing binding imported from ‘Web.Scotty.Route’ at Web/Scotty/Trans.hs:80:1-23 (and originally defined at Web/Scotty/Route.hs:82:1-7) | 133 | scottyAppT options runActionToIO defs = do | ^^^^^^^ [ 8 of 10] Compiling Web.Scotty.Trans.Strict [ 9 of 10] Compiling Web.Scotty Web/Scotty.hs:70:1: warning: [GHC-66111] [-Wunused-imports] The qualified import of ‘Network.Wai.Parse’ is redundant except perhaps to import instances from ‘Network.Wai.Parse’ To import instances alone, use: import Network.Wai.Parse() | 70 | import qualified Network.Wai.Parse as W (defaultParseRequestBodyOptions) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Web/Scotty.hs:156:9: warning: [GHC-68441] [-Wdeprecations] In the use of ‘raise’ (imported from Web.Scotty.Trans, but defined in Web.Scotty.Trans.Lazy): Deprecated: "Throw an exception instead" | 156 | raise = Trans.raise | ^^^^^^^^^^^ Web/Scotty.hs:163:15: warning: [GHC-68441] [-Wdeprecations] In the use of ‘raiseStatus’ (imported from Web.Scotty.Trans, but defined in Web.Scotty.Trans.Lazy): Deprecated: "Use status, text, and finish instead" | 163 | raiseStatus = Trans.raiseStatus | ^^^^^^^^^^^^^^^^^ Web/Scotty.hs:213:10: warning: [GHC-68441] [-Wdeprecations] In the use of ‘rescue’ (imported from Web.Scotty.Trans, but defined in Web.Scotty.Action): Deprecated: "Use catch instead" | 213 | rescue = Trans.rescue | ^^^^^^^^^^^^ Web/Scotty.hs:218:18: warning: [GHC-68441] [-Wdeprecations] In the use of ‘liftAndCatchIO’ (imported from Web.Scotty.Trans, but defined in Web.Scotty.Action): Deprecated: "Use liftIO instead" | 218 | liftAndCatchIO = Trans.liftAndCatchIO | ^^^^^^^^^^^^^^^^^^^^ Web/Scotty.hs:284:9: warning: [GHC-68441] [-Wdeprecations] In the use of ‘param’ (imported from Web.Scotty.Trans, but defined in Web.Scotty.Action): Deprecated: "(#204) Not a good idea to treat all parameters identically. Use captureParam, formParam and queryParam instead. " | 284 | param = Trans.param . toStrict | ^^^^^^^^^^^ Web/Scotty.hs:360:10: warning: [GHC-68441] [-Wdeprecations] In the use of ‘params’ (imported from Web.Scotty.Trans, but defined in Web.Scotty.Action): Deprecated: "(#204) Not a good idea to treat all parameters identically. Use pathParams, formParams and queryParams instead. " | 360 | params = Trans.params | ^^^^^^^^^^^^ [10 of 10] Compiling Web.Scotty.Cookie + '[' -n dist/build/libHSscotty-0.22-VaUSt0pSNgCMFCqKK39eO-ghc9.8.4.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for scotty-0.22.. Running Haddock on library for scotty-0.22.. 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, 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, blaze-builder-0.4.2.3, 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, character-ps-0.1, colour-2.3.6, comonad-5.0.9, containers-0.6.8, contravariant-1.5.5, cookie-0.5.0, crypton-0.34, crypton-x509-1.7.7, 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, exceptions-0.10.7, fast-logger-3.2.5, 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, memory-0.18.0, monad-control-1.0.3.1, mtl-2.3.1, network-3.2.7.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, 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, regex-base-0.94.0.2, regex-compat-0.95.2.2, regex-posix-0.96.0.2, resourcet-1.3.0, safe-exceptions-0.1.7.4, scientific-0.3.8.0, semialign-1.3.1, semigroupoids-6.0.1, simple-sendfile-0.2.32, splitmix-0.1.1, stm-2.5.3.1, 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, 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, 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-stream-0.1.0.1, wai-3.2.4, wai-extra-3.1.16, 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 10] Compiling Web.Scotty.Internal.Types ( Web/Scotty/Internal/Types.hs, nothing ) Web/Scotty/Internal/Types.hs:25:53: warning: [GHC-38856] [-Wunused-imports] The import of ‘StateT’ from module ‘Control.Monad.State.Strict’ is redundant | 25 | import Control.Monad.State.Strict (State, StateT(..)) | ^^^^^^^^^^ [ 2 of 10] Compiling Web.Scotty.Util ( Web/Scotty/Util.hs, nothing ) [ 3 of 10] Compiling Web.Scotty.Body ( Web/Scotty/Body.hs, nothing ) [ 4 of 10] Compiling Web.Scotty.Action ( Web/Scotty/Action.hs, nothing ) Web/Scotty/Action.hs:105:106: warning: [GHC-38856] [-Wunused-imports] The import of ‘decodeUtf8Lenient’ from module ‘Web.Scotty.Util’ is redundant | 105 | import Web.Scotty.Util (mkResponse, addIfNotPresent, add, replace, lazyTextToStrictByteString, decodeUtf8Lenient) | ^^^^^^^^^^^^^^^^^ Web/Scotty/Action.hs:135:3: warning: [GHC-68441] [-Wdeprecations] In the use of data constructor ‘StatusError’ (imported from Web.Scotty.Internal.Types): Deprecated: "If it is supposed to be caught, a proper exception type should be defined" | 135 | StatusError s e -> do | ^^^^^^^^^^^ Web/Scotty/Action.hs:220:27: warning: [GHC-68441] [-Wdeprecations] In the use of data constructor ‘StatusError’ (imported from Web.Scotty.Internal.Types): Deprecated: "If it is supposed to be caught, a proper exception type should be defined" | 220 | raiseStatus s = E.throw . StatusError s | ^^^^^^^^^^^ [ 5 of 10] Compiling Web.Scotty.Trans.Lazy ( Web/Scotty/Trans/Lazy.hs, nothing ) Web/Scotty/Trans/Lazy.hs:19:10: warning: [GHC-68441] [-Wdeprecations] In the use of ‘raise’ (imported from Web.Scotty.Action): Deprecated: "Throw an exception instead" | 19 | raise = Base.raise . T.toStrict | ^^^^^^^^^^ Web/Scotty/Trans/Lazy.hs:26:17: warning: [GHC-68441] [-Wdeprecations] In the use of ‘raiseStatus’ (imported from Web.Scotty.Action): Deprecated: "Use status, text, and finish instead" | 26 | raiseStatus s = Base.raiseStatus s . T.toStrict | ^^^^^^^^^^^^^^^^ [ 6 of 10] Compiling Web.Scotty.Route ( Web/Scotty/Route.hs, nothing ) Web/Scotty/Route.hs:26:101: warning: [GHC-38856] [-Wunused-imports] The import of ‘ActionT’ from module ‘Web.Scotty.Internal.Types’ is redundant | 26 | import Web.Scotty.Internal.Types (Options, RoutePattern(..), RouteOptions, ActionEnv(..), ActionT, ScottyState(..), ScottyT(..), ErrorHandler, Middleware, BodyInfo, File, handler, addRoute, defaultScottyResponse) | ^^^^^^^ [ 7 of 10] Compiling Web.Scotty.Trans ( Web/Scotty/Trans.hs, nothing ) Web/Scotty/Trans.hs:133:12: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘options’ shadows the existing binding imported from ‘Web.Scotty.Route’ at Web/Scotty/Trans.hs:80:1-23 (and originally defined at Web/Scotty/Route.hs:82:1-7) | 133 | scottyAppT options runActionToIO defs = do | ^^^^^^^ [ 8 of 10] Compiling Web.Scotty.Trans.Strict ( Web/Scotty/Trans/Strict.hs, nothing ) [ 9 of 10] Compiling Web.Scotty ( Web/Scotty.hs, nothing ) Web/Scotty.hs:70:1: warning: [GHC-66111] [-Wunused-imports] The qualified import of ‘Network.Wai.Parse’ is redundant except perhaps to import instances from ‘Network.Wai.Parse’ To import instances alone, use: import Network.Wai.Parse() | 70 | import qualified Network.Wai.Parse as W (defaultParseRequestBodyOptions) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Web/Scotty.hs:156:9: warning: [GHC-68441] [-Wdeprecations] In the use of ‘raise’ (imported from Web.Scotty.Trans, but defined in Web.Scotty.Trans.Lazy): Deprecated: "Throw an exception instead" | 156 | raise = Trans.raise | ^^^^^^^^^^^ Web/Scotty.hs:163:15: warning: [GHC-68441] [-Wdeprecations] In the use of ‘raiseStatus’ (imported from Web.Scotty.Trans, but defined in Web.Scotty.Trans.Lazy): Deprecated: "Use status, text, and finish instead" | 163 | raiseStatus = Trans.raiseStatus | ^^^^^^^^^^^^^^^^^ Web/Scotty.hs:213:10: warning: [GHC-68441] [-Wdeprecations] In the use of ‘rescue’ (imported from Web.Scotty.Trans, but defined in Web.Scotty.Action): Deprecated: "Use catch instead" | 213 | rescue = Trans.rescue | ^^^^^^^^^^^^ Web/Scotty.hs:218:18: warning: [GHC-68441] [-Wdeprecations] In the use of ‘liftAndCatchIO’ (imported from Web.Scotty.Trans, but defined in Web.Scotty.Action): Deprecated: "Use liftIO instead" | 218 | liftAndCatchIO = Trans.liftAndCatchIO | ^^^^^^^^^^^^^^^^^^^^ Web/Scotty.hs:284:9: warning: [GHC-68441] [-Wdeprecations] In the use of ‘param’ (imported from Web.Scotty.Trans, but defined in Web.Scotty.Action): Deprecated: "(#204) Not a good idea to treat all parameters identically. Use captureParam, formParam and queryParam instead. " | 284 | param = Trans.param . toStrict | ^^^^^^^^^^^ Web/Scotty.hs:360:10: warning: [GHC-68441] [-Wdeprecations] In the use of ‘params’ (imported from Web.Scotty.Trans, but defined in Web.Scotty.Action): Deprecated: "(#204) Not a good idea to treat all parameters identically. Use pathParams, formParams and queryParams instead. " | 360 | params = Trans.params | ^^^^^^^^^^^^ [10 of 10] Compiling Web.Scotty.Cookie ( Web/Scotty/Cookie.hs, nothing ) Haddock coverage: Warning: 'Handler' is ambiguous. It is defined * in ‘Control.Monad.Catch’ * in ‘Control.Monad.Catch’ You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined in ‘Control.Monad.Catch’ Warning: 'ActionT' is ambiguous. It is defined * at Web/Scotty/Internal/Types.hs:242:23 * at Web/Scotty/Internal/Types.hs:242:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at Web/Scotty/Internal/Types.hs:242:1 Warning: 'runAction' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Settings' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'setFdCacheDuration' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'next' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'StatusError' is ambiguous. It is defined * at Web/Scotty/Internal/Types.hs:148:20 * at Web/Scotty/Internal/Types.hs:148:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at Web/Scotty/Internal/Types.hs:148:1 Warning: 'raiseStatus' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 20% ( 8 / 40) in 'Web.Scotty.Internal.Types' Missing documentation for: Module header Options (Web/Scotty/Internal/Types.hs:51) defaultOptions (Web/Scotty/Internal/Types.hs:65) RouteOptions (Web/Scotty/Internal/Types.hs:67) defaultRouteOptions (Web/Scotty/Internal/Types.hs:74) Kilobytes (Web/Scotty/Internal/Types.hs:76) Middleware (Web/Scotty/Internal/Types.hs:78) Application (Web/Scotty/Internal/Types.hs:79) BodyChunkBuffer (Web/Scotty/Internal/Types.hs:83) ScottyState (Web/Scotty/Internal/Types.hs:96) defaultScottyState (Web/Scotty/Internal/Types.hs:107) addMiddleware (Web/Scotty/Internal/Types.hs:110) addRoute (Web/Scotty/Internal/Types.hs:113) setHandler (Web/Scotty/Internal/Types.hs:116) updateMaxRequestBodySize (Web/Scotty/Internal/Types.hs:119) ScottyT (Web/Scotty/Internal/Types.hs:123) tryNext (Web/Scotty/Internal/Types.hs:142) Param (Web/Scotty/Internal/Types.hs:171) ActionEnv (Web/Scotty/Internal/Types.hs:176) formParamsAndFilesWith (Web/Scotty/Internal/Types.hs:192) getResponse (Web/Scotty/Internal/Types.hs:199) getResponseAction (Web/Scotty/Internal/Types.hs:202) modifyResponse (Web/Scotty/Internal/Types.hs:207) BodyPartiallyStreamed (Web/Scotty/Internal/Types.hs:211) Content (Web/Scotty/Internal/Types.hs:215) ScottyResponse (Web/Scotty/Internal/Types.hs:220) setContent (Web/Scotty/Internal/Types.hs:226) setHeaderWith (Web/Scotty/Internal/Types.hs:229) setStatus (Web/Scotty/Internal/Types.hs:232) ActionT (Web/Scotty/Internal/Types.hs:242) withActionEnv (Web/Scotty/Internal/Types.hs:247) RoutePattern (Web/Scotty/Internal/Types.hs:300) Warning: Web.Scotty.Util: Couldn't find .haddock for export decodeUtf8Lenient Warning: 'warp' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'BodyPartiallyStreamed' is ambiguous. It is defined * at Web/Scotty/Internal/Types.hs:211:30 * at Web/Scotty/Internal/Types.hs:211:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at Web/Scotty/Internal/Types.hs:211:1 Warning: Web.Scotty.Body: Couldn't find .haddock for export RequestParseException Warning: 'a' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'StatusError' is ambiguous. It is defined * at Web/Scotty/Internal/Types.hs:148:20 * at Web/Scotty/Internal/Types.hs:148:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at Web/Scotty/Internal/Types.hs:148:1 Warning: 'Next' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Handler' is ambiguous. It is defined * in ‘Control.Monad.Catch’ * in ‘Control.Monad.Catch’ You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined in ‘Control.Monad.Catch’ Warning: 'defaultHandler' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Status' is ambiguous. It is defined * in ‘Network.HTTP.Types.Status’ * in ‘Network.HTTP.Types.Status’ You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined in ‘Network.HTTP.Types.Status’ Warning: '()' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'baz' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'bar' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: Web.Scotty.Action: Couldn't find .haddock for export ParseRequestBodyOptions Warning: Web.Scotty.Action: Couldn't find .haddock for export defaultParseRequestBodyOptions Warning: 'StatusError' is ambiguous. It is defined * at Web/Scotty/Internal/Types.hs:148:20 * at Web/Scotty/Internal/Types.hs:148:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at Web/Scotty/Internal/Types.hs:148:1 Warning: 'rescue' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Action' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'scottyExceptionHandler' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'm' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'scotty' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Middleware' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: Web.Scotty.Trans: Couldn't find .haddock for export ParseRequestBodyOptions Warning: 'Response' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: Web.Scotty.Trans: Couldn't find .haddock for export MonadIO Warning: Web.Scotty.Trans: Couldn't find .haddock for export catch Warning: Web.Scotty.Trans: Couldn't find .haddock for export Handler 84% ( 84 /100) in 'Web.Scotty.Trans' Missing documentation for: Options (Web/Scotty/Internal/Types.hs:51) defaultOptions (Web/Scotty/Internal/Types.hs:65) ParseRequestBodyOptions text (Web/Scotty/Trans/Lazy.hs:58) html (Web/Scotty/Trans/Lazy.hs:61) liftIO catch Param (Web/Scotty/Internal/Types.hs:171) RoutePattern (Web/Scotty/Internal/Types.hs:300) Content (Web/Scotty/Internal/Types.hs:215) Kilobytes (Web/Scotty/Internal/Types.hs:76) Handler ScottyT (Web/Scotty/Internal/Types.hs:123) ActionT (Web/Scotty/Internal/Types.hs:242) ScottyState (Web/Scotty/Internal/Types.hs:96) defaultScottyState (Web/Scotty/Internal/Types.hs:107) Warning: 'Middleware' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Response' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: Web.Scotty.Trans.Strict: Couldn't find .haddock for export Handler 88% ( 81 / 92) in 'Web.Scotty.Trans.Strict' Missing documentation for: Options (Web/Scotty/Internal/Types.hs:51) defaultOptions (Web/Scotty/Internal/Types.hs:65) Param (Web/Scotty/Internal/Types.hs:171) RoutePattern (Web/Scotty/Internal/Types.hs:300) Content (Web/Scotty/Internal/Types.hs:215) Kilobytes (Web/Scotty/Internal/Types.hs:76) Handler ScottyT (Web/Scotty/Internal/Types.hs:123) ActionT (Web/Scotty/Internal/Types.hs:242) ScottyState (Web/Scotty/Internal/Types.hs:96) defaultScottyState (Web/Scotty/Internal/Types.hs:107) Warning: 'StatusError' is ambiguous. It is defined * at Web/Scotty/Internal/Types.hs:148:20 * at Web/Scotty/Internal/Types.hs:148:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at Web/Scotty/Internal/Types.hs:148:1 Warning: 'Handler' is ambiguous. It is defined * in ‘Control.Monad.Catch’ * in ‘Control.Monad.Catch’ You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined in ‘Control.Monad.Catch’ Warning: 'parseParam' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'GET' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'POST' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'PUT' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'DELETE' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'PATCH' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'OPTIONS' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Action' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: Web.Scotty: Couldn't find .haddock for export ParseRequestBodyOptions Warning: 'Response' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: Web.Scotty: Couldn't find .haddock for export MonadIO Warning: Web.Scotty: Couldn't find .haddock for export catch Warning: Web.Scotty: Couldn't find .haddock for export Handler 85% ( 85 / 99) in 'Web.Scotty' Missing documentation for: Options (Web/Scotty/Internal/Types.hs:51) defaultOptions (Web/Scotty/Internal/Types.hs:65) ParseRequestBodyOptions liftIO catch Param (Web/Scotty/Internal/Types.hs:171) ScottyM (Web/Scotty.hs:103) ActionM (Web/Scotty.hs:104) RoutePattern (Web/Scotty/Internal/Types.hs:300) Content (Web/Scotty/Internal/Types.hs:215) Kilobytes (Web/Scotty/Internal/Types.hs:76) Handler ScottyState (Web/Scotty/Internal/Types.hs:96) defaultScottyState (Web/Scotty/Internal/Types.hs:107) Warning: 'cookie' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: Web.Scotty.Cookie: Couldn't find .haddock for export CookiesText Warning: Web.Scotty.Cookie: Couldn't find .haddock for export SetCookie Warning: Web.Scotty.Cookie: Couldn't find .haddock for export defaultSetCookie Warning: Web.Scotty.Cookie: Couldn't find .haddock for export SetCookie Warning: Web.Scotty.Cookie: Couldn't find .haddock for export SetCookie Warning: Web.Scotty.Cookie: Couldn't find .haddock for export SetCookie Warning: Web.Scotty.Cookie: Couldn't find .haddock for export SetCookie Warning: Web.Scotty.Cookie: Couldn't find .haddock for export SetCookie Warning: Web.Scotty.Cookie: Couldn't find .haddock for export SetCookie Warning: Web.Scotty.Cookie: Couldn't find .haddock for export SetCookie Warning: Web.Scotty.Cookie: Couldn't find .haddock for export SetCookie Warning: Web.Scotty.Cookie: Couldn't find .haddock for export SetCookie Warning: Web.Scotty.Cookie: Couldn't find .haddock for export SameSiteOption Warning: Web.Scotty.Cookie: Couldn't find .haddock for export sameSiteNone Warning: Web.Scotty.Cookie: Couldn't find .haddock for export sameSiteLax Warning: Web.Scotty.Cookie: Couldn't find .haddock for export sameSiteStrict 42% ( 12 / 28) in 'Web.Scotty.Cookie' Missing documentation for: CookiesText SetCookie defaultSetCookie setCookieName setCookieValue setCookiePath setCookieExpires setCookieMaxAge setCookieDomain setCookieHttpOnly setCookieSecure setCookieSameSite SameSiteOption sameSiteNone sameSiteLax sameSiteStrict Warning: Web.Scotty.Internal.Types: could not find link destinations for: - GHC.Base.>>= - GHC.Base.>> - GHC.Base.fmap - GHC.Base.return - Control.Monad.Fail.fail - Data.String.fromString - GHC.Base.<> - GHC.Base.mempty - GHC.Base.mappend - GHC.Base.mconcat - GHC.Base.<*> - GHC.Base.pure - GHC.Base.*> - GHC.Real.Integral - GHC.Base.Monad - GHC.Base.Functor - GHC.Show.Show - Control.Monad.Fail.MonadFail - Data.String.IsString - GHC.Base.Applicative - GHC.Base.Semigroup - GHC.Base.Monoid - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Maybe.Maybe - GHC.Types.IO - GHC.Base.NonEmpty - GHC.Types.Type - GHC.Base.<* - GHC.Base.liftA2 - GHC.Base.<$ - GHC.IO.FilePath - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - Data.ByteString.Builder.Internal.Builder - Data.ByteString.Lazy.Internal.ByteString - Data.ByteString.Internal.Type.ByteString - GHC.Base.Alternative - GHC.Base.<|> - GHC.Base.empty - GHC.Base.many - GHC.Base.some - GHC.Base.MonadPlus - GHC.Base.mzero - GHC.Base.mplus - GHC.MVar.MVar - GHC.Exception.Type.SomeException - GHC.Conc.Sync.TVar - GHC.Exception.Type.Exception - GHC.Exception.Type.displayException - GHC.Exception.Type.fromException - GHC.Exception.Type.toException - Control.Monad.Base.MonadBase - Control.Monad.Base.liftBase - Control.Monad.Trans.Reader.ReaderT - Control.Monad.Trans.Class.MonadTrans - Control.Monad.Trans.Class.lift - Control.Monad.Catch.MonadCatch - Control.Monad.Catch.catch - Control.Monad.Catch.MonadThrow - Control.Monad.Catch.throwM - GHC.Stack.Types.HasCallStack - Control.Monad.Error.Class.MonadError - Control.Monad.Error.Class.catchError - Control.Monad.Error.Class.throwError - Control.Monad.IO.Class.MonadIO - Control.Monad.IO.Unlift.MonadUnliftIO - Control.Monad.IO.Unlift.withRunInIO - Control.Monad.Reader.Class.MonadReader - Control.Monad.Reader.Class.ask - Control.Monad.Reader.Class.local - Control.Monad.Reader.Class.reader - Control.Monad.Trans.State.Strict.State - Control.Monad.Trans.Control.MonadBaseControl - Control.Monad.Trans.Control.StM - Control.Monad.Trans.Control.liftBaseWith - Control.Monad.Trans.Control.restoreM - Control.Monad.Trans.Control.MonadTransControl - Control.Monad.Trans.Control.StT - Control.Monad.Trans.Control.liftWith - Control.Monad.Trans.Control.restoreT - Control.Monad.Trans.Control.Run - Control.Monad.Trans.Control.RunInBase - Control.Monad.Trans.Resource.InternalState - Control.Monad.Trans.Resource.Internal.InvalidAccess - Data.Default.Class.Default - Data.Default.Class.def - Data.Text.Internal.Text - Network.HTTP.Types.Header.HeaderName - Network.HTTP.Types.Header.ResponseHeaders - Network.HTTP.Types.Status.Status - Network.Wai.Middleware - Network.Wai.Internal.Request - Network.Wai.Internal.Response - Network.Wai.Internal.StreamingBody - Network.Wai.Handler.Warp.Settings.Settings - Network.Wai.Handler.Warp.Types.InvalidRequest - Network.Wai.Parse.FileInfo - Network.Wai.Parse.RequestParseException - GHC.Base.sconcat - GHC.Base.stimes - Web.Scotty.Internal.Types.R:StTActionTa Warning: Web.Scotty.Trans: could not find link destinations for: - GHC.Base.>>= - GHC.Base.>> - GHC.Base.fmap - GHC.Base.return - Control.Monad.Fail.fail - Data.String.fromString - GHC.Base.<> - GHC.Base.mempty - GHC.Base.mappend - GHC.Base.mconcat - GHC.Base.<*> - GHC.Base.pure - GHC.Base.*> - GHC.Real.Integral - GHC.Base.Monad - GHC.Base.Functor - GHC.Read.Read - GHC.Show.Show - Control.Monad.Fail.MonadFail - Data.String.IsString - GHC.Base.Applicative - GHC.Base.Semigroup - GHC.Base.Monoid - GHC.Types.Bool - GHC.Base.String - GHC.Types.Char - GHC.Types.Double - GHC.Types.Float - GHC.Types.Int - GHC.Int.Int8 - GHC.Int.Int16 - GHC.Int.Int32 - GHC.Int.Int64 - GHC.Num.Integer.Integer - GHC.Num.Natural.Natural - GHC.Maybe.Maybe - GHC.Types.IO - GHC.Types.Word - GHC.Word.Word8 - GHC.Word.Word16 - GHC.Word.Word32 - GHC.Word.Word64 - Data.Either.Either - GHC.Base.NonEmpty - GHC.Types.Type - GHC.Maybe.Nothing - GHC.Maybe.Just - GHC.Base.<* - GHC.Base.liftA2 - GHC.Base.<$ - GHC.IO.FilePath - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - Data.ByteString.Builder.Internal.Builder - Data.ByteString.Lazy.Internal.ByteString - Data.ByteString.Internal.Type.ByteString - GHC.Base.Alternative - GHC.Base.<|> - GHC.Base.empty - GHC.Base.many - GHC.Base.some - GHC.Base.MonadPlus - GHC.Base.mzero - GHC.Base.mplus - GHC.Exception.Type.SomeException - GHC.Exception.Type.Exception - GHC.Exception.Type.displayException - GHC.Exception.Type.fromException - GHC.Exception.Type.toException - Control.Monad.Base.MonadBase - Control.Monad.Base.liftBase - Control.Monad.Trans.Reader.ReaderT - Control.Monad.Trans.Class.MonadTrans - Control.Monad.Trans.Class.lift - Control.Monad.Catch.MonadCatch - Control.Monad.Catch.catch - Control.Monad.Catch.MonadThrow - Control.Monad.Catch.throwM - GHC.Stack.Types.HasCallStack - Control.Monad.Error.Class.MonadError - Control.Monad.Error.Class.catchError - Control.Monad.Error.Class.throwError - Control.Monad.IO.Class.MonadIO - Control.Monad.IO.Unlift.MonadUnliftIO - Control.Monad.IO.Unlift.withRunInIO - Control.Monad.Reader.Class.MonadReader - Control.Monad.Reader.Class.ask - Control.Monad.Reader.Class.local - Control.Monad.Reader.Class.reader - Control.Monad.Trans.Control.MonadBaseControl - Control.Monad.Trans.Control.StM - Control.Monad.Trans.Control.liftBaseWith - Control.Monad.Trans.Control.restoreM - Control.Monad.Trans.Control.MonadTransControl - Control.Monad.Trans.Control.StT - Control.Monad.Trans.Control.liftWith - Control.Monad.Trans.Control.restoreT - Control.Monad.Trans.Control.Run - Control.Monad.Trans.Control.RunInBase - Control.Monad.Trans.Resource.Internal.InvalidAccess - Data.Default.Class.Default - Data.Default.Class.def - Data.Text.Internal.Text - Network.HTTP.Types.Header.ResponseHeaders - Network.HTTP.Types.Method.StdMethod - Network.HTTP.Types.Method.DELETE - Network.HTTP.Types.Method.GET - Network.HTTP.Types.Method.OPTIONS - Network.HTTP.Types.Method.PATCH - Network.HTTP.Types.Method.POST - Network.HTTP.Types.Method.PUT - Network.HTTP.Types.Status.Status - Network.Wai.Application - Network.Wai.Middleware - Network.Wai.Internal.Request - Network.Wai.Internal.Response - Network.Wai.Internal.StreamingBody - Network.Wai.Handler.Warp.Settings.Settings - Network.Wai.Handler.Warp.Types.InvalidRequest - Network.Wai.Handler.Warp.Types.Port - Network.Socket.Types.Socket - Network.Wai.Parse.FileInfo - Network.Wai.Parse.RequestParseException - Data.Text.Internal.Lazy.Text - Data.Time.Clock.Internal.UTCTime.UTCTime - GHC.Base.sconcat - GHC.Base.stimes - Web.Scotty.Internal.Types.R:StTActionTa - Data.Aeson.Types.FromJSON.FromJSON - Data.Aeson.Types.ToJSON.ToJSON Warning: Web.Scotty.Trans.Strict: could not find link destinations for: - GHC.Base.>>= - GHC.Base.>> - GHC.Base.fmap - GHC.Base.return - Control.Monad.Fail.fail - Data.String.fromString - GHC.Base.<> - GHC.Base.mempty - GHC.Base.mappend - GHC.Base.mconcat - GHC.Base.<*> - GHC.Base.pure - GHC.Base.*> - GHC.Real.Integral - GHC.Base.Monad - GHC.Base.Functor - GHC.Read.Read - GHC.Show.Show - Control.Monad.Fail.MonadFail - Data.String.IsString - GHC.Base.Applicative - GHC.Base.Semigroup - GHC.Base.Monoid - GHC.Types.Bool - GHC.Base.String - GHC.Types.Char - GHC.Types.Double - GHC.Types.Float - GHC.Types.Int - GHC.Int.Int8 - GHC.Int.Int16 - GHC.Int.Int32 - GHC.Int.Int64 - GHC.Num.Integer.Integer - GHC.Num.Natural.Natural - GHC.Maybe.Maybe - GHC.Types.IO - GHC.Types.Word - GHC.Word.Word8 - GHC.Word.Word16 - GHC.Word.Word32 - GHC.Word.Word64 - Data.Either.Either - GHC.Base.NonEmpty - GHC.Types.Type - GHC.Maybe.Nothing - GHC.Maybe.Just - GHC.Base.<* - GHC.Base.liftA2 - GHC.Base.<$ - GHC.IO.FilePath - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - Data.ByteString.Builder.Internal.Builder - Data.ByteString.Lazy.Internal.ByteString - Data.ByteString.Internal.Type.ByteString - GHC.Base.Alternative - GHC.Base.<|> - GHC.Base.empty - GHC.Base.many - GHC.Base.some - GHC.Base.MonadPlus - GHC.Base.mzero - GHC.Base.mplus - GHC.Exception.Type.SomeException - GHC.Exception.Type.Exception - GHC.Exception.Type.displayException - GHC.Exception.Type.fromException - GHC.Exception.Type.toException - Control.Monad.Base.MonadBase - Control.Monad.Base.liftBase - Control.Monad.Trans.Reader.ReaderT - Control.Monad.Trans.Class.MonadTrans - Control.Monad.Trans.Class.lift - Control.Monad.Catch.MonadCatch - Control.Monad.Catch.catch - Control.Monad.Catch.MonadThrow - Control.Monad.Catch.throwM - GHC.Stack.Types.HasCallStack - Control.Monad.Error.Class.MonadError - Control.Monad.Error.Class.catchError - Control.Monad.Error.Class.throwError - Control.Monad.IO.Class.MonadIO - Control.Monad.IO.Unlift.MonadUnliftIO - Control.Monad.IO.Unlift.withRunInIO - Control.Monad.Reader.Class.MonadReader - Control.Monad.Reader.Class.ask - Control.Monad.Reader.Class.local - Control.Monad.Reader.Class.reader - Control.Monad.Trans.Control.MonadBaseControl - Control.Monad.Trans.Control.StM - Control.Monad.Trans.Control.liftBaseWith - Control.Monad.Trans.Control.restoreM - Control.Monad.Trans.Control.MonadTransControl - Control.Monad.Trans.Control.StT - Control.Monad.Trans.Control.liftWith - Control.Monad.Trans.Control.restoreT - Control.Monad.Trans.Control.Run - Control.Monad.Trans.Control.RunInBase - Control.Monad.Trans.Resource.Internal.InvalidAccess - Data.Default.Class.Default - Data.Default.Class.def - Data.Text.Internal.Text - Network.HTTP.Types.Header.ResponseHeaders - Network.HTTP.Types.Method.StdMethod - Network.HTTP.Types.Method.DELETE - Network.HTTP.Types.Method.GET - Network.HTTP.Types.Method.OPTIONS - Network.HTTP.Types.Method.PATCH - Network.HTTP.Types.Method.POST - Network.HTTP.Types.Method.PUT - Network.HTTP.Types.Status.Status - Network.Wai.Application - Network.Wai.Middleware - Network.Wai.Internal.Request - Network.Wai.Internal.Response - Network.Wai.Internal.StreamingBody - Network.Wai.Handler.Warp.Settings.Settings - Network.Wai.Handler.Warp.Types.InvalidRequest - Network.Wai.Handler.Warp.Types.Port - Network.Socket.Types.Socket - Network.Wai.Parse.FileInfo - Network.Wai.Parse.RequestParseException - Data.Text.Internal.Lazy.Text - Data.Time.Clock.Internal.UTCTime.UTCTime - GHC.Base.sconcat - GHC.Base.stimes - Web.Scotty.Internal.Types.R:StTActionTa - Data.Aeson.Types.FromJSON.FromJSON - Data.Aeson.Types.ToJSON.ToJSON Warning: Web.Scotty: could not find link destinations for: - GHC.Base.fmap - Data.String.fromString - GHC.Base.Monad - GHC.Base.Functor - GHC.Read.Read - GHC.Show.Show - Data.String.IsString - GHC.Types.Bool - GHC.Base.String - GHC.Types.Char - GHC.Types.Double - GHC.Types.Float - GHC.Types.Int - GHC.Int.Int8 - GHC.Int.Int16 - GHC.Int.Int32 - GHC.Int.Int64 - GHC.Num.Integer.Integer - GHC.Num.Natural.Natural - GHC.Maybe.Maybe - GHC.Types.IO - GHC.Types.Word - GHC.Word.Word8 - GHC.Word.Word16 - GHC.Word.Word32 - GHC.Word.Word64 - Data.Either.Either - GHC.Types.Type - GHC.Maybe.Nothing - GHC.Maybe.Just - GHC.Base.<$ - GHC.IO.FilePath - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - Data.ByteString.Builder.Internal.Builder - Data.ByteString.Lazy.Internal.ByteString - Data.ByteString.Internal.Type.ByteString - GHC.Exception.Type.SomeException - GHC.Exception.Type.Exception - GHC.Exception.Type.displayException - GHC.Exception.Type.fromException - GHC.Exception.Type.toException - Control.Monad.Error.Class.MonadError - Control.Monad.Error.Class.catchError - Control.Monad.Error.Class.throwError - Control.Monad.IO.Class.MonadIO - Control.Monad.IO.Unlift.MonadUnliftIO - Control.Monad.Trans.Resource.Internal.InvalidAccess - Data.Default.Class.Default - Data.Default.Class.def - Data.Text.Internal.Text - Network.HTTP.Types.Header.ResponseHeaders - Network.HTTP.Types.Method.StdMethod - Network.HTTP.Types.Status.Status - Network.Wai.Application - Network.Wai.Middleware - Network.Wai.Internal.Request - Network.Wai.Internal.Response - Network.Wai.Internal.StreamingBody - Network.Wai.Handler.Warp.Settings.Settings - Network.Wai.Handler.Warp.Types.InvalidRequest - Network.Wai.Handler.Warp.Types.Port - Network.Socket.Types.Socket - Network.Wai.Parse.FileInfo - Network.Wai.Parse.RequestParseException - Data.Text.Internal.Lazy.Text - Data.Time.Clock.Internal.UTCTime.UTCTime - Data.Aeson.Types.FromJSON.FromJSON - Data.Aeson.Types.ToJSON.ToJSON Warning: Web.Scotty.Cookie: could not find link destinations for: - GHC.Classes.== - GHC.Classes.Eq - GHC.Base.Monad - GHC.Show.Show - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Maybe.Maybe - GHC.Types.Type - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Classes./= - Data.ByteString.Internal.Type.ByteString - Control.Monad.IO.Class.MonadIO - Data.Default.Class.Default - Data.Default.Class.def - Data.Text.Internal.Text - Control.DeepSeq.NFData - Data.Time.Clock.Internal.DiffTime.DiffTime - Data.Time.Clock.Internal.UTCTime.UTCTime - Control.DeepSeq.rnf Documentation created: dist/doc/html/scotty/, dist/doc/html/scotty/scotty.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.vfK4TV + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-scotty-0.22-1.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-scotty-0.22-1.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/ghc-scotty-0.22-1.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-scotty-0.22-1.oc9.x86_64 + cd scotty-0.22 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-scotty-0.22-1.oc9.x86_64 Installing library in /builddir/build/BUILDROOT/ghc-scotty-0.22-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/scotty-0.22 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.8.4/lib ']' + subsubdir=/lib + '[' -d scotty-0.22.conf ']' + install -D --mode=0644 scotty-0.22.conf /builddir/build/BUILDROOT/ghc-scotty-0.22-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/package.conf.d/scotty-0.22.conf + '[' -d /usr/lib64/ghc-9.8.4/lib ']' + subsubdir=/lib + '[' '!' -f /builddir/build/BUILDROOT/ghc-scotty-0.22-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/package.conf.d/scotty-0.22.conf ']' + rm -f ghc-scotty.files ghc-scotty-doc.files + touch ghc-scotty.files ghc-scotty-doc.files + for i in /builddir/build/BUILDROOT/ghc-scotty-0.22-1.oc9.x86_64/usr/lib64/ghc-9.8.4${subsubdir}/libHSscotty-0.22-*ghc9.8.4.so + '[' -x /builddir/build/BUILDROOT/ghc-scotty-0.22-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/libHSscotty-0.22-VaUSt0pSNgCMFCqKK39eO-ghc9.8.4.so ']' + echo /builddir/build/BUILDROOT/ghc-scotty-0.22-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/libHSscotty-0.22-VaUSt0pSNgCMFCqKK39eO-ghc9.8.4.so + pkgdir=/builddir/build/BUILDROOT/ghc-scotty-0.22-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/scotty-0.22 + '[' '!' -d /builddir/build/BUILDROOT/ghc-scotty-0.22-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/scotty-0.22 ']' + '[' -d /builddir/build/BUILDROOT/ghc-scotty-0.22-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/scotty-0.22 ']' + find /builddir/build/BUILDROOT/ghc-scotty-0.22-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/scotty-0.22 -type d -fprintf ghc-scotty-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-scotty-prof.files -o -fprint ghc-scotty-devel.files + ls /builddir/build/BUILDROOT/ghc-scotty-0.22-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/package.conf.d/scotty-0.22.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/scotty-0.22 + '[' -d /builddir/build/BUILDROOT/ghc-scotty-0.22-1.oc9.x86_64/usr/share/doc/ghc/html/libraries/scotty-0.22 ']' + echo /usr/share/doc/ghc/html/libraries/scotty-0.22 + for i in ghc-scotty.files ghc-scotty-devel.files ghc-scotty-doc.files ghc-scotty-prof.files + '[' -f ghc-scotty.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-scotty-0.22-1.oc9.x86_64!!g' ghc-scotty.files + for i in ghc-scotty.files ghc-scotty-devel.files ghc-scotty-doc.files ghc-scotty-prof.files + '[' -f ghc-scotty-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-scotty-0.22-1.oc9.x86_64!!g' ghc-scotty-devel.files + for i in ghc-scotty.files ghc-scotty-devel.files ghc-scotty-doc.files ghc-scotty-prof.files + '[' -f ghc-scotty-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-scotty-0.22-1.oc9.x86_64!!g' ghc-scotty-doc.files + for i in ghc-scotty.files ghc-scotty-devel.files ghc-scotty-doc.files ghc-scotty-prof.files + '[' -f ghc-scotty-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-scotty-0.22-1.oc9.x86_64!!g' ghc-scotty-prof.files running ghc_delete_rpaths: + echo 'running ghc_delete_rpaths:' + type chrpath ++ find /builddir/build/BUILDROOT/ghc-scotty-0.22-1.oc9.x86_64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILDROOT/ghc-scotty-0.22-1.oc9.x86_64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghc-scotty-0.22-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/libHSscotty-0.22-VaUSt0pSNgCMFCqKK39eO-ghc9.8.4.so ']' ++ chrpath /builddir/build/BUILDROOT/ghc-scotty-0.22-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/libHSscotty-0.22-VaUSt0pSNgCMFCqKK39eO-ghc9.8.4.so ++ sed -e 's@^/builddir/build/BUILDROOT/ghc-scotty-0.22-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/libHSscotty-0.22-VaUSt0pSNgCMFCqKK39eO-ghc9.8.4.so: R.*PATH=@@' + rpath=/usr/lib64/ghc-9.8.4/lib/x86_64-linux-ghc-9.8.4:/usr/lib64/ghc-9.8.4/lib:/usr/lib64 + case "$rpath" in + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths ******************************************************************************* * * WARNING: 'check-rpaths' detected a broken RPATH OR RUNPATH and will cause * 'rpmbuild' to fail. To ignore these errors, you can set the * '$QA_RPATHS' environment variable which is a bitmask allowing the * values below. The current value of QA_RPATHS is 0x0000. * * 0x0001 ... standard RPATHs (e.g. /usr/lib); such RPATHs are a minor * issue but are introducing redundant searchpaths without * providing a benefit. They can also cause errors in multilib * environments. * 0x0002 ... invalid RPATHs; these are RPATHs which are neither absolute * nor relative filenames and can therefore be a SECURITY risk * 0x0004 ... insecure RPATHs; these are relative RPATHs which are a * SECURITY risk * 0x0008 ... the special '$ORIGIN' RPATHs are appearing after other * RPATHs; this is just a minor issue but usually unwanted * 0x0010 ... the RPATH is empty; there is no reason for such RPATHs * and they cause unneeded work while loading libraries * 0x0020 ... an RPATH references '..' of an absolute path; this will break * the functionality when the path before '..' is a symlink * * * Examples: * - to ignore standard and empty RPATHs, execute 'rpmbuild' like * $ QA_RPATHS=$(( 0x0001|0x0010 )) rpmbuild my-package.src.rpm * - to check existing files, set $RPM_BUILD_ROOT and execute check-rpaths like * $ RPM_BUILD_ROOT= /usr/lib/rpm/check-rpaths * ******************************************************************************* ERROR 0001: file '/usr/lib64/ghc-9.8.4/lib/libHSscotty-0.22-VaUSt0pSNgCMFCqKK39eO-ghc9.8.4.so' contains a standard runpath '/usr/lib64' in [/usr/lib64/ghc-9.8.4/lib/x86_64-linux-ghc-9.8.4:/usr/lib64/ghc-9.8.4/lib:/usr/lib64] error: Bad exit status from /var/tmp/rpm-tmp.vfK4TV (%install) Bad exit status from /var/tmp/rpm-tmp.vfK4TV (%install) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ghc-scotty.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ghc-scotty.spec