Build #1 for monad-peel-0.3

[all reports]

Package monad-peel-0.3
Install InstallOk
Docs Ok
Tests NotTried
Time submitted 2023-08-10 13:52:58.408487594 UTC
Compiler ghc-9.2.4
OS linux
Arch x86_64
Dependencies base-4.16.3.0, extensible-exceptions-0.1.1.4, transformers-0.5.6.2
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Starting     extensible-exceptions-0.1.1.4
Building     extensible-exceptions-0.1.1.4
Completed    extensible-exceptions-0.1.1.4
Downloading  monad-peel-0.3
Downloaded   monad-peel-0.3
Starting     monad-peel-0.3
Building     monad-peel-0.3
Completed    monad-peel-0.3

Test log

[view raw]

Resolving dependencies...
Build profile: -w ghc-9.2.4 -O0
In order, the following will be built (use -v for more details):
 - monad-peel-0.3 (first run)
Configuring monad-peel-0.3...
Preprocessing test suite 'test' for monad-peel-0.3..
Building test suite 'test' for monad-peel-0.3..

<no location info>: warning: [-Wmissing-home-modules]
    These modules are needed for compilation but not listed in your .cabal file's other-modules: 
        Control.Exception.Peel
        Control.Monad.IO.Peel
        Control.Monad.Trans.Peel
[1 of 4] Compiling Control.Monad.Trans.Peel ( Control/Monad/Trans/Peel.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/monad-peel-0.3/noopt/build/test/test-tmp/Control/Monad/Trans/Peel.o )

Control/Monad/Trans/Peel.hs:32:1: warning: [-Wdodgy-imports]
    Module Prelude does not export catch
   |
32 | import Prelude hiding (catch)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Control/Monad/Trans/Peel.hs:47:1: warning: [-Wunused-imports]
    The import of Data.Monoid is redundant
      except perhaps to import instances from Data.Monoid
    To import instances alone, use: import Data.Monoid()
   |
47 | import Data.Monoid
   | ^^^^^^^^^^^^^^^^^^
[2 of 4] Compiling Control.Monad.IO.Peel ( Control/Monad/IO/Peel.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/monad-peel-0.3/noopt/build/test/test-tmp/Control/Monad/IO/Peel.o )

Control/Monad/IO/Peel.hs:40:1: warning: [-Wunused-imports]
    The import of Data.Monoid is redundant
      except perhaps to import instances from Data.Monoid
    To import instances alone, use: import Data.Monoid()
   |
40 | import Data.Monoid
   | ^^^^^^^^^^^^^^^^^^
[3 of 4] Compiling Control.Exception.Peel ( Control/Exception/Peel.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/monad-peel-0.3/noopt/build/test/test-tmp/Control/Exception/Peel.o )

Control/Exception/Peel.hs:27:1: warning: [-Wdodgy-imports]
    Module Prelude does not export catch
   |
27 | import Prelude hiding (catch, ioError)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[4 of 4] Compiling Main             ( test.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/monad-peel-0.3/noopt/build/test/test-tmp/Main.o )

test.hs:27:7: error:
    " No instance for (MonadPeelIO (ListT IO))
        arising from a use of testSuite
    " In the first argument of ($), namely testSuite "ListT"
      In the expression: testSuite "ListT" $ fmap head . runListT
      In the first argument of defaultMain, namely
        [testSuite "IdentityT" runIdentityT,
          testSuite "ListT" $ fmap head . runListT,
          testSuite "MaybeT" $ fmap fromJust . runMaybeT,
          testSuite "ReaderT" $ flip runReaderT "reader state", ....]
   |
27 |     , testSuite "ListT" $ fmap head . runListT
   |       ^^^^^^^^^

test.hs:126:9: error:
    " No instance for (MonadPeelIO (ErrorT String IO))
        arising from a use of finally
    " In the second argument of ($), namely
        (liftIO (writeIORef i 2) >> throwError "throwError")
           `finally` (liftIO $ writeIORef i 3)
      In a stmt of a 'do' block:
        Left "throwError" <- runErrorT
                               $ (liftIO (writeIORef i 2) >> throwError "throwError")
                                   `finally` (liftIO $ writeIORef i 3)
      In the expression:
        do i <- newIORef one
           Left "throwError" <- runErrorT
                                  $ (liftIO (writeIORef i 2) >> throwError "throwError")
                                      `finally` (liftIO $ writeIORef i 3)
           j <- readIORef i
           j @?= 3
    |
126 |         `finally`
    |         ^^^^^^^^^