Resolving dependencies... Starting indexed-traversable-0.1.2 Starting logict-0.7.0.3 Starting base-orphans-0.8.6 Starting colour-2.3.6 Building logict-0.7.0.3 Building indexed-traversable-0.1.2 Building base-orphans-0.8.6 Building colour-2.3.6 Completed logict-0.7.0.3 Starting microlens-0.4.12.0 Building microlens-0.4.12.0 Completed indexed-traversable-0.1.2 Starting prettyprinter-1.7.1 Building prettyprinter-1.7.1 Completed base-orphans-0.8.6 Starting tagged-0.8.6.1 Completed microlens-0.4.12.0 Starting transformers-compat-0.7.1 Building tagged-0.8.6.1 Building transformers-compat-0.7.1 Completed colour-2.3.6 Starting hashable-1.4.0.2 Building hashable-1.4.0.2 Completed tagged-0.8.6.1 Starting ansi-terminal-0.11.1 Building ansi-terminal-0.11.1 Completed transformers-compat-0.7.1 Starting distributive-0.6.2.1 Building distributive-0.6.2.1 Completed prettyprinter-1.7.1 Starting microlens-mtl-0.2.0.1 Completed hashable-1.4.0.2 Building microlens-mtl-0.2.0.1 Completed distributive-0.6.2.1 Starting comonad-5.0.8 Completed ansi-terminal-0.11.1 Starting ansi-wl-pprint-0.6.9 Starting prettyprinter-ansi-terminal-1.1.3 Building comonad-5.0.8 Building prettyprinter-ansi-terminal-1.1.3 Building ansi-wl-pprint-0.6.9 Completed microlens-mtl-0.2.0.1 Completed prettyprinter-ansi-terminal-1.1.3 Completed ansi-wl-pprint-0.6.9 Starting optparse-applicative-0.17.0.0 Building optparse-applicative-0.17.0.0 Completed comonad-5.0.8 Completed optparse-applicative-0.17.0.0 Starting spectacle-1.0.0 Building spectacle-1.0.0 Failed to install spectacle-1.0.0 Build log ( /home/builder/.cabal/logs/ghc-8.10.2/spectacle-1.0.0-5gNCU6yhz1v9XjbDrXmJvP.log ): cabal: Entering directory '/tmp/cabal-tmp-10520/spectacle-1.0.0' Configuring spectacle-1.0.0... Preprocessing library for spectacle-1.0.0.. Building library for spectacle-1.0.0.. [ 1 of 71] Compiling Control.Applicative.Day ( src/Control/Applicative/Day.hs, dist/build/Control/Applicative/Day.o, dist/build/Control/Applicative/Day.dyn_o ) [ 2 of 71] Compiling Control.Applicative.Phases ( src/Control/Applicative/Phases.hs, dist/build/Control/Applicative/Phases.o, dist/build/Control/Applicative/Phases.dyn_o ) [ 3 of 71] Compiling Control.Applicative.Queue ( src/Control/Applicative/Queue.hs, dist/build/Control/Applicative/Queue.o, dist/build/Control/Applicative/Queue.dyn_o ) [ 4 of 71] Compiling Control.Comonad.Tape ( src/Control/Comonad/Tape.hs, dist/build/Control/Comonad/Tape.o, dist/build/Control/Comonad/Tape.dyn_o ) [ 5 of 71] Compiling Control.Hyper ( src/Control/Hyper.hs, dist/build/Control/Hyper.o, dist/build/Control/Hyper.dyn_o ) [ 6 of 71] Compiling Control.Mealy ( src/Control/Mealy.hs, dist/build/Control/Mealy.o, dist/build/Control/Mealy.dyn_o ) [ 7 of 71] Compiling Control.Monad.Ref ( src/Control/Monad/Ref.hs, dist/build/Control/Monad/Ref.o, dist/build/Control/Monad/Ref.dyn_o ) [ 8 of 71] Compiling Control.Natural ( src/Control/Natural.hs, dist/build/Control/Natural.o, dist/build/Control/Natural.dyn_o ) [ 9 of 71] Compiling Data.Ascript ( src/Data/Ascript.hs, dist/build/Data/Ascript.o, dist/build/Data/Ascript.dyn_o ) [10 of 71] Compiling Data.Functor.Loom ( src/Data/Functor/Loom.hs, dist/build/Data/Functor/Loom.o, dist/build/Data/Functor/Loom.dyn_o ) [11 of 71] Compiling Data.Functor.Tree ( src/Data/Functor/Tree.hs, dist/build/Data/Functor/Tree.o, dist/build/Data/Functor/Tree.dyn_o ) [12 of 71] Compiling Data.Name ( src/Data/Name.hs, dist/build/Data/Name.o, dist/build/Data/Name.dyn_o ) [13 of 71] Compiling Data.Node ( src/Data/Node.hs, dist/build/Data/Node.o, dist/build/Data/Node.dyn_o ) [14 of 71] Compiling Data.Bag ( src/Data/Bag.hs, dist/build/Data/Bag.o, dist/build/Data/Bag.dyn_o ) [15 of 71] Compiling Control.Monad.Levels.Internal ( src/Control/Monad/Levels/Internal.hs, dist/build/Control/Monad/Levels/Internal.o, dist/build/Control/Monad/Levels/Internal.dyn_o ) [16 of 71] Compiling Control.Monad.Levels ( src/Control/Monad/Levels.hs, dist/build/Control/Monad/Levels.o, dist/build/Control/Monad/Levels.dyn_o ) [17 of 71] Compiling Data.Type.List ( src/Data/Type/List.hs, dist/build/Data/Type/List.o, dist/build/Data/Type/List.dyn_o ) [18 of 71] Compiling Data.Type.Rec ( src/Data/Type/Rec.hs, dist/build/Data/Type/Rec.o, dist/build/Data/Type/Rec.dyn_o ) src/Data/Type/Rec.hs:133:10: error: " Could not deduce (HasDict Eq ctx) arising from the superclasses of an instance declaration from the context: HasDict Hashable ctx bound by the instance declaration at src/Data/Type/Rec.hs:133:10-51 " In the instance declaration for Hashable (Rec ctx) | 133 | instance HasDict Hashable ctx => Hashable (Rec ctx) where | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ : warning: [-Wunused-packages] The following packages were specified via -package or -package-id flags, but were not needed for compilation: - optparse-applicative-0.17.0.0 - microlens-mtl-0.2.0.1 - microlens-0.4.12.0 cabal: Leaving directory '/tmp/cabal-tmp-10520/spectacle-1.0.0' cabal: Error: some packages failed to install: spectacle-1.0.0-5gNCU6yhz1v9XjbDrXmJvP failed during the building phase. The exception was: ExitFailure 1