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 base-orphans-0.8.1 Starting dlist-0.8.0.6 Starting hashable-1.3.0.0 Starting base-compat-0.10.5 Building base-orphans-0.8.1 Building hashable-1.3.0.0 Building dlist-0.8.0.6 Building base-compat-0.10.5 Completed base-orphans-0.8.1 Starting integer-logarithms-1.0.3 Building integer-logarithms-1.0.3 Completed dlist-0.8.0.6 Starting primitive-0.7.0.0 Building primitive-0.7.0.0 Completed hashable-1.3.0.0 Starting random-1.1 Completed integer-logarithms-1.0.3 Starting split-0.2.3.3 Building random-1.1 Building split-0.2.3.3 Completed base-compat-0.10.5 Starting tagged-0.8.6 Completed split-0.2.3.3 Starting th-abstraction-0.3.1.0 Building tagged-0.8.6 Building th-abstraction-0.3.1.0 Completed random-1.1 Starting transformers-compat-0.6.5 Building transformers-compat-0.6.5 Completed tagged-0.8.6 Starting unliftio-core-0.1.2.0 Building unliftio-core-0.1.2.0 Completed transformers-compat-0.6.5 Starting time-compat-1.9.2.2 Completed th-abstraction-0.3.1.0 Starting unordered-containers-0.2.10.0 Completed unliftio-core-0.1.2.0 Starting uuid-types-1.0.3 Building time-compat-1.9.2.2 Building unordered-containers-0.2.10.0 Building uuid-types-1.0.3 Completed primitive-0.7.0.0 Starting transformers-base-0.4.5.2 Completed uuid-types-1.0.3 Starting mmorph-1.1.3 Building transformers-base-0.4.5.2 Building mmorph-1.1.3 Completed time-compat-1.9.2.2 Starting exceptions-0.10.2 Building exceptions-0.10.2 Completed transformers-base-0.4.5.2 Starting vector-0.12.0.3 Building vector-0.12.0.3 Completed mmorph-1.1.3 Starting scientific-0.3.6.2 Building scientific-0.3.6.2 Completed exceptions-0.10.2 Starting monad-control-1.0.2.3 Building monad-control-1.0.2.3 Completed unordered-containers-0.2.10.0 Starting resourcet-1.2.2 Building resourcet-1.2.2 Completed scientific-0.3.6.2 Starting attoparsec-0.13.2.2 Completed monad-control-1.0.2.3 Starting monad-extras-0.6.0 Building attoparsec-0.13.2.2 Building monad-extras-0.6.0 Completed resourcet-1.2.2 Completed monad-extras-0.6.0 Completed attoparsec-0.13.2.2 Completed vector-0.12.0.3 Starting vector-algorithms-0.8.0.1 Starting aeson-1.4.4.0 Building vector-algorithms-0.8.0.1 Building aeson-1.4.4.0 Completed vector-algorithms-0.8.0.1 Starting mono-traversable-1.0.11.0 Building mono-traversable-1.0.11.0 Completed mono-traversable-1.0.11.0 Starting conduit-1.3.1.1 Building conduit-1.3.1.1 Completed aeson-1.4.4.0 Completed conduit-1.3.1.1 Starting libyaml-0.1.1.0 Building libyaml-0.1.1.0 Completed libyaml-0.1.1.0 Starting yaml-0.11.1.0 Building yaml-0.11.1.0 Completed yaml-0.11.1.0 Starting korea-holidays-0.1.0.0 Building korea-holidays-0.1.0.0 Failed to install korea-holidays-0.1.0.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/korea-holidays-0.1.0.0-EDRtigUthl830dKLxOELi8.log ): cabal: Entering directory '/tmp/cabal-tmp-3402/korea-holidays-0.1.0.0' Configuring korea-holidays-0.1.0.0... Preprocessing library for korea-holidays-0.1.0.0.. Building library for korea-holidays-0.1.0.0.. [1 of 4] Compiling Data.Holiday.Model ( src/Data/Holiday/Model.hs, dist/build/Data/Holiday/Model.o ) [2 of 4] Compiling Paths_korea_holidays ( dist/build/autogen/Paths_korea_holidays.hs, dist/build/Paths_korea_holidays.o ) [3 of 4] Compiling Util.Config ( src/Util/Config.hs, dist/build/Util/Config.o ) src/Util/Config.hs:9:15: error: • Exception when trying to run compile-time code: InvalidYaml (Just (YamlException "Yaml file not found: data/ko_holidays.yaml")) Code: decodeFile "data/ko_holidays.yaml" • In the Template Haskell splice $$(decodeFile "data/ko_holidays.yaml") In the expression: $$(decodeFile "data/ko_holidays.yaml") In an equation for ‘holidays’: holidays = $$(decodeFile "data/ko_holidays.yaml") | 9 | holidays = $$(decodeFile "data/ko_holidays.yaml") | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-3402/korea-holidays-0.1.0.0' cabal: Error: some packages failed to install: korea-holidays-0.1.0.0-EDRtigUthl830dKLxOELi8 failed during the building phase. The exception was: ExitFailure 1