Resolving dependencies... Configuring call-stack-0.1.0... Configuring mtl-2.2.1... Building mtl-2.2.1... Building call-stack-0.1.0... Installed call-stack-0.1.0 Configuring random-1.1... Building random-1.1... Configuring old-locale-1.0.0.7... Installed mtl-2.2.1 Building old-locale-1.0.0.7... Configuring HUnit-1.5.0.0... Installed random-1.1 Building HUnit-1.5.0.0... Configuring regex-base-0.93.2... Installed old-locale-1.0.0.7 Building regex-base-0.93.2... Installed HUnit-1.5.0.0 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.6... Configuring MazesOfMonad-1.0.6... Building MazesOfMonad-1.0.6... Failed to install MazesOfMonad-1.0.6 Build log ( /home/builder/.cabal/logs/MazesOfMonad-1.0.6.log ): cabal: Entering directory '/tmp/cabal-tmp-16438/MazesOfMonad-1.0.6' Configuring MazesOfMonad-1.0.6... Building MazesOfMonad-1.0.6... Preprocessing executable 'mazesofmonad' for MazesOfMonad-1.0.6... [ 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-16438/MazesOfMonad-1.0.6' cabal: Error: some packages failed to install: MazesOfMonad-1.0.6 failed during the building phase. The exception was: ExitFailure 1