Build #3 for currency-codes-1.0.0.1

[all reports]

Package currency-codes-1.0.0.1
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2017-08-28 16:04:07.809682667 UTC
Compiler ghc-8.0.2
OS linux
Arch x86_64
Dependencies aeson-1.2.1.0, base-4.9.1.0, bson-0.3.2.3, lens-4.15.4, random-1.1, safe-0.3.15, swagger2-2.1.4.1, text-1.2.2.2
Flags none

Build log

[view raw]

Resolving dependencies...
Configuring base-compat-0.9.3...
Configuring base-orphans-0.6...
Building base-compat-0.9.3...
Building base-orphans-0.6...
Installed base-orphans-0.6
Configuring byteable-0.1.1...
Building byteable-0.1.1...
Configuring cabal-doctest-1.0.2...
Installed base-compat-0.9.3
Building cabal-doctest-1.0.2...
Configuring data-binary-ieee754-0.4.4...
Installed byteable-0.1.1
Building data-binary-ieee754-0.4.4...
Configuring dlist-0.8.0.3...
Installed cabal-doctest-1.0.2
Configuring fail-4.9.0.0...
Installed data-binary-ieee754-0.4.4
Building dlist-0.8.0.3...
Building fail-4.9.0.0...
Configuring call-stack-0.1.0...
Installed fail-4.9.0.0
Building call-stack-0.1.0...
Configuring generics-sop-0.3.1.0...
Installed call-stack-0.1.0
Configuring foundation-0.0.13...
Installed dlist-0.8.0.3
Building generics-sop-0.3.1.0...
Building foundation-0.0.13...
Configuring mtl-2.2.1...
Installed generics-sop-0.3.1.0
Building mtl-2.2.1...
Configuring network-2.6.3.2...
Installed mtl-2.2.1
Building network-2.6.3.2...
Configuring integer-logarithms-1.0.2...
Installed network-2.6.3.2
Building integer-logarithms-1.0.2...
Configuring prelude-extras-0.4.0.3...
Installed integer-logarithms-1.0.2
Building prelude-extras-0.4.0.3...
Configuring primitive-0.6.2.0...
Installed foundation-0.0.13
Configuring parallel-3.2.1.1...
Installed prelude-extras-0.4.0.3
Building primitive-0.6.2.0...
Building parallel-3.2.1.1...
Configuring random-1.1...
Installed parallel-3.2.1.1
Building random-1.1...
Configuring safe-0.3.15...
Installed random-1.1
Building safe-0.3.15...
Configuring semigroups-0.18.3...
Installed primitive-0.6.2.0
Building semigroups-0.18.3...
Configuring reflection-2.1.2...
Installed semigroups-0.18.3
Building reflection-2.1.2...
Configuring stm-2.4.4.1...
Installed safe-0.3.15
Building stm-2.4.4.1...
Configuring th-abstraction-0.2.5.0...
Installed stm-2.4.4.1
Building th-abstraction-0.2.5.0...
Configuring time-locale-compat-0.1.1.3...
Installed reflection-2.1.2
Building time-locale-compat-0.1.1.3...
Configuring text-1.2.2.2...
Installed time-locale-compat-0.1.1.3
Building text-1.2.2.2...
Configuring transformers-compat-0.5.1.4...
Installed th-abstraction-0.2.5.0
Building transformers-compat-0.5.1.4...
Configuring void-0.7.2...
Installed transformers-compat-0.5.1.4
Building void-0.7.2...
Configuring utf8-string-1.0.1.1...
Installed void-0.7.2
Building utf8-string-1.0.1.1...
Installed utf8-string-1.0.1.1
Configuring memory-0.14.6...
Building memory-0.14.6...
Configuring StateVar-1.1.0.4...
Installed text-1.2.2.2
Building StateVar-1.1.0.4...
Configuring vector-0.12.0.1...
Installed memory-0.14.6
Building vector-0.12.0.1...
Configuring tagged-0.8.5...
Installed StateVar-1.1.0.4
Building tagged-0.8.5...
Configuring exceptions-0.8.3...
Installed tagged-0.8.5
Building exceptions-0.8.3...
Installed exceptions-0.8.3
Configuring hashable-1.2.6.1...
Building hashable-1.2.6.1...
Configuring contravariant-1.4...
Installed hashable-1.2.6.1
Building contravariant-1.4...
Configuring cryptonite-0.24...
Installed contravariant-1.4
Building cryptonite-0.24...
Configuring distributive-0.5.3...
Installed vector-0.12.0.1
Building distributive-0.5.3...
Warning: /tmp/pkgConf-distributive-0.513732263401631518149.3: Unrecognized
field dynamic-library-dirs on line 22
Installed distributive-0.5.3
Configuring case-insensitive-1.2.0.10...
Building case-insensitive-1.2.0.10...
Installed case-insensitive-1.2.0.10
Configuring unordered-containers-0.2.8.0...
Building unordered-containers-0.2.8.0...
Configuring scientific-0.3.5.1...
Installed unordered-containers-0.2.8.0
Building scientific-0.3.5.1...
Configuring uuid-types-1.0.3...
Installed scientific-0.3.5.1
Building uuid-types-1.0.3...
Installed uuid-types-1.0.3
Configuring comonad-5.0.2...
Building comonad-5.0.2...
Warning: /tmp/pkgConf-comonad-5.0350322227841148365.2: Unrecognized field
dynamic-library-dirs on line 29
Installed comonad-5.0.2
Configuring http-media-0.7.1.1...
Building http-media-0.7.1.1...
Installed http-media-0.7.1.1
Configuring attoparsec-0.13.2.0...
Building attoparsec-0.13.2.0...
Configuring bifunctors-5.4.2...
Installed cryptonite-0.24
Building bifunctors-5.4.2...
Installed attoparsec-0.13.2.0
Configuring cryptohash-0.11.9...
Building cryptohash-0.11.9...
Configuring aeson-1.2.1.0...
Installed bifunctors-5.4.2
Building aeson-1.2.1.0...
Installed cryptohash-0.11.9
Configuring profunctors-5.2.1...
Building profunctors-5.2.1...
Configuring semigroupoids-5.2.1...
Installed profunctors-5.2.1
Building semigroupoids-5.2.1...
Configuring bson-0.3.2.3...
Installed aeson-1.2.1.0
Building bson-0.3.2.3...
Warning: /tmp/pkgConf-semigroupoids-5.21395235128532670688.1: Unrecognized
field dynamic-library-dirs on line 60
Installed semigroupoids-5.2.1
Configuring free-4.12.4...
Building free-4.12.4...
Installed bson-0.3.2.3
Installed free-4.12.4
Configuring adjunctions-4.3...
Building adjunctions-4.3...
Installed adjunctions-4.3
Configuring kan-extensions-5.0.2...
Building kan-extensions-5.0.2...
Installed kan-extensions-5.0.2
Configuring lens-4.15.4...
Building lens-4.15.4...
Warning: /tmp/pkgConf-lens-4.157223085421820388464.4: Unrecognized field
dynamic-library-dirs on line 122
Installed lens-4.15.4
Configuring insert-ordered-containers-0.2.1.0...
Building insert-ordered-containers-0.2.1.0...
Installed insert-ordered-containers-0.2.1.0
Configuring swagger2-2.1.4.1...
Building swagger2-2.1.4.1...
Warning: /tmp/pkgConf-swagger2-2.1.41529195746392035568.1: Unrecognized field
dynamic-library-dirs on line 30
Installed swagger2-2.1.4.1
Configuring currency-codes-1.0.0.1...
Building currency-codes-1.0.0.1...
Failed to install currency-codes-1.0.0.1
Build log ( /home/builder/.cabal/logs/currency-codes-1.0.0.1.log ):
cabal: Entering directory '/tmp/cabal-tmp-30552/currency-codes-1.0.0.1'
Configuring currency-codes-1.0.0.1...
Building currency-codes-1.0.0.1...
Preprocessing library currency-codes-1.0.0.1...
[1 of 1] Compiling Data.Currency    ( src/Data/Currency.hs, dist/build/Data/Currency.o )

src/Data/Currency.hs:272:3: error:
    • Couldn't match type ‘Alpha’ with ‘Currency’
      Expected type: [Currency] -> Maybe Currency
        Actual type: [Alpha] -> Maybe Alpha
    • In the expression: Safe.headMay . filter (== α)
      In an equation for ‘fromAlpha’:
          fromAlpha α = Safe.headMay . filter (== α)
cabal: Leaving directory '/tmp/cabal-tmp-30552/currency-codes-1.0.0.1'
cabal: Error: some packages failed to install:
currency-codes-1.0.0.1 failed during the building phase. The exception was:
ExitFailure 1