cc @serras
Building library for monad-primitive-0.1..
[1 of 2] Compiling Control.Monad.Primitive.Class
/var/stackage/work/unpack-dir/unpacked/monad-primitive-0.1-a4b14d3951c8e79aba5b9b395c187cce18e479d6aa71e4ebf01bd3eca6ed1212/C
ontrol/Monad/Primitive/Class.hs:21:1: error:
Could not find module ‘Control.Monad.Trans.Error’
Perhaps you meant
Control.Monad.Trans.Free (needs flag -package-id free-5.2)
Control.Monad.Trans.Iter (needs flag -package-id free-5.2)
Control.Monad.Trans.Either (needs flag -package-id transformers-either-0.1.4)
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
21 | import Control.Monad.Trans.Error (ErrorT,Error)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cc @aycanirican @unprolix @greydot
(no current issue tracker)
Building library for hdaemonize-0.5.6..
[1 of 1] Compiling System.Posix.Daemonize
/var/stackage/work/unpack-dir/unpacked/hdaemonize-0.5.6-a68167e6476ad268d01284686b1700451791a16aa31722433071fa5124b60686/Syst
em/Posix/Daemonize.hs:292:16: error: [GHC-83865]
• Couldn't match expected type: OpenFileFlags -> IO Fd
with actual type: IO Fd
• The function ‘openFd’ is applied to four value arguments,
but its type ‘FilePath -> OpenMode -> OpenFileFlags -> IO Fd’
has only three
In a stmt of a 'do' block:
null <- openFd "/dev/null" ReadWrite Nothing defaultFileFlags
In the expression:
do null <- openFd "/dev/null" ReadWrite Nothing defaultFileFlags
let sendTo fd' fd = closeFd fd >> dupTo fd' fd
mapM_ (sendTo null) [stdInput, stdOutput, ....]
|
292 | do null <- openFd "/dev/null" ReadWrite Nothing defaultFileFlags
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/var/stackage/work/unpack-dir/unpacked/hdaemonize-0.5.6-a68167e6476ad268d01284686b1700451791a16aa31722433071fa5124b60686/Syst
em/Posix/Daemonize.hs:292:45: error: [GHC-83865]
• Couldn't match expected type ‘OpenFileFlags’
with actual type ‘Maybe a0’
• In the third argument of ‘openFd’, namely ‘Nothing’
In a stmt of a 'do' block:
null <- openFd "/dev/null" ReadWrite Nothing defaultFileFlags
In the expression:
do null <- openFd "/dev/null" ReadWrite Nothing defaultFileFlags
let sendTo fd' fd = closeFd fd >> dupTo fd' fd
mapM_ (sendTo null) [stdInput, stdOutput, ....]
|
292 | do null <- openFd "/dev/null" ReadWrite Nothing defaultFileFlags
| ^^^^^^^
Building library for frisby-0.2.4..
[1 of 2] Compiling Text.Parsers.Frisby
/var/stackage/work/unpack-dir/unpacked/frisby-0.2.4-43e9bed6cccab0e91ce17767f8eec02073d220bd78b58b9207cbaef096ccd36f/Text/Par
sers/Frisby.hs:253:11: error: [GHC-88464]
Variable not in scope: ap :: PM s (a -> b) -> PM s a -> PM s b
Suggested fix:
Perhaps use one of these:
data constructor ‘Ap’ (imported from Data.Monoid),
‘IntSet.map’ (imported from Data.IntSet),
‘map’ (imported from Prelude)
|
253 | (<*>) = ap
| ^^
/var/stackage/work/unpack-dir/unpacked/frisby-0.2.4-43e9bed6cccab0e91ce17767f8eec02073d220bd78b58b9207cbaef096ccd36f/Text/Par
sers/Frisby.hs:516:21: error: [GHC-88464]
Variable not in scope:
liftM :: (PE a2 -> PE a1) -> NM (PE a2) -> NM (PE a1)
Suggested fix:
Perhaps use one of these:
‘lift’ (imported from Control.Monad.State),
‘liftA’ (imported from Control.Applicative)
|
516 | f (PMap fn x) = liftM (PMap fn) (f x)
| ^^^^^