Build #7 for slice-cpp-gen-0.2.3.0

[all reports]

Package slice-cpp-gen-0.2.3.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-12-21 07:48:55.017283 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies MissingH-1.4.0.1, base-4.9.0.0, bytestring-0.10.8.1, cmdargs-0.10.14, containers-0.5.7.1, directory-1.2.6.2, filepath-1.4.1.0, language-slice-0.3.0.0
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring call-stack-0.1.0...
Configuring cmdargs-0.10.14...
Building call-stack-0.1.0...
Building cmdargs-0.10.14...
Installed call-stack-0.1.0
Configuring mtl-2.2.1...
Building mtl-2.2.1...
Configuring old-locale-1.0.0.7...
Installed mtl-2.2.1
Building old-locale-1.0.0.7...
Configuring network-2.6.3.1...
Installed old-locale-1.0.0.7
Building network-2.6.3.1...
Configuring random-1.1...
Installed cmdargs-0.10.14
Configuring HUnit-1.5.0.0...
Installed network-2.6.3.1
Building random-1.1...
Building HUnit-1.5.0.0...
Configuring text-1.2.2.1...
Installed HUnit-1.5.0.0
Installed random-1.1
Configuring regex-base-0.93.2...
Building text-1.2.2.1...
Building regex-base-0.93.2...
Configuring old-time-1.1.0.3...
Installed regex-base-0.93.2
Building old-time-1.1.0.3...
Configuring hslogger-1.2.10...
Installed old-time-1.1.0.3
Building hslogger-1.2.10...
Installed hslogger-1.2.10
Configuring regex-posix-0.95.2...
Building regex-posix-0.95.2...
Installed text-1.2.2.1
Configuring parsec-3.1.11...
Building parsec-3.1.11...
Installed regex-posix-0.95.2
Configuring regex-compat-0.95.1...
Building regex-compat-0.95.1...
Installed regex-compat-0.95.1
Installed parsec-3.1.11
Configuring language-slice-0.3.0.0...
Configuring MissingH-1.4.0.1...
Building language-slice-0.3.0.0...
Building MissingH-1.4.0.1...
Installed language-slice-0.3.0.0
Installed MissingH-1.4.0.1
Configuring slice-cpp-gen-0.2.3.0...
Building slice-cpp-gen-0.2.3.0...
Failed to install slice-cpp-gen-0.2.3.0
Build log ( /home/builder/.cabal/logs/slice-cpp-gen-0.2.3.0.log ):
cabal: Entering directory '/tmp/cabal-tmp-27402/slice-cpp-gen-0.2.3.0'
Configuring slice-cpp-gen-0.2.3.0...
Building slice-cpp-gen-0.2.3.0...
Preprocessing executable 'slice-cpp-gen' for slice-cpp-gen-0.2.3.0...
[1 of 1] Compiling Main             ( src/slice-cpp-gen.hs, dist/build/slice-cpp-gen/slice-cpp-gen-tmp/Main.o )

src/slice-cpp-gen.hs:50:80: error:
    • Couldn't match type ‘Ident’ with ‘[Char]’
      Expected type: [String]
        Actual type: [Ident]
    • In the first argument of ‘findInterfaces’, namely ‘(nm : ns)’
      In the first argument of ‘map’, namely ‘(findInterfaces (nm : ns))’
      In the second argument of ‘($)’, namely
        ‘map (findInterfaces (nm : ns)) decls’

src/slice-cpp-gen.hs:50:83: error:
    • Couldn't match type ‘[Char]’ with ‘Ident’
      Expected type: [Ident]
        Actual type: [String]
    • In the second argument of ‘(:)’, namely ‘ns’
      In the first argument of ‘findInterfaces’, namely ‘(nm : ns)’
      In the first argument of ‘map’, namely ‘(findInterfaces (nm : ns))’

src/slice-cpp-gen.hs:51:46: error:
    • Couldn't match type ‘Ident’ with ‘[Char]’
      Expected type: Map.Map [String] SliceDecl
        Actual type: Map.Map [Ident] SliceDecl
    • In the expression: Map.singleton (nm : ns) i
      In an equation for ‘findInterfaces’:
          findInterfaces ns i@(InterfaceDecl nm _ _)
            = Map.singleton (nm : ns) i

src/slice-cpp-gen.hs:51:64: error:
    • Couldn't match type ‘[Char]’ with ‘Ident’
      Expected type: [Ident]
        Actual type: [String]
    • In the second argument of ‘(:)’, namely ‘ns’
      In the first argument of ‘Map.singleton’, namely ‘(nm : ns)’
      In the expression: Map.singleton (nm : ns) i

src/slice-cpp-gen.hs:82:64: error:
    • Couldn't match expected type ‘[Char]’ with actual type ‘Ident’
    • In the first argument of ‘(++)’, namely ‘nm’
      In the second argument of ‘(</>)’, namely ‘nm ++ "I.h"’
      In the expression: targetDir args </> nm ++ "I.h"

src/slice-cpp-gen.hs:82:86: error:
    • Couldn't match type ‘Ident’ with ‘[Char]’
      Expected type: [String]
        Actual type: [Ident]
    • In the first argument of ‘genH’, namely ‘ns’
      In the expression: genH ns nm mthds
      In the expression:
        (targetDir args </> nm ++ "I.h", genH ns nm mthds)

src/slice-cpp-gen.hs:82:89: error:
    • Couldn't match type ‘Ident’ with ‘[Char]’
      Expected type: String
        Actual type: Ident
    • In the second argument of ‘genH’, namely ‘nm’
      In the expression: genH ns nm mthds
      In the expression:
        (targetDir args </> nm ++ "I.h", genH ns nm mthds)

src/slice-cpp-gen.hs:83:64: error:
    • Couldn't match expected type ‘[Char]’ with actual type ‘Ident’
    • In the first argument of ‘(++)’, namely ‘nm’
      In the second argument of ‘(</>)’, namely ‘nm ++ "I.cpp"’
      In the expression: targetDir args </> nm ++ "I.cpp"

src/slice-cpp-gen.hs:83:86: error:
    • Couldn't match type ‘Ident’ with ‘[Char]’
      Expected type: [String]
        Actual type: [Ident]
    • In the first argument of ‘genCpp’, namely ‘ns’
      In the expression: genCpp ns nm mthds
      In the expression:
        (targetDir args </> nm ++ "I.cpp", genCpp ns nm mthds)

src/slice-cpp-gen.hs:83:89: error:
    • Couldn't match expected type ‘[Char]’ with actual type ‘Ident’
    • In the second argument of ‘genCpp’, namely ‘nm’
      In the expression: genCpp ns nm mthds
      In the expression:
        (targetDir args </> nm ++ "I.cpp", genCpp ns nm mthds)

src/slice-cpp-gen.hs:134:96: error:
    • Couldn't match type ‘Ident’ with ‘[Char]’
      Expected type: String
        Actual type: Ident
    • In the first argument of ‘fromString’, namely ‘nm’
      In the first argument of ‘(<>)’, namely ‘fromString nm’
      In the second argument of ‘(<>)’, namely
        ‘fromString nm
         <>
           "("
           <>
             genFields flds
             <>
               (if null flds then "" else ", ") <> "const Ice::Current& current)"’

src/slice-cpp-gen.hs:140:52: error:
    • Couldn't match type ‘Ident’ with ‘[Char]’
      Expected type: String
        Actual type: Ident
    • In the first argument of ‘fs’, namely ‘fnm’
      In the expression: fs fnm
      In the first argument of ‘map’, namely
        ‘(\ (FieldDecl _ fnm _) -> fs fnm)’

src/slice-cpp-gen.hs:143:39: error:
    • Couldn't match type ‘Ident’ with ‘[Char]’
      Expected type: String
        Actual type: Ident
    • In the first argument of ‘fs’, namely ‘nm’
      In the first argument of ‘(<>)’, namely ‘fs nm’
      In the second argument of ‘(<>)’, namely
        ‘fs nm
         <> "(" <> BS.intercalate ", " vals <> ");\n" <> indent <> "}\n"’

src/slice-cpp-gen.hs:145:73: error:
    • Couldn't match type ‘Ident’ with ‘[Char]’
      Expected type: String
        Actual type: Ident
    • In the first argument of ‘fromString’, namely ‘nm’
      In the second argument of ‘(<>)’, namely ‘fromString nm’
      In the second argument of ‘(<>)’, namely ‘" " <> fromString nm’

src/slice-cpp-gen.hs:159:48: error:
    • Couldn't match type ‘NsQualIdent’ with ‘[Char]’
      Expected type: String
        Actual type: NsQualIdent
    • In the first argument of ‘fromString’, namely ‘nm’
      In the expression: fromString nm
      In an equation for ‘genType’:
          genType (STUserDefined nm) = fromString nm

src/slice-cpp-gen.hs:160:48: error:
    • Couldn't match type ‘NsQualIdent’ with ‘[Char]’
      Expected type: String
        Actual type: NsQualIdent
    • In the first argument of ‘fromString’, namely ‘nm’
      In the first argument of ‘(<>)’, namely ‘fromString nm’
      In the expression: fromString nm <> "Prx"

src/slice-cpp-gen.hs:170:8: error:
    • Couldn't match expected type ‘BS.ByteString
                                    -> Either [Char] [SliceDecl]’
                  with actual type ‘parsec-3.1.11:Text.Parsec.Prim.ParsecT
                                      BS.ByteString () Data.Functor.Identity.Identity SliceDecl’
    • The function ‘SlcP.parseSlice’ is applied to one argument,
      but its type ‘parsec-3.1.11:Text.Parsec.Prim.ParsecT
                      BS.ByteString () Data.Functor.Identity.Identity SliceDecl’
      has none
      In the expression: SlcP.parseSlice slcData
      In a stmt of a 'do' block:
        case SlcP.parseSlice slcData of {
          Left err
            -> putStrLn
                 (err
                  ++
                    "\n\
                    \exiting...")
               >> exitFailure
          Right []
            -> putStrLn
                 ("Parsing '"
                  ++
                    icef
                    ++
                      "' didn't produce any output, probably because the Slice parser is deficient.\n\
                      \To improve it, please report your slice file to paul.koerbitz@gmail.com")
               >> exitFailure
          Right asts
            -> do { let ...;
                    mapM_ chkwrtr fileData } }
cabal: Leaving directory '/tmp/cabal-tmp-27402/slice-cpp-gen-0.2.3.0'
cabal: Error: some packages failed to install:
slice-cpp-gen-0.2.3.0 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.