Build #2 for posix-api-0.1.0.0

[all reports]

Package posix-api-0.1.0.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2019-01-02 19:46:14.173186906 UTC
Compiler ghc-8.6.3
OS linux
Arch x86_64
Dependencies base-4.12.0.0, primitive-0.6.4.0
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

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     primitive-0.6.4.0
Building     primitive-0.6.4.0
Completed    primitive-0.6.4.0
Starting     posix-api-0.1.0.0
Building     posix-api-0.1.0.0
Failed to install posix-api-0.1.0.0
Build log ( /home/builder/.cabal/logs/ghc-8.6.3/posix-api-0.1.0.0-275krMPZxPr8oUfOjYuh6e.log ):
cabal: Entering directory '/tmp/cabal-tmp-10892/posix-api-0.1.0.0'
Configuring posix-api-0.1.0.0...
Preprocessing library for posix-api-0.1.0.0..
Building library for posix-api-0.1.0.0..
[1 of 6] Compiling Posix.Directory  ( src/Posix/Directory.hs, dist/build/Posix/Directory.o )
[2 of 6] Compiling Posix.Socket.Types ( dist/build/Posix/Socket/Types.hs, dist/build/Posix/Socket/Types.o )

src/Posix/Socket/Types.hsc:170:15: error: parse error on input ‘{’
    |
170 | peek = Flags #{const MSG_PEEK}
    |               ^
cabal: Leaving directory '/tmp/cabal-tmp-10892/posix-api-0.1.0.0'
cabal: Error: some packages failed to install:
posix-api-0.1.0.0-275krMPZxPr8oUfOjYuh6e failed during the building phase. The
exception was:
ExitFailure 1

Test log

No test log was submitted for this report.