Build #1 for file-modules-0.1.2.1
| Package | file-modules-0.1.2.1 |
|---|
| Install | BuildFailed |
|---|---|
| Docs | NotTried |
| Tests | NotTried |
| Time submitted | 2016-11-29 21:24:43.581319 UTC |
|---|---|
| Compiler | ghc-8.0.1.20161018 |
| OS | linux |
| Arch | x86_64 |
| Dependencies | MissingH-1.4.0.1, async-2.1.1, base-4.9.0.0, directory-1.2.6.2, filepath-1.4.1.0, haskell-src-exts-1.19.0, MissingH-1.4.0.1, async-2.1.1, base-4.9.0.0, directory-1.2.6.2, filepath-1.4.1.0, haskell-src-exts-1.19.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 mtl-2.2.1...
Building call-stack-0.1.0...
Building mtl-2.2.1...
Configuring old-locale-1.0.0.7...
Installed call-stack-0.1.0
Building old-locale-1.0.0.7...
Configuring network-2.6.3.1...
Installed old-locale-1.0.0.7
Configuring random-1.1...
Installed mtl-2.2.1
Building random-1.1...
Building network-2.6.3.1...
Configuring stm-2.4.4.1...
Installed random-1.1
Building stm-2.4.4.1...
Configuring text-1.2.2.1...
Installed stm-2.4.4.1
Building text-1.2.2.1...
Installed network-2.6.3.1
Configuring HUnit-1.5.0.0...
Building HUnit-1.5.0.0...
Installed HUnit-1.5.0.0
Configuring old-time-1.1.0.3...
Building old-time-1.1.0.3...
Configuring regex-base-0.93.2...
Installed old-time-1.1.0.3
Building regex-base-0.93.2...
Configuring async-2.1.1...
Installed regex-base-0.93.2
Building async-2.1.1...
Configuring hslogger-1.2.10...
Installed text-1.2.2.1
Building hslogger-1.2.10...
Installed async-2.1.1
Configuring regex-posix-0.95.2...
Building regex-posix-0.95.2...
Configuring parsec-3.1.11...
Installed hslogger-1.2.10
Building parsec-3.1.11...
Configuring polyparse-1.12...
Installed regex-posix-0.95.2
Building polyparse-1.12...
Configuring regex-compat-0.95.1...
Installed parsec-3.1.11
Building regex-compat-0.95.1...
Installed polyparse-1.12
Configuring cpphs-1.20.2...
Installed regex-compat-0.95.1
Configuring MissingH-1.4.0.1...
Building cpphs-1.20.2...
Building MissingH-1.4.0.1...
Installed cpphs-1.20.2
Configuring haskell-src-exts-1.19.0...
Building haskell-src-exts-1.19.0...
Installed MissingH-1.4.0.1
Installed haskell-src-exts-1.19.0
Downloading file-modules-0.1.2.1...
Configuring file-modules-0.1.2.1...
Building file-modules-0.1.2.1...
Failed to install file-modules-0.1.2.1
Build log ( /home/builder/.cabal/logs/file-modules-0.1.2.1.log ):
cabal: Entering directory '/tmp/cabal-tmp-6821/file-modules-0.1.2.1'
Configuring file-modules-0.1.2.1...
Building file-modules-0.1.2.1...
Preprocessing library file-modules-0.1.2.1...
[1 of 1] Compiling Development.FileModules ( src/Development/FileModules.hs, dist/build/Development/FileModules.o )
src/Development/FileModules.hs:31:15: error:
• Ambiguous type variable ‘t0’ arising from a use of ‘parse’
prevents the constraint ‘(haskell-src-exts-1.19.0:Language.Haskell.Exts.ParseMonad.Parseable
(NonGreedy t0))’ from being solved.
Probable fix: use a type annotation to specify what ‘t0’ should be.
These potential instances exist:
four instances involving out-of-scope types
(use -fprint-potential-instances to see them all)
• In the first argument of ‘(<$>)’, namely ‘parse’
In a stmt of a 'do' block: result <- parse <$> readFile fname
In the expression:
do { result <- parse <$> readFile fname;
case result of {
(ParseOk (NonGreedy {..})) -> do { ... }
(ParseFailed _ _)
-> error $ "Failed to parse module in " ++ fname } }
src/Development/FileModules.hs:34:18: error:
• The constructor ‘ModuleHeadAndImports’ should have 4 arguments, but has been given 3
• In the pattern: ModuleHeadAndImports _ _ mimports
In a pattern binding:
(ModuleHeadAndImports _ _ mimports) = unNonGreedy
In the expression:
do { let (ModuleHeadAndImports _ _ mimports) = unNonGreedy;
forM mimports $ \ imp -> let ... in return iname }
src/Development/FileModules.hs:36:21: error:
• The constructor ‘ModuleName’ should have 2 arguments, but has been given 1
• In the pattern: ModuleName iname
In a pattern binding: ModuleName iname = importModule imp
In the expression:
let ModuleName iname = importModule imp in return iname
cabal: Leaving directory '/tmp/cabal-tmp-6821/file-modules-0.1.2.1'
cabal: Error: some packages failed to install:
file-modules-0.1.2.1 failed during the building phase. The exception was:
ExitFailure 1
Test log
No test log was submitted for this report.