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 hashable-1.2.7.0 Starting mtl-compat-0.2.2 Starting dependent-sum-0.5 Starting th-abstraction-0.3.1.0 Building th-abstraction-0.3.1.0 Building dependent-sum-0.5 Building hashable-1.2.7.0 Building mtl-compat-0.2.2 Completed mtl-compat-0.2.2 Starting transformers-compat-0.6.5 Building transformers-compat-0.6.5 Completed dependent-sum-0.5 Starting dependent-map-0.2.4.0 Building dependent-map-0.2.4.0 Completed hashable-1.2.7.0 Starting async-2.2.2 Building async-2.2.2 Completed transformers-compat-0.6.5 Completed th-abstraction-0.3.1.0 Starting deriving-compat-0.5.6 Building deriving-compat-0.5.6 Completed dependent-map-0.2.4.0 Completed async-2.2.2 Starting protolude-0.2.3 Building protolude-0.2.3 Completed deriving-compat-0.5.6 Completed protolude-0.2.3 Starting rock-0.1.0.0 Building rock-0.1.0.0 Failed to install rock-0.1.0.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/rock-0.1.0.0-3nyOzytaNi7DdKjdEnUPQk.log ): cabal: Entering directory '/tmp/cabal-tmp-5189/rock-0.1.0.0' Configuring rock-0.1.0.0... Preprocessing library for rock-0.1.0.0.. Building library for rock-0.1.0.0.. [1 of 5] Compiling Rock.HashTag ( src/Rock/HashTag.hs, dist/build/Rock/HashTag.o ) [2 of 5] Compiling Rock.Hashed ( src/Rock/Hashed.hs, dist/build/Rock/Hashed.o ) [3 of 5] Compiling Rock.Traces ( src/Rock/Traces.hs, dist/build/Rock/Traces.o ) [4 of 5] Compiling Rock.Core ( src/Rock/Core.hs, dist/build/Rock/Core.o ) src/Rock/Core.hs:130:54: error: Ambiguous occurrence ‘Ap’ It could refer to either ‘Strict.Ap’, imported from ‘Protolude’ at src/Rock/Core.hs:13:1-16 (and originally defined in ‘Data.Monoid’) or ‘Rock.Core.Ap’, defined at src/Rock/Core.hs:59:3 | 130 | Blocked b1 <*> Blocked b2 = Blocked $ BlockedTask (Ap b1 b2) pure | ^^ src/Rock/Core.hs:170:20: error: Ambiguous occurrence ‘Ap’ It could refer to either ‘Strict.Ap’, imported from ‘Protolude’ at src/Rock/Core.hs:13:1-16 (and originally defined in ‘Data.Monoid’) or ‘Rock.Core.Ap’, defined at src/Rock/Core.hs:59:3 | 170 | transFetchBlock f (Ap b1 b2) = transFetchBlockedTask f b1 <*> transFetchBlockedTask f b2 | ^^ src/Rock/Core.hs:224:26: error: Ambiguous occurrence ‘Ap’ It could refer to either ‘Strict.Ap’, imported from ‘Protolude’ at src/Rock/Core.hs:13:1-16 (and originally defined in ‘Data.Monoid’) or ‘Rock.Core.Ap’, defined at src/Rock/Core.hs:59:3 | 224 | runBlock strategy rules (Ap bf bx) = | ^^ cabal: Leaving directory '/tmp/cabal-tmp-5189/rock-0.1.0.0' cabal: Error: some packages failed to install: rock-0.1.0.0-3nyOzytaNi7DdKjdEnUPQk failed during the building phase. The exception was: ExitFailure 1