Resolving dependencies... Configuring call-stack-0.1.0... Configuring mtl-2.2.1... Building call-stack-0.1.0... Building mtl-2.2.1... Installed call-stack-0.1.0 Configuring old-locale-1.0.0.7... Building old-locale-1.0.0.7... Configuring random-1.1... Installed old-locale-1.0.0.7 Building random-1.1... Configuring HUnit-1.5.0.0... Installed mtl-2.2.1 Building HUnit-1.5.0.0... Configuring regex-base-0.93.2... Installed random-1.1 Installed HUnit-1.5.0.0 Building regex-base-0.93.2... Installed regex-base-0.93.2 Configuring regex-posix-0.95.2... Building regex-posix-0.95.2... Installed regex-posix-0.95.2 Downloading MazesOfMonad-1.0.7... Configuring MazesOfMonad-1.0.7... Building MazesOfMonad-1.0.7... Failed to install MazesOfMonad-1.0.7 Build log ( /home/builder/.cabal/logs/MazesOfMonad-1.0.7.log ): cabal: Entering directory '/tmp/cabal-tmp-1619/MazesOfMonad-1.0.7' Configuring MazesOfMonad-1.0.7... Building MazesOfMonad-1.0.7... Preprocessing executable 'mazesofmonad' for MazesOfMonad-1.0.7... [ 1 of 37] Compiling MoresmauJP.Util.Random ( src/MoresmauJP/Util/Random.hs, dist/build/mazesofmonad/mazesofmonad-tmp/MoresmauJP/Util/Random.o ) src/MoresmauJP/Util/Random.hs:14:24: error: • No instance for (Applicative (RandT m)) arising from the 'deriving' clause of a data type declaration Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself • When deriving the instance for (Monad (RandT m)) src/MoresmauJP/Util/Random.hs:45:24: error: • No instance for (Applicative Rand) arising from the 'deriving' clause of a data type declaration Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself • When deriving the instance for (Monad Rand) cabal: Leaving directory '/tmp/cabal-tmp-1619/MazesOfMonad-1.0.7' cabal: Error: some packages failed to install: MazesOfMonad-1.0.7 failed during the building phase. The exception was: ExitFailure 1