Resolving dependencies... Configuring dlist-0.8.0.2... Configuring base-compat-0.9.1... Building base-compat-0.9.1... Building dlist-0.8.0.2... Installed dlist-0.8.0.2 Configuring primitive-0.6.1.0... Building primitive-0.6.1.0... Configuring tar-0.5.0.3... Installed base-compat-0.9.1 Building tar-0.5.0.3... Configuring time-locale-compat-0.1.1.3... Installed primitive-0.6.1.0 Building time-locale-compat-0.1.1.3... Configuring text-1.2.2.1... Installed time-locale-compat-0.1.1.3 Building text-1.2.2.1... Configuring transformers-compat-0.5.1.4... Installed tar-0.5.0.3 Building transformers-compat-0.5.1.4... Installed transformers-compat-0.5.1.4 Configuring tagged-0.8.5... Building tagged-0.8.5... Configuring vector-0.11.0.0... Installed tagged-0.8.5 Building vector-0.11.0.0... Installed text-1.2.2.1 Configuring hashable-1.2.4.0... Building hashable-1.2.4.0... Installed hashable-1.2.4.0 Configuring unordered-containers-0.2.7.1... Building unordered-containers-0.2.7.1... Installed unordered-containers-0.2.7.1 Installed vector-0.11.0.0 Configuring scientific-0.3.4.9... Building scientific-0.3.4.9... Installed scientific-0.3.4.9 Configuring attoparsec-0.13.1.0... Building attoparsec-0.13.1.0... Installed attoparsec-0.13.1.0 Configuring aeson-1.0.2.1... Building aeson-1.0.2.1... Installed aeson-1.0.2.1 Downloading json-tools-0.5.0... Configuring json-tools-0.5.0... Building json-tools-0.5.0... Failed to install json-tools-0.5.0 Build log ( /home/builder/.cabal/logs/json-tools-0.5.0.log ): cabal: Entering directory '/tmp/cabal-tmp-5956/json-tools-0.5.0' Configuring json-tools-0.5.0... Building json-tools-0.5.0... Preprocessing executable 'json-concat' for json-tools-0.5.0... [1 of 1] Compiling Main ( json-concat.hs, dist/build/json-concat/json-concat-tmp/Main.o ) Linking dist/build/json-concat/json-concat ... Preprocessing executable 'json-deep-select-key' for json-tools-0.5.0... [1 of 1] Compiling Main ( json-deep-select-key.hs, dist/build/json-deep-select-key/json-deep-select-key-tmp/Main.o ) Linking dist/build/json-deep-select-key/json-deep-select-key ... Preprocessing executable 'json-select' for json-tools-0.5.0... [1 of 1] Compiling Main ( json-select.hs, dist/build/json-select/json-select-tmp/Main.o ) json-select.hs:2:1: warning: [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() Linking dist/build/json-select/json-select ... Preprocessing executable 'json-iter' for json-tools-0.5.0... [1 of 2] Compiling Utils ( Utils.hs, dist/build/json-iter/json-iter-tmp/Utils.o ) Utils.hs:9:1: warning: [-Wunused-imports] The import of ‘Data.Functor’ is redundant except perhaps to import instances from ‘Data.Functor’ To import instances alone, use: import Data.Functor() [2 of 2] Compiling Main ( json-iter.hs, dist/build/json-iter/json-iter-tmp/Main.o ) Linking dist/build/json-iter/json-iter ... Preprocessing executable 'json-lines' for json-tools-0.5.0... [1 of 2] Compiling Utils ( Utils.hs, dist/build/json-lines/json-lines-tmp/Utils.o ) Utils.hs:9:1: warning: [-Wunused-imports] The import of ‘Data.Functor’ is redundant except perhaps to import instances from ‘Data.Functor’ To import instances alone, use: import Data.Functor() [2 of 2] Compiling Main ( json-lines.hs, dist/build/json-lines/json-lines-tmp/Main.o ) Linking dist/build/json-lines/json-lines ... Preprocessing executable 'json-strings' for json-tools-0.5.0... [1 of 1] Compiling Main ( json-strings.hs, dist/build/json-strings/json-strings-tmp/Main.o ) json-strings.hs:6:1: warning: [-Wunused-imports] The import of ‘Data.Foldable’ is redundant except perhaps to import instances from ‘Data.Foldable’ To import instances alone, use: import Data.Foldable() Linking dist/build/json-strings/json-strings ... Preprocessing executable 'json-unlines' for json-tools-0.5.0... [1 of 2] Compiling Utils ( Utils.hs, dist/build/json-unlines/json-unlines-tmp/Utils.o ) Utils.hs:9:1: warning: [-Wunused-imports] The import of ‘Data.Functor’ is redundant except perhaps to import instances from ‘Data.Functor’ To import instances alone, use: import Data.Functor() [2 of 2] Compiling Main ( json-unlines.hs, dist/build/json-unlines/json-unlines-tmp/Main.o ) Linking dist/build/json-unlines/json-unlines ... Preprocessing executable 'json-wrap' for json-tools-0.5.0... [1 of 1] Compiling Main ( json-wrap.hs, dist/build/json-wrap/json-wrap-tmp/Main.o ) Linking dist/build/json-wrap/json-wrap ... Preprocessing executable 'json-xargs' for json-tools-0.5.0... [1 of 1] Compiling Main ( json-xargs.hs, dist/build/json-xargs/json-xargs-tmp/Main.o ) json-xargs.hs:6:1: warning: [-Wunused-imports] The import of ‘Data.Foldable’ is redundant except perhaps to import instances from ‘Data.Foldable’ To import instances alone, use: import Data.Foldable() json-xargs.hs:7:1: warning: [-Wunused-imports] The import of ‘Data.Functor’ is redundant except perhaps to import instances from ‘Data.Functor’ To import instances alone, use: import Data.Functor() json-xargs.hs:10:1: warning: [-Wdeprecations] Module ‘System.Cmd’ is deprecated: Use "System.Process" instead Linking dist/build/json-xargs/json-xargs ... Preprocessing executable 'tar2json' for json-tools-0.5.0... [1 of 1] Compiling Main ( tar2json.hs, dist/build/tar2json/tar2json-tmp/Main.o ) tar2json.hs:22:19: error: • No instance for (Aeson.ToJSON L.ByteString) arising from a use of ‘Aeson.toJSON’ • In the first argument of ‘fmap’, namely ‘Aeson.toJSON’ In the first argument of ‘(.)’, namely ‘fmap Aeson.toJSON’ In the expression: fmap Aeson.toJSON . f . entryContent cabal: Leaving directory '/tmp/cabal-tmp-5956/json-tools-0.5.0' cabal: Error: some packages failed to install: json-tools-0.5.0 failed during the building phase. The exception was: ExitFailure 1