Build #8 for cabalvchk-0.2
Package | cabalvchk-0.2 |
---|
Install | BuildFailed |
---|---|
Docs | NotTried |
Tests | NotTried |
Time submitted | 2016-12-27 02:31:31.684786 UTC |
---|---|
Compiler | ghc-8.0.1.20161018 |
OS | linux |
Arch | x86_64 |
Dependencies | Cabal-1.24.0.0, base-4.9.0.0 |
Flags | none |
Code Coverage
No Code Coverage was submitted for this report.
Build log
[view raw]
Resolving dependencies... Configuring cabalvchk-0.2... Building cabalvchk-0.2... Failed to install cabalvchk-0.2 Build log ( /home/builder/.cabal/logs/cabalvchk-0.2.log ): cabal: Entering directory '/tmp/cabal-tmp-20061/cabalvchk-0.2' Configuring cabalvchk-0.2... Building cabalvchk-0.2... Preprocessing executable 'cabalvchk' for cabalvchk-0.2... [1 of 1] Compiling Main ( ghcpkgchk.hs, dist/build/cabalvchk/cabalvchk-tmp/Main.o ) ghcpkgchk.hs:46:13: error: • Couldn't match expected type ‘IO (Distribution.Simple.PackageIndex.PackageIndex a0)’ with actual type ‘Distribution.Simple.Program.ProgramConfiguration -> IO Distribution.Simple.PackageIndex.InstalledPackageIndex’ • Probable cause: ‘getInstalledPackages’ is applied to too few arguments In a stmt of a 'do' block: pkgIdx <- getInstalledPackages normal [GlobalPackageDB, UserPackageDB] pconfig In the expression: do { pconfig <- configureAllKnownPrograms normal defaultProgramConfiguration; pkgIdx <- getInstalledPackages normal [GlobalPackageDB, UserPackageDB] pconfig; pkgInf <- return . lookupPackageName pkgIdx $ PackageName p; return . map fst $ pkgInf } In an equation for ‘getInstalledPkgVersion’: getInstalledPkgVersion p = do { pconfig <- configureAllKnownPrograms normal defaultProgramConfiguration; pkgIdx <- getInstalledPackages normal [GlobalPackageDB, ....] pconfig; pkgInf <- return . lookupPackageName pkgIdx $ PackageName p; .... } ghcpkgchk.hs:46:41: error: • Couldn't match expected type ‘Distribution.Simple.Compiler.Compiler’ with actual type ‘[PackageDB]’ • In the second argument of ‘getInstalledPackages’, namely ‘[GlobalPackageDB, UserPackageDB]’ In a stmt of a 'do' block: pkgIdx <- getInstalledPackages normal [GlobalPackageDB, UserPackageDB] pconfig In the expression: do { pconfig <- configureAllKnownPrograms normal defaultProgramConfiguration; pkgIdx <- getInstalledPackages normal [GlobalPackageDB, UserPackageDB] pconfig; pkgInf <- return . lookupPackageName pkgIdx $ PackageName p; return . map fst $ pkgInf } ghcpkgchk.hs:46:74: error: • Couldn't match type ‘Distribution.Simple.Program.Db.ProgramDb’ with ‘[PackageDB]’ Expected type: Distribution.Simple.Compiler.PackageDBStack Actual type: Distribution.Simple.Program.Db.ProgramDb • In the third argument of ‘getInstalledPackages’, namely ‘pconfig’ In a stmt of a 'do' block: pkgIdx <- getInstalledPackages normal [GlobalPackageDB, UserPackageDB] pconfig In the expression: do { pconfig <- configureAllKnownPrograms normal defaultProgramConfiguration; pkgIdx <- getInstalledPackages normal [GlobalPackageDB, UserPackageDB] pconfig; pkgInf <- return . lookupPackageName pkgIdx $ PackageName p; return . map fst $ pkgInf } cabal: Leaving directory '/tmp/cabal-tmp-20061/cabalvchk-0.2' cabal: Error: some packages failed to install: cabalvchk-0.2 failed during the building phase. The exception was: ExitFailure 1
Test log
No test log was submitted for this report.