Build #1 for packed-0.1.0

[all reports]

Package packed-0.1.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2018-03-07 18:16:01.937841322 UTC
Compiler ghc-8.2.2
OS linux
Arch x86_64
Dependencies base-4.10.1.0, ghc-prim-0.5.1.1, primitive-0.6.2.0
Flags none

Build log

[view raw]

Resolving dependencies...
Downloading packed-0.1.0...
Configuring packed-0.1.0...
Building packed-0.1.0...
Failed to install packed-0.1.0
Build log ( /home/builder/.cabal/logs/ghc-8.2.2/packed-0.1.0-I2Rj9hvxP3P74Baj6TNPgE.log ):
cabal: Entering directory '/tmp/cabal-tmp-11999/packed-0.1.0'
Configuring packed-0.1.0...
Preprocessing library for packed-0.1.0..
Building library for packed-0.1.0..
[1 of 6] Compiling Packed.Bytes.Mutable ( src/Packed/Bytes/Mutable.hs, dist/build/Packed/Bytes/Mutable.o )
[2 of 6] Compiling Packed.Bytes.Window ( src/Packed/Bytes/Window.hs, dist/build/Packed/Bytes/Window.o )
[3 of 6] Compiling Packed.Bytes.Small ( src/Packed/Bytes/Small.hs, dist/build/Packed/Bytes/Small.o )
[4 of 6] Compiling Packed.Bytes     ( src/Packed/Bytes.hs, dist/build/Packed/Bytes.o )
[5 of 6] Compiling Packed.Text      ( src/Packed/Text.hs, dist/build/Packed/Text.o )

src/Packed/Text.hs:49:1: warning: [-Wunused-imports]
    The qualified import of ‘Packed.Bytes’ is redundant
      except perhaps to import instances from ‘Packed.Bytes’
    To import instances alone, use: import Packed.Bytes()
   |
49 | import qualified Packed.Bytes as B
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Packed/Text.hs:542:1: warning: [-Wunused-top-binds]
    Defined but not used: type constructor or class ‘Choice’
    |
542 | data Choice a b c = West a | Center b | East c
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Packed/Text.hs:542:21: warning: [-Wunused-top-binds]
    Defined but not used: data constructor ‘West’
    |
542 | data Choice a b c = West a | Center b | East c
    |                     ^^^^^^

src/Packed/Text.hs:542:30: warning: [-Wunused-top-binds]
    Defined but not used: data constructor ‘Center’
    |
542 | data Choice a b c = West a | Center b | East c
    |                              ^^^^^^^^

src/Packed/Text.hs:542:41: warning: [-Wunused-top-binds]
    Defined but not used: data constructor ‘East’
    |
542 | data Choice a b c = West a | Center b | East c
    |                                         ^^^^^^

src/Packed/Text.hs:591:1: warning: [-Wunused-top-binds]
    Defined but not used: ‘convertTuple’
    |
591 | convertTuple (# (# #) | #) = Left ()
    | ^^^^^^^^^^^^

src/Packed/Text.hs:595:1: warning: [-Wunused-top-binds]
    Defined but not used: ‘convertWordTuple’
    |
595 | convertWordTuple (# a,b,c #) = ( W# a, W# b, W# c )
    | ^^^^^^^^^^^^^^^^
[6 of 6] Compiling Packed.Text.Small ( src/Packed/Text/Small.hs, dist/build/Packed/Text/Small.o )

src/Packed/Text/Small.hs:43:32: error:
    • No instance for (Eq ByteArray) arising from a use of ‘==’
    • In the expression: a == b
      In an equation for ‘==’: SmallText a == SmallText b = a == b
      In the instance declaration for ‘Eq SmallText’
   |
43 |   SmallText a == SmallText b = a == b
   |                                ^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-11999/packed-0.1.0'
cabal: Error: some packages failed to install:
packed-0.1.0-I2Rj9hvxP3P74Baj6TNPgE failed during the building phase. The
exception was:
ExitFailure 1