Resolving dependencies... Configuring base-compat-0.9.3... Configuring async-2.2.1... Building async-2.2.1... Building base-compat-0.9.3... Installed async-2.2.1 Configuring base-orphans-0.7... Installed base-compat-0.9.3 Configuring colour-2.3.4... Building base-orphans-0.7... Building colour-2.3.4... Installed base-orphans-0.7 Configuring dlist-0.8.0.4... Building dlist-0.8.0.4... Installed dlist-0.8.0.4 Configuring managed-1.0.6... Building managed-1.0.6... Installed colour-2.3.4 Configuring regex-tdfa-1.2.3... Building regex-tdfa-1.2.3... Installed managed-1.0.6 Configuring semigroups-0.18.4... Building semigroups-0.18.4... Installed semigroups-0.18.4 Configuring system-filepath-0.4.14... Building system-filepath-0.4.14... Installed system-filepath-0.4.14 Configuring th-abstraction-0.2.7.0... Building th-abstraction-0.2.7.0... Installed th-abstraction-0.2.7.0 Configuring time-locale-compat-0.1.1.4... Building time-locale-compat-0.1.1.4... Installed regex-tdfa-1.2.3 Configuring transformers-compat-0.6.2... Installed time-locale-compat-0.1.1.4 Configuring unix-compat-0.5.0.1... Building transformers-compat-0.6.2... Building unix-compat-0.5.0.1... Installed unix-compat-0.5.0.1 Configuring unliftio-core-0.1.1.0... Building unliftio-core-0.1.1.0... Installed transformers-compat-0.6.2 Configuring uuid-types-1.0.3... Building uuid-types-1.0.3... Installed unliftio-core-0.1.1.0 Configuring vector-algorithms-0.7.0.1... Building vector-algorithms-0.7.0.1... Installed uuid-types-1.0.3 Configuring hinotify-0.3.10... Building hinotify-0.3.10... Installed hinotify-0.3.10 Configuring ansi-terminal-0.8.0.4... Building ansi-terminal-0.8.0.4... Installed vector-algorithms-0.7.0.1 Configuring system-fileio-0.3.16.3... Installed ansi-terminal-0.8.0.4 Configuring transformers-base-0.4.5.2... Building system-fileio-0.3.16.3... Building transformers-base-0.4.5.2... Installed transformers-base-0.4.5.2 Configuring tagged-0.8.5... Installed system-fileio-0.3.16.3 Configuring mmorph-1.1.2... Building tagged-0.8.5... Building mmorph-1.1.2... Installed mmorph-1.1.2 Configuring exceptions-0.10.0... Installed tagged-0.8.5 Configuring constraints-0.10... Building exceptions-0.10.0... Building constraints-0.10... Installed exceptions-0.10.0 Configuring mono-traversable-1.0.8.1... Building mono-traversable-1.0.8.1... Installed constraints-0.10 Configuring ansi-wl-pprint-0.6.8.2... Building ansi-wl-pprint-0.6.8.2... Installed ansi-wl-pprint-0.6.8.2 Configuring monad-control-1.0.2.3... Building monad-control-1.0.2.3... Installed monad-control-1.0.2.3 Configuring streaming-0.2.1.0... Building streaming-0.2.1.0... Installed mono-traversable-1.0.8.1 Configuring aeson-1.2.4.0... Building aeson-1.2.4.0... Installed streaming-0.2.1.0 Configuring resourcet-1.2.1... Building resourcet-1.2.1... Installed resourcet-1.2.1 Configuring optparse-applicative-0.14.2.0... Building optparse-applicative-0.14.2.0... Installed optparse-applicative-0.14.2.0 Configuring lifted-base-0.2.3.12... Building lifted-base-0.2.3.12... Installed lifted-base-0.2.3.12 Configuring conduit-1.3.0.2... Building conduit-1.3.0.2... Installed aeson-1.2.4.0 Configuring lifted-async-0.10.0.2... Building lifted-async-0.10.0.2... Installed lifted-async-0.10.0.2 Configuring enclosed-exceptions-1.0.2... Building enclosed-exceptions-1.0.2... Installed conduit-1.3.0.2 Configuring yaml-0.8.30... Installed enclosed-exceptions-1.0.2 Configuring shelly-1.8.1... Building yaml-0.8.30... Building shelly-1.8.1... Installed shelly-1.8.1 Configuring fsnotify-0.3.0.1... Building fsnotify-0.3.0.1... Installed yaml-0.8.30 Installed fsnotify-0.3.0.1 Configuring steeloverseer-2.0.2.0... Building steeloverseer-2.0.2.0... Failed to install steeloverseer-2.0.2.0 Build log ( /home/builder/.cabal/logs/ghc-8.2.2/steeloverseer-2.0.2.0-HXfgKLqm0nh3nAvng4RBP7.log ): cabal: Entering directory '/tmp/cabal-tmp-12297/steeloverseer-2.0.2.0' Configuring steeloverseer-2.0.2.0... Preprocessing library for steeloverseer-2.0.2.0.. Building library for steeloverseer-2.0.2.0.. [1 of 9] Compiling Control.Concurrent.STM.TQueue.Extra ( src/Control/Concurrent/STM/TQueue/Extra.hs, dist/build/Control/Concurrent/STM/TQueue/Extra.o ) [2 of 9] Compiling Paths_steeloverseer ( dist/build/autogen/Paths_steeloverseer.hs, dist/build/Paths_steeloverseer.o ) [3 of 9] Compiling Sos.Utils ( src/Sos/Utils.hs, dist/build/Sos/Utils.o ) [4 of 9] Compiling Sos.FileEvent ( src/Sos/FileEvent.hs, dist/build/Sos/FileEvent.o ) [5 of 9] Compiling Sos.Job ( src/Sos/Job.hs, dist/build/Sos/Job.o ) [6 of 9] Compiling Sos.Exception ( src/Sos/Exception.hs, dist/build/Sos/Exception.o ) [7 of 9] Compiling Sos.Template ( src/Sos/Template.hs, dist/build/Sos/Template.o ) [8 of 9] Compiling Sos.Rule ( src/Sos/Rule.hs, dist/build/Sos/Rule.o ) [9 of 9] Compiling System.FSNotify.Streaming ( src/System/FSNotify/Streaming.hs, dist/build/System/FSNotify/Streaming.o ) Preprocessing executable 'sos' for steeloverseer-2.0.2.0.. Building executable 'sos' for steeloverseer-2.0.2.0.. [1 of 2] Compiling Main ( app/Main.hs, dist/build/sos/sos-tmp/Main.o ) app/Main.hs:258:5: error: • The constructor ‘FSNotify.Added’ should have 3 arguments, but has been given 2 • In the pattern: FSNotify.Added path _ In a case alternative: FSNotify.Added path _ -> S.yield (FileAdded (go cwd path)) In the second argument of ‘S.for’, namely ‘(\case FSNotify.Added path _ -> S.yield (FileAdded (go cwd path)) FSNotify.Modified path _ -> S.yield (FileModified (go cwd path)) FSNotify.Removed _ _ -> pure ())’ | 258 | FSNotify.Added path _ -> S.yield (FileAdded (go cwd path)) | ^^^^^^^^^^^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-12297/steeloverseer-2.0.2.0' cabal: Error: some packages failed to install: steeloverseer-2.0.2.0-HXfgKLqm0nh3nAvng4RBP7 failed during the building phase. The exception was: ExitFailure 1