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 base16-bytestring-0.1.1.6 Starting base-compat-0.10.5 Building base16-bytestring-0.1.1.6 Building base-compat-0.10.5 Completed base16-bytestring-0.1.1.6 Starting dlist-0.8.0.5 Building dlist-0.8.0.5 Completed dlist-0.8.0.5 Starting hashable-1.2.7.0 Building hashable-1.2.7.0 Completed base-compat-0.10.5 Starting integer-logarithms-1.0.2.2 Building integer-logarithms-1.0.2.2 Completed integer-logarithms-1.0.2.2 Starting primitive-0.6.4.0 Building primitive-0.6.4.0 Completed hashable-1.2.7.0 Starting random-1.1 Building random-1.1 Completed random-1.1 Starting syb-0.7 Building syb-0.7 Completed syb-0.7 Starting tagged-0.8.6 Building tagged-0.8.6 Completed tagged-0.8.6 Starting th-abstraction-0.2.8.0 Completed primitive-0.6.4.0 Starting time-locale-compat-0.1.1.5 Building th-abstraction-0.2.8.0 Building time-locale-compat-0.1.1.5 Completed time-locale-compat-0.1.1.5 Starting utf8-string-1.0.1.1 Building utf8-string-1.0.1.1 Completed th-abstraction-0.2.8.0 Starting unordered-containers-0.2.9.0 Building unordered-containers-0.2.9.0 Completed utf8-string-1.0.1.1 Starting uuid-types-1.0.3 Building uuid-types-1.0.3 Completed uuid-types-1.0.3 Starting vector-0.12.0.1 Building vector-0.12.0.1 Completed unordered-containers-0.2.9.0 Starting scientific-0.3.6.2 Building scientific-0.3.6.2 Completed scientific-0.3.6.2 Starting attoparsec-0.13.2.2 Building attoparsec-0.13.2.2 Completed attoparsec-0.13.2.2 Completed vector-0.12.0.1 Starting aeson-1.4.2.0 Building aeson-1.4.2.0 Completed aeson-1.4.2.0 Starting protocol-buffers-2.4.12 Building protocol-buffers-2.4.12 Completed protocol-buffers-2.4.12 Starting protocol-buffers-descriptor-2.4.12 Building protocol-buffers-descriptor-2.4.12 Completed protocol-buffers-descriptor-2.4.12 Starting gtfs-realtime-0.1.0.0 Building gtfs-realtime-0.1.0.0 Failed to install gtfs-realtime-0.1.0.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.1/gtfs-realtime-0.1.0.0-HYWprWjYBgz8M7wfNWPbeb.log ): cabal: Entering directory '/tmp/cabal-tmp-29043/gtfs-realtime-0.1.0.0' Configuring gtfs-realtime-0.1.0.0... Preprocessing library for gtfs-realtime-0.1.0.0.. Building library for gtfs-realtime-0.1.0.0.. [ 1 of 25] Compiling GTFS.RealTime.Protobuf ( src/GTFS/RealTime/Protobuf.hs, dist/build/GTFS/RealTime/Protobuf.o ) [ 2 of 25] Compiling GTFS.RealTime.Protobuf.Alert.Cause ( src/GTFS/RealTime/Protobuf/Alert/Cause.hs, dist/build/GTFS/RealTime/Protobuf/Alert/Cause.o ) src/GTFS/RealTime/Protobuf/Alert/Cause.hs:110:6: error: • Couldn't match expected type ‘P'.EnumInfo’ with actual type ‘P'.Bool -> P'.EnumInfo’ • Probable cause: ‘P'.EnumInfo’ is applied to too few arguments In the expression: P'.EnumInfo (P'.makePNF (P'.pack ".transit_realtime.Alert.Cause") [] ["GTFS", "RealTime", "Protobuf", "Alert"] "Cause") ["GTFS", "RealTime", "Protobuf", "Alert", ....] [(1, "UNKNOWN_CAUSE"), (2, "OTHER_CAUSE"), (3, "TECHNICAL_PROBLEM"), (4, "STRIKE"), ....] In an equation for ‘P'.reflectEnumInfo’: P'.reflectEnumInfo _ = P'.EnumInfo (P'.makePNF (P'.pack ".transit_realtime.Alert.Cause") [] ["GTFS", "RealTime", "Protobuf", ....] "Cause") ["GTFS", "RealTime", "Protobuf", ....] [(1, "UNKNOWN_CAUSE"), (2, "OTHER_CAUSE"), (3, "TECHNICAL_PROBLEM"), ....] In the instance declaration for ‘P'.ReflectEnum Cause’ | 110 | = P'.EnumInfo (P'.makePNF (P'.pack ".transit_realtime.Alert.Cause") [] ["GTFS", "RealTime", "Protobuf", "Alert"] "Cause") | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... cabal: Leaving directory '/tmp/cabal-tmp-29043/gtfs-realtime-0.1.0.0' cabal: Error: some packages failed to install: gtfs-realtime-0.1.0.0-HYWprWjYBgz8M7wfNWPbeb failed during the building phase. The exception was: ExitFailure 1