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 integer-logarithms-1.0.3 Starting basement-0.0.10 Starting base-compat-0.10.5 Building integer-logarithms-1.0.3 Building hashable-1.2.7.0 Building basement-0.0.10 Building base-compat-0.10.5 Completed integer-logarithms-1.0.3 Starting mtl-compat-0.2.2 Building mtl-compat-0.2.2 Completed mtl-compat-0.2.2 Starting numtype-dk-0.5.0.2 Building numtype-dk-0.5.0.2 Completed hashable-1.2.7.0 Starting primitive-0.7.0.0 Building primitive-0.7.0.0 Completed numtype-dk-0.5.0.2 Starting random-1.1 Building random-1.1 Completed base-compat-0.10.5 Starting safe-0.3.17 Building safe-0.3.17 Completed random-1.1 Starting transformers-compat-0.6.5 Building transformers-compat-0.6.5 Completed safe-0.3.17 Starting unordered-containers-0.2.10.0 Building unordered-containers-0.2.10.0 Completed transformers-compat-0.6.5 Starting async-2.2.2 Building async-2.2.2 Completed async-2.2.2 Starting exact-pi-0.5.0.1 Building exact-pi-0.5.0.1 Completed primitive-0.7.0.0 Starting wl-pprint-text-1.2.0.0 Building wl-pprint-text-1.2.0.0 Completed exact-pi-0.5.0.1 Starting splitmix-0.0.2 Building splitmix-0.0.2 Completed wl-pprint-text-1.2.0.0 Starting exceptions-0.10.2 Completed unordered-containers-0.2.10.0 Starting protolude-0.2.3 Completed splitmix-0.0.2 Starting vector-0.12.0.3 Building exceptions-0.10.2 Building protolude-0.2.3 Building vector-0.12.0.3 Completed exceptions-0.10.2 Starting MonadRandom-0.5.1.1 Building MonadRandom-0.5.1.1 Completed MonadRandom-0.5.1.1 Starting semirings-0.4.2 Building semirings-0.4.2 Completed protolude-0.2.3 Starting QuickCheck-2.13.2 Building QuickCheck-2.13.2 Completed semirings-0.4.2 Starting errors-2.3.0 Building errors-2.3.0 Completed basement-0.0.10 Starting random-shuffle-0.0.4 Building random-shuffle-0.0.4 Completed random-shuffle-0.0.4 Starting galois-field-0.1.0 Completed errors-2.3.0 Starting memory-0.14.18 Building galois-field-0.1.0 Building memory-0.14.18 Completed galois-field-0.1.0 Completed memory-0.14.18 Starting cryptonite-0.26 Completed QuickCheck-2.13.2 Completed vector-0.12.0.3 Starting arithmoi-0.9.0.0 Building cryptonite-0.26 Building arithmoi-0.9.0.0 Completed arithmoi-0.9.0.0 Completed cryptonite-0.26 Starting pairing-0.3.1 Building pairing-0.3.1 Completed pairing-0.3.1 Starting bulletproofs-1.0.0 Building bulletproofs-1.0.0 Failed to install bulletproofs-1.0.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/bulletproofs-1.0.0-79SrBkrQr6d39rDkgcDgw7.log ): cabal: Entering directory '/tmp/cabal-tmp-4146/bulletproofs-1.0.0' Configuring bulletproofs-1.0.0... Preprocessing library for bulletproofs-1.0.0.. Building library for bulletproofs-1.0.0.. [ 1 of 19] Compiling Bulletproofs.Curve ( Bulletproofs/Curve.hs, dist/build/Bulletproofs/Curve.o ) Bulletproofs/Curve.hs:107:10: warning: [-Wdeprecations] In the use of ‘sqrtModP’ (imported from Math.NumberTheory.Moduli.Sqrt, but defined in arithmoi-0.9.0.0:Math.NumberTheory.Moduli.SqrtOld): Deprecated: "Use 'Math.NumberTheory.Moduli.Sqrt.sqrtsModPrime' instead" | 107 | yM = sqrtModP (x ^ 3 + 7) _p | ^^^^^^^^ [ 2 of 19] Compiling Bulletproofs.Fq ( Bulletproofs/Fq.hs, dist/build/Bulletproofs/Fq.o ) Bulletproofs/Fq.hs:25:1: error: Could not load module ‘Pairing.Modular’ it is a hidden module in the package ‘pairing-0.3.1’ Use -v to see a list of the files searched for. | 25 | import Pairing.Modular | ^^^^^^^^^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-4146/bulletproofs-1.0.0' cabal: Error: some packages failed to install: bulletproofs-1.0.0-79SrBkrQr6d39rDkgcDgw7 failed during the building phase. The exception was: ExitFailure 1