Build #6 for th-context-0.13
| Package | th-context-0.13 |
|---|
| Install | BuildFailed |
|---|---|
| Docs | NotTried |
| Tests | NotTried |
| Time submitted | 2016-12-10 03:19:43.893504 UTC |
|---|---|
| Compiler | ghc-8.0.1.20161018 |
| OS | linux |
| Arch | x86_64 |
| Dependencies | base-4.9.0.0, containers-0.5.7.1, data-default-0.7.1.1, haskell-src-exts-1.19.0, mtl-2.2.1, syb-0.6, template-haskell-2.11.0.0, th-desugar-1.6, th-orphans-0.13.3 |
| Flags | patched-for-trac-9262 |
Code Coverage
No Code Coverage was submitted for this report.
Build log
[view raw]
Resolving dependencies...
Configuring data-default-class-0.1.2.0...
Configuring dlist-0.8.0.2...
Building data-default-class-0.1.2.0...
Building dlist-0.8.0.2...
Installed data-default-class-0.1.2.0
Configuring mtl-2.2.1...
Building mtl-2.2.1...
Configuring old-locale-1.0.0.7...
Installed dlist-0.8.0.2
Building old-locale-1.0.0.7...
Configuring safe-0.3.10...
Installed old-locale-1.0.0.7
Building safe-0.3.10...
Configuring primitive-0.6.1.0...
Installed mtl-2.2.1
Configuring syb-0.6...
Installed safe-0.3.10
Building primitive-0.6.1.0...
Building syb-0.6...
Configuring th-lift-0.7.6...
Installed syb-0.6
Configuring text-1.2.2.1...
Installed primitive-0.6.1.0
Building th-lift-0.7.6...
Building text-1.2.2.1...
Installed th-lift-0.7.6
Configuring data-default-instances-containers-0.0.1...
Building data-default-instances-containers-0.0.1...
Installed data-default-instances-containers-0.0.1
Configuring data-default-instances-dlist-0.0.1...
Building data-default-instances-dlist-0.0.1...
Configuring data-default-instances-old-locale-0.0.1...
Installed data-default-instances-dlist-0.0.1
Building data-default-instances-old-locale-0.0.1...
Configuring old-time-1.1.0.3...
Installed data-default-instances-old-locale-0.0.1
Building old-time-1.1.0.3...
Configuring th-expand-syns-0.4.1.0...
Installed old-time-1.1.0.3
Building th-expand-syns-0.4.1.0...
Configuring vector-0.11.0.0...
Installed th-expand-syns-0.4.1.0
Installed text-1.2.2.1
Configuring data-default-0.7.1.1...
Building vector-0.11.0.0...
Building data-default-0.7.1.1...
Configuring th-reify-many-0.1.6...
Installed data-default-0.7.1.1
Building th-reify-many-0.1.6...
Installed th-reify-many-0.1.6
Configuring polyparse-1.12...
Building polyparse-1.12...
Installed polyparse-1.12
Configuring cpphs-1.20.2...
Building cpphs-1.20.2...
Installed cpphs-1.20.2
Configuring haskell-src-exts-1.19.0...
Building haskell-src-exts-1.19.0...
Installed vector-0.11.0.0
Configuring th-lift-instances-0.1.11...
Building th-lift-instances-0.1.11...
Installed th-lift-instances-0.1.11
Configuring th-orphans-0.13.3...
Building th-orphans-0.13.3...
Installed th-orphans-0.13.3
Configuring th-desugar-1.6...
Building th-desugar-1.6...
Installed th-desugar-1.6
Installed haskell-src-exts-1.19.0
Downloading th-context-0.13...
Configuring th-context-0.13...
Building th-context-0.13...
Failed to install th-context-0.13
Build log ( /home/builder/.cabal/logs/th-context-0.13.log ):
cabal: Entering directory '/tmp/cabal-tmp-28250/th-context-0.13'
Configuring th-context-0.13...
Building th-context-0.13...
Preprocessing library th-context-0.13...
[1 of 5] Compiling Language.Haskell.TH.TypeGraph ( Language/Haskell/TH/TypeGraph.hs, dist/build/Language/Haskell/TH/TypeGraph.o )
Language/Haskell/TH/TypeGraph.hs:114:24: error:
• The constructor ‘NewtypeD’ should have 6 arguments, but has been given 5
• In the pattern: NewtypeD _ tname _ con _
In an equation for ‘doDec’:
doDec dec@(NewtypeD _ tname _ con _) = doCon tname dec con
In an equation for ‘doEdges’:
doEdges typ@(ConT name)
= do { info <- qReify name;
case info of {
TyConI dec -> doDec dec
_ -> return () } }
where
doDec :: Dec -> StateT (TypeGraphEdges Type) m ()
doDec dec@(NewtypeD _ tname _ con _) = doCon tname dec con
doDec dec@(DataD _ tname _ cons _) = mapM_ (doCon tname dec) cons
doDec (TySynD _tname _tvars typ') = addEdge typ typ' >> doNode typ'
doDec _ = return ()
doCon :: Name -> Dec -> Con -> StateT (TypeGraphEdges Type) m ()
doCon tname dec (ForallC _ _ con) = doCon tname dec con
doCon tname dec (NormalC cname fields)
= mapM_
(doField tname dec cname)
(zip (map Left ([1 .. ] :: [Int])) (map snd fields))
doCon tname dec (RecC cname fields)
= mapM_
(doField tname dec cname)
(map (\ (fname, _, typ') -> (Right fname, typ')) fields)
doCon tname dec (InfixC (_, lhs) cname (_, rhs))
= mapM_ (doField tname dec cname) [(Left 1, lhs), ....]
....
cabal: Leaving directory '/tmp/cabal-tmp-28250/th-context-0.13'
cabal: Error: some packages failed to install:
th-context-0.13 failed during the building phase. The exception was:
ExitFailure 1
Test log
No test log was submitted for this report.