Build #6 for dead-code-detection-0.1.1
Package | dead-code-detection-0.1.1 |
---|
Install | BuildFailed |
---|---|
Docs | NotTried |
Tests | NotTried |
Time submitted | 2016-12-01 18:19:15.710225 UTC |
---|---|
Compiler | ghc-8.0.1.20161018 |
OS | linux |
Arch | x86_64 |
Dependencies | Glob-0.7.13, base-4.9.0.0, containers-0.5.7.1, getopt-generics-0.13, ghc-8.0.1.20161018, ghc-paths-0.1.0.9, gitrev-1.2.0, graph-wrapper-0.2.5.1, silently-1.2.5, string-conversions-0.4, uniplate-1.6.12 |
Flags | none |
Code Coverage
No Code Coverage was submitted for this report.
Build log
[view raw]
Resolving dependencies... Configuring base-orphans-0.5.4... Configuring base-compat-0.9.1... Building base-compat-0.9.1... Building base-orphans-0.5.4... Installed base-orphans-0.5.4 Configuring dlist-0.8.0.2... Building dlist-0.8.0.2... Configuring ghc-paths-0.1.0.9... Installed base-compat-0.9.1 Configuring generics-sop-0.2.2.0... Installed dlist-0.8.0.2 Building generics-sop-0.2.2.0... Building ghc-paths-0.1.0.9... Configuring gitrev-1.2.0... Installed ghc-paths-0.1.0.9 Building gitrev-1.2.0... Configuring silently-1.2.5... Installed gitrev-1.2.0 Building silently-1.2.5... Configuring graph-wrapper-0.2.5.1... Installed silently-1.2.5 Building graph-wrapper-0.2.5.1... Configuring syb-0.6... Installed graph-wrapper-0.2.5.1 Building syb-0.6... Configuring transformers-compat-0.5.1.4... Installed syb-0.6 Building transformers-compat-0.5.1.4... Configuring text-1.2.2.1... Installed transformers-compat-0.5.1.4 Building text-1.2.2.1... Configuring utf8-string-1.0.1.1... Installed generics-sop-0.2.2.0 Building utf8-string-1.0.1.1... Installed utf8-string-1.0.1.1 Configuring Glob-0.7.13... Configuring tagged-0.8.5... Installed text-1.2.2.1 Building Glob-0.7.13... Building tagged-0.8.5... Installed tagged-0.8.5 Configuring hashable-1.2.4.0... Configuring string-conversions-0.4... Installed Glob-0.7.13 Building hashable-1.2.4.0... Building string-conversions-0.4... Configuring getopt-generics-0.13... Installed string-conversions-0.4 Building getopt-generics-0.13... Installed hashable-1.2.4.0 Configuring unordered-containers-0.2.7.1... Building unordered-containers-0.2.7.1... Installed getopt-generics-0.13 Installed unordered-containers-0.2.7.1 Configuring uniplate-1.6.12... Building uniplate-1.6.12... Installed uniplate-1.6.12 Downloading dead-code-detection-0.1.1... Configuring dead-code-detection-0.1.1... Building dead-code-detection-0.1.1... Failed to install dead-code-detection-0.1.1 Build log ( /home/builder/.cabal/logs/dead-code-detection-0.1.1.log ): cabal: Entering directory '/tmp/cabal-tmp-13751/dead-code-detection-0.1.1' Configuring dead-code-detection-0.1.1... Building dead-code-detection-0.1.1... Preprocessing executable 'dead-code-detection' for dead-code-detection-0.1.1... [1 of 7] Compiling Paths_dead_code_detection ( dist/build/autogen/Paths_dead_code_detection.hs, dist/build/dead-code-detection/dead-code-detection-tmp/Paths_dead_code_detection.o ) [2 of 7] Compiling Graph ( src/Graph.hs, dist/build/dead-code-detection/dead-code-detection-tmp/Graph.o ) [3 of 7] Compiling GHC.Show ( src/GHC/Show.hs, dist/build/dead-code-detection/dead-code-detection-tmp/GHC/Show.o ) [4 of 7] Compiling Files ( src/Files.hs, dist/build/dead-code-detection/dead-code-detection-tmp/Files.o ) [5 of 7] Compiling Ast ( src/Ast.hs, dist/build/dead-code-detection/dead-code-detection-tmp/Ast.o ) src/Ast.hs:163:5: error: • The constructor ‘FunBind’ should have 5 arguments, but has been given 6 • In the pattern: FunBind id _ _ _ _ _ In a case alternative: FunBind id _ _ _ _ _ -> [unLoc id] In the expression: \case { FunBind id _ _ _ _ _ -> [unLoc id] PatBind pat _ _ _ _ -> boundNames pat bind -> nyi bind } src/Ast.hs:171:18: error: • Couldn't match type ‘GenLocated SrcSpan Name’ with ‘Name’ Expected type: Name Actual type: Located Name • In the expression: p In the expression: [p] In a case alternative: VarPat p -> [p] src/Ast.hs:186:5: error: • Couldn't match type ‘FieldOcc Name’ with ‘Name’ Expected type: [Name] Actual type: [FieldOcc Name] • In the second argument of ‘($)’, namely ‘concatMap (map unLoc . cd_fld_names) (universeBi conDecl :: [ConDeclField Name])’ In the expression: filter (not . isHidden) $ concatMap (map unLoc . cd_fld_names) (universeBi conDecl :: [ConDeclField Name]) In an equation for ‘boundNames’: boundNames conDecl = filter (not . isHidden) $ concatMap (map unLoc . cd_fld_names) (universeBi conDecl :: [ConDeclField Name]) where isHidden :: Name -> Bool isHidden name = "_" `isPrefixOf` occNameString (getOccName name) cabal: Leaving directory '/tmp/cabal-tmp-13751/dead-code-detection-0.1.1' cabal: Error: some packages failed to install: dead-code-detection-0.1.1 failed during the building phase. The exception was: ExitFailure 1
Test log
No test log was submitted for this report.