Build #6 for amqp-0.3.0

[all reports]

Package amqp-0.3.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2015-12-09 21:28:09.831752 UTC
Compiler ghc-7.10.2
OS linux
Arch x86_64
Dependencies network-2.6.2.1, containers-0.5.6.2, bytestring-0.10.6.0, binary-0.7.5.0, base-4.8.1.0
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring network-2.6.2.1...
configure: WARNING: unrecognized options: --with-compiler, --with-gcc
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for an ANSI C-conforming const... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking ws2tcpip.h usability... no
checking ws2tcpip.h presence... no
checking for ws2tcpip.h... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking linux/can.h usability... yes
checking linux/can.h presence... yes
checking for linux/can.h... yes
checking linux/tcp.h usability... yes
checking linux/tcp.h presence... yes
checking for linux/tcp.h... yes
checking net/if.h usability... yes
checking net/if.h presence... yes
checking for net/if.h... yes
checking for readlink... yes
checking for symlink... yes
checking for if_nametoindex... yes
checking for struct msghdr.msg_control... yes
checking for struct msghdr.msg_accrights... no
checking for struct sockaddr.sa_len... no
checking for in_addr_t in netinet/in.h... yes
checking for SO_PEERCRED and struct ucred in sys/socket.h... yes
checking for getpeereid in unistd.h... checking for getpeereid... no
checking for _head_libws2_32_a in -lws2_32... no
checking for getaddrinfo... yes
checking for gai_strerror... yes
checking whether AI_ADDRCONFIG is declared... yes
checking whether AI_ALL is declared... yes
checking whether AI_NUMERICSERV is declared... yes
checking whether AI_V4MAPPED is declared... yes
checking whether IPV6_V6ONLY is declared... yes
checking whether IPPROTO_IP is declared... yes
checking whether IPPROTO_TCP is declared... yes
checking whether IPPROTO_IPV6 is declared... yes
checking for sendfile in sys/sendfile.h... yes
checking for sendfile in sys/socket.h... no
checking for gethostent... yes
checking for accept4... yes
configure: creating ./config.status
config.status: creating network.buildinfo
config.status: creating include/HsNetworkConfig.h
configure: WARNING: unrecognized options: --with-compiler, --with-gcc
Building network-2.6.2.1...
Preprocessing library network-2.6.2.1...
[ 1 of 11] Compiling Network.Socket.ByteString.IOVec ( dist/build/Network/Socket/ByteString/IOVec.hs, dist/build/Network/Socket/ByteString/IOVec.o )
[ 2 of 11] Compiling Network.Socket.Types ( dist/build/Network/Socket/Types.hs, dist/build/Network/Socket/Types.o )

Network/Socket/Types.hsc:826:28: Warning:
    Pattern match(es) are overlapped
    In a case alternative: _ -> ...

Network/Socket/Types.hsc:869:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for ‘sizeOfSockAddrByFamily’:
        Patterns not matched:
            AF_UNSPEC
            AF_IMPLINK
            AF_PUP
            AF_CHAOS
            ...

Network/Socket/Types.hsc:951:3: Warning:
    Pattern match(es) are non-exhaustive
    In a case alternative:
        Patterns not matched: #x with #x `notElem` [1#, 2#, 10#, 29#]

Network/Socket/Types.hsc:1012:10: Warning:
    Orphan instance: instance Storable HostAddress6
    To avoid this
        move the instance declaration to the module of the class or of the type, or
        wrap the type with a newtype and declare the instance on the new type.
[ 3 of 11] Compiling Network.Socket.Internal ( dist/build/Network/Socket/Internal.hs, dist/build/Network/Socket/Internal.o )

Network/Socket/Internal.hsc:75:1: Warning:
    The import of ‘Foreign.C.String’ is redundant
      except perhaps to import instances from ‘Foreign.C.String’
    To import instances alone, use: import Foreign.C.String()

Network/Socket/Internal.hsc:77:1: Warning:
    The import of ‘Foreign.Ptr’ is redundant
      except perhaps to import instances from ‘Foreign.Ptr’
    To import instances alone, use: import Foreign.Ptr()
[ 4 of 11] Compiling Network.Socket   ( dist/build/Network/Socket.hs, dist/build/Network/Socket.o )

Network/Socket.hsc:177:1: Warning:
    The import of ‘delete’ from module ‘Data.List’ is redundant

Network/Socket.hsc:193:1: Warning:
    The qualified import of ‘Control.Exception’ is redundant
      except perhaps to import instances from ‘Control.Exception’
    To import instances alone, use: import Control.Exception()

Network/Socket.hsc:212:1: Warning:
    The import of ‘GHC.IO.FD’ is redundant
      except perhaps to import instances from ‘GHC.IO.FD’
    To import instances alone, use: import GHC.IO.FD()

Network/Socket.hsc:949:13: Warning:
    Defaulting the following constraint(s) to type ‘Integer’
      (Integral a0)
        arising from a use of ‘fromIntegral’
        at Network/Socket.hsc:949:13-24
      (Num a0)
        arising from the literal ‘12’ at Network/Socket.hsc:949:27-28
    In the expression: (fromIntegral (12))
    In an equation for ‘sz’: sz = (fromIntegral (12))
    In the expression:
      do { let fd = fdSocket sock;
           let sz = (fromIntegral (12));
           with sz $ \ ptr_cr -> alloca $ \ ptr_sz -> ... }

Network/Socket.hsc:1571:1: Warning:
    Defined but not used: ‘c_accept’

Network/Socket.hsc:276:3: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for ‘showsPrec’:
        Patterns not matched: _ (SockAddrCan _)

Network/Socket.hsc:953:6: Warning:
    A do-notation statement discarded a result of type ‘CInt’
    Suppress this warning by saying
      ‘_ <- ($)
              throwSocketErrorIfMinus1Retry "getPeerCred"
              c_getsockopt fd (1) (17) ptr_cr ptr_sz’
    or by using the flag -fno-warn-unused-do-bind

Network/Socket.hsc:989:3: Warning:
    A do-notation statement discarded a result of type ‘CInt’
    Suppress this warning by saying
      ‘_ <- ($)
              throwSocketErrorWaitWrite sock "sendFd"
              c_sendFd (fdSocket sock) outfd’
    or by using the flag -fno-warn-unused-do-bind
[ 5 of 11] Compiling Network.Socket.ByteString.MsgHdr ( dist/build/Network/Socket/ByteString/MsgHdr.hs, dist/build/Network/Socket/ByteString/MsgHdr.o )
[ 6 of 11] Compiling Network.Socket.ByteString.Internal ( Network/Socket/ByteString/Internal.hs, dist/build/Network/Socket/ByteString/Internal.o )
[ 7 of 11] Compiling Network.Socket.ByteString ( dist/build/Network/Socket/ByteString.hs, dist/build/Network/Socket/ByteString.o )

Network/Socket/ByteString.hsc:54:1: Warning:
    The import of ‘SockAddr, Socket’
    from module ‘Network.Socket’ is redundant
[ 8 of 11] Compiling Network.Socket.ByteString.Lazy.Posix ( Network/Socket/ByteString/Lazy/Posix.hs, dist/build/Network/Socket/ByteString/Lazy/Posix.o )
[ 9 of 11] Compiling Network.Socket.ByteString.Lazy ( Network/Socket/ByteString/Lazy.hs, dist/build/Network/Socket/ByteString/Lazy.o )
[10 of 11] Compiling Network.BSD      ( dist/build/Network/BSD.hs, dist/build/Network/BSD.o )

Network/BSD.hsc:166:43: Warning:
    In the use of data constructor ‘PortNum’
    (imported from Network.Socket, but defined in Network.Socket.Types):
    Deprecated: "Do not use the PortNum constructor. Use the Num instance. PortNum will be removed in the next release."

Network/BSD.hsc:190:19: Warning:
    In the use of data constructor ‘PortNum’
    (imported from Network.Socket, but defined in Network.Socket.Types):
    Deprecated: "Do not use the PortNum constructor. Use the Num instance. PortNum will be removed in the next release."
[11 of 11] Compiling Network          ( Network.hs, dist/build/Network.o )

Network.hs:292:16: Warning:
    Pattern match(es) are non-exhaustive
    In a case alternative: Patterns not matched: SockAddrCan _

Network.hs:401:5: Warning:
    Pattern match(es) are non-exhaustive
    In a case alternative: Patterns not matched: SockAddrCan _
In-place registering network-2.6.2.1...
Running Haddock for network-2.6.2.1...
Running hscolour for network-2.6.2.1...
Preprocessing library network-2.6.2.1...
Preprocessing library network-2.6.2.1...

Network/Socket/Types.hsc:1012:10: Warning:
    Orphan instance: instance Storable HostAddress6
    To avoid this
        move the instance declaration to the module of the class or of the type, or
        wrap the type with a newtype and declare the instance on the new type.

Network/Socket/Internal.hsc:75:1: Warning:
    The import of ‘Foreign.C.String’ is redundant
      except perhaps to import instances from ‘Foreign.C.String’
    To import instances alone, use: import Foreign.C.String()

Network/Socket/Internal.hsc:77:1: Warning:
    The import of ‘Foreign.Ptr’ is redundant
      except perhaps to import instances from ‘Foreign.Ptr’
    To import instances alone, use: import Foreign.Ptr()

Network/Socket.hsc:177:1: Warning:
    The import of ‘delete’ from module ‘Data.List’ is redundant

Network/Socket.hsc:193:1: Warning:
    The qualified import of ‘Control.Exception’ is redundant
      except perhaps to import instances from ‘Control.Exception’
    To import instances alone, use: import Control.Exception()

Network/Socket.hsc:212:1: Warning:
    The import of ‘GHC.IO.FD’ is redundant
      except perhaps to import instances from ‘GHC.IO.FD’
    To import instances alone, use: import GHC.IO.FD()

Network/Socket.hsc:949:13: Warning:
    Defaulting the following constraint(s) to type ‘Integer’
      (Integral a0)
        arising from a use of ‘fromIntegral’
        at Network/Socket.hsc:949:13-24
      (Num a0)
        arising from the literal ‘12’ at Network/Socket.hsc:949:27-28
    In the expression: (fromIntegral (12))
    In an equation for ‘sz’: sz = (fromIntegral (12))
    In the expression:
      do { let fd = fdSocket sock;
           let sz = (fromIntegral (12));
           with sz $ \ ptr_cr -> alloca $ \ ptr_sz -> ... }

Network/Socket.hsc:1571:1: Warning:
    Defined but not used: ‘c_accept’

Network/Socket/ByteString.hsc:54:1: Warning:
    The import of ‘SockAddr, Socket’
    from module ‘Network.Socket’ is redundant

Network/BSD.hsc:166:43: Warning:
    In the use of data constructor ‘PortNum’
    (imported from Network.Socket, but defined in Network.Socket.Types):
    Deprecated: "Do not use the PortNum constructor. Use the Num instance. PortNum will be removed in the next release."

Network/BSD.hsc:190:19: Warning:
    In the use of data constructor ‘PortNum’
    (imported from Network.Socket, but defined in Network.Socket.Types):
    Deprecated: "Do not use the PortNum constructor. Use the Num instance. PortNum will be removed in the next release."
Haddock coverage:
  50% (  1 /  2) in 'Network.Socket.ByteString.IOVec'
  Missing documentation for:
    IOVec (Network/Socket/ByteString/IOVec.hsc:15)
  68% ( 27 / 40) in 'Network.Socket.Types'
  Missing documentation for:
    Module header
    sockFd (Network/Socket/Types.hsc:90)
    sockFamily (Network/Socket/Types.hsc:93)
    sockType (Network/Socket/Types.hsc:96)
    sockProtocol (Network/Socket/Types.hsc:99)
    sockStatus (Network/Socket/Types.hsc:102)
    packSocketType (Network/Socket/Types.hsc:187)
    unpackSocketType (Network/Socket/Types.hsc:202)
    packFamily (Network/Socket/Types.hsc:306)
    unpackFamily (Network/Socket/Types.hsc:522)
    FlowInfo (Network/Socket/Types.hsc:801)
    ScopeID (Network/Socket/Types.hsc:802)
    ProtocolNumber (Network/Socket/Types.hsc:112)
  94% ( 30 / 32) in 'Network.Socket.Internal'
  Missing documentation for:
    FlowInfo (Network/Socket/Types.hsc:801)
    ScopeID (Network/Socket/Types.hsc:802)
  71% ( 68 / 96) in 'Network.Socket'
  Missing documentation for:
    FlowInfo (Network/Socket/Types.hsc:801)
    ScopeID (Network/Socket/Types.hsc:802)
    ShutdownCmd (Network/Socket.hsc:1045)
    ProtocolNumber (Network/Socket/Types.hsc:112)
    ServiceName (Network/Socket.hsc:221)
    AddrInfo (Network/Socket.hsc:1233)
    NameInfoFlag (Network/Socket.hsc:1286)
    getPeerName (Network/Socket.hsc:752)
    getSocketName (Network/Socket.hsc:760)
    socketPort (Network/Socket.hsc:729)
    recvLen (Network/Socket.hsc:670)
    inet_addr (Network/Socket.hsc:1128)
    inet_ntoa (Network/Socket.hsc:1136)
    isBound (Network/Socket.hsc:1095)
    isListening (Network/Socket.hsc:1100)
    isReadable (Network/Socket.hsc:1105)
    isWritable (Network/Socket.hsc:1110)
    sendFd (Network/Socket.hsc:987)
    recvFd (Network/Socket.hsc:995)
    aNY_PORT (Network/Socket.hsc:1009)
    sOMAXCONN (Network/Socket.hsc:1026)
    sOL_SOCKET (Network/Socket.hsc:1029)
    sCM_RIGHTS (Network/Socket.hsc:1033)
    fdSocket (Network/Socket.hsc:264)
    mkSocket (Network/Socket.hsc:252)
    packFamily (Network/Socket/Types.hsc:306)
    unpackFamily (Network/Socket/Types.hsc:522)
    packSocketType (Network/Socket/Types.hsc:187)
  50% (  1 /  2) in 'Network.Socket.ByteString.MsgHdr'
  Missing documentation for:
    MsgHdr (Network/Socket/ByteString/MsgHdr.hsc:22)
  25% (  1 /  4) in 'Network.Socket.ByteString.Internal'
  Missing documentation for:
    mkInvalidRecvArgError (Network/Socket/ByteString/Internal.hs:34)
    c_writev (Network/Socket/ByteString/Internal.hs:40)
    c_sendmsg (Network/Socket/ByteString/Internal.hs:43)
 100% ( 15 / 15) in 'Network.Socket.ByteString'
  25% (  1 /  4) in 'Network.Socket.ByteString.Lazy.Posix'
  Missing documentation for:
    Module header
    send (Network/Socket/ByteString/Lazy/Posix.hs:27)
    sendAll (Network/Socket/ByteString/Lazy/Posix.hs:50)
  71% (  5 /  7) in 'Network.Socket.ByteString.Lazy'
  Missing documentation for:
    send (Network/Socket/ByteString/Lazy/Posix.hs:27)
    sendAll (Network/Socket/ByteString/Lazy/Posix.hs:50)
  44% ( 23 / 52) in 'Network.BSD'
  Missing documentation for:
    HostEntry (Network/BSD.hsc:329)
    hostAddress (Network/BSD.hsc:366)
    getHostEntries (Network/BSD.hsc:419)
    setHostEntry (Network/BSD.hsc:409)
    getHostEntry (Network/BSD.hsc:401)
    endHostEntry (Network/BSD.hsc:414)
    ServiceEntry (Network/BSD.hsc:139)
    ServiceName (Network/Socket.hsc:221)
    getServiceEntries (Network/BSD.hsc:224)
    getServiceEntry (Network/BSD.hsc:206)
    setServiceEntry (Network/BSD.hsc:214)
    endServiceEntry (Network/BSD.hsc:219)
    ProtocolName (Network/BSD.hsc:123)
    ProtocolNumber (Network/Socket/Types.hsc:112)
    ProtocolEntry (Network/BSD.hsc:242)
    getProtocolByName (Network/BSD.hsc:275)
    getProtocolByNumber (Network/BSD.hsc:286)
    getProtocolNumber (Network/BSD.hsc:296)
    getProtocolEntries (Network/BSD.hsc:320)
    setProtocolEntry (Network/BSD.hsc:310)
    getProtocolEntry (Network/BSD.hsc:302)
    endProtocolEntry (Network/BSD.hsc:315)
    NetworkName (Network/BSD.hsc:434)
    NetworkAddr (Network/BSD.hsc:432)
    NetworkEntry (Network/BSD.hsc:436)
    getNetworkByName (Network/BSD.hsc:467)
    getNetworkByAddr (Network/BSD.hsc:477)
    getNetworkEntry (Network/BSD.hsc:486)
    ifNameToIndex (Network/BSD.hsc:521)
  89% ( 24 / 27) in 'Network'
  Missing documentation for:
    PortID (Network.hs:83)
    sendTo (Network.hs:333)
    recvFrom (Network.hs:342)
Warning: Network.Socket.ByteString: could not find link destinations for:
    IOVec
Documentation created: dist/doc/html/network/index.html,
dist/doc/html/network/network.txt
Creating package registration file:
/tmp/pkgConf-network-2.6.2278722862233665123.1
Installing library in
/home/builder/rebuild/build-cache/tmp-install/lib/x86_64-linux-ghc-7.10.2/network-2.6.2.1-F6mK9sCIw3M5SbZMt2lUQE
Registering network-2.6.2.1...
Installed network-2.6.2.1
Downloading amqp-0.3.0...
Configuring amqp-0.3.0...
Building amqp-0.3.0...
Preprocessing library amqp-0.3.0...
[1 of 5] Compiling Network.AMQP.Helpers ( Network/AMQP/Helpers.hs, dist/build/Network/AMQP/Helpers.o )
[2 of 5] Compiling Network.AMQP.Types ( Network/AMQP/Types.hs, dist/build/Network/AMQP/Types.o )

Network/AMQP/Types.hs:97:21:
    Illegal bang-pattern (use BangPatterns):
    ! fields
Failed to install amqp-0.3.0
cabal: Error: some packages failed to install:
amqp-0.3.0 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.