Resolving dependencies... Configuring appar-0.1.4... Configuring auto-update-0.1.4... Building auto-update-0.1.4... Building appar-0.1.4... Installed auto-update-0.1.4 Configuring base-compat-0.9.3... Configuring byteorder-1.0.4... Installed appar-0.1.4 Building byteorder-1.0.4... Building base-compat-0.9.3... Configuring base64-bytestring-1.0.0.1... Installed byteorder-1.0.4 Building base64-bytestring-1.0.0.1... Configuring bytestring-builder-0.10.8.1.0... Installed base-compat-0.9.3 Building bytestring-builder-0.10.8.1.0... Configuring data-default-class-0.1.2.0... Installed base64-bytestring-1.0.0.1 Configuring colour-2.3.3... Installed bytestring-builder-0.10.8.1.0 Building data-default-class-0.1.2.0... Building colour-2.3.3... Configuring dlist-0.8.0.3... Installed data-default-class-0.1.2.0 Building dlist-0.8.0.3... Configuring fail-4.9.0.0... Installed dlist-0.8.0.3 Building fail-4.9.0.0... Configuring integer-logarithms-1.0.2... Installed colour-2.3.3 Configuring easy-file-0.2.1... Installed fail-4.9.0.0 Building integer-logarithms-1.0.2... Building easy-file-0.2.1... Configuring nats-1.1.1... Installed integer-logarithms-1.0.2 Building nats-1.1.1... Configuring mtl-2.2.1... Installed easy-file-0.2.1 Configuring old-locale-1.0.0.7... Installed nats-1.1.1 Building mtl-2.2.1... Building old-locale-1.0.0.7... Configuring network-2.6.3.2... Installed old-locale-1.0.0.7 Configuring primitive-0.6.2.0... Installed mtl-2.2.1 Building network-2.6.3.2... Building primitive-0.6.2.0... Configuring random-1.1... Installed primitive-0.6.2.0 Building random-1.1... Configuring stm-2.4.4.1... Installed network-2.6.3.2 Building stm-2.4.4.1... Configuring strict-0.3.2... Installed random-1.1 Configuring split-0.2.3.2... Installed stm-2.4.4.1 Building strict-0.3.2... Building split-0.2.3.2... Configuring stringsearch-0.3.6.6... Installed split-0.2.3.2 Configuring text-1.2.2.2... Installed strict-0.3.2 Building stringsearch-0.3.6.6... Building text-1.2.2.2... Configuring time-locale-compat-0.1.1.3... Installed stringsearch-0.3.6.6 Building time-locale-compat-0.1.1.3... Configuring transformers-compat-0.5.1.4... Installed time-locale-compat-0.1.1.3 Building transformers-compat-0.5.1.4... Configuring unix-compat-0.4.3.1... Installed transformers-compat-0.5.1.4 Building unix-compat-0.4.3.1... Configuring utf8-string-1.0.1.1... Installed unix-compat-0.4.3.1 Building utf8-string-1.0.1.1... Configuring void-0.7.2... Installed text-1.2.2.2 Configuring word8-0.1.3... Installed utf8-string-1.0.1.1 Building void-0.7.2... Building word8-0.1.3... Configuring zlib-0.6.1.2... Installed void-0.7.2 Building zlib-0.6.1.2... Installed word8-0.1.3 Configuring old-time-1.1.0.3... Building old-time-1.1.0.3... Configuring ansi-terminal-0.7... Installed zlib-0.6.1.2 Building ansi-terminal-0.7... Configuring regex-base-0.93.2... Installed old-time-1.1.0.3 Building regex-base-0.93.2... Configuring iproute-1.7.1... Installed ansi-terminal-0.7 Building iproute-1.7.1... Configuring vector-0.12.0.1... Installed regex-base-0.93.2 Building vector-0.12.0.1... Configuring async-2.1.1.1... Installed iproute-1.7.1 Building async-2.1.1.1... Configuring simple-sendfile-0.2.25... Installed async-2.1.1.1 Building simple-sendfile-0.2.25... Configuring exceptions-0.8.3... Installed simple-sendfile-0.2.25 Building exceptions-0.8.3... Configuring tagged-0.8.5... Installed exceptions-0.8.3 Building tagged-0.8.5... Configuring transformers-base-0.4.4... Installed tagged-0.8.5 Building transformers-base-0.4.4... Configuring mmorph-1.1.0... Installed transformers-base-0.4.4 Building mmorph-1.1.0... Configuring hashable-1.2.6.1... Installed mmorph-1.1.0 Building hashable-1.2.6.1... Configuring blaze-builder-0.4.0.2... Installed vector-0.12.0.1 Building blaze-builder-0.4.0.2... Installed hashable-1.2.6.1 Configuring convertible-1.1.1.0... Building convertible-1.1.1.0... Installed blaze-builder-0.4.0.2 Configuring unix-time-0.3.7... Building unix-time-0.3.7... Configuring monad-control-1.0.2.2... Installed unix-time-0.3.7 Building monad-control-1.0.2.2... Configuring case-insensitive-1.2.0.10... Installed monad-control-1.0.2.2 Building case-insensitive-1.2.0.10... Configuring regex-posix-0.95.2... Installed convertible-1.1.1.0 Building regex-posix-0.95.2... Configuring psqueues-0.2.3.0... Installed case-insensitive-1.2.0.10 Building psqueues-0.2.3.0... Configuring scientific-0.3.5.2... Installed regex-posix-0.95.2 Building scientific-0.3.5.2... Installed psqueues-0.2.3.0 Configuring uuid-types-1.0.3... Building uuid-types-1.0.3... Configuring unordered-containers-0.2.8.0... Installed scientific-0.3.5.2 Building unordered-containers-0.2.8.0... Installed uuid-types-1.0.3 Configuring cookie-0.4.2.1... Building cookie-0.4.2.1... Installed cookie-0.4.2.1 Configuring streaming-commons-0.1.18... Building streaming-commons-0.1.18... Installed unordered-containers-0.2.8.0 Configuring fast-logger-2.4.10... Building fast-logger-2.4.10... Configuring HDBC-2.4.0.2... Installed fast-logger-2.4.10 Building HDBC-2.4.0.2... Configuring lifted-base-0.2.3.11... Installed streaming-commons-0.1.18 Building lifted-base-0.2.3.11... Configuring http-types-0.9.1... Installed lifted-base-0.2.3.11 Building http-types-0.9.1... Configuring regex-compat-0.95.1... Installed HDBC-2.4.0.2 Building regex-compat-0.95.1... Configuring http2-1.6.3... Installed regex-compat-0.95.1 Building http2-1.6.3... Configuring attoparsec-0.13.2.0... Installed http-types-0.9.1 Building attoparsec-0.13.2.0... Installed attoparsec-0.13.2.0 Configuring vault-0.3.0.7... Building vault-0.3.0.7... Configuring resourcet-1.1.9... Installed http2-1.6.3 Building resourcet-1.1.9... Installed vault-0.3.0.7 Configuring HDBC-sqlite3-2.3.3.1... Building HDBC-sqlite3-2.3.3.1... Configuring http-date-0.0.6.1... Installed resourcet-1.1.9 Configuring aeson-1.2.1.0... Installed HDBC-sqlite3-2.3.3.1 Building http-date-0.0.6.1... Building aeson-1.2.1.0... Configuring wai-3.2.1.1... Installed http-date-0.0.6.1 Building wai-3.2.1.1... Installed wai-3.2.1.1 Configuring wai-logger-2.3.0... Building wai-logger-2.3.0... Configuring warp-3.2.13... Installed wai-logger-2.3.0 Building warp-3.2.13... Installed warp-3.2.13 Installed aeson-1.2.1.0 Configuring wai-extra-3.0.20.0... Building wai-extra-3.0.20.0... Installed wai-extra-3.0.20.0 Configuring scotty-0.11.0... Building scotty-0.11.0... Installed scotty-0.11.0 Configuring Villefort-0.1.1.9... Building Villefort-0.1.1.9... Failed to install Villefort-0.1.1.9 Build log ( /home/builder/.cabal/logs/Villefort-0.1.1.9.log ): cabal: Entering directory '/tmp/cabal-tmp-29237/Villefort-0.1.1.9' Configuring Villefort-0.1.1.9... Building Villefort-0.1.1.9... Preprocessing library Villefort-0.1.1.9... [ 1 of 12] Compiling Villefort.Time ( src/Villefort/Time.hs, dist/build/Villefort/Time.o ) src/Villefort/Time.hs:15:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: unpackStringToDate :: [Char] -> D src/Villefort/Time.hs:20:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: daysUntil :: [Char] -> IO Integer src/Villefort/Time.hs:22:8: warning: [-Wunused-local-binds] Defined but not used: ‘y’ src/Villefort/Time.hs:22:10: warning: [-Wunused-local-binds] Defined but not used: ‘m’ src/Villefort/Time.hs:22:12: warning: [-Wunused-local-binds] Defined but not used: ‘d’ src/Villefort/Time.hs:23:7: warning: [-Wname-shadowing] This binding for ‘split’ shadows the existing binding imported from ‘Data.List.Split’ at src/Villefort/Time.hs:3:1-27 (and originally defined in ‘Data.List.Split.Internals’) src/Villefort/Time.hs:31:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: getDateD :: IO D [ 2 of 12] Compiling Villefort.Ml ( src/Villefort/Ml.hs, dist/build/Villefort/Ml.o ) [ 3 of 12] Compiling Villefort.Definitions ( src/Villefort/Definitions.hs, dist/build/Villefort/Definitions.o ) [ 4 of 12] Compiling Paths_Villefort ( dist/build/autogen/Paths_Villefort.hs, dist/build/Paths_Villefort.o ) [ 5 of 12] Compiling Villefort.Database ( src/Villefort/Database.hs, dist/build/Villefort/Database.o ) src/Villefort/Database.hs:8:1: warning: [-Wunused-imports] The import of ‘Data.List.Split’ is redundant except perhaps to import instances from ‘Data.List.Split’ To import instances alone, use: import Data.List.Split() src/Villefort/Database.hs:45:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: convRow :: [[SqlValue]] -> [[String]] src/Villefort/Database.hs:63:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: execQuery :: (convertible-1.1.1.0:Data.Convertible.Base.Convertible a SqlValue, MonadIO m, MonadReader VConfig m) => String -> [a] -> m () src/Villefort/Database.hs:70:7: warning: [-Wname-shadowing] This binding for ‘id’ shadows the existing binding imported from ‘Prelude’ at src/Villefort/Database.hs:2:8-25 (and originally defined in ‘GHC.Base’) [ 6 of 12] Compiling Villefort.Config ( src/Villefort/Config.hs, dist/build/Villefort/Config.o ) src/Villefort/Config.hs:3:1: warning: [-Wunused-imports] The import of ‘System.Process’ is redundant except perhaps to import instances from ‘System.Process’ To import instances alone, use: import System.Process() src/Villefort/Config.hs:5:1: warning: [-Wunused-imports] The import of ‘Villefort.Database’ is redundant except perhaps to import instances from ‘Villefort.Database’ To import instances alone, use: import Villefort.Database() src/Villefort/Config.hs:6:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: def :: VConfig src/Villefort/Config.hs:6:7: warning: [-Wmissing-fields] • Fields of ‘VConfig’ not initialised: dataBasePath • In the expression: VConfig {daily = [[]], monthly = [[]], yearly = [[]], weekly = defWeekly, port = 3002, noCustom = False, showDatabase = False} In an equation for ‘def’: def = VConfig {daily = [[]], monthly = [[]], yearly = [[]], weekly = defWeekly, port = 3002, noCustom = False, showDatabase = False} src/Villefort/Config.hs:16:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: defWeekly :: Weekly [ 7 of 12] Compiling Villefort.Daily ( src/Villefort/Daily.hs, dist/build/Villefort/Daily.o ) src/Villefort/Daily.hs:2:1: warning: [-Wunused-imports] The import of ‘Villefort.Time’ is redundant except perhaps to import instances from ‘Villefort.Time’ To import instances alone, use: import Villefort.Time() src/Villefort/Daily.hs:3:1: warning: [-Wunused-imports] The import of ‘Villefort.Database’ is redundant except perhaps to import instances from ‘Villefort.Database’ To import instances alone, use: import Villefort.Database() src/Villefort/Daily.hs:4:1: warning: [-Wunused-imports] The import of ‘Control.Concurrent’ is redundant except perhaps to import instances from ‘Control.Concurrent’ To import instances alone, use: import Control.Concurrent() src/Villefort/Daily.hs:5:1: warning: [-Wunused-imports] The import of ‘Control.Monad’ is redundant except perhaps to import instances from ‘Control.Monad’ To import instances alone, use: import Control.Monad() src/Villefort/Daily.hs:6:1: warning: [-Wunused-imports] The import of ‘System.IO.Strict’ is redundant except perhaps to import instances from ‘System.IO.Strict’ To import instances alone, use: import System.IO.Strict() src/Villefort/Daily.hs:7:1: warning: [-Wunused-imports] The import of ‘Paths_Villefort’ is redundant except perhaps to import instances from ‘Paths_Villefort’ To import instances alone, use: import Paths_Villefort() [ 8 of 12] Compiling Villefort.Stats ( src/Villefort/Stats.hs, dist/build/Villefort/Stats.o ) [ 9 of 12] Compiling Villefort.Todo ( src/Villefort/Todo.hs, dist/build/Villefort/Todo.o ) src/Villefort/Todo.hs:134:7: error: parse error on input ‘do’ cabal: Leaving directory '/tmp/cabal-tmp-29237/Villefort-0.1.1.9' cabal: Error: some packages failed to install: Villefort-0.1.1.9 failed during the building phase. The exception was: ExitFailure 1