Build #6 for scat-1.1.0.0

[all reports]

Package scat-1.1.0.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-12-15 07:53:07.592252 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies ansi-terminal-0.6.2.3, base-4.9.0.0, bytestring-0.10.8.1, mtl-2.2.1, optparse-applicative-0.13.0.0, scrypt-0.5.0, vector-0.10.12.3
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring ansi-terminal-0.6.2.3...
Configuring base64-bytestring-1.0.0.1...
Building base64-bytestring-1.0.0.1...
Building ansi-terminal-0.6.2.3...
Installed base64-bytestring-1.0.0.1
Configuring entropy-0.3.7...
Configuring primitive-0.6.1.0...
Installed ansi-terminal-0.6.2.3
Building primitive-0.6.1.0...
Building entropy-0.3.7...
Configuring mtl-2.2.1...
Installed entropy-0.3.7
Configuring transformers-compat-0.5.1.4...
Installed primitive-0.6.1.0
Building mtl-2.2.1...
Building transformers-compat-0.5.1.4...
Installed transformers-compat-0.5.1.4
Configuring ansi-wl-pprint-0.6.7.3...
Building ansi-wl-pprint-0.6.7.3...
Configuring scrypt-0.5.0...
Installed mtl-2.2.1
Building scrypt-0.5.0...
Configuring vector-0.10.12.3...
Installed ansi-wl-pprint-0.6.7.3
Building vector-0.10.12.3...
Configuring optparse-applicative-0.13.0.0...
Installed scrypt-0.5.0
Building optparse-applicative-0.13.0.0...
Installed optparse-applicative-0.13.0.0
Installed vector-0.10.12.3
Downloading scat-1.1.0.0...
Configuring scat-1.1.0.0...
Building scat-1.1.0.0...
Failed to install scat-1.1.0.0
Build log ( /home/builder/.cabal/logs/scat-1.1.0.0.log ):
cabal: Entering directory '/tmp/cabal-tmp-15318/scat-1.1.0.0'
Configuring scat-1.1.0.0...
Building scat-1.1.0.0...
Preprocessing executable 'scat' for scat-1.1.0.0...
[1 of 7] Compiling Scat.Utils.Permutation ( src/Scat/Utils/Permutation.hs, dist/build/scat/scat-tmp/Scat/Utils/Permutation.o )
[2 of 7] Compiling Scat.Options     ( src/Scat/Options.hs, dist/build/scat/scat-tmp/Scat/Options.o )

src/Scat/Options.hs:87:19: error:
    • Couldn't match expected type ‘Parser Int’
                  with actual type ‘Mod OptionFields a1 -> Parser a1’
    • Probable cause: ‘option’ is applied to too few arguments
      In the first argument of ‘optional’, namely
        ‘(option
            (short 'n'
             <> long "size" <> help "Size parameter" <> metavar "SIZE"))’
      In the second argument of ‘(<*>)’, namely
        ‘optional
           (option
              (short 'n'
               <> long "size" <> help "Size parameter" <> metavar "SIZE"))’
      In the first argument of ‘(<*>)’, namely
        ‘Options
         <$>
           optional
             (strOption
                (short 'p'
                 <> long "password" <> help "The password" <> metavar "PASSWORD"))
         <*>
           optional
             (strOption
                (short 'S'
                 <>
                   long "service"
                   <>
                     help "Service associated (website, email address, ...)"
                     <> metavar "SERVICE"))
         <*>
           flag
             True
             False
             (long "nocode"
              <> help "Indicates that extra code should be not be used")
         <*>
           optional
             (strOption
                (short 'x'
                 <> long "code" <> help "The extra code to use" <> metavar "CODE"))
         <*>
           strOption
             (short 's'
              <>
                long "schema"
                <>
                  help "Schema for the generated password"
                  <> metavar "SCHEMA" <> value "safe" <> showDefault)
         <*>
           optional
             (option
                (short 'n'
                 <> long "size" <> help "Size parameter" <> metavar "SIZE"))’

src/Scat/Options.hs:88:12: error:
    • Couldn't match expected type ‘ReadM a1’
                  with actual type ‘Mod f0 a0’
    • In the first argument of ‘option’, namely
        ‘(short 'n'
          <> long "size" <> help "Size parameter" <> metavar "SIZE")’
      In the first argument of ‘optional’, namely
        ‘(option
            (short 'n'
             <> long "size" <> help "Size parameter" <> metavar "SIZE"))’
      In the second argument of ‘(<*>)’, namely
        ‘optional
           (option
              (short 'n'
               <> long "size" <> help "Size parameter" <> metavar "SIZE"))’
cabal: Leaving directory '/tmp/cabal-tmp-15318/scat-1.1.0.0'
cabal: Error: some packages failed to install:
scat-1.1.0.0 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.