Build #2 for language-conf-0.2.2.0

[all reports]

Package language-conf-0.2.2.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-11-20 22:34:25.807099 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies aeson-1.0.2.1, base-4.9.0.0, deepseq-1.4.2.0, directory-1.2.6.2, filepath-1.4.1.0, megaparsec-5.1.2, pretty-1.1.3.3, scientific-0.3.4.9, semigroups-0.18.2, text-1.2.2.1, unordered-containers-0.2.7.1, vector-0.11.0.0
Flags -toconf -fromconf -conffmt

Build log

[view raw]

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 mtl-2.2.1...
Building mtl-2.2.1...
Configuring random-1.1...
Installed base-compat-0.9.1
Building random-1.1...
Configuring semigroups-0.18.2...
Installed random-1.1
Configuring primitive-0.6.1.0...
Installed mtl-2.2.1
Building semigroups-0.18.2...
Building primitive-0.6.1.0...
Configuring stm-2.4.4.1...
Installed semigroups-0.18.2
Building stm-2.4.4.1...
Configuring time-locale-compat-0.1.1.3...
Installed stm-2.4.4.1
Configuring transformers-compat-0.5.1.4...
Installed primitive-0.6.1.0
Building time-locale-compat-0.1.1.3...
Building transformers-compat-0.5.1.4...
Configuring text-1.2.2.1...
Installed time-locale-compat-0.1.1.3
Building text-1.2.2.1...
Installed transformers-compat-0.5.1.4
Configuring tf-random-0.5...
Building tf-random-0.5...
Installed tf-random-0.5
Configuring vector-0.11.0.0...
Building vector-0.11.0.0...
Installed text-1.2.2.1
Configuring exceptions-0.8.3...
Building exceptions-0.8.3...
Configuring tagged-0.8.5...
Installed exceptions-0.8.3
Building tagged-0.8.5...
Configuring QuickCheck-2.9.2...
Installed tagged-0.8.5
Building QuickCheck-2.9.2...
Configuring hashable-1.2.4.0...
Installed vector-0.11.0.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...
Configuring scientific-0.3.4.9...
Installed QuickCheck-2.9.2
Installed unordered-containers-0.2.7.1
Building scientific-0.3.4.9...
Installed scientific-0.3.4.9
Configuring megaparsec-5.1.2...
Configuring attoparsec-0.13.1.0...
Building megaparsec-5.1.2...
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 megaparsec-5.1.2
Installed aeson-1.0.2.1
Configuring language-conf-0.2.2.0...
Building language-conf-0.2.2.0...
Failed to install language-conf-0.2.2.0
Build log ( /home/builder/.cabal/logs/language-conf-0.2.2.0.log ):
cabal: Entering directory '/tmp/cabal-tmp-9326/language-conf-0.2.2.0'
Configuring language-conf-0.2.2.0...
Building language-conf-0.2.2.0...
Preprocessing library language-conf-0.2.2.0...
[1 of 5] Compiling Data.Conf.Types  ( src/Data/Conf/Types.hs, dist/build/Data/Conf/Types.o )
[2 of 5] Compiling Data.Conf.PrettyPrint ( src/Data/Conf/PrettyPrint.hs, dist/build/Data/Conf/PrettyPrint.o )
[3 of 5] Compiling Data.Conf.Internal ( src/Data/Conf/Internal.hs, dist/build/Data/Conf/Internal.o )
[4 of 5] Compiling Data.Conf.Aeson  ( src/Data/Conf/Aeson.hs, dist/build/Data/Conf/Aeson.o )

src/Data/Conf/Aeson.hs:21:14: error:
    • Overlapping instances for FromJSON Conf
        arising from a use of ‘fromJSON’
      Matching instances:
        instance FromJSON a => FromJSON [a]
          -- Defined in ‘aeson-1.0.2.1:Data.Aeson.Types.FromJSON’
        instance FromJSON Conf -- Defined at src/Data/Conf/Aeson.hs:23:10
    • In the first argument of ‘(.)’, namely ‘fromJSON’
      In the expression: fromJSON . toJSON
      In an equation for ‘fromToJSON’: fromToJSON = fromJSON . toJSON

src/Data/Conf/Aeson.hs:23:10: error:
    • Overlapping instances for FromJSON Conf
        arising from a use of ‘aeson-1.0.2.1:Data.Aeson.Types.FromJSON.$dmparseJSONList’
      Matching instances:
        instance FromJSON a => FromJSON [a]
          -- Defined in ‘aeson-1.0.2.1:Data.Aeson.Types.FromJSON’
        instance FromJSON Conf -- Defined at src/Data/Conf/Aeson.hs:23:10
    • In the expression:
        aeson-1.0.2.1:Data.Aeson.Types.FromJSON.$dmparseJSONList @Conf
      In an equation for ‘parseJSONList’:
          parseJSONList
            = aeson-1.0.2.1:Data.Aeson.Types.FromJSON.$dmparseJSONList @Conf
      In the instance declaration for ‘FromJSON Conf’

src/Data/Conf/Aeson.hs:29:27: error:
    • Overlapping instances for FromJSON [ConfStatement]
        arising from a use of ‘parseJSON’
      Matching instances:
        instance FromJSON a => FromJSON [a]
          -- Defined in ‘aeson-1.0.2.1:Data.Aeson.Types.FromJSON’
        instance FromJSON Conf -- Defined at src/Data/Conf/Aeson.hs:23:10
    • In a stmt of a 'do' block: cs <- parseJSON o
      In the expression:
        do { cs <- parseJSON o;
             return $ ConfStatementBlock (Block (Text.words k) cs) }
      In a case alternative:
          o@(Object _)
            -> do { cs <- parseJSON o;
                    return $ ConfStatementBlock (Block (Text.words k) cs) }

src/Data/Conf/Aeson.hs:46:10: error:
    • Overlapping instances for ToJSON Conf
        arising from a use of ‘aeson-1.0.2.1:Data.Aeson.Types.ToJSON.$dmtoEncoding’
      Matching instances:
        instance ToJSON a => ToJSON [a]
          -- Defined in ‘aeson-1.0.2.1:Data.Aeson.Types.ToJSON’
        instance ToJSON Conf -- Defined at src/Data/Conf/Aeson.hs:46:10
    • In the expression:
        aeson-1.0.2.1:Data.Aeson.Types.ToJSON.$dmtoEncoding @Conf
      In an equation for ‘toEncoding’:
          toEncoding
            = aeson-1.0.2.1:Data.Aeson.Types.ToJSON.$dmtoEncoding @Conf
      In the instance declaration for ‘ToJSON Conf’

src/Data/Conf/Aeson.hs:46:10: error:
    • Overlapping instances for ToJSON Conf
        arising from a use of ‘aeson-1.0.2.1:Data.Aeson.Types.ToJSON.$dmtoJSONList’
      Matching instances:
        instance ToJSON a => ToJSON [a]
          -- Defined in ‘aeson-1.0.2.1:Data.Aeson.Types.ToJSON’
        instance ToJSON Conf -- Defined at src/Data/Conf/Aeson.hs:46:10
    • In the expression:
        aeson-1.0.2.1:Data.Aeson.Types.ToJSON.$dmtoJSONList @Conf
      In an equation for ‘toJSONList’:
          toJSONList
            = aeson-1.0.2.1:Data.Aeson.Types.ToJSON.$dmtoJSONList @Conf
      In the instance declaration for ‘ToJSON Conf’

src/Data/Conf/Aeson.hs:46:10: error:
    • Overlapping instances for ToJSON Conf
        arising from a use of ‘aeson-1.0.2.1:Data.Aeson.Types.ToJSON.$dmtoEncodingList’
      Matching instances:
        instance ToJSON a => ToJSON [a]
          -- Defined in ‘aeson-1.0.2.1:Data.Aeson.Types.ToJSON’
        instance ToJSON Conf -- Defined at src/Data/Conf/Aeson.hs:46:10
    • In the expression:
        aeson-1.0.2.1:Data.Aeson.Types.ToJSON.$dmtoEncodingList @Conf
      In an equation for ‘toEncodingList’:
          toEncodingList
            = aeson-1.0.2.1:Data.Aeson.Types.ToJSON.$dmtoEncodingList @Conf
      In the instance declaration for ‘ToJSON Conf’

src/Data/Conf/Aeson.hs:52:62: error:
    • Overlapping instances for ToJSON [ConfStatement]
        arising from a use of ‘toJSON’
      Matching instances:
        instance ToJSON a => ToJSON [a]
          -- Defined in ‘aeson-1.0.2.1:Data.Aeson.Types.ToJSON’
        instance ToJSON Conf -- Defined at src/Data/Conf/Aeson.hs:46:10
    • In the second argument of ‘(.=)’, namely ‘toJSON css’
      In the expression: k .= toJSON css
      In the expression: [k .= toJSON css]
cabal: Leaving directory '/tmp/cabal-tmp-9326/language-conf-0.2.2.0'
cabal: Error: some packages failed to install:
language-conf-0.2.2.0 failed during the building phase. The exception was:
ExitFailure 1