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 foreign-store-0.2 Starting ghc-paths-0.1.0.9 Starting base-orphans-0.8 Starting hashable-1.2.7.0 Building foreign-store-0.2 Building base-orphans-0.8 Building hashable-1.2.7.0 Completed base-orphans-0.8 Starting semigroups-0.18.5 Completed foreign-store-0.2 Starting signal-0.1.0.4 Building semigroups-0.18.5 Building signal-0.1.0.4 Building ghc-paths-0.1.0.9 Completed semigroups-0.18.5 Starting system-filepath-0.4.14 Completed hashable-1.2.7.0 Starting transformers-compat-0.6.2 Building transformers-compat-0.6.2 Completed ghc-paths-0.1.0.9 Starting unix-compat-0.5.1 Completed signal-0.1.0.4 Starting async-2.2.1 Building unix-compat-0.5.1 Building async-2.2.1 Building system-filepath-0.4.14 Completed unix-compat-0.5.1 Completed transformers-compat-0.6.2 Starting transformers-base-0.4.5.2 Starting exceptions-0.10.0 Completed async-2.2.1 Starting constraints-0.10.1 Building transformers-base-0.4.5.2 Building exceptions-0.10.0 Building constraints-0.10.1 Completed system-filepath-0.4.14 Starting hinotify-0.4 Completed transformers-base-0.4.5.2 Starting system-fileio-0.3.16.4 Building hinotify-0.4 Building system-fileio-0.3.16.4 Completed exceptions-0.10.0 Starting monad-control-1.0.2.3 Building monad-control-1.0.2.3 Completed system-fileio-0.3.16.4 Completed hinotify-0.4 Completed monad-control-1.0.2.3 Starting lifted-base-0.2.3.12 Completed constraints-0.10.1 Building lifted-base-0.2.3.12 Completed lifted-base-0.2.3.12 Starting enclosed-exceptions-1.0.3 Starting lifted-async-0.10.0.3 Building enclosed-exceptions-1.0.3 Building lifted-async-0.10.0.3 Completed enclosed-exceptions-1.0.3 Completed lifted-async-0.10.0.3 Starting shelly-1.8.1 Building shelly-1.8.1 Completed shelly-1.8.1 Starting fsnotify-0.3.0.1 Building fsnotify-0.3.0.1 Completed fsnotify-0.3.0.1 Starting halive-0.1.6 Building halive-0.1.6 Failed to install halive-0.1.6 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/halive-0.1.6-GmZj9mgnspoD7BVPfNW0WF.log ): cabal: Entering directory '/tmp/cabal-tmp-30539/halive-0.1.6' Configuring halive-0.1.6... Preprocessing library for halive-0.1.6.. Building library for halive-0.1.6.. [1 of 8] Compiling Halive.Args ( src/Halive/Args.hs, dist/build/Halive/Args.o ) [2 of 8] Compiling Halive.Concurrent ( src/Halive/Concurrent.hs, dist/build/Halive/Concurrent.o ) [3 of 8] Compiling Halive.FileListener ( src/Halive/FileListener.hs, dist/build/Halive/FileListener.o ) [4 of 8] Compiling Halive.FindPackageDBs ( src/Halive/FindPackageDBs.hs, dist/build/Halive/FindPackageDBs.o ) [5 of 8] Compiling Halive.SubHalive ( src/Halive/SubHalive.hs, dist/build/Halive/SubHalive.o ) src/Halive/SubHalive.hs:248:17: error: parse error on input ‘#’ | 248 | #else | ^ cabal: Leaving directory '/tmp/cabal-tmp-30539/halive-0.1.6' cabal: Error: some packages failed to install: halive-0.1.6-GmZj9mgnspoD7BVPfNW0WF failed during the building phase. The exception was: ExitFailure 1