Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-persistent.spec'], chrootPath='/var/lib/mock/f40-build-2237848-53539/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-persistent.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1690070400 Wrote: /builddir/build/SRPMS/ghc-persistent-2.14.5.1-7.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-persistent.spec'], chrootPath='/var/lib/mock/f40-build-2237848-53539/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-persistent.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1690070400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GGflzE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf persistent-2.14.5.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/persistent-2.14.5.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd persistent-2.14.5.1 + rm -rf /builddir/build/BUILD/persistent-2.14.5.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/persistent-2.14.5.1-SPECPARTS + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/lift-type-0.1.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -bp /builddir/build/SOURCES/persistent-2.14.5.1.cabal persistent.cabal + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zpVPPG + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 persistent-2.14.5.1 + HOME=/builddir/build/BUILD/persistent-2.14.5.1 + for i in lift-type-0.1.0.1 ++ echo lift-type-0.1.0.1 ++ sed -e 's/\(.*\)-.*/\1/' + name=lift-type ++ echo lift-type-0.1.0.1 ++ sed -e 's/.*-\(.*\)/\1/' + ver=0.1.0.1 + cd lift-type-0.1.0.1 + case $name in ++ 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 -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + '[' -f Setup.hs -o -f Setup.lhs ']' + '[' -d /usr/lib64/ghc-9.4.5/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.8.1.0 + '[' -x Setup ']' + LANG=C.utf8 ++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ++ sed -e 's/ / -optc/g' ++ echo ' -Wl,-z,relro' -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc-persistent '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.4.5/lib --user '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Wall -optc-Werror=format-security -optc-Werror=implicit-function-declaration -optc-Werror=implicit-int -optc-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -optc-Wp,-D_GLIBCXX_ASSERTIONS -optc-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -optc-fstack-protector-strong -optc-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optc-fasynchronous-unwind-tables -optc-fno-omit-frame-pointer -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optl-Wl,--build-id=sha1 -fhide-source-paths' -p --enable-shared --docdir=/usr/share/licenses/ghc-lift-type --htmldir=/usr/share/doc/ghc/html/libraries/lift-type-0.1.0.1 --user Configuring lift-type-0.1.0.1... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j1 Preprocessing library for lift-type-0.1.0.1.. Building library for lift-type-0.1.0.1.. [1 of 1] Compiling LiftType src/LiftType.hs:70:13: warning: [-Wgadt-mono-local-binds] Pattern matching on GADTs without MonoLocalBinds is fragile. Suggested fix: Enable any of the following extensions: GADTs, TypeFamilies | 70 | App trA trB -> | ^^^^^^^^^^^ src/LiftType.hs:72:13: warning: [-Wgadt-mono-local-binds] Pattern matching on GADTs without MonoLocalBinds is fragile. Suggested fix: Enable any of the following extensions: GADTs, TypeFamilies | 72 | Fun trA trB -> | ^^^^^^^^^^^ src/LiftType.hs:72:13: warning: [-Woverlapping-patterns] Pattern match is redundant In a case alternative: Fun trA trB -> ... | 72 | Fun trA trB -> | ^^^^^^^^^^^^^^... [1 of 1] Compiling LiftType src/LiftType.hs:70:13: warning: [-Wgadt-mono-local-binds] Pattern matching on GADTs without MonoLocalBinds is fragile. Suggested fix: Enable any of the following extensions: GADTs, TypeFamilies | 70 | App trA trB -> | ^^^^^^^^^^^ src/LiftType.hs:72:13: warning: [-Wgadt-mono-local-binds] Pattern matching on GADTs without MonoLocalBinds is fragile. Suggested fix: Enable any of the following extensions: GADTs, TypeFamilies | 72 | Fun trA trB -> | ^^^^^^^^^^^ src/LiftType.hs:72:13: warning: [-Woverlapping-patterns] Pattern match is redundant In a case alternative: Fun trA trB -> ... | 72 | Fun trA trB -> | ^^^^^^^^^^^^^^... + '[' -n dist/build/libHSlift-type-0.1.0.1-BPGiz7JWd0H8KizeekzxOC-ghc9.4.5.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for lift-type-0.1.0.1.. Running Haddock on library for lift-type-0.1.0.1.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: array-0.5.4.0, base-4.17.1.0, deepseq-1.4.8.0, ghc-bignum-1.3, ghc-boot-th-9.4.5, ghc-prim-0.9.0, pretty-1.1.3.6, template-haskell-2.19.0.0 Warning: --source-* options are ignored when --hyperlinked-source is enabled. src/LiftType.hs:70:13: warning: [-Wgadt-mono-local-binds] Pattern matching on GADTs without MonoLocalBinds is fragile. Suggested fix: Enable any of the following extensions: GADTs, TypeFamilies | 70 | App trA trB -> | ^^^^^^^^^^^ src/LiftType.hs:72:13: warning: [-Wgadt-mono-local-binds] Pattern matching on GADTs without MonoLocalBinds is fragile. Suggested fix: Enable any of the following extensions: GADTs, TypeFamilies | 72 | Fun trA trB -> | ^^^^^^^^^^^ 100% ( 3 / 3) in 'LiftType' Warning: LiftType: could not find link destinations for: - Data.Typeable.Internal.Typeable - Language.Haskell.TH.Syntax.Q - Language.Haskell.TH.Syntax.Type - Language.Haskell.TH.Syntax.Lift - Language.Haskell.TH.Syntax.lift - Language.Haskell.TH.Syntax.Exp - Language.Haskell.TH.Syntax.liftTyped - Language.Haskell.TH.Syntax.TExp Documentation created: dist/doc/html/lift-type/index.html, dist/doc/html/lift-type/lift-type.txt + ./Setup register --inplace Registering library for lift-type-0.1.0.1.. + cd .. ++ 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 -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + '[' -f Setup.hs -o -f Setup.lhs ']' + '[' -d /usr/lib64/ghc-9.4.5/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.8.1.0 + '[' -x Setup ']' + LANG=C.utf8 ++ sed -e 's/ / -optc/g' ++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ++ echo ' -Wl,-z,relro' -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc-persistent '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.4.5/lib --user '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Wall -optc-Werror=format-security -optc-Werror=implicit-function-declaration -optc-Werror=implicit-int -optc-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -optc-Wp,-D_GLIBCXX_ASSERTIONS -optc-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -optc-fstack-protector-strong -optc-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optc-fasynchronous-unwind-tables -optc-fno-omit-frame-pointer -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optl-Wl,--build-id=sha1 -fhide-source-paths' -p --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/persistent-2.14.5.1 --user Configuring persistent-2.14.5.1... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j1 Preprocessing library for persistent-2.14.5.1.. Building library for persistent-2.14.5.1.. [ 1 of 46] Compiling Database.Persist.Class.PersistConfig Database/Persist/Class/PersistConfig.hs:47:26: 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 | 47 | , PersistConfigPool c1 ~ PersistConfigPool c2 | ^ Database/Persist/Class/PersistConfig.hs:48:29: 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 | 48 | , PersistConfigBackend c1 ~ PersistConfigBackend c2 | ^ [ 2 of 46] Compiling Database.Persist.Names [ 3 of 46] Compiling Database.Persist.PersistValue [ 4 of 46] Compiling Database.Persist.SqlBackend.Internal.IsolationLevel [ 5 of 46] Compiling Database.Persist.SqlBackend.Internal.SqlPoolHooks [ 6 of 46] Compiling Database.Persist.Types.Base [ 7 of 46] Compiling Database.Persist.SqlBackend.Internal.Statement [ 8 of 46] Compiling Database.Persist.SqlBackend.Internal.StatementCache [ 9 of 46] Compiling Database.Persist.SqlBackend.StatementCache [10 of 46] Compiling Database.Persist.SqlBackend.Internal.InsertSqlResult [11 of 46] Compiling Database.Persist.SqlBackend.Internal.MkSqlBackend [12 of 46] Compiling Database.Persist.FieldDef.Internal [13 of 46] Compiling Database.Persist.FieldDef [14 of 46] Compiling Database.Persist.EntityDef.Internal [15 of 46] Compiling Database.Persist.EntityDef [16 of 46] Compiling Database.Persist.Class.PersistField Database/Persist/Class/PersistField.hs:32:1: warning: [-Wunused-imports] The import of ‘Numeric.Natural’ is redundant except perhaps to import instances from ‘Numeric.Natural’ To import instances alone, use: import Numeric.Natural() | 32 | import Numeric.Natural (Natural) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [17 of 46] Compiling Database.Persist.Class.PersistEntity Database/Persist/Class/PersistEntity.hs:26:7: warning: [-Wduplicate-exports] ‘entityVal’ is exported by ‘Entity(.., Entity, entityKey, entityVal)’ and ‘Entity(.., Entity, entityKey, entityVal)’ | 26 | , Entity (.., Entity, entityKey, entityVal) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Database/Persist/Class/PersistEntity.hs:26:7: warning: [-Wduplicate-exports] ‘entityKey’ is exported by ‘Entity(.., Entity, entityKey, entityVal)’ and ‘Entity(.., Entity, entityKey, entityVal)’ | 26 | , Entity (.., Entity, entityKey, entityVal) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Database/Persist/Class/PersistEntity.hs:26:7: warning: [-Wduplicate-exports] ‘Entity’ is exported by ‘Entity(.., Entity, entityKey, entityVal)’ and ‘Entity(.., Entity, entityKey, entityVal)’ | 26 | , Entity (.., Entity, entityKey, entityVal) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Database/Persist/Class/PersistEntity.hs:42:1: warning: [-Wunused-imports] The import of ‘Data.Functor.Constant’ is redundant except perhaps to import instances from ‘Data.Functor.Constant’ To import instances alone, use: import Data.Functor.Constant() | 42 | import Data.Functor.Constant | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Database/Persist/Class/PersistEntity.hs:66:1: warning: [-Wunused-imports] The import of ‘GHC.Records’ is redundant except perhaps to import instances from ‘GHC.Records’ To import instances alone, use: import GHC.Records() | 66 | import GHC.Records | ^^^^^^^^^^^^^^^^^^ [18 of 46] Compiling Database.Persist.Types [19 of 46] Compiling Database.Persist.Quasi.Internal [20 of 46] Compiling Database.Persist.Quasi [21 of 46] Compiling Database.Persist.Class.PersistStore Database/Persist/Class/PersistStore.hs:126:95: 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 | 126 | type PersistRecordBackend record backend = (PersistEntity record, PersistEntityBackend record ~ BaseBackend backend) | ^ Database/Persist/Class/PersistStore.hs:145:37: 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 | , PersistEntityBackend record ~ backend | ^ Database/Persist/Class/PersistStore.hs:644:33: 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 | 644 | ( PersistEntityBackend record ~ BaseBackend backend | ^ Database/Persist/Class/PersistStore.hs:769:34: 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 | 769 | ( PersistEntityBackend record ~ BaseBackend backend | ^ [22 of 46] Compiling Database.Persist.SqlBackend.Internal [23 of 46] Compiling Database.Persist.SqlBackend [24 of 46] Compiling Database.Persist.Class.PersistUnique [25 of 46] Compiling Database.Persist.Class.PersistQuery [26 of 46] Compiling Database.Persist.Class [27 of 46] Compiling Database.Persist.Sql.Types.Internal Database/Persist/Sql/Types/Internal.hs:114: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 | 114 | , BaseBackend backend ~ SqlBackend | ^ [28 of 46] Compiling Database.Persist.Sql.Types [29 of 46] Compiling Database.Persist.Sql.Internal [30 of 46] Compiling Database.Persist [31 of 46] Compiling Database.Persist.Sql.Util [32 of 46] Compiling Database.Persist.Sql.Class [33 of 46] Compiling Database.Persist.Sql.Raw [34 of 46] Compiling Database.Persist.SqlBackend.SqlPoolHooks Database/Persist/SqlBackend/SqlPoolHooks.hs:87:1: warning: [-Wunused-top-binds] Defined but not used: ‘modifyRunOnException’ | 87 | modifyRunOnException hooks f = hooks { runOnException = f $ runOnException hooks } | ^^^^^^^^^^^^^^^^^^^^ Database/Persist/SqlBackend/SqlPoolHooks.hs:90:1: warning: [-Wunused-top-binds] Defined but not used: ‘setRunOnException’ | 90 | setRunOnException hooks f = hooks { runOnException = f } | ^^^^^^^^^^^^^^^^^ [35 of 46] Compiling Database.Persist.Sql.Run Database/Persist/Sql/Run.hs:252:14: warning: [-Wdeprecations] In the use of ‘createPool’ (imported from Data.Pool): Deprecated: "Use newPool instead" | 252 | liftIO $ createPool | ^^^^^^^^^^ [36 of 46] Compiling Database.Persist.Sql.Orphan.PersistStore Database/Persist/Sql/Orphan/PersistStore.hs:108:44: 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 | 108 | , PersistEntityBackend record ~ SqlBackend | ^ [37 of 46] Compiling Database.Persist.Sql.Orphan.PersistUnique [38 of 46] Compiling Database.Persist.Sql.Orphan.PersistQuery Database/Persist/Sql/Orphan/PersistQuery.hs:183:77: 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 | 183 | deleteWhereCount :: (PersistEntity val, MonadIO m, PersistEntityBackend val ~ SqlBackend, BackendCompatible SqlBackend backend) | ^ Database/Persist/Sql/Orphan/PersistQuery.hs:202:63: 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 | 202 | updateWhereCount :: (PersistEntity val, MonadIO m, SqlBackend ~ PersistEntityBackend val, BackendCompatible SqlBackend backend) | ^ [39 of 46] Compiling Database.Persist.Sql.Migration [40 of 46] Compiling Database.Persist.ImplicitIdDef.Internal Database/Persist/ImplicitIdDef/Internal.hs:204:13: warning: [-Woverlapping-patterns] Pattern match is redundant In a case alternative: Fun _ _ -> ... | 204 | Fun _ _ -> | ^^^^^^^^^^... [41 of 46] Compiling Database.Persist.ImplicitIdDef [42 of 46] Compiling Database.Persist.Compatible.Types [43 of 46] Compiling Database.Persist.Compatible.TH [44 of 46] Compiling Database.Persist.Compatible [45 of 46] Compiling Database.Persist.Sql [46 of 46] Compiling Database.Persist.TH [ 1 of 46] Compiling Database.Persist.Class.PersistConfig Database/Persist/Class/PersistConfig.hs:47:26: 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 | 47 | , PersistConfigPool c1 ~ PersistConfigPool c2 | ^ Database/Persist/Class/PersistConfig.hs:48:29: 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 | 48 | , PersistConfigBackend c1 ~ PersistConfigBackend c2 | ^ [ 2 of 46] Compiling Database.Persist.Names [ 3 of 46] Compiling Database.Persist.PersistValue [ 4 of 46] Compiling Database.Persist.SqlBackend.Internal.IsolationLevel [ 5 of 46] Compiling Database.Persist.SqlBackend.Internal.SqlPoolHooks [ 6 of 46] Compiling Database.Persist.Types.Base [ 7 of 46] Compiling Database.Persist.SqlBackend.Internal.Statement [ 8 of 46] Compiling Database.Persist.SqlBackend.Internal.StatementCache [ 9 of 46] Compiling Database.Persist.SqlBackend.StatementCache [10 of 46] Compiling Database.Persist.SqlBackend.Internal.InsertSqlResult [11 of 46] Compiling Database.Persist.SqlBackend.Internal.MkSqlBackend [12 of 46] Compiling Database.Persist.FieldDef.Internal [13 of 46] Compiling Database.Persist.FieldDef [14 of 46] Compiling Database.Persist.EntityDef.Internal [15 of 46] Compiling Database.Persist.EntityDef [16 of 46] Compiling Database.Persist.Class.PersistField Database/Persist/Class/PersistField.hs:32:1: warning: [-Wunused-imports] The import of ‘Numeric.Natural’ is redundant except perhaps to import instances from ‘Numeric.Natural’ To import instances alone, use: import Numeric.Natural() | 32 | import Numeric.Natural (Natural) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [17 of 46] Compiling Database.Persist.Class.PersistEntity Database/Persist/Class/PersistEntity.hs:26:7: warning: [-Wduplicate-exports] ‘entityVal’ is exported by ‘Entity(.., Entity, entityKey, entityVal)’ and ‘Entity(.., Entity, entityKey, entityVal)’ | 26 | , Entity (.., Entity, entityKey, entityVal) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Database/Persist/Class/PersistEntity.hs:26:7: warning: [-Wduplicate-exports] ‘entityKey’ is exported by ‘Entity(.., Entity, entityKey, entityVal)’ and ‘Entity(.., Entity, entityKey, entityVal)’ | 26 | , Entity (.., Entity, entityKey, entityVal) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Database/Persist/Class/PersistEntity.hs:26:7: warning: [-Wduplicate-exports] ‘Entity’ is exported by ‘Entity(.., Entity, entityKey, entityVal)’ and ‘Entity(.., Entity, entityKey, entityVal)’ | 26 | , Entity (.., Entity, entityKey, entityVal) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Database/Persist/Class/PersistEntity.hs:42:1: warning: [-Wunused-imports] The import of ‘Data.Functor.Constant’ is redundant except perhaps to import instances from ‘Data.Functor.Constant’ To import instances alone, use: import Data.Functor.Constant() | 42 | import Data.Functor.Constant | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Database/Persist/Class/PersistEntity.hs:66:1: warning: [-Wunused-imports] The import of ‘GHC.Records’ is redundant except perhaps to import instances from ‘GHC.Records’ To import instances alone, use: import GHC.Records() | 66 | import GHC.Records | ^^^^^^^^^^^^^^^^^^ [18 of 46] Compiling Database.Persist.Types [19 of 46] Compiling Database.Persist.Quasi.Internal [20 of 46] Compiling Database.Persist.Quasi [21 of 46] Compiling Database.Persist.Class.PersistStore Database/Persist/Class/PersistStore.hs:126:95: 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 | 126 | type PersistRecordBackend record backend = (PersistEntity record, PersistEntityBackend record ~ BaseBackend backend) | ^ Database/Persist/Class/PersistStore.hs:145:37: 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 | , PersistEntityBackend record ~ backend | ^ Database/Persist/Class/PersistStore.hs:644:33: 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 | 644 | ( PersistEntityBackend record ~ BaseBackend backend | ^ Database/Persist/Class/PersistStore.hs:769:34: 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 | 769 | ( PersistEntityBackend record ~ BaseBackend backend | ^ [22 of 46] Compiling Database.Persist.SqlBackend.Internal [23 of 46] Compiling Database.Persist.SqlBackend [24 of 46] Compiling Database.Persist.Class.PersistUnique [25 of 46] Compiling Database.Persist.Class.PersistQuery [26 of 46] Compiling Database.Persist.Class [27 of 46] Compiling Database.Persist.Sql.Types.Internal Database/Persist/Sql/Types/Internal.hs:114: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 | 114 | , BaseBackend backend ~ SqlBackend | ^ [28 of 46] Compiling Database.Persist.Sql.Types [29 of 46] Compiling Database.Persist.Sql.Internal [30 of 46] Compiling Database.Persist [31 of 46] Compiling Database.Persist.Sql.Util [32 of 46] Compiling Database.Persist.Sql.Class [33 of 46] Compiling Database.Persist.Sql.Raw