Build #2 for Villefort-0.1.2.15

[all reports]

Package Villefort-0.1.2.15
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2018-10-20 02:36:42.641396985 UTC
Compiler ghc-8.4.3
OS linux
Arch x86_64
Dependencies HDBC-2.4.0.2, HDBC-sqlite3-2.3.3.1, MissingH-1.4.1.0, base-4.11.1.0, bytestring-0.10.8.2, convertible-1.1.1.0, directory-1.3.3.1, filepath-1.4.2, mtl-2.2.2, process-1.6.4.0, random-1.1, scotty-0.11.2, split-0.2.3.3, strict-0.3.2, text-1.2.3.0, time-1.6.0.1, transformers-0.5.5.0, unix-2.7.2.2, uri-encode-1.5.0.5, HDBC-2.4.0.2, HDBC-sqlite3-2.3.3.1, base-4.11.1.0, mtl-2.2.2, random-1.1, scotty-0.11.2, split-0.2.3.3, text-1.2.3.0, time-1.6.0.1
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Warning: The following packages are likely to be broken by the reinstalls:
process-1.6.3.0
haskeline-0.7.4.2
ghc-8.4.3
Cabal-2.2.0.1
ghci-8.4.3
directory-1.3.1.5
hpc-0.6.0.3
ghc-boot-8.4.3
Continuing even though the plan contains dangerous reinstalls.
Configuring appar-0.1.4...
Configuring auto-update-0.1.4...
Building appar-0.1.4...
Building auto-update-0.1.4...
Installed appar-0.1.4
Configuring base-orphans-0.8...
Installed auto-update-0.1.4
Configuring base64-bytestring-1.0.0.1...
Building base-orphans-0.8...
Building base64-bytestring-1.0.0.1...
Installed base64-bytestring-1.0.0.1
Configuring blaze-builder-0.4.1.0...
Building blaze-builder-0.4.1.0...
Installed base-orphans-0.8
Configuring bsb-http-chunked-0.0.0.4...
Building bsb-http-chunked-0.0.0.4...
Installed bsb-http-chunked-0.0.0.4
Configuring byteorder-1.0.4...
Installed blaze-builder-0.4.1.0
Configuring bytestring-builder-0.10.8.2.0...
Building byteorder-1.0.4...
Building bytestring-builder-0.10.8.2.0...
Installed bytestring-builder-0.10.8.2.0
Configuring call-stack-0.1.0...
Installed byteorder-1.0.4
Configuring colour-2.3.4...
Building call-stack-0.1.0...
Building colour-2.3.4...
Installed call-stack-0.1.0
Configuring data-default-class-0.1.2.0...
Building data-default-class-0.1.2.0...
Installed data-default-class-0.1.2.0
Configuring dlist-0.8.0.5...
Building dlist-0.8.0.5...
Installed dlist-0.8.0.5
Configuring fail-4.9.0.0...
Installed colour-2.3.4
Configuring hashable-1.2.7.0...
Building fail-4.9.0.0...
Building hashable-1.2.7.0...
Installed fail-4.9.0.0
Configuring integer-logarithms-1.0.2.2...
Building integer-logarithms-1.0.2.2...
Installed integer-logarithms-1.0.2.2
Configuring nats-1.1.2...
Building nats-1.1.2...
Installed hashable-1.2.7.0
Configuring network-uri-2.6.1.0...
Installed nats-1.1.2
Configuring old-locale-1.0.0.7...
Building network-uri-2.6.1.0...
Building old-locale-1.0.0.7...
Installed old-locale-1.0.0.7
Configuring primitive-0.6.4.0...
Building primitive-0.6.4.0...
Installed network-uri-2.6.1.0
Configuring regex-base-0.93.2...
Building regex-base-0.93.2...
Installed regex-base-0.93.2
Configuring semigroups-0.18.5...
Building semigroups-0.18.5...
Installed semigroups-0.18.5
Configuring split-0.2.3.3...
Building split-0.2.3.3...
Installed split-0.2.3.3
Configuring stm-2.5.0.0...
Building stm-2.5.0.0...
Installed primitive-0.6.4.0
Configuring strict-0.3.2...
Installed stm-2.5.0.0
Configuring tagged-0.8.6...
Building strict-0.3.2...
Building tagged-0.8.6...
Installed strict-0.3.2
Configuring th-abstraction-0.2.8.0...
Building th-abstraction-0.2.8.0...
Installed tagged-0.8.6
Configuring time-1.6.0.1...
Building time-1.6.0.1...
Installed th-abstraction-0.2.8.0
Configuring transformers-compat-0.6.2...
Building transformers-compat-0.6.2...
Installed transformers-compat-0.6.2
Configuring unliftio-core-0.1.2.0...
Building unliftio-core-0.1.2.0...
Installed time-1.6.0.1
Configuring utf8-string-1.0.1.1...
Installed unliftio-core-0.1.2.0
Configuring void-0.7.2...
Building utf8-string-1.0.1.1...
Building void-0.7.2...
Installed void-0.7.2
Configuring word8-0.1.3...
Building word8-0.1.3...
Installed word8-0.1.3
Configuring zlib-0.6.2...
Installed utf8-string-1.0.1.1
Configuring HUnit-1.6.0.0...
Building zlib-0.6.2...
Building HUnit-1.6.0.0...
Installed HUnit-1.6.0.0
Configuring ansi-terminal-0.8.1...
Building ansi-terminal-0.8.1...
Installed zlib-0.6.2
Configuring unordered-containers-0.2.9.0...
Building unordered-containers-0.2.9.0...
Installed ansi-terminal-0.8.1
Configuring psqueues-0.2.7.0...
Building psqueues-0.2.7.0...
Installed psqueues-0.2.7.0
Configuring case-insensitive-1.2.0.11...
Building case-insensitive-1.2.0.11...
Installed unordered-containers-0.2.9.0
Configuring old-time-1.1.0.3...
Installed case-insensitive-1.2.0.11
Configuring regex-posix-0.95.2...
Building old-time-1.1.0.3...
Building regex-posix-0.95.2...
Installed old-time-1.1.0.3
Configuring vector-0.12.0.1...
Building vector-0.12.0.1...
Installed regex-posix-0.95.2
Configuring scientific-0.3.6.2...
Building scientific-0.3.6.2...
Installed scientific-0.3.6.2
Configuring async-2.2.1...
Building async-2.2.1...
Installed async-2.2.1
Configuring transformers-base-0.4.5.2...
Building transformers-base-0.4.5.2...
Installed transformers-base-0.4.5.2
Configuring exceptions-0.10.0...
Building exceptions-0.10.0...
Installed exceptions-0.10.0
Configuring unix-2.7.2.2...
Building unix-2.7.2.2...
Installed vector-0.12.0.1
Configuring time-locale-compat-0.1.1.5...
Building time-locale-compat-0.1.1.5...
Installed time-locale-compat-0.1.1.5
Configuring random-1.1...
Building random-1.1...
Installed random-1.1
Configuring cookie-0.4.4...
Building cookie-0.4.4...
Installed cookie-0.4.4
Configuring uri-encode-1.5.0.5...
Building uri-encode-1.5.0.5...
Installed unix-2.7.2.2
Configuring vault-0.3.1.2...
Installed uri-encode-1.5.0.5
Building vault-0.3.1.2...
Configuring http2-1.6.3...
Building http2-1.6.3...
Installed vault-0.3.1.2
Configuring http-types-0.12.2...
Building http-types-0.12.2...
Installed http-types-0.12.2
Configuring unix-time-0.3.8...
Building unix-time-0.3.8...
Installed unix-time-0.3.8
Configuring convertible-1.1.1.0...
Building convertible-1.1.1.0...
Installed http2-1.6.3
Configuring regex-compat-0.95.1...
Building regex-compat-0.95.1...
Installed regex-compat-0.95.1
Configuring attoparsec-0.13.2.2...
Building attoparsec-0.13.2.2...
Installed convertible-1.1.1.0
Configuring monad-control-1.0.2.3...
Building monad-control-1.0.2.3...
Installed monad-control-1.0.2.3
Configuring resourcet-1.2.2...
Installed attoparsec-0.13.2.2
Configuring uuid-types-1.0.3...
Building resourcet-1.2.2...
Building uuid-types-1.0.3...
Installed uuid-types-1.0.3
Configuring unix-compat-0.5.1...
Installed resourcet-1.2.2
Configuring network-2.8.0.0...
Building unix-compat-0.5.1...
Installed unix-compat-0.5.1
Configuring directory-1.3.3.1...
Building network-2.8.0.0...
Building directory-1.3.3.1...
Installed directory-1.3.3.1
Configuring base-compat-0.10.5...
Building base-compat-0.10.5...
Installed network-2.8.0.0
Configuring HDBC-2.4.0.2...
Building HDBC-2.4.0.2...
Installed base-compat-0.10.5
Configuring http-date-0.0.8...
Building http-date-0.0.8...
Installed HDBC-2.4.0.2
Configuring process-1.6.4.0...
Installed http-date-0.0.8
Configuring easy-file-0.2.2...
Building process-1.6.4.0...
Building easy-file-0.2.2...
Installed easy-file-0.2.2
Configuring wai-3.2.1.2...
Building wai-3.2.1.2...
Installed process-1.6.4.0
Configuring simple-sendfile-0.2.27...
Building simple-sendfile-0.2.27...
Installed wai-3.2.1.2
Configuring iproute-1.7.6...
Building iproute-1.7.6...
Installed simple-sendfile-0.2.27
Configuring aeson-1.4.1.0...
Building aeson-1.4.1.0...
Installed iproute-1.7.6
Configuring HDBC-sqlite3-2.3.3.1...
Building HDBC-sqlite3-2.3.3.1...
Installed HDBC-sqlite3-2.3.3.1
Configuring fast-logger-2.4.11...
Building fast-logger-2.4.11...
Installed fast-logger-2.4.11
Configuring streaming-commons-0.2.1.0...
Building streaming-commons-0.2.1.0...
Installed streaming-commons-0.2.1.0
Configuring hslogger-1.2.12...
Building hslogger-1.2.12...
Installed hslogger-1.2.12
Configuring wai-logger-2.3.2...
Building wai-logger-2.3.2...
Installed wai-logger-2.3.2
Configuring warp-3.2.25...
Installed aeson-1.4.1.0
Configuring MissingH-1.4.1.0...
Building warp-3.2.25...
Building MissingH-1.4.1.0...
Installed warp-3.2.25
Configuring wai-extra-3.0.24.3...
Building wai-extra-3.0.24.3...
Installed MissingH-1.4.1.0
Installed wai-extra-3.0.24.3
Configuring scotty-0.11.2...
Building scotty-0.11.2...
Installed scotty-0.11.2
Configuring Villefort-0.1.2.15...
Building Villefort-0.1.2.15...
Failed to install Villefort-0.1.2.15
Build log ( /home/builder/.cabal/logs/ghc-8.4.3/Villefort-0.1.2.15-4Onqf2QMkZl9rs8xMVgNBq.log ):
cabal: Entering directory '/tmp/cabal-tmp-5707/Villefort-0.1.2.15'
Configuring Villefort-0.1.2.15...
Preprocessing library for Villefort-0.1.2.15..
Building library for Villefort-0.1.2.15..
[ 1 of 12] Compiling Paths_Villefort  ( dist/build/autogen/Paths_Villefort.hs, dist/build/Paths_Villefort.o )
[ 2 of 12] Compiling Villefort.Definitions ( src/Villefort/Definitions.hs, dist/build/Villefort/Definitions.o )
[ 3 of 12] Compiling Villefort.Database ( src/Villefort/Database.hs, dist/build/Villefort/Database.o )

src/Villefort/Database.hs:47:1: warning: [-Wmissing-signatures]
    Top-level binding with no type signature:
      constructTable :: FilePath -> IO ()
   |
47 | constructTable path = do
   | ^^^^^^^^^^^^^^

src/Villefort/Database.hs:53:1: warning: [-Wmissing-signatures]
    Top-level binding with no type signature:
      makeTable :: String -> IO ()
   |
53 | makeTable path = do
   | ^^^^^^^^^

src/Villefort/Database.hs:173:16: warning: [-Wname-shadowing]
    This binding for ‘year’ shadows the existing binding
      imported from ‘Villefort.Definitions’ at src/Villefort/Database.hs:17:52-59
      (and originally defined at src/Villefort/Definitions.hs:27:19-22)
    |
173 | makeDate (Date year month day) = pure $ fmtDate year month day
    |                ^^^^

src/Villefort/Database.hs:173:21: warning: [-Wname-shadowing]
    This binding for ‘month’ shadows the existing binding
      imported from ‘Villefort.Definitions’ at src/Villefort/Database.hs:17:52-59
      (and originally defined at src/Villefort/Definitions.hs:28:19-23)
    |
173 | makeDate (Date year month day) = pure $ fmtDate year month day
    |                     ^^^^^

src/Villefort/Database.hs:173:27: warning: [-Wname-shadowing]
    This binding for ‘day’ shadows the existing binding
      imported from ‘Villefort.Definitions’ at src/Villefort/Database.hs:17:52-59
      (and originally defined at src/Villefort/Definitions.hs:29:19-21)
    |
173 | makeDate (Date year month day) = pure $ fmtDate year month day
    |                           ^^^

src/Villefort/Database.hs:175:4: warning: [-Wname-shadowing]
    This binding for ‘year’ shadows the existing binding
      imported from ‘Villefort.Definitions’ at src/Villefort/Database.hs:17:52-59
      (and originally defined at src/Villefort/Definitions.hs:27:19-22)
    |
175 |   (year,month,day) <-   (toGregorian . localDay . zonedTimeToLocalTime) <$>  getZonedTime  :: IO (Integer, Int , Int)
    |    ^^^^

src/Villefort/Database.hs:175:9: warning: [-Wname-shadowing]
    This binding for ‘month’ shadows the existing binding
      imported from ‘Villefort.Definitions’ at src/Villefort/Database.hs:17:52-59
      (and originally defined at src/Villefort/Definitions.hs:28:19-23)
    |
175 |   (year,month,day) <-   (toGregorian . localDay . zonedTimeToLocalTime) <$>  getZonedTime  :: IO (Integer, Int , Int)
    |         ^^^^^

src/Villefort/Database.hs:175:15: warning: [-Wname-shadowing]
    This binding for ‘day’ shadows the existing binding
      imported from ‘Villefort.Definitions’ at src/Villefort/Database.hs:17:52-59
      (and originally defined at src/Villefort/Definitions.hs:29:19-21)
    |
175 |   (year,month,day) <-   (toGregorian . localDay . zonedTimeToLocalTime) <$>  getZonedTime  :: IO (Integer, Int , Int)
    |               ^^^

src/Villefort/Database.hs:180:8: warning: [-Wname-shadowing]
    This binding for ‘year’ shadows the existing binding
      imported from ‘Villefort.Definitions’ at src/Villefort/Database.hs:17:52-59
      (and originally defined at src/Villefort/Definitions.hs:27:19-22)
    |
180 |   let (year,month,day) =  toGregorian actualDay
    |        ^^^^

src/Villefort/Database.hs:180:13: warning: [-Wname-shadowing]
    This binding for ‘month’ shadows the existing binding
      imported from ‘Villefort.Definitions’ at src/Villefort/Database.hs:17:52-59
      (and originally defined at src/Villefort/Definitions.hs:28:19-23)
    |
180 |   let (year,month,day) =  toGregorian actualDay
    |             ^^^^^

src/Villefort/Database.hs:180:19: warning: [-Wname-shadowing]
    This binding for ‘day’ shadows the existing binding
      imported from ‘Villefort.Definitions’ at src/Villefort/Database.hs:17:52-59
      (and originally defined at src/Villefort/Definitions.hs:29:19-21)
    |
180 |   let (year,month,day) =  toGregorian actualDay
    |                   ^^^

src/Villefort/Database.hs:183:1: warning: [-Wmissing-signatures]
    Top-level binding with no type signature:
      fmtDate :: (PrintfArg t1, PrintfArg t2, PrintfArg t3) =>
                 t1 -> t2 -> t3 -> [Char]
    |
183 | fmtDate y m d =fmt y ++ "-" ++ fmt m ++ "-" ++ fmt d
    | ^^^^^^^
[ 4 of 12] Compiling Villefort.Config ( src/Villefort/Config.hs, dist/build/Villefort/Config.o )
[ 5 of 12] Compiling Villefort.New    ( src/Villefort/New.hs, dist/build/Villefort/New.o )
[ 6 of 12] Compiling Villefort.Util   ( src/Villefort/Util.hs, dist/build/Villefort/Util.o )
[ 7 of 12] Compiling Villefort.Todo   ( src/Villefort/Todo.hs, dist/build/Villefort/Todo.o )
[ 8 of 12] Compiling Villefort.Today  ( src/Villefort/Today.hs, dist/build/Villefort/Today.o )
[ 9 of 12] Compiling Villefort.Log    ( src/Villefort/Log.hs, dist/build/Villefort/Log.o )
[10 of 12] Compiling Villefort.Daily  ( src/Villefort/Daily.hs, dist/build/Villefort/Daily.o )
[11 of 12] Compiling Villefort.Weekly ( src/Villefort/Weekly.hs, dist/build/Villefort/Weekly.o )
[12 of 12] Compiling Villefort.Server ( src/Villefort/Server.hs, dist/build/Villefort/Server.o )

src/Villefort/Server.hs:110:11: warning: [-Wname-shadowing]
    This binding for ‘clean’ shadows the existing binding
      imported from ‘Villefort.Database’ at src/Villefort/Server.hs:16:1-25
      (and originally defined at src/Villefort/Database.hs:193:1-5)
    |
110 |       let clean = replace "+" " " 
    |           ^^^^^
ignoring (possibly broken) abi-depends field for packages
Preprocessing executable 'Villefort' for Villefort-0.1.2.15..
Building executable 'Villefort' for Villefort-0.1.2.15..
[1 of 2] Compiling Main             ( Main.hs, dist/build/Villefort/Villefort-tmp/Main.o )

Main.hs:21:14: error:
    • Couldn't match type ‘[[Char]]’ with ‘Villefort.Definitions.Task’
      Expected type: IO Villefort.Definitions.Task
        Actual type: IO [[Char]]
    • In the expression:
        return ["Type up m408c notes", "408c notes", "m408"]
      In the ‘monday’ field of a record
      In the expression:
        defWeekly
          {monday = [return ["Type up m408c notes", ....],
                     return ["Type up ugs303 lecture notes", ....],
                     return ["Do m408c homework", ....], ....],
           tuesday = [return ["Type up cs311 lecture notes", ....],
                      return ["Type up cs314 lecture notes", ....]],
           wednesday = [return ["Type up m408c notes", ....],
                        return ["Type up ugs303 lecture notes", ....],
                        return ["Do m408c homework", ....]],
           thursday = [return ["Type up cs311 lecture notes", ....],
                       return ["Type up cs314 lecture notes", ....]],
           friday = [return ["Type up m408c notes", ....],
                     return ["Type up ugs303 lecture notes", ....],
                     return ["Do m408c homework", ....]]}
   |
21 |    monday = [return ["Type up m408c notes","408c notes","m408"]
   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Main.hs:22:14: error:
    • Couldn't match type ‘[[Char]]’ with ‘Villefort.Definitions.Task’
      Expected type: IO Villefort.Definitions.Task
        Actual type: IO [[Char]]
    • In the expression:
        return ["Type up ugs303 lecture notes", "ugs303 notes", "ugs303"]
      In the ‘monday’ field of a record
      In the expression:
        defWeekly
          {monday = [return ["Type up m408c notes", ....],
                     return ["Type up ugs303 lecture notes", ....],
                     return ["Do m408c homework", ....], ....],
           tuesday = [return ["Type up cs311 lecture notes", ....],
                      return ["Type up cs314 lecture notes", ....]],
           wednesday = [return ["Type up m408c notes", ....],
                        return ["Type up ugs303 lecture notes", ....],
                        return ["Do m408c homework", ....]],
           thursday = [return ["Type up cs311 lecture notes", ....],
                       return ["Type up cs314 lecture notes", ....]],
           friday = [return ["Type up m408c notes", ....],
                     return ["Type up ugs303 lecture notes", ....],
                     return ["Do m408c homework", ....]]}
   |
22 |             ,return ["Type up ugs303 lecture notes","ugs303 notes","ugs303"]
   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Main.hs:23:14: error:
    • Couldn't match type ‘[[Char]]’ with ‘Villefort.Definitions.Task’
      Expected type: IO Villefort.Definitions.Task
        Actual type: IO [[Char]]
    • In the expression:
        return ["Do m408c homework", "m408c hw", "m408"]
      In the ‘monday’ field of a record
      In the expression:
        defWeekly
          {monday = [return ["Type up m408c notes", ....],
                     return ["Type up ugs303 lecture notes", ....],
                     return ["Do m408c homework", ....], ....],
           tuesday = [return ["Type up cs311 lecture notes", ....],
                      return ["Type up cs314 lecture notes", ....]],
           wednesday = [return ["Type up m408c notes", ....],
                        return ["Type up ugs303 lecture notes", ....],
                        return ["Do m408c homework", ....]],
           thursday = [return ["Type up cs311 lecture notes", ....],
                       return ["Type up cs314 lecture notes", ....]],
           friday = [return ["Type up m408c notes", ....],
                     return ["Type up ugs303 lecture notes", ....],
                     return ["Do m408c homework", ....]]}
   |
23 |             ,return ["Do m408c homework","m408c hw","m408"]
   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Main.hs:24:14: error:
    • Couldn't match type ‘[[Char]]’ with ‘Villefort.Definitions.Task’
      Expected type: IO Villefort.Definitions.Task
        Actual type: IO [[Char]]
    • In the expression:
        return ["Do cs314hw for Friday", "cs314 hw", "cs314"]
      In the ‘monday’ field of a record
      In the expression:
        defWeekly
          {monday = [return ["Type up m408c notes", ....],
                     return ["Type up ugs303 lecture notes", ....],
                     return ["Do m408c homework", ....], ....],
           tuesday = [return ["Type up cs311 lecture notes", ....],
                      return ["Type up cs314 lecture notes", ....]],
           wednesday = [return ["Type up m408c notes", ....],
                        return ["Type up ugs303 lecture notes", ....],
                        return ["Do m408c homework", ....]],
           thursday = [return ["Type up cs311 lecture notes", ....],
                       return ["Type up cs314 lecture notes", ....]],
           friday = [return ["Type up m408c notes", ....],
                     return ["Type up ugs303 lecture notes", ....],
                     return ["Do m408c homework", ....]]}
   |
24 |             ,return ["Do cs314hw for Friday","cs314 hw", "cs314"]
   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Main.hs:25:14: error:
    • Couldn't match type ‘[[Char]]’ with ‘Villefort.Definitions.Task’
      Expected type: IO Villefort.Definitions.Task
        Actual type: IO [[Char]]
    • In the expression:
        return ["Do cs311hw for Friday", "cs311 hw", "cs211"]
      In the ‘monday’ field of a record
      In the expression:
        defWeekly
          {monday = [return ["Type up m408c notes", ....],
                     return ["Type up ugs303 lecture notes", ....],
                     return ["Do m408c homework", ....], ....],
           tuesday = [return ["Type up cs311 lecture notes", ....],
                      return ["Type up cs314 lecture notes", ....]],
           wednesday = [return ["Type up m408c notes", ....],
                        return ["Type up ugs303 lecture notes", ....],
                        return ["Do m408c homework", ....]],
           thursday = [return ["Type up cs311 lecture notes", ....],
                       return ["Type up cs314 lecture notes", ....]],
           friday = [return ["Type up m408c notes", ....],
                     return ["Type up ugs303 lecture notes", ....],
                     return ["Do m408c homework", ....]]}
   |
25 |             ,return ["Do cs311hw for Friday","cs311 hw", "cs211"]
   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Main.hs:27:15: error:
    • Couldn't match type ‘[[Char]]’ with ‘Villefort.Definitions.Task’
      Expected type: IO Villefort.Definitions.Task
        Actual type: IO [[Char]]
    • In the expression:
        return ["Type up cs311 lecture notes", "cs311 notes", "cs311"]
      In the ‘tuesday’ field of a record
      In the expression:
        defWeekly
          {monday = [return ["Type up m408c notes", ....],
                     return ["Type up ugs303 lecture notes", ....],
                     return ["Do m408c homework", ....], ....],
           tuesday = [return ["Type up cs311 lecture notes", ....],
                      return ["Type up cs314 lecture notes", ....]],
           wednesday = [return ["Type up m408c notes", ....],
                        return ["Type up ugs303 lecture notes", ....],
                        return ["Do m408c homework", ....]],
           thursday = [return ["Type up cs311 lecture notes", ....],
                       return ["Type up cs314 lecture notes", ....]],
           friday = [return ["Type up m408c notes", ....],
                     return ["Type up ugs303 lecture notes", ....],
                     return ["Do m408c homework", ....]]}
   |
27 |    tuesday = [return ["Type up cs311 lecture notes","cs311 notes","cs311"]
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Main.hs:28:15: error:
    • Couldn't match type ‘[[Char]]’ with ‘Villefort.Definitions.Task’
      Expected type: IO Villefort.Definitions.Task
        Actual type: IO [[Char]]
    • In the expression:
        return ["Type up cs314 lecture notes", "cs314 notes", "cs314"]
      In the ‘tuesday’ field of a record
      In the expression:
        defWeekly
          {monday = [return ["Type up m408c notes", ....],
                     return ["Type up ugs303 lecture notes", ....],
                     return ["Do m408c homework", ....], ....],
           tuesday = [return ["Type up cs311 lecture notes", ....],
                      return ["Type up cs314 lecture notes", ....]],
           wednesday = [return ["Type up m408c notes", ....],
                        return ["Type up ugs303 lecture notes", ....],
                        return ["Do m408c homework", ....]],
           thursday = [return ["Type up cs311 lecture notes", ....],
                       return ["Type up cs314 lecture notes", ....]],
           friday = [return ["Type up m408c notes", ....],
                     return ["Type up ugs303 lecture notes", ....],
                     return ["Do m408c homework", ....]]}
   |
28 |              ,return ["Type up cs314 lecture notes","cs314 notes","cs314"]
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Main.hs:30:17: error:
    • Couldn't match type ‘[[Char]]’ with ‘Villefort.Definitions.Task’
      Expected type: IO Villefort.Definitions.Task
        Actual type: IO [[Char]]
    • In the expression:
        return ["Type up m408c notes", "408c notes", "m408"]
      In the ‘wednesday’ field of a record
      In the expression:
        defWeekly
          {monday = [return ["Type up m408c notes", ....],
                     return ["Type up ugs303 lecture notes", ....],
                     return ["Do m408c homework", ....], ....],
           tuesday = [return ["Type up cs311 lecture notes", ....],
                      return ["Type up cs314 lecture notes", ....]],
           wednesday = [return ["Type up m408c notes", ....],
                        return ["Type up ugs303 lecture notes", ....],
                        return ["Do m408c homework", ....]],
           thursday = [return ["Type up cs311 lecture notes", ....],
                       return ["Type up cs314 lecture notes", ....]],
           friday = [return ["Type up m408c notes", ....],
                     return ["Type up ugs303 lecture notes", ....],
                     return ["Do m408c homework", ....]]}
   |
30 |    wednesday = [return ["Type up m408c notes","408c notes","m408"]
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Main.hs:31:17: error:
    • Couldn't match type ‘[[Char]]’ with ‘Villefort.Definitions.Task’
      Expected type: IO Villefort.Definitions.Task
        Actual type: IO [[Char]]
    • In the expression:
        return ["Type up ugs303 lecture notes", "ugs303 notes", "ugs303"]
      In the ‘wednesday’ field of a record
      In the expression:
        defWeekly
          {monday = [return ["Type up m408c notes", ....],
                     return ["Type up ugs303 lecture notes", ....],
                     return ["Do m408c homework", ....], ....],
           tuesday = [return ["Type up cs311 lecture notes", ....],
                      return ["Type up cs314 lecture notes", ....]],
           wednesday = [return ["Type up m408c notes", ....],
                        return ["Type up ugs303 lecture notes", ....],
                        return ["Do m408c homework", ....]],
           thursday = [return ["Type up cs311 lecture notes", ....],
                       return ["Type up cs314 lecture notes", ....]],
           friday = [return ["Type up m408c notes", ....],
                     return ["Type up ugs303 lecture notes", ....],
                     return ["Do m408c homework", ....]]}
   |
31 |                ,return ["Type up ugs303 lecture notes","ugs303 notes","ugs303"]
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Main.hs:32:17: error:
    • Couldn't match type ‘[[Char]]’ with ‘Villefort.Definitions.Task’
      Expected type: IO Villefort.Definitions.Task
        Actual type: IO [[Char]]
    • In the expression:
        return ["Do m408c homework", "m408c hw", "m408"]
      In the ‘wednesday’ field of a record
      In the expression:
        defWeekly
          {monday = [return ["Type up m408c notes", ....],
                     return ["Type up ugs303 lecture notes", ....],
                     return ["Do m408c homework", ....], ....],
           tuesday = [return ["Type up cs311 lecture notes", ....],
                      return ["Type up cs314 lecture notes", ....]],
           wednesday = [return ["Type up m408c notes", ....],
                        return ["Type up ugs303 lecture notes", ....],
                        return ["Do m408c homework", ....]],
           thursday = [return ["Type up cs311 lecture notes", ....],
                       return ["Type up cs314 lecture notes", ....]],
           friday = [return ["Type up m408c notes", ....],
                     return ["Type up ugs303 lecture notes", ....],
                     return ["Do m408c homework", ....]]}
   |
32 |                ,return ["Do m408c homework","m408c hw","m408"]
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Main.hs:34:16: error:
    • Couldn't match type ‘[[Char]]’ with ‘Villefort.Definitions.Task’
      Expected type: IO Villefort.Definitions.Task
        Actual type: IO [[Char]]
    • In the expression:
        return ["Type up cs311 lecture notes", "cs311 notes", "cs311"]
      In the ‘thursday’ field of a record
      In the expression:
        defWeekly
          {monday = [return ["Type up m408c notes", ....],
                     return ["Type up ugs303 lecture notes", ....],
                     return ["Do m408c homework", ....], ....],
           tuesday = [return ["Type up cs311 lecture notes", ....],
                      return ["Type up cs314 lecture notes", ....]],
           wednesday = [return ["Type up m408c notes", ....],
                        return ["Type up ugs303 lecture notes", ....],
                        return ["Do m408c homework", ....]],
           thursday = [return ["Type up cs311 lecture notes", ....],
                       return ["Type up cs314 lecture notes", ....]],
           friday = [return ["Type up m408c notes", ....],
                     return ["Type up ugs303 lecture notes", ....],
                     return ["Do m408c homework", ....]]}
   |
34 |    thursday = [return ["Type up cs311 lecture notes","cs311 notes","cs311"]
   |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Main.hs:35:16: error:
    • Couldn't match type ‘[[Char]]’ with ‘Villefort.Definitions.Task’
      Expected type: IO Villefort.Definitions.Task
        Actual type: IO [[Char]]
    • In the expression:
        return ["Type up cs314 lecture notes", "cs314 notes", "cs314"]
      In the ‘thursday’ field of a record
      In the expression:
        defWeekly
          {monday = [return ["Type up m408c notes", ....],
                     return ["Type up ugs303 lecture notes", ....],
                     return ["Do m408c homework", ....], ....],
           tuesday = [return ["Type up cs311 lecture notes", ....],
                      return ["Type up cs314 lecture notes", ....]],
           wednesday = [return ["Type up m408c notes", ....],
                        return ["Type up ugs303 lecture notes", ....],
                        return ["Do m408c homework", ....]],
           thursday = [return ["Type up cs311 lecture notes", ....],
                       return ["Type up cs314 lecture notes", ....]],
           friday = [return ["Type up m408c notes", ....],
                     return ["Type up ugs303 lecture notes", ....],
                     return ["Do m408c homework", ....]]}
   |
35 |               ,return ["Type up cs314 lecture notes","cs314 notes","cs314"]
   |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Main.hs:38:15: error:
    • Couldn't match type ‘[[Char]]’ with ‘Villefort.Definitions.Task’
      Expected type: IO Villefort.Definitions.Task
        Actual type: IO [[Char]]
    • In the expression:
        return ["Type up m408c notes", "408c notes", "m408"]
      In the ‘friday’ field of a record
      In the expression:
        defWeekly
          {monday = [return ["Type up m408c notes", ....],
                     return ["Type up ugs303 lecture notes", ....],
                     return ["Do m408c homework", ....], ....],
           tuesday = [return ["Type up cs311 lecture notes", ....],
                      return ["Type up cs314 lecture notes", ....]],
           wednesday = [return ["Type up m408c notes", ....],
                        return ["Type up ugs303 lecture notes", ....],
                        return ["Do m408c homework", ....]],
           thursday = [return ["Type up cs311 lecture notes", ....],
                       return ["Type up cs314 lecture notes", ....]],
           friday = [return ["Type up m408c notes", ....],
                     return ["Type up ugs303 lecture notes", ....],
                     return ["Do m408c homework", ....]]}
   |
38 |    friday  = [return ["Type up m408c notes","408c notes","m408"]
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Main.hs:39:14: error:
    • Couldn't match type ‘[[Char]]’ with ‘Villefort.Definitions.Task’
      Expected type: IO Villefort.Definitions.Task
        Actual type: IO [[Char]]
    • In the expression:
        return ["Type up ugs303 lecture notes", "ugs303 notes", "ugs303"]
      In the ‘friday’ field of a record
      In the expression:
        defWeekly
          {monday = [return ["Type up m408c notes", ....],
                     return ["Type up ugs303 lecture notes", ....],
                     return ["Do m408c homework", ....], ....],
           tuesday = [return ["Type up cs311 lecture notes", ....],
                      return ["Type up cs314 lecture notes", ....]],
           wednesday = [return ["Type up m408c notes", ....],
                        return ["Type up ugs303 lecture notes", ....],
                        return ["Do m408c homework", ....]],
           thursday = [return ["Type up cs311 lecture notes", ....],
                       return ["Type up cs314 lecture notes", ....]],
           friday = [return ["Type up m408c notes", ....],
                     return ["Type up ugs303 lecture notes", ....],
                     return ["Do m408c homework", ....]]}
   |
39 |             ,return ["Type up ugs303 lecture notes","ugs303 notes","ugs303"]
   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Main.hs:40:14: error:
    • Couldn't match type ‘[[Char]]’ with ‘Villefort.Definitions.Task’
      Expected type: IO Villefort.Definitions.Task
        Actual type: IO [[Char]]
    • In the expression:
        return ["Do m408c homework", "m408c hw", "m408"]
      In the ‘friday’ field of a record
      In the expression:
        defWeekly
          {monday = [return ["Type up m408c notes", ....],
                     return ["Type up ugs303 lecture notes", ....],
                     return ["Do m408c homework", ....], ....],
           tuesday = [return ["Type up cs311 lecture notes", ....],
                      return ["Type up cs314 lecture notes", ....]],
           wednesday = [return ["Type up m408c notes", ....],
                        return ["Type up ugs303 lecture notes", ....],
                        return ["Do m408c homework", ....]],
           thursday = [return ["Type up cs311 lecture notes", ....],
                       return ["Type up cs314 lecture notes", ....]],
           friday = [return ["Type up m408c notes", ....],
                     return ["Type up ugs303 lecture notes", ....],
                     return ["Do m408c homework", ....]]}
   |
40 |             ,return ["Do m408c homework","m408c hw","m408"]
   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-5707/Villefort-0.1.2.15'
cabal: Error: some packages failed to install:
Villefort-0.1.2.15-4Onqf2QMkZl9rs8xMVgNBq failed during the building phase.
The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.