Resolving dependencies... Configuring Thrift-0.6.0.1... Building Thrift-0.6.0.1... Preprocessing library Thrift-0.6.0.1... [1 of 8] Compiling Thrift.Transport ( src/Thrift/Transport.hs, dist/build/Thrift/Transport.o ) [2 of 8] Compiling Thrift.Protocol ( src/Thrift/Protocol.hs, dist/build/Thrift/Protocol.o ) [3 of 8] Compiling Thrift.Protocol.Binary ( src/Thrift/Protocol/Binary.hs, dist/build/Thrift/Protocol/Binary.o ) [4 of 8] Compiling Thrift.Transport.Handle ( src/Thrift/Transport/Handle.hs, dist/build/Thrift/Transport/Handle.o ) [5 of 8] Compiling Thrift.Transport.Framed ( src/Thrift/Transport/Framed.hs, dist/build/Thrift/Transport/Framed.o ) [6 of 8] Compiling Thrift.Transport.HttpClient ( src/Thrift/Transport/HttpClient.hs, dist/build/Thrift/Transport/HttpClient.o ) [7 of 8] Compiling Thrift ( src/Thrift.hs, dist/build/Thrift.o ) [8 of 8] Compiling Thrift.Server ( src/Thrift/Server.hs, dist/build/Thrift/Server.o ) In-place registering Thrift-0.6.0.1... Running Haddock for Thrift-0.6.0.1... Running hscolour for Thrift-0.6.0.1... Preprocessing library Thrift-0.6.0.1... Preprocessing library Thrift-0.6.0.1... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: HTTP-4000.2.8, mtl-2.1.2, network-2.4.1.2, parsec-3.1.3, text-0.11.2.3, transformers-0.3.0.0 Haddock coverage: 0% ( 0 / 4) in 'Thrift.Transport' 0% ( 0 / 7) in 'Thrift.Protocol' 33% ( 1 / 3) in 'Thrift.Protocol.Binary' 67% ( 2 / 3) in 'Thrift.Transport.Handle' 75% ( 3 / 4) in 'Thrift.Transport.Framed' 75% ( 3 / 4) in 'Thrift.Transport.HttpClient' 25% ( 2 / 8) in 'Thrift' 67% ( 2 / 3) in 'Thrift.Server' Warning: Thrift.Transport.Handle: could not find link destinations for: Network.Socket.HostName Network.PortID Warning: Thrift.Transport.HttpClient: could not find link destinations for: Network.TCP.HandleStream Network.URI.URI Thrift.Transport.HttpClient.WriteBuffer Thrift.Transport.HttpClient.ReadBuffer Warning: Thrift.Server: could not find link destinations for: Network.Socket.Types.PortNumber Network.Socket.Types.Socket Network.PortID Documentation created: dist/doc/html/Thrift/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/Thrift-0.6.0.1 Registering Thrift-0.6.0.1... Installed Thrift-0.6.0.1 Configuring cassandra-thrift-0.8.5.1... Building cassandra-thrift-0.8.5.1... Preprocessing library cassandra-thrift-0.8.5.1... [1 of 5] Compiling Database.Cassandra.Thrift.Cassandra_Types ( Database/Cassandra/Thrift/Cassandra_Types.hs, dist/build/Database/Cassandra/Thrift/Cassandra_Types.o ) [2 of 5] Compiling Database.Cassandra.Thrift.Cassandra_Iface ( Database/Cassandra/Thrift/Cassandra_Iface.hs, dist/build/Database/Cassandra/Thrift/Cassandra_Iface.o ) [3 of 5] Compiling Database.Cassandra.Thrift.Cassandra_Consts ( Database/Cassandra/Thrift/Cassandra_Consts.hs, dist/build/Database/Cassandra/Thrift/Cassandra_Consts.o ) [4 of 5] Compiling Database.Cassandra.Thrift.Cassandra ( Database/Cassandra/Thrift/Cassandra.hs, dist/build/Database/Cassandra/Thrift/Cassandra.o ) [5 of 5] Compiling Database.Cassandra.Thrift.Cassandra_Client ( Database/Cassandra/Thrift/Cassandra_Client.hs, dist/build/Database/Cassandra/Thrift/Cassandra_Client.o ) In-place registering cassandra-thrift-0.8.5.1... Running Haddock for cassandra-thrift-0.8.5.1... Running hscolour for cassandra-thrift-0.8.5.1... Preprocessing library cassandra-thrift-0.8.5.1... Preprocessing library cassandra-thrift-0.8.5.1... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: HTTP-4000.2.8, mtl-2.1.2, network-2.4.1.2, parsec-3.1.3, text-0.11.2.3, transformers-0.3.0.0 Haddock coverage: 0% ( 0 /126) in 'Database.Cassandra.Thrift.Cassandra_Types' 0% ( 0 / 2) in 'Database.Cassandra.Thrift.Cassandra_Iface' 0% ( 0 / 2) in 'Database.Cassandra.Thrift.Cassandra_Consts' 0% ( 0 /282) in 'Database.Cassandra.Thrift.Cassandra' 0% ( 0 / 32) in 'Database.Cassandra.Thrift.Cassandra_Client' Documentation created: dist/doc/html/cassandra-thrift/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/cassandra-thrift-0.8.5.1 Registering cassandra-thrift-0.8.5.1... Installed cassandra-thrift-0.8.5.1 Downloading hscassandra-0.0.5... Configuring hscassandra-0.0.5... Building hscassandra-0.0.5... Preprocessing library hscassandra-0.0.5... [1 of 3] Compiling Database.Cassandra.Types ( src/Database/Cassandra/Types.hs, dist/build/Database/Cassandra/Types.o ) src/Database/Cassandra/Types.hs:29:10: Illegal instance declaration for `BS String' (All instance types must be of the form (T a1 ... an) where a1 ... an are *distinct type variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `BS String' Failed to install hscassandra-0.0.5 cabal: Error: some packages failed to install: hscassandra-0.0.5 failed during the building phase. The exception was: ExitFailure 1