Resolving dependencies... Warning: The following packages are likely to be broken by the reinstalls: Cabal-3.2.0.0 Continuing even though the plan contains dangerous reinstalls. Starting monad-loops-0.4.3 Starting splitmix-0.1.0.3 Starting text-1.2.5.0 Building monad-loops-0.4.3 Building splitmix-0.1.0.3 Building text-1.2.5.0 Completed monad-loops-0.4.3 Completed splitmix-0.1.0.3 Starting random-1.2.1 Building random-1.2.1 Completed random-1.2.1 Starting QuickCheck-2.14.2 Building QuickCheck-2.14.2 Completed text-1.2.5.0 Starting hashable-1.3.4.1 Starting parsec-3.1.14.0 Building hashable-1.3.4.1 Building parsec-3.1.14.0 Completed hashable-1.3.4.1 Starting unordered-containers-0.2.14.0 Building unordered-containers-0.2.14.0 Completed parsec-3.1.14.0 Completed QuickCheck-2.14.2 Completed unordered-containers-0.2.14.0 Starting rest-rewrite-0.1.1 Building rest-rewrite-0.1.1 Failed to install rest-rewrite-0.1.1 Build log ( /home/builder/.cabal/logs/ghc-8.10.2/rest-rewrite-0.1.1-3vNDMdKOu14558W9wwrbUX.log ): cabal: Entering directory '/tmp/cabal-tmp-23870/rest-rewrite-0.1.1' Configuring rest-rewrite-0.1.1... Preprocessing executable 'rest' for rest-rewrite-0.1.1.. Building executable 'rest' for rest-rewrite-0.1.1.. [ 1 of 42] Compiling Language.REST.AbstractOC ( src/Language/REST/AbstractOC.hs, dist/build/rest/rest-tmp/Language/REST/AbstractOC.o ) [ 2 of 42] Compiling Language.REST.Dot ( src/Language/REST/Dot.hs, dist/build/rest/rest-tmp/Language/REST/Dot.o ) [ 3 of 42] Compiling Language.REST.ExploredTerms ( src/Language/REST/ExploredTerms.hs, dist/build/rest/rest-tmp/Language/REST/ExploredTerms.o ) [ 4 of 42] Compiling Language.REST.MultiSet ( src/Language/REST/MultiSet.hs, dist/build/rest/rest-tmp/Language/REST/MultiSet.o ) [ 5 of 42] Compiling Language.REST.RewriteRule ( src/Language/REST/RewriteRule.hs, dist/build/rest/rest-tmp/Language/REST/RewriteRule.o ) [ 6 of 42] Compiling Language.REST.SMT ( src/Language/REST/SMT.hs, dist/build/rest/rest-tmp/Language/REST/SMT.o ) [ 7 of 42] Compiling Language.REST.Op ( src/Language/REST/Op.hs, dist/build/rest/rest-tmp/Language/REST/Op.o ) [ 8 of 42] Compiling Language.REST.RuntimeTerm ( src/Language/REST/RuntimeTerm.hs, dist/build/rest/rest-tmp/Language/REST/RuntimeTerm.o ) [ 9 of 42] Compiling Language.REST.MetaTerm ( src/Language/REST/MetaTerm.hs, dist/build/rest/rest-tmp/Language/REST/MetaTerm.o ) [10 of 42] Compiling Language.REST.Rewrite ( src/Language/REST/Rewrite.hs, dist/build/rest/rest-tmp/Language/REST/Rewrite.o ) [11 of 42] Compiling Language.REST.Types ( src/Language/REST/Types.hs, dist/build/rest/rest-tmp/Language/REST/Types.o ) src/Language/REST/Types.hs:72:10: error: Duplicate instance declarations: instance Hashable a => Hashable (OS.Set a) -- Defined at src/Language/REST/Types.hs:72:10 instance Hashable v => Hashable (OS.Set v) -- Defined in hashable-1.3.4.1:Data.Hashable.Class | 72 | instance Hashable a => Hashable (OS.Set a) where | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/REST/Types.hs:75:10: error: Duplicate instance declarations: instance (Hashable a, Hashable b) => Hashable (M.Map a b) -- Defined at src/Language/REST/Types.hs:75:10 instance (Hashable k, Hashable v) => Hashable (M.Map k v) -- Defined in hashable-1.3.4.1:Data.Hashable.Class | 75 | instance (Hashable a, Hashable b) => Hashable (M.Map a b) where | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-23870/rest-rewrite-0.1.1' cabal: Error: some packages failed to install: rest-rewrite-0.1.1-3vNDMdKOu14558W9wwrbUX failed during the building phase. The exception was: ExitFailure 1