You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While building package sandwich-webdriver-0.2.3.1 (scroll up to its section to see the error)
using:
/home/curators/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_HwdwpEmb_3.10.3.0_ghc-9.8.3 --verbose=1 --builddir=.stack-work/dist/x86_64-linux-tinfo6/ghc-9.8.3 build lib:sandwich-webdriver exe:sandwich-webdriver-exe --ghc-options ""
Process exited with code: ExitFailure 1
Logs have been written
to: /home/curators/work/unpack-dir/.stack-work/logs/sandwich-webdriver-0.2.3.1.log
Preprocessing library for sandwich-webdriver-0.2.3.1..
Building library for sandwich-webdriver-0.2.3.1.. [ 4 of 20] Compiling Test.Sandwich.WebDriver.Internal.StartWebDriver.Xvfb
/home/curators/work/unpack-dir/unpacked/sandwich-webdriver-0.2.3.1-5666fe08b9cfdd86ed6cbda2ad660c1f9a02c7453aa78f3714bb1507c9f049f1/unix-src/Test/Sandwich/WebDriver/Internal/StartWebDriver/Xvfb.hs:89:8: error: [GHC-39999]
• Could not deduce ‘unliftio-core-0.2.1.0:Control.Monad.IO.Unlift.MonadUnliftIO
m’
arising from a use of ‘createProcessWithLogging’
from the context: Constraints m
bound by the type signature for:
createXvfbSession :: forall (m :: * -> *).
Constraints m =>
FilePath
-> Int -> Int -> Fd -> m (Int, ProcessHandle, FilePath)
at unix-src/Test/Sandwich/WebDriver/Internal/StartWebDriver/Xvfb.hs:83:1-102
Possible fix:
add (unliftio-core-0.2.1.0:Control.Monad.IO.Unlift.MonadUnliftIO
m) to the context of
the type signature for:
createXvfbSession :: forall (m :: * -> *).
Constraints m =>
FilePath -> Int -> Int -> Fd -> m (Int, ProcessHandle, FilePath)
• In the first argument of ‘($)’, namely ‘createProcessWithLogging’
In a stmt of a 'do' block:
p <- createProcessWithLogging
$ (proc "Xvfb" [":" <> show serverNum, "-screen", "0", ....])
{cwd = Just webdriverRoot, create_group = True}
In the expression:
do serverNum <- liftIO findFreeServerNum
authFile <- liftIO $ writeTempFile webdriverRoot ".Xauthority" ""
p <- createProcessWithLogging
$ (proc "Xvfb" [":" <> show serverNum, ....])
{cwd = Just webdriverRoot, create_group = True}
return (serverNum, p, authFile)
|
89 | p <- createProcessWithLogging $ (proc "Xvfb" [":" <> show serverNum
| ^^^^^^^^^^^^^^^^^^^^^^^^
[11 of 20] Compiling Test.Sandwich.WebDriver.Internal.Binaries
/home/curators/work/unpack-dir/unpacked/sandwich-webdriver-0.2.3.1-5666fe08b9cfdd86ed6cbda2ad660c1f9a02c7453aa78f3714bb1507c9f049f1/src/Test/Sandwich/WebDriver/Internal/Binaries.hs:170:5: error: [GHC-39999]
• Could not deduce ‘unliftio-core-0.2.1.0:Control.Monad.IO.Unlift.MonadUnliftIO m’
arising from a use of ‘createProcessWithLogging’ from the context: (MonadIO m, MonadBaseControl IO m, MonadLogger m,
MonadMask m)
bound by the type signature for:
downloadAndUnzipToPath :: forall (m :: * -> *).
(MonadIO m, MonadBaseControl IO m, MonadLogger m,
MonadMask m) =>
T.Text -> FilePath -> m (Either T.Text ())
at src/Test/Sandwich/WebDriver/Internal/Binaries.hs:163:1-134 Possible fix:
add (unliftio-core-0.2.1.0:Control.Monad.IO.Unlift.MonadUnliftIO
m) to the context of
the type signature for:
downloadAndUnzipToPath :: forall (m :: * -> *).
(MonadIO m, MonadBaseControl IO m, MonadLogger m,
MonadMask m) =>
T.Text -> FilePath -> m (Either T.Text ())
• In the first argument of ‘(>>=)’, namely
‘createProcessWithLogging
((proc "unzip" ["temp.zip", "-d", "unzipped"]) {cwd = Just dir})’
In the first argument of ‘(>>=)’, namely
‘createProcessWithLogging
((proc "unzip" ["temp.zip", "-d", "unzipped"]) {cwd = Just dir})
>>= liftIO . waitForProcess’
In a stmt of a 'do' block:
createProcessWithLogging
((proc "unzip" ["temp.zip", "-d", "unzipped"]) {cwd = Just dir})
>>= liftIO . waitForProcess
>>= (`shouldBe` ExitSuccess)
|
170 | createProcessWithLogging ((proc "unzip" ["temp.zip", "-d", "unzipped"]) { cwd = Just dir })
| ^^^^^^^^^^^^^^^^^^^^^^^^
/home/curators/work/unpack-dir/unpacked/sandwich-webdriver-0.2.3.1-5666fe08b9cfdd86ed6cbda2ad660c1f9a02c7453aa78f3714bb1507c9f049f1/src/Test/Sandwich/WebDriver/Internal/Binaries.hs:187:3: error: [GHC-39999]
Disabled on stackage for now.
The text was updated successfully, but these errors were encountered:
alaendle
added a commit
to commercialhaskell/stackage
that referenced
this issue
Nov 3, 2024
Disabled on stackage for now.
The text was updated successfully, but these errors were encountered: