Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild Resolving dependencies... Starting cabal-doctest-1.0.8 Starting call-stack-0.2.0 Starting dual-0.1.1.1 Starting base-orphans-0.8.1 Building dual-0.1.1.1 Building call-stack-0.2.0 Building cabal-doctest-1.0.8 Building base-orphans-0.8.1 Completed call-stack-0.2.0 Starting primitive-0.7.0.0 Completed base-orphans-0.8.1 Starting tagged-0.8.6 Completed dual-0.1.1.1 Starting util-0.1.17.0 Building primitive-0.7.0.0 Building tagged-0.8.6 Building util-0.1.17.0 Completed cabal-doctest-1.0.8 Completed util-0.1.17.0 Starting foldable1-0.1.0.0 Completed tagged-0.8.6 Starting hs-functors-0.1.6.0 Building foldable1-0.1.0.0 Building hs-functors-0.1.6.0 Completed foldable1-0.1.0.0 Completed hs-functors-0.1.6.0 Completed primitive-0.7.0.0 Starting vector-0.12.0.3 Building vector-0.12.0.3 Completed vector-0.12.0.3 Starting lens-core-0.1.0.2 Building lens-core-0.1.0.2 Failed to install lens-core-0.1.0.2 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/lens-core-0.1.0.2-qSqlRlD8kf4pmXMmlj1Sf.log ): cabal: Entering directory '/tmp/cabal-tmp-23500/lens-core-0.1.0.2' [1 of 1] Compiling Main ( /tmp/cabal-tmp-23500/lens-core-0.1.0.2/dist/setup/setup.hs, /tmp/cabal-tmp-23500/lens-core-0.1.0.2/dist/setup/Main.o ) Linking /tmp/cabal-tmp-23500/lens-core-0.1.0.2/dist/setup/setup ... Configuring lens-core-0.1.0.2... Preprocessing library for lens-core-0.1.0.2.. Building library for lens-core-0.1.0.2.. [ 1 of 56] Compiling Control.Lens.Internal.CTypes ( src/Control/Lens/Internal/CTypes.hs, dist/build/Control/Lens/Internal/CTypes.o ) [ 2 of 56] Compiling Control.Lens.Internal.Coerce ( src/Control/Lens/Internal/Coerce.hs, dist/build/Control/Lens/Internal/Coerce.o ) [ 3 of 56] Compiling Control.Lens.Internal.Instances ( src/Control/Lens/Internal/Instances.hs, dist/build/Control/Lens/Internal/Instances.o ) [ 4 of 56] Compiling Control.Lens.Internal.Iso ( src/Control/Lens/Internal/Iso.hs, dist/build/Control/Lens/Internal/Iso.o ) [ 5 of 56] Compiling Control.Lens.Internal.Level ( src/Control/Lens/Internal/Level.hs, dist/build/Control/Lens/Internal/Level.o ) [ 6 of 56] Compiling Control.Lens.Internal.List ( src/Control/Lens/Internal/List.hs, dist/build/Control/Lens/Internal/List.o ) [ 7 of 56] Compiling Control.Lens.Internal.Prelude ( src/Control/Lens/Internal/Prelude.hs, dist/build/Control/Lens/Internal/Prelude.o ) [ 8 of 56] Compiling Control.Lens.Internal.Prism ( src/Control/Lens/Internal/Prism.hs, dist/build/Control/Lens/Internal/Prism.o ) [ 9 of 56] Compiling Control.Lens.Internal.Review ( src/Control/Lens/Internal/Review.hs, dist/build/Control/Lens/Internal/Review.o ) [10 of 56] Compiling Control.Lens.Internal.Setter ( src/Control/Lens/Internal/Setter.hs, dist/build/Control/Lens/Internal/Setter.o ) src/Control/Lens/Internal/Setter.hs:29:1: error: Could not find module ‘Data.Profunctor.Unsafe’ Use -v to see a list of the files searched for. | 29 | import Data.Profunctor.Unsafe | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-23500/lens-core-0.1.0.2' cabal: Error: some packages failed to install: lens-core-0.1.0.2-qSqlRlD8kf4pmXMmlj1Sf failed during the building phase. The exception was: ExitFailure 1