Resolving dependencies... Downloading Monocle-0.0.1... Configuring Monocle-0.0.1... Building Monocle-0.0.1... Failed to install Monocle-0.0.1 Build log ( /home/builder/.cabal/logs/Monocle-0.0.1.log ): cabal: Entering directory '/tmp/cabal-tmp-17724/Monocle-0.0.1' Configuring Monocle-0.0.1... Building Monocle-0.0.1... Preprocessing library Monocle-0.0.1... [1 of 5] Compiling Monocle.Utils ( Monocle/Utils.hs, dist/build/Monocle/Utils.o ) [2 of 5] Compiling Monocle.Core ( Monocle/Core.hs, dist/build/Monocle/Core.o ) Monocle/Core.hs:4:1: error: Failed to load interface for ‘Control.Monad.State’ Perhaps you meant Control.Monad.Fail (from base-4.9.0.0) Control.Monad.ST (from base-4.9.0.0) Control.Monad.ST.Safe (from base-4.9.0.0) Use -v to see a list of the files searched for. Monocle/Core.hs:5:1: error: Failed to load interface for ‘Data.Map’ It is a member of the hidden package ‘containers-0.5.7.1’. Perhaps you need to add ‘containers’ to the build-depends in your .cabal file. Use -v to see a list of the files searched for. cabal: Leaving directory '/tmp/cabal-tmp-17724/Monocle-0.0.1' cabal: Error: some packages failed to install: Monocle-0.0.1 failed during the building phase. The exception was: ExitFailure 1