Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-unliftio.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-807964-28235/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-unliftio.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=1687132800 Wrote: /builddir/build/SRPMS/ghc-unliftio-0.2.23.0-1.fc38.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-unliftio.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-807964-28235/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-unliftio.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=1687132800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3loMKt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf unliftio-0.2.23.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/unliftio-0.2.23.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd unliftio-0.2.23.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.0kprb8 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-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 -fstack-clash-protection -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 unliftio-0.2.23.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 ']' ++ echo -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 -fstack-clash-protection -fno-omit-frame-pointer ++ sed -e 's/-Wall //' -e 's/-Werror=format-security //' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -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 -fstack-clash-protection -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.2.6/lib ']' + subsubdir=/lib + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 1] Compiling Main ( Setup.hs, Setup.o ) Linking Setup ... + LANG=C.utf8 + ./Setup --version Cabal library version 3.6.3.0 + '[' -x Setup ']' + LANG=C.utf8 ++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -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 -fstack-clash-protection -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-unliftio '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.2.6/lib --enable-tests --global '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -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-fstack-clash-protection -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/unliftio-0.2.23.0 --global Configuring unliftio-0.2.23.0... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j8 Preprocessing library for unliftio-0.2.23.0.. Building library for unliftio-0.2.23.0.. [ 1 of 22] Compiling Paths_unliftio [ 2 of 22] Compiling UnliftIO.Chan src/UnliftIO/Chan.hs:21:12: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 21 | newChan :: MonadIO m => m (Chan a) | ^^^^^^^ src/UnliftIO/Chan.hs:27:14: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 27 | writeChan :: MonadIO m => Chan a -> a -> m () | ^^^^^^^ src/UnliftIO/Chan.hs:33:13: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 33 | readChan :: MonadIO m => Chan a -> m a | ^^^^^^^ src/UnliftIO/Chan.hs:39:12: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 39 | dupChan :: MonadIO m => Chan a -> m (Chan a) | ^^^^^^^ src/UnliftIO/Chan.hs:45:20: error:[ 3 of 22] Compiling UnliftIO.Directory Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 45 | getChanContents :: MonadIO m => Chan a -> m [a] | ^^^^^^^ src/UnliftIO/Chan.hs:51:19: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 51 | writeList2Chan :: MonadIO m => Chan a -> [a] -> m () | ^^^^^^^ src/UnliftIO/Directory.hs:154:20: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 154 | createDirectory :: MonadIO m => FilePath -> m () | ^^^^^^^ src/UnliftIO/Directory.hs:161:29: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 161 | createDirectoryIfMissing :: MonadIO m => Bool -> FilePath -> m () | ^^^^^^^ src/UnliftIO/Directory.hs:171:6: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 171 | :: MonadIO m | ^^^^^^^ src/UnliftIO/Directory.hs:181:24: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 181 | createDirectoryLink :: MonadIO m => FilePath -> FilePath -> m () | ^^^^^^^ src/UnliftIO/Directory.hs:188:24: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 188 | removeDirectoryLink :: MonadIO m => FilePath -> m () | ^^^^^^^ src/UnliftIO/Directory.hs:195:26: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 195 | getSymbolicLinkTarget :: MonadIO m => FilePath -> m FilePath | ^^^^^^^ src/UnliftIO/Directory.hs:204:20: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 204 | removeDirectory :: MonadIO m => FilePath -> m () | ^^^^^^^ src/UnliftIO/Directory.hs:211:29: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 211 | removeDirectoryRecursive :: MonadIO m => FilePath -> m () | ^^^^^^^ src/UnliftIO/Directory.hs:219:23: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 219 | removePathForcibly :: MonadIO m => FilePath -> m () | ^^^^^^^ src/UnliftIO/Directory.hs:227:20: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 227 | renameDirectory :: MonadIO m => FilePath -> FilePath -> m () | ^^^^^^^ src/UnliftIO/Directory.hs:235:18: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 235 | listDirectory :: MonadIO m => FilePath -> m [FilePath] | ^^^^^^^ src/UnliftIO/Directory.hs:243:25: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 243 | getDirectoryContents :: MonadIO m => FilePath -> m [FilePath] | ^^^^^^^ src/UnliftIO/Directory.hs:250:24: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 250 | getCurrentDirectory :: MonadIO m => m FilePath | ^^^^^^^ src/UnliftIO/Directory.hs:257:24: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 257 | setCurrentDirectory :: MonadIO m => FilePath -> m () | ^^^^^^^ src/UnliftIO/Directory.hs:265:25: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 265 | withCurrentDirectory :: MonadUnliftIO m => FilePath -> m a -> m a | ^^^^^^^^^^^^^ src/UnliftIO/Directory.hs:274:21: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 274 | getHomeDirectory :: MonadIO m => m FilePath | ^^^^^^^ src/UnliftIO/Directory.hs:282:20: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 282 | getXdgDirectory :: MonadIO m => XdgDirectory -> FilePath -> m FilePath | ^^^^^^^ src/UnliftIO/Directory.hs:290:24: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 290 | getXdgDirectoryList :: MonadIO m => XdgDirectoryList -> m [FilePath] | ^^^^^^^ src/UnliftIO/Directory.hs:299:28: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 299 | getAppUserDataDirectory :: MonadIO m => FilePath -> m FilePath | ^^^^^^^ src/UnliftIO/Directory.hs:306:30: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 306 | getUserDocumentsDirectory :: MonadIO m => m FilePath | ^^^^^^^ src/UnliftIO/Directory.hs:313:26: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 313 | getTemporaryDirectory :: MonadIO m => m FilePath | ^^^^^^^ src/UnliftIO/Directory.hs:320:15: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 320 | removeFile :: MonadIO m => FilePath -> m () | ^^^^^^^ src/UnliftIO/Directory.hs:327:15: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 327 | renameFile :: MonadIO m => FilePath -> FilePath -> m () | ^^^^^^^ src/UnliftIO/Directory.hs:335:15: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 335 | renamePath :: MonadIO m => FilePath -> FilePath -> m () | ^^^^^^^ src/UnliftIO/Directory.hs:343:13: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 343 | copyFile :: MonadIO m => FilePath -> FilePath -> m () | ^^^^^^^ src/UnliftIO/Directory.hs:351:25: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 351 | copyFileWithMetadata :: MonadIO m => FilePath -> FilePath -> m () | ^^^^^^^ src/UnliftIO/Directory.hs:359:21: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 359 | canonicalizePath :: MonadIO m => FilePath -> m FilePath | ^^^^^^^ src/UnliftIO/Directory.hs:367:17: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 367 | makeAbsolute :: MonadIO m => FilePath -> m FilePath | ^^^^^^^ src/UnliftIO/Directory.hs:375:35: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 375 | makeRelativeToCurrentDirectory :: MonadIO m => FilePath -> m FilePath | ^^^^^^^ src/UnliftIO/Directory.hs:382:19: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 382 | findExecutable :: MonadIO m => String -> m (Maybe FilePath) | ^^^^^^^ src/UnliftIO/Directory.hs:390:20: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 390 | findExecutables :: MonadIO m => String -> m [FilePath] | ^^^^^^^ src/UnliftIO/Directory.hs:400:6: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 400 | MonadIO m => [FilePath] -> String -> m [FilePath] | ^^^^^^^ src/UnliftIO/Directory.hs:409:13: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 409 | findFile :: MonadIO m => [FilePath] -> String -> m (Maybe FilePath) | ^^^^^^^ src/UnliftIO/Directory.hs:417:14: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 417 | findFiles :: MonadIO m => [FilePath] -> String -> m [FilePath] | ^^^^^^^ src/UnliftIO/Directory.hs:427:6: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 427 | MonadUnliftIO m | ^^^^^^^^^^^^^ src/UnliftIO/Directory.hs:441:6: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 441 | MonadUnliftIO m | ^^^^^^^^^^^^^ src/UnliftIO/Directory.hs:454:16: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 454 | getFileSize :: MonadIO m => FilePath -> m Integer | ^^^^^^^ src/UnliftIO/Directory.hs:463:18: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 463 | doesPathExist :: MonadIO m => FilePath -> m Bool | ^^^^^^^ src/UnliftIO/Directory.hs:471:18: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 471 | doesFileExist :: MonadIO m => FilePath -> m Bool | ^^^^^^^ src/UnliftIO/Directory.hs:478:23: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 478 | doesDirectoryExist :: MonadIO m => FilePath -> m Bool | ^^^^^^^ src/UnliftIO/Directory.hs:486:23: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 486 | pathIsSymbolicLink :: MonadIO m => FilePath -> m Bool | ^^^^^^^ src/UnliftIO/Directory.hs:494:19: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 494 | getPermissions :: MonadIO m => FilePath -> m Permissions | ^^^^^^^ src/UnliftIO/Directory.hs:501:19: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 501 | setPermissions :: MonadIO m => FilePath -> Permissions -> m () | ^^^^^^^ src/UnliftIO/Directory.hs:508:20: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 508 | copyPermissions :: MonadIO m => FilePath -> FilePath -> m () | ^^^^^^^ src/UnliftIO/Directory.hs:516:18: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 516 | getAccessTime :: MonadIO m => FilePath -> m UTCTime | ^^^^^^^ src/UnliftIO/Directory.hs:524:24: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 524 | getModificationTime :: MonadIO m => FilePath -> m UTCTime | ^^^^^^^ src/UnliftIO/Directory.hs:532:18: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 532 | setAccessTime :: MonadIO m => FilePath -> UTCTime -> m () | ^^^^^^^ src/UnliftIO/Directory.hs:538:24: error:[ 4 of 22] Compiling UnliftIO.Environment [ 5 of 22] Compiling UnliftIO.Exception [ 6 of 22] Compiling UnliftIO.Foreign Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 538 | setModificationTime :: MonadIO m => FilePath -> UTCTime -> m () | ^^^^^^^ src/UnliftIO/Environment.hs:17:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/unliftio-core-0.2.0.1/Control/Monad/IO/Unlift.hi mismatched interface file profile tag (wanted "", got "u") | 17 | import Control.Monad.IO.Unlift | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/UnliftIO/Exception.hs:110:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/safe-exceptions-0.1.7.2/Control/Exception/Safe.hi mismatched interface file profile tag (wanted "", got "u") | 110 | import qualified Control.Exception.Safe as ESafe | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/UnliftIO/Exception.hs:111:32: error: Module ‘Control.Exception.Safe’ does not export ‘Handler(..)’ | 111 | import Control.Exception.Safe (Handler(..)) | ^^^^^^^^^^^ src/UnliftIO/Foreign.hs:477:16: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 477 | peekCString :: MonadIO m => CString -> m String | ^^^^^^^ src/UnliftIO/Foreign.hs:484:19: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 484 | peekCStringLen :: MonadIO m => CStringLen -> m String | ^^^^^^^ src/UnliftIO/Foreign.hs:491:15: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 491 | newCString :: MonadIO m => String -> m CString | ^^^^^^^ src/UnliftIO/Foreign.hs:498:18: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 498 | newCStringLen :: MonadIO m => String -> m CStringLen | ^^^^^^^ src/UnliftIO/Foreign.hs:505:16: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 505 | withCString :: MonadUnliftIO m => String -> (CString -> m a) -> m a | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:512:19: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 512 | withCStringLen :: MonadUnliftIO m => String -> (CStringLen -> m a) -> m a | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:519:17: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 519 | peekCAString :: MonadIO m => CString -> m String | ^^^^^^^ src/UnliftIO/Foreign.hs:526:20: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 526 | peekCAStringLen :: MonadIO m => CStringLen -> m String | ^^^^^^^ src/UnliftIO/Foreign.hs:533:16: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 533 | newCAString :: MonadIO m => String -> m CString | ^^^^^^^ src/UnliftIO/Foreign.hs:540:19: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 540 | newCAStringLen :: MonadIO m => String -> m CStringLen | ^^^^^^^ src/UnliftIO/Foreign.hs:547:17: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 547 | withCAString :: MonadUnliftIO m => String -> (CString -> m a) -> m a | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:554:20: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 554 | withCAStringLen :: MonadUnliftIO m => String -> (CStringLen -> m a) -> m a | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:561:17: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 561 | peekCWString :: MonadIO m => CWString -> m String | ^^^^^^^ src/UnliftIO/Foreign.hs:568:20: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 568 | peekCWStringLen :: MonadIO m => CWStringLen -> m String | ^^^^^^^ src/UnliftIO/Foreign.hs:575:16: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 575 | newCWString :: MonadIO m => String -> m CWString | ^^^^^^^ src/UnliftIO/Foreign.hs:582:19: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 582 | newCWStringLen :: MonadIO m => String -> m CWStringLen | ^^^^^^^ src/UnliftIO/Foreign.hs:589:17: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 589 | withCWString :: MonadUnliftIO m => String -> (CWString -> m a) -> m a | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:596:20: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 596 | withCWStringLen :: MonadUnliftIO m => String -> (CWStringLen -> m a) -> m a | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:603:13: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 603 | getErrno :: MonadIO m => m Errno | ^^^^^^^ src/UnliftIO/Foreign.hs:610:15: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 610 | resetErrno :: MonadIO m => m () | ^^^^^^^ src/UnliftIO/Foreign.hs:617:15: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 617 | throwErrno :: MonadIO m => String -> m a | ^^^^^^^ src/UnliftIO/Foreign.hs:624:17: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 624 | throwErrnoIf :: MonadUnliftIO m => (a -> Bool) -> String -> m a -> m a | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:631:18: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 631 | throwErrnoIf_ :: MonadUnliftIO m => (a -> Bool) -> String -> m a -> m () | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:638:22: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 638 | throwErrnoIfRetry :: MonadUnliftIO m => (a -> Bool) -> String -> m a -> m a | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:646:23: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 646 | throwErrnoIfRetry_ :: MonadUnliftIO m => (a -> Bool) -> String -> m a -> m () | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:654:24: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 654 | throwErrnoIfMinus1 :: (MonadUnliftIO m, Eq a, Num a) => String -> m a -> m a | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:661:25: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 661 | throwErrnoIfMinus1_ :: (MonadUnliftIO m, Eq a, Num a) => String -> m a -> m () | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:669:7: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 669 | (MonadUnliftIO m, Eq a, Num a) => String -> m a -> m a | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:678:7: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 678 | (MonadUnliftIO m, Eq a, Num a) => String -> m a -> m () | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:686:21: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 686 | throwErrnoIfNull :: MonadUnliftIO m => String -> m (Ptr a) -> m (Ptr a) | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:693:26: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 693 | throwErrnoIfNullRetry :: MonadUnliftIO m => String -> m (Ptr a) -> m (Ptr a) | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:702:6: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 702 | MonadUnliftIO m => (a -> Bool) -> String -> m a -> m b -> m a | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:711:6: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 711 | MonadUnliftIO m => (a -> Bool) -> String -> m a -> m b -> m () | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:720:7: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 720 | (MonadUnliftIO m, Eq a, Num a) => String -> m a -> m b -> m a | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:729:7: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 729 | (MonadUnliftIO m, Eq a, Num a) => String -> m a -> m b -> m () | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:738:6: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 738 | MonadUnliftIO m => String -> m (Ptr a) -> m b -> m (Ptr a) | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:746:19: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 746 | throwErrnoPath :: MonadIO m => String -> FilePath -> m a | ^^^^^^^ src/UnliftIO/Foreign.hs:754:6: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 754 | MonadUnliftIO m => (a -> Bool) -> String -> FilePath -> m a -> m a | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:763:6: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 763 | MonadUnliftIO m => (a -> Bool) -> String -> FilePath -> m a -> m () | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:772:6: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 772 | MonadUnliftIO m => String -> FilePath -> m (Ptr a) -> m (Ptr a) | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:781:7: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 781 | (MonadUnliftIO m, Eq a, Num a) => String -> FilePath -> m a -> m a | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:790:7: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 790 | (MonadUnliftIO m, Eq a, Num a) => String -> FilePath -> m a -> m () | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:798:22: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 798 | freeHaskellFunPtr :: MonadIO m => FunPtr a -> m () | ^^^^^^^ src/UnliftIO/Foreign.hs:805:18: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 805 | newForeignPtr :: MonadIO m => FinalizerPtr a -> Ptr a -> m (ForeignPtr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:812:19: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 812 | newForeignPtr_ :: MonadIO m => Ptr a -> m (ForeignPtr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:819:27: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 819 | addForeignPtrFinalizer :: MonadIO m => FinalizerPtr a -> ForeignPtr a -> m () | ^^^^^^^ src/UnliftIO/Foreign.hs:828:6: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 828 | MonadIO m => FinalizerEnvPtr env a -> Ptr env -> Ptr a -> m (ForeignPtr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:836:6: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 836 | MonadIO m => FinalizerEnvPtr env a -> Ptr env -> ForeignPtr a -> m () | ^^^^^^^ src/UnliftIO/Foreign.hs:844:19: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 844 | withForeignPtr :: MonadUnliftIO m => ForeignPtr a -> (Ptr a -> m b) -> m b | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:851:23: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 851 | finalizeForeignPtr :: MonadIO m => ForeignPtr a -> m () | ^^^^^^^ src/UnliftIO/Foreign.hs:858:20: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 858 | touchForeignPtr :: MonadIO m => ForeignPtr a -> m () | ^^^^^^^ src/UnliftIO/Foreign.hs:865:22: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 865 | mallocForeignPtr :: (MonadIO m, Storable a) => m (ForeignPtr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:872:26: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 872 | mallocForeignPtrBytes :: MonadIO m => Int -> m (ForeignPtr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:879:27: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 879 | mallocForeignPtrArray :: (MonadIO m, Storable a) => Int -> m (ForeignPtr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:886:28: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 886 | mallocForeignPtrArray0 :: (MonadIO m, Storable a) => Int -> m (ForeignPtr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:893:21: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 893 | newGHCForeignPtr :: MonadUnliftIO m => Ptr a -> m () -> m (ForeignPtr a) | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:900:30: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 900 | addGHCForeignPtrFinalizer :: MonadUnliftIO m => ForeignPtr a -> m () -> m () | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:908:17: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 908 | newStablePtr :: MonadIO m => a -> m (StablePtr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:915:19: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 915 | deRefStablePtr :: MonadIO m => StablePtr a -> m a | ^^^^^^^ src/UnliftIO/Foreign.hs:922:18: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 922 | freeStablePtr :: MonadIO m => StablePtr a -> m () | ^^^^^^^ src/UnliftIO/Foreign.hs:929:12: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 929 | alloca :: (MonadUnliftIO m, Storable a) => (Ptr a -> m b) -> m b | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:936:16: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 936 | allocaBytes :: MonadUnliftIO m => Int -> (Ptr a -> m b) -> m b | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:943:23: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 943 | allocaBytesAligned :: MonadUnliftIO m => Int -> Int -> (Ptr a -> m b) -> m b | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:951:12: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 951 | malloc :: (MonadIO m, Storable a) => m (Ptr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:958:16: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 958 | mallocBytes :: MonadIO m => Int -> m (Ptr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:966:12: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 966 | calloc :: (MonadIO m, Storable a) => m (Ptr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:973:16: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 973 | callocBytes :: MonadIO m => Int -> m (Ptr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:981:13: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 981 | realloc :: (MonadIO m, Storable b) => Ptr a -> m (Ptr b) | ^^^^^^^ src/UnliftIO/Foreign.hs:988:17: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 988 | reallocBytes :: MonadIO m => Ptr a -> Int -> m (Ptr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:995:9: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 995 | free :: MonadIO m => Ptr a -> m () | ^^^^^^^ src/UnliftIO/Foreign.hs:1002:17: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1002 | mallocArray :: (MonadIO m, Storable a) => Int -> m (Ptr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:1009:18: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1009 | mallocArray0 :: (MonadIO m, Storable a) => Int -> m (Ptr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:1016:17: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 1016 | allocaArray :: (MonadUnliftIO m, Storable a) => Int -> (Ptr a -> m b) -> m b | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:1023:18: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 1023 | allocaArray0 :: (MonadUnliftIO m, Storable a) => Int -> (Ptr a -> m b) -> m b | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:1030:18: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1030 | reallocArray :: (MonadIO m, Storable a) => Ptr a -> Int -> m (Ptr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:1037:19: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1037 | reallocArray0 :: (MonadIO m, Storable a) => Ptr a -> Int -> m (Ptr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:1045:17: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1045 | callocArray :: (MonadIO m, Storable a) => Int -> m (Ptr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:1052:18: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1052 | callocArray0 :: (MonadIO m, Storable a) => Int -> m (Ptr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:1060:15: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1060 | peekArray :: (MonadIO m, Storable a) => Int -> Ptr a -> m [a] | ^^^^^^^ src/UnliftIO/Foreign.hs:1067:16: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1067 | peekArray0 :: (MonadIO m, Storable a, Eq a) => a -> Ptr a -> m [a] | ^^^^^^^ src/UnliftIO/Foreign.hs:1074:15: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1074 | pokeArray :: (MonadIO m, Storable a) => Ptr a -> [a] -> m () | ^^^^^^^ src/UnliftIO/Foreign.hs:1081:16: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1081 | pokeArray0 :: (MonadIO m, Storable a) => a -> Ptr a -> [a] -> m () | ^^^^^^^ src/UnliftIO/Foreign.hs:1088:14: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1088 | newArray :: (MonadIO m, Storable a) => [a] -> m (Ptr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:1095:15: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1095 | newArray0 :: (MonadIO m, Storable a) => a -> [a] -> m (Ptr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:1102:15: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 1102 | withArray :: (MonadUnliftIO m, Storable a) => [a] -> (Ptr a -> m b) -> m b | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:1109:16: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 1109 | withArray0 :: (MonadUnliftIO m, Storable a) => a -> [a] -> (Ptr a -> m b) -> m b | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:1118:7: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 1118 | (MonadUnliftIO m, Storable a) => [a] -> (Int -> Ptr a -> m b) -> m b | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:1127:7: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 1127 | (MonadUnliftIO m, Storable a) => a -> [a] -> (Int -> Ptr a -> m b) -> m b | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:1135:15: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1135 | copyArray :: (MonadIO m, Storable a) => Ptr a -> Ptr a -> Int -> m () | ^^^^^^^ src/UnliftIO/Foreign.hs:1142:15: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1142 | moveArray :: (MonadIO m, Storable a) => Ptr a -> Ptr a -> Int -> m () | ^^^^^^^ src/UnliftIO/Foreign.hs:1149:18: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1149 | lengthArray0 :: (MonadIO m, Storable a, Eq a) => a -> Ptr a -> m Int | ^^^^^^^ src/UnliftIO/Foreign.hs:1156:12: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 1156 | throwIf :: MonadUnliftIO m => (a -> Bool) -> (a -> String) -> m a -> m a | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:1163:13: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 1163 | throwIf_ :: MonadUnliftIO m => (a -> Bool) -> (a -> String) -> m a -> m () | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:1170:16: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 1170 | throwIfNeg :: (MonadUnliftIO m, Ord a, Num a) => (a -> String) -> m a -> m a | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:1177:17: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 1177 | throwIfNeg_ :: (MonadUnliftIO m, Ord a, Num a) => (a -> String) -> m a -> m () | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:1184:16: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 1184 | throwIfNull :: MonadUnliftIO m => String -> m (Ptr a) -> m (Ptr a) | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:1191:12: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1191 | newPool :: MonadIO m => m Pool | ^^^^^^^ src/UnliftIO/Foreign.hs:1198:13: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1198 | freePool :: MonadIO m => Pool -> m () | ^^^^^^^ src/UnliftIO/Foreign.hs:1205:13: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 1205 | withPool :: MonadUnliftIO m => (Pool -> m b) -> m b | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:1212:18: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1212 | pooledMalloc :: (MonadIO m, Storable a) => Pool -> m (Ptr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:1219:22: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1219 | pooledMallocBytes :: MonadIO m => Pool -> Int -> m (Ptr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:1226:19: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1226 | pooledRealloc :: (MonadIO m, Storable a) => Pool -> Ptr a -> m (Ptr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:1233:23: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1233 | pooledReallocBytes :: MonadIO m => Pool -> Ptr a -> Int -> m (Ptr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:1240:23: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1240 | pooledMallocArray :: (MonadIO m, Storable a) => Pool -> Int -> m (Ptr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:1247:24: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1247 | pooledMallocArray0 :: (MonadIO m, Storable a) => Pool -> Int -> m (Ptr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:1255:7: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1255 | (MonadIO m, Storable a) => Pool -> Ptr a -> Int -> m (Ptr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:1263:7: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1263 | (MonadIO m, Storable a) => Pool -> Ptr a -> Int -> m (Ptr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:1270:15: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1270 | pooledNew :: (MonadIO m, Storable a) => Pool -> a -> m (Ptr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:1277:20: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1277 | pooledNewArray :: (MonadIO m, Storable a) => Pool -> [a] -> m (Ptr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:1284:21: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1284 | pooledNewArray0 :: (MonadIO m, Storable a) => Pool -> a -> [a] -> m (Ptr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:1291:10: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 1291 | with :: (MonadUnliftIO m, Storable a) => a -> (Ptr a -> m b) -> m b | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:1298:9: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1298 | new :: (MonadIO m, Storable a) => a -> m (Ptr a) | ^^^^^^^ src/UnliftIO/Foreign.hs:1305:13: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1305 | maybeNew :: MonadIO m => (a -> m (Ptr b)) -> Maybe a -> m (Ptr b) | ^^^^^^^ src/UnliftIO/Foreign.hs:1313:6: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1313 | MonadIO m | ^^^^^^^ src/UnliftIO/Foreign.hs:1324:14: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 1324 | maybePeek :: MonadUnliftIO m => (Ptr a -> m b) -> Ptr a -> m (Maybe b) | ^^^^^^^^^^^^^ src/UnliftIO/Foreign.hs:1331:14: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1331 | copyBytes :: MonadIO m => Ptr a -> Ptr a -> Int -> m () | ^^^^^^^ src/UnliftIO/Foreign.hs:1338:14: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1338 | moveBytes :: MonadIO m => Ptr a -> Ptr a -> Int -> m () | ^^^^^^^ src/UnliftIO/Foreign.hs:1346:14: error:[ 7 of 22] Compiling UnliftIO.IO Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 1346 | fillBytes :: MonadIO m => Ptr a -> Word8 -> Int -> m () | ^^^^^^^ src/UnliftIO/IO.hs:46:13: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 46 | withFile :: MonadUnliftIO m => FilePath -> IOMode -> (Handle -> m a) -> m a | ^^^^^^^^^^^^^ src/UnliftIO/IO.hs:52:19: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 52 | withBinaryFile :: MonadUnliftIO m => FilePath -> IOMode -> (Handle -> m a) -> m a | ^^^^^^^^^^^^^ src/UnliftIO/IO.hs:58:13: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 58 | openFile :: MonadIO m => FilePath -> IOMode -> m Handle | ^^^^^^^ src/UnliftIO/IO.hs:64:11: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 64 | hClose :: MonadIO m => Handle -> m () | ^^^^^^^ src/UnliftIO/IO.hs:70:11: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 70 | hFlush :: MonadIO m => Handle -> m () | ^^^^^^^ src/UnliftIO/IO.hs:76:14: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 76 | hFileSize :: MonadIO m => Handle -> m Integer | ^^^^^^^ src/UnliftIO/IO.hs:82:17: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 82 | hSetFileSize :: MonadIO m => Handle -> Integer -> m () | ^^^^^^^ src/UnliftIO/IO.hs:88:11: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 88 | hIsEOF :: MonadIO m => Handle -> m Bool | ^^^^^^^ src/UnliftIO/IO.hs:94:18: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 94 | hSetBuffering :: MonadIO m => Handle -> IO.BufferMode -> m () | ^^^^^^^ src/UnliftIO/IO.hs:100:18: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 100 | hGetBuffering :: MonadIO m => Handle -> m IO.BufferMode | ^^^^^^^ src/UnliftIO/IO.hs:106:10: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 106 | hSeek :: MonadIO m => Handle -> IO.SeekMode -> Integer -> m () | ^^^^^^^ src/UnliftIO/IO.hs:112:10: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 112 | hTell :: MonadIO m => Handle -> m Integer | ^^^^^^^ src/UnliftIO/IO.hs:118:12: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 118 | hIsOpen :: MonadIO m => Handle -> m Bool | ^^^^^^^ src/UnliftIO/IO.hs:124:14: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 124 | hIsClosed :: MonadIO m => Handle -> m Bool | ^^^^^^^ src/UnliftIO/IO.hs:130:16: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 130 | hIsReadable :: MonadIO m => Handle -> m Bool | ^^^^^^^ src/UnliftIO/IO.hs:136:16: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 136 | hIsWritable :: MonadIO m => Handle -> m Bool | ^^^^^^^ src/UnliftIO/IO.hs:142:16: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 142 | hIsSeekable :: MonadIO m => Handle -> m Bool | ^^^^^^^ src/UnliftIO/IO.hs:148:22: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 148 | hIsTerminalDevice :: MonadIO m => Handle -> m Bool | ^^^^^^^ src/UnliftIO/IO.hs:154:13: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 154 | hSetEcho :: MonadIO m => Handle -> Bool -> m () | ^^^^^^^ src/UnliftIO/IO.hs:160:13: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 160 | hGetEcho :: MonadIO m => Handle -> m Bool | ^^^^^^^ src/UnliftIO/IO.hs:166:18: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 166 | hWaitForInput :: MonadIO m => Handle -> Int -> m Bool | ^^^^^^^ src/UnliftIO/IO.hs:172:11: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 172 | hReady :: MonadIO m => Handle -> m Bool | ^^^^^^^ src/UnliftIO/IO.hs:179:21: error:[ 8 of 22] Compiling UnliftIO.IORef Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 179 | getMonotonicTime :: MonadIO m => m Double | ^^^^^^^ src/UnliftIO/IORef.hs:25:13: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 25 | newIORef :: MonadIO m => a -> m (IORef a) | ^^^^^^^ src/UnliftIO/IORef.hs:31:14: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 31 | readIORef :: MonadIO m => IORef a -> m a | ^^^^^^^ src/UnliftIO/IORef.hs:37:15: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 37 | writeIORef :: MonadIO m => IORef a -> a -> m () | ^^^^^^^ src/UnliftIO/IORef.hs:43:16: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 43 | modifyIORef :: MonadIO m => IORef a -> (a -> a) -> m () | ^^^^^^^ src/UnliftIO/IORef.hs:49:17: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 49 | modifyIORef' :: MonadIO m => IORef a -> (a -> a) -> m () | ^^^^^^^ src/UnliftIO/IORef.hs:55:22: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 55 | atomicModifyIORef :: MonadIO m => IORef a -> (a -> (a, b)) -> m b | ^^^^^^^ [11 of 22] Compiling UnliftIO.MVar src/UnliftIO/IORef.hs:61:23: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 61 | atomicModifyIORef' :: MonadIO m => IORef a -> (a -> (a, b)) -> m b | ^^^^^^^ src/UnliftIO/IORef.hs:67:21: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 67 | atomicWriteIORef :: MonadIO m => IORef a -> a -> m () | ^^^^^^^ src/UnliftIO/IORef.hs:73:16: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 73 | mkWeakIORef :: MonadUnliftIO m => IORef a -> m () -> m (Weak (IORef a)) | ^^^^^^^^^^^^^ src/UnliftIO/MVar.hs:33:17: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 33 | newEmptyMVar :: MonadIO m => m (MVar a) | ^^^^^^^ src/UnliftIO/MVar.hs:39:12: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 39 | newMVar :: MonadIO m => a -> m (MVar a) | ^^^^^^^ src/UnliftIO/MVar.hs:45:13: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 45 | takeMVar :: MonadIO m => MVar a -> m a | ^^^^^^^ src/UnliftIO/MVar.hs:51:12: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 51 | putMVar :: MonadIO m => MVar a -> a -> m () | ^^^^^^^ src/UnliftIO/MVar.hs:57:13: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 57 | readMVar :: MonadIO m => MVar a -> m a | ^^^^^^^ src/UnliftIO/MVar.hs:63:13: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 63 | swapMVar :: MonadIO m => MVar a -> a -> m a | ^^^^^^^ src/UnliftIO/MVar.hs:69:16: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 69 | tryTakeMVar :: MonadIO m => MVar a -> m (Maybe a) | ^^^^^^^ src/UnliftIO/MVar.hs:75:15: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 75 | tryPutMVar :: MonadIO m => MVar a -> a -> m Bool | ^^^^^^^ src/UnliftIO/MVar.hs:81:16: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 81 | isEmptyMVar :: MonadIO m => MVar a -> m Bool | ^^^^^^^ src/UnliftIO/MVar.hs:87:16: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 87 | tryReadMVar :: MonadIO m => MVar a -> m (Maybe a) | ^^^^^^^ src/UnliftIO/MVar.hs:93:13: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 93 | withMVar :: MonadUnliftIO m => MVar a -> (a -> m b) -> m b | ^^^^^^^^^^^^^ src/UnliftIO/MVar.hs:99:19: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 99 | withMVarMasked :: MonadUnliftIO m => MVar a -> (a -> m b) -> m b | ^^^^^^^^^^^^^ src/UnliftIO/MVar.hs:105:16: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 105 | modifyMVar_ :: MonadUnliftIO m => MVar a -> (a -> m a) -> m () | ^^^^^^^^^^^^^ src/UnliftIO/MVar.hs:111:15: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 111 | modifyMVar :: MonadUnliftIO m => MVar a -> (a -> m (a, b)) -> m b | ^^^^^^^^^^^^^ src/UnliftIO/MVar.hs:117:22: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 117 | modifyMVarMasked_ :: MonadUnliftIO m => MVar a -> (a -> m a) -> m () [16 of 22] Compiling UnliftIO.Process | ^^^^^^^^^^^^^ src/UnliftIO/MVar.hs:123:21: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 123 | modifyMVarMasked :: MonadUnliftIO m => MVar a -> (a -> m (a, b)) -> m b | ^^^^^^^^^^^^^ src/UnliftIO/MVar.hs:129:15: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 129 | mkWeakMVar :: MonadUnliftIO m => MVar a -> m () -> m (Weak (MVar a)) | ^^^^^^^^^^^^^ src/UnliftIO/Process.hs:68:6: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 68 | MonadIO m | ^^^^^^^ src/UnliftIO/Process.hs:79:6: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 79 | MonadIO m | ^^^^^^^ src/UnliftIO/Process.hs:90:16: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 90 | callProcess :: MonadIO m => FilePath -> [String] -> m () | ^^^^^^^ src/UnliftIO/Process.hs:97:16: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 97 | callCommand :: MonadIO m => String -> m () | ^^^^^^^ src/UnliftIO/Process.hs:104:17: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 104 | spawnProcess :: MonadIO m => FilePath -> [String] -> m ProcessHandle | ^^^^^^^ src/UnliftIO/Process.hs:111:17: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 111 | spawnCommand :: MonadIO m => String -> m ProcessHandle | ^^^^^^^ src/UnliftIO/Process.hs:119:22: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 119 | readCreateProcess :: MonadIO m => CreateProcess -> String -> m String | ^^^^^^^ src/UnliftIO/Process.hs:127:16: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 127 | readProcess :: MonadIO m => FilePath -> [String] -> String -> m String | ^^^^^^^ src/UnliftIO/Process.hs:136:6: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 136 | MonadIO m => CreateProcess -> String -> m (ExitCode, String, String) | ^^^^^^^ src/UnliftIO/Process.hs:146:6: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 146 | MonadIO m => FilePath -> [String] -> String -> m (ExitCode, String, String) | ^^^^^^^ src/UnliftIO/Process.hs:156:6: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 156 | MonadUnliftIO m | ^^^^^^^^^^^^^ src/UnliftIO/Process.hs:173:19: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 173 | waitForProcess :: MonadIO m => ProcessHandle -> m ExitCode | ^^^^^^^ src/UnliftIO/Process.hs:180:23: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 180 | getProcessExitCode :: MonadIO m => ProcessHandle -> m (Maybe ExitCode) | ^^^^^^^ src/UnliftIO/Process.hs:187:21: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 187 | terminateProcess :: MonadIO m => ProcessHandle -> m () | ^^^^^^^ [19 of 22] Compiling UnliftIO.STM src/UnliftIO/Process.hs:194:28: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 194 | interruptProcessGroupOf :: MonadIO m => ProcessHandle -> m () | ^^^^^^^ src/UnliftIO/Process.hs:202:15: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 202 | createPipe :: MonadIO m => m (Handle, Handle) | ^^^^^^^ src/UnliftIO/Process.hs:211:17: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 211 | createPipeFd :: MonadIO m => m (FD, FD) | ^^^^^^^ src/UnliftIO/STM.hs:99:15: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 99 | atomically :: MonadIO m => STM a -> m a | ^^^^^^^ src/UnliftIO/STM.hs:117:14: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 117 | newTVarIO :: MonadIO m => a -> m (TVar a) | ^^^^^^^ src/UnliftIO/STM.hs:123:15: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 123 | readTVarIO :: MonadIO m => TVar a -> m a | ^^^^^^^ src/UnliftIO/STM.hs:129:18: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 129 | registerDelay :: MonadIO m => Int -> m (TVar Bool) | ^^^^^^^ src/UnliftIO/STM.hs:135:15: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 135 | mkWeakTVar :: MonadUnliftIO m => TVar a -> m () -> m (Weak (TVar a)) | ^^^^^^^^^^^^^ [21 of 22] Compiling UnliftIO.Timeout src/UnliftIO/STM.hs:141:15: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 141 | newTMVarIO :: MonadIO m => a -> m (TMVar a) | ^^^^^^^ src/UnliftIO/STM.hs:147:20: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 147 | newEmptyTMVarIO :: MonadIO m => m (TMVar a) | ^^^^^^^ src/UnliftIO/STM.hs:153:16: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 153 | mkWeakTMVar :: MonadUnliftIO m => TMVar a -> m () -> m (Weak (TMVar a)) | ^^^^^^^^^^^^^ src/UnliftIO/STM.hs:159:15: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 159 | newTChanIO :: MonadIO m => m (TChan a) | ^^^^^^^ src/UnliftIO/STM.hs:165:24: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 165 | newBroadcastTChanIO :: MonadIO m => m (TChan a) | ^^^^^^^ src/UnliftIO/STM.hs:171:16: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 171 | newTQueueIO :: MonadIO m => m (TQueue a) | ^^^^^^^ src/UnliftIO/STM.hs:178:17: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Prelude) | 178 | newTBQueueIO :: MonadIO m => Natural -> m (TBQueue a) | ^^^^^^^ src/UnliftIO/Timeout.hs:14:12: error: Not in scope: type constructor or class ‘MonadUnliftIO’ | 14 | timeout :: MonadUnliftIO m => Int -> m a -> m (Maybe a) | ^^^^^^^^^^^^^ error: Bad exit status from /var/tmp/rpm-tmp.0kprb8 (%build) Bad exit status from /var/tmp/rpm-tmp.0kprb8 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-unliftio.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, 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 riscv64 --nodeps /builddir/build/SPECS/ghc-unliftio.spec