The build is unreachable.
Build log
> /tmp/stackage-build2454$ stack unpack language-java-0.2.9@sha256:330a0d7f8dc3e8c64bf8c19b928aa9421d5dab1907be576f43d3eb88567acb3a
Unpacked language-java-0.2.9 to /tmp/stackage-build2454/language-java-0.2.9/
> /tmp/stackage-build2454/language-java-0.2.9$ ghc -clear-package-db -global-package-db -package-db=/home/circleci/project/builds/nightly/pkgdb Setup
[1 of 1] Compiling Main ( Setup.hs, Setup.o )
Linking Setup ...
> /tmp/stackage-build2454/language-java-0.2.9$ ./Setup configure --package-db=clear --package-db=global --package-db=/home/circleci/project/builds/nightly/pkgdb --libdir=/home/circleci/project/builds/nightly/lib --bindir=/home/circleci/project/builds/nightly/bin --datadir=/home/circleci/project/builds/nightly/share --libexecdir=/home/circleci/project/builds/nightly/libexec --sysconfdir=/home/circleci/project/builds/nightly/etc --docdir=/home/circleci/project/builds/nightly/doc/language-java-0.2.9 --htmldir=/home/circleci/project/builds/nightly/doc/language-java-0.2.9 --haddockdir=/home/circleci/project/builds/nightly/doc/language-java-0.2.9
Configuring language-java-0.2.9...
> /tmp/stackage-build2454/language-java-0.2.9$ ghc -clear-package-db -global-package-db -package-db=/home/circleci/project/builds/nightly/pkgdb Setup
> /tmp/stackage-build2454/language-java-0.2.9$ ./Setup build
Preprocessing library for language-java-0.2.9..
Building library for language-java-0.2.9..
[1 of 6] Compiling Language.Java.Lexer ( dist/build/Language/Java/Lexer.hs, dist/build/Language/Java/Lexer.o )
templates/wrappers.hs:450:19: warning: [-Wname-shadowing]
This binding for ‘pos’ shadows the existing binding
defined at Language/Java/Lexer.x:251:1
[2 of 6] Compiling Language.Java.Syntax.Exp ( Language/Java/Syntax/Exp.hs, dist/build/Language/Java/Syntax/Exp.o )
[3 of 6] Compiling Language.Java.Syntax.Types ( Language/Java/Syntax/Types.hs, dist/build/Language/Java/Syntax/Types.o )
[4 of 6] Compiling Language.Java.Syntax ( Language/Java/Syntax.hs, dist/build/Language/Java/Syntax.o )
[5 of 6] Compiling Language.Java.Pretty ( Language/Java/Pretty.hs, dist/build/Language/Java/Pretty.o )
Language/Java/Pretty.hs:7:1: warning: [-Wunused-imports]
The import of ‘Data.List’ is redundant
except perhaps to import instances from ‘Data.List’
To import instances alone, use: import Data.List()
|
7 | import Data.List (intersperse)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Language/Java/Pretty.hs:52:35: warning: [-Wname-shadowing]
This binding for ‘id’ shadows the existing binding
imported from ‘Prelude’ at Language/Java/Pretty.hs:12:1-28
(and originally defined in ‘GHC.Base’)
|
52 | prettyPrec p (InterfaceTypeDecl id) = prettyPrec p id
| ^^
Language/Java/Pretty.hs:129:37: warning: [-Wname-shadowing]
This binding for ‘id’ shadows the existing binding
imported from ‘Prelude’ at Language/Java/Pretty.hs:12:1-28
(and originally defined in ‘GHC.Base’)
|
129 | prettyPrec p (MemberInterfaceDecl id) = prettyPrec p id
| ^^
Language/Java/Pretty.hs:170:14: warning: [-Wunused-matches]
Defined but not used: ‘p’
|
170 | prettyPrec p mod = text . map toLower $ show mod
| ^
Language/Java/Pretty.hs:170:16: warning: [-Wname-shadowing]
This binding for ‘mod’ shadows the existing binding
imported from ‘Prelude’ at Language/Java/Pretty.hs:12:1-28
(and originally defined in ‘GHC.Real’)
|
170 | prettyPrec p mod = text . map toLower $ show mod
| ^^^
Language/Java/Pretty.hs:200:14: warning: [-Wunused-matches]
Defined but not used: ‘p’
|
200 | prettyPrec p (IfThen c th) =
| ^
Language/Java/Pretty.hs:227:14: warning: [-Wunused-matches]
Defined but not used: ‘p’
|
227 | prettyPrec p Empty = semi
| ^
Language/Java/Pretty.hs:277:14: warning: [-Wunused-matches]
Defined but not used: ‘p’
|
277 | prettyPrec p Default = text "default:"
| ^
Language/Java/Pretty.hs:318:37: warning: [-Wname-shadowing]
This binding for ‘init’ shadows the existing binding
imported from ‘Prelude’ at Language/Java/Pretty.hs:12:1-28
(and originally defined in ‘GHC.List’)
|
318 | prettyPrec p (ArrayCreateInit t k init) =
| ^^^^
Language/Java/Pretty.hs:377:34: warning: [-Wname-shadowing]
This binding for ‘exp’ shadows the existing binding
imported from ‘Prelude’ at Language/Java/Pretty.hs:12:1-28
(and originally defined in ‘GHC.Float’)
|
377 | prettyPrec p (LambdaExpression exp) = prettyPrec p exp
| ^^^
Language/Java/Pretty.hs:381:14: warning: [-Wunused-matches]
Defined but not used: ‘p’
|
381 | prettyPrec p (Int i) = text (show i)
| ^
Language/Java/Pretty.hs:382:14: warning: [-Wunused-matches]
Defined but not used: ‘p’
|
382 | prettyPrec p (Word i) = text (show i) <> char 'L'
| ^
Language/Java/Pretty.hs:383:14: warning: [-Wunused-matches]
Defined but not used: ‘p’
|
383 | prettyPrec p (Float f) = text (show f) <> char 'F'
| ^
Language/Java/Pretty.hs:384:14: warning: [-Wunused-matches]
Defined but not used: ‘p’
|
384 | prettyPrec p (Double d) = text (show d)
| ^
Language/Java/Pretty.hs:385:14: warning: [-Wunused-matches]
Defined but not used: ‘p’
|
385 | prettyPrec p (Boolean b) = text . map toLower $ show b
| ^
Language/Java/Pretty.hs:386:14: warning: [-Wunused-matches]
Defined but not used: ‘p’
|
386 | prettyPrec p (Char c) = quotes $ text (escapeChar c)
| ^
Language/Java/Pretty.hs:387:14: warning: [-Wunused-matches]
Defined but not used: ‘p’
|
387 | prettyPrec p (String s) = doubleQuotes $ text (concatMap escapeString s)
| ^
Language/Java/Pretty.hs:388:14: warning: [-Wunused-matches]
Defined but not used: ‘p’
|
388 | prettyPrec p (Null) = text "null"
| ^
Language/Java/Pretty.hs:391:14: warning: [-Wunused-matches]
Defined but not used: ‘p’
|
391 | prettyPrec p op = text $ case op of
| ^
Language/Java/Pretty.hs:413:14: warning: [-Wunused-matches]
Defined but not used: ‘p’
|
413 | prettyPrec p aop = text $ case aop of
| ^
Language/Java/Pretty.hs:498:14: warning: [-Wunused-matches]
Defined but not used: ‘p’
|
498 | prettyPrec p Diamond = text "<>"
| ^
Language/Java/Pretty.hs:505:14: warning: [-Wunused-matches]
Defined but not used: ‘p’
|
505 | prettyPrec p BooleanT = text "boolean"
| ^
Language/Java/Pretty.hs:506:14: warning: [-Wunused-matches]
Defined but not used: ‘p’
|
506 | prettyPrec p ByteT = text "byte"
| ^
Language/Java/Pretty.hs:507:14: warning: [-Wunused-matches]
Defined but not used: ‘p’
|
507 | prettyPrec p ShortT = text "short"
| ^
Language/Java/Pretty.hs:508:14: warning: [-Wunused-matches]
Defined but not used: ‘p’
|
508 | prettyPrec p IntT = text "int"
| ^
Language/Java/Pretty.hs:509:14: warning: [-Wunused-matches]
Defined but not used: ‘p’
|
509 | prettyPrec p LongT = text "long"
| ^
Language/Java/Pretty.hs:510:14: warning: [-Wunused-matches]
Defined but not used: ‘p’
|
510 | prettyPrec p CharT = text "char"
| ^
Language/Java/Pretty.hs:511:14: warning: [-Wunused-matches]
Defined but not used: ‘p’
|
511 | prettyPrec p FloatT = text "float"
| ^
Language/Java/Pretty.hs:512:14: warning: [-Wunused-matches]
Defined but not used: ‘p’
|
512 | prettyPrec p DoubleT = text "double"
| ^
Language/Java/Pretty.hs:544:19: warning: [-Wname-shadowing]
This binding for ‘exp’ shadows the existing binding
imported from ‘Prelude’ at Language/Java/Pretty.hs:12:1-28
(and originally defined in ‘GHC.Float’)
|
544 | ppDefault p (Just exp) = text "default" <+> prettyPrec p exp
| ^^^
Language/Java/Pretty.hs:558:14: warning: [-Wunused-matches]
Defined but not used: ‘p’
|
558 | prettyPrec p (Ident s) = text s
| ^
Language/Java/Pretty.hs:564:36: warning: [-Wunused-matches]
Defined but not used: ‘b’
|
564 | prettyNestedStmt prio p@(StmtBlock b) = prettyPrec prio p
| ^
[6 of 6] Compiling Language.Java.Parser ( Language/Java/Parser.hs, dist/build/Language/Java/Parser.o )
Language/Java/Parser.hs:44:1: warning: [-Wdodgy-imports]
Module ‘Prelude’ does not export ‘catch’
|
44 | import Prelude hiding ( exp, catch, (>>), (>>=) )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Language/Java/Parser.hs:47:1: warning: [-Wunused-imports]
The import of ‘Control.Monad’ is redundant
except perhaps to import instances from ‘Control.Monad’
To import instances alone, use: import Control.Monad()
|
47 | import Control.Monad ( ap )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Language/Java/Parser.hs:74:1: warning: [-Wunused-top-binds]
Defined but not used: ‘parseCompilationUnit’
|
74 | parseCompilationUnit inp =
| ^^^^^^^^^^^^^^^^^^^^
Language/Java/Parser.hs:122:25: warning: [-Wname-shadowing]
This binding for ‘ms’ shadows the existing binding
bound at Language/Java/Parser.hs:120:5
|
122 | return $ \ms -> ClassTypeDecl (cd ms)) <|>
| ^^
Language/Java/Parser.hs:123:15: warning: [-Wname-shadowing]
This binding for ‘id’ shadows the existing binding
imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
(and originally defined in ‘GHC.Base’)
|
123 | (do id <- annInterfaceDecl <|> interfaceDecl
| ^^
Language/Java/Parser.hs:124:25: warning: [-Wname-shadowing]
This binding for ‘ms’ shadows the existing binding
bound at Language/Java/Parser.hs:120:5
|
124 | return $ \ms -> InterfaceTypeDecl (id ms))
| ^^
Language/Java/Parser.hs:166:5: warning: [-Wname-shadowing]
This binding for ‘id’ shadows the existing binding
imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
(and originally defined in ‘GHC.Base’)
|
166 | id <- ident
| ^^
Language/Java/Parser.hs:182:5: warning: [-Wname-shadowing]
This binding for ‘id’ shadows the existing binding
imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
(and originally defined in ‘GHC.Base’)
|
182 | id <- ident
| ^^
Language/Java/Parser.hs:191:5: warning: [-Wname-shadowing]
This binding for ‘id’ shadows the existing binding
imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
(and originally defined in ‘GHC.Base’)
|
191 | id <- ident
| ^^
Language/Java/Parser.hs:206:8: warning: [-Wunused-do-bind]
A do-notation statement discarded a result of type ‘[()]’
Suppress this warning by saying ‘_ <- list1 semiColon’
|
206 | list1 semiColon
| ^^^^^^^^^^^^^^^
Language/Java/Parser.hs:222:9: warning: [-Wname-shadowing]
This binding for ‘id’ shadows the existing binding
imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
(and originally defined in ‘GHC.Base’)
|
222 | id <- try annInterfaceDecl <|> try interfaceDecl
| ^^
Language/Java/Parser.hs:239:5: warning: [-Wname-shadowing]
This binding for ‘id’ shadows the existing binding
imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
(and originally defined in ‘GHC.Base’)
|
239 | id <- ident
| ^^
Language/Java/Parser.hs:253:5: warning: [-Wname-shadowing]
This binding for ‘id’ shadows the existing binding
imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
(and originally defined in ‘GHC.Base’)
|
253 | id <- ident
| ^^
Language/Java/Parser.hs:296:9: warning: [-Wname-shadowing]
This binding for ‘id’ shadows the existing binding
imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
(and originally defined in ‘GHC.Base’)
|
296 | (do id <- try annInterfaceDecl <|> try interfaceDecl
| ^^
Language/Java/Parser.hs:305:5: warning: [-Wname-shadowing]
This binding for ‘id’ shadows the existing binding
imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
(and originally defined in ‘GHC.Base’)
|
305 | id <- ident
| ^^
Language/Java/Parser.hs:329:43: warning: [-Wunused-matches]
Defined but not used: ‘xs’
|
329 | validateFPs (FormalParam _ _ b _ :xs) = not b
| ^^
Language/Java/Parser.hs:393:5: warning: [-Wname-shadowing]
This binding for ‘id’ shadows the existing binding
imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
(and originally defined in ‘GHC.Base’)
|
393 | id <- ident
| ^^
Language/Java/Parser.hs:394:5: warning: [-Wname-shadowing]
This binding for ‘abs’ shadows the existing binding
imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
(and originally defined in ‘GHC.Num’)
|
394 | abs <- list arrBrackets
| ^^^
Language/Java/Parser.hs:415:5: warning: [-Wunused-do-bind]
A do-notation statement discarded a result of type ‘Maybe ()’
Suppress this warning by saying ‘_ <- opt comma’
|
415 | opt comma
| ^^^^^^^^^
Language/Java/Parser.hs:722:1: warning: [-Wunused-top-binds]
Defined but not used: ‘primaryNoNewArray’
|
722 | primaryNoNewArray = startSuff primaryNoNewArrayNPS primarySuffix
| ^^^^^^^^^^^^^^^^^
Language/Java/Parser.hs:888:28: warning: [-Wname-shadowing]
This binding for ‘n’ shadows the existing binding
bound at Language/Java/Parser.hs:886:9
|
888 | return $ \n -> MethodCall n as) <|>
| ^
Language/Java/Parser.hs:895:27: warning: [-Wname-shadowing]
This binding for ‘n’ shadows the existing binding
bound at Language/Java/Parser.hs:886:9
|
895 | return $ \n -> mc n rts i as)
| ^
Language/Java/Parser.hs:901:9: warning: [-Wunused-matches]
Defined but not used: ‘rts’
|
901 | rts <- lopt refTypeArgs
| ^^^
Language/Java/Parser.hs:985:24: warning: [-Wname-shadowing]
This binding for ‘t’ shadows the existing binding
bound at Language/Java/Parser.hs:981:5
|
985 | return $ \t -> ArrayCreateInit t (length ds) ai) <|>
| ^
Language/Java/Parser.hs:988:24: warning: [-Wname-shadowing]
This binding for ‘t’ shadows the existing binding
bound at Language/Java/Parser.hs:981:5
|
988 | return $ \t -> ArrayCreate t des (length ds))
| ^
Language/Java/Parser.hs:1188:17: warning: [-Wunused-do-bind]
A do-notation statement discarded a result of type ‘sep’
Suppress this warning by saying ‘_ <- sep’
|
1188 | try (do sep
| ^^^
Language/Java/Parser.hs:1204:11: warning: [-Wname-shadowing]
This binding for ‘test’ shadows the existing binding
defined at Language/Java/Parser.hs:1235:1
|
1204 | javaToken test = token showT posT testT
| ^^^^
Language/Java/Parser.hs:1235:1: warning: [-Wunused-top-binds]
Defined but not used: ‘test’
|
1235 | test = "public class Foo { }"
| ^^^^
Language/Java/Parser.hs:1236:1: warning: [-Wunused-top-binds]
Defined but not used: ‘testFile’
|
1236 | testFile file = do
| ^^^^^^^^
> /tmp/stackage-build2454/language-java-0.2.9$ ghc -clear-package-db -global-package-db -package-db=/home/circleci/project/builds/nightly/pkgdb Setup
> /tmp/stackage-build2454/language-java-0.2.9$ ./Setup copy
Installing library in /home/circleci/project/builds/nightly/lib/x86_64-linux-ghc-8.7.20181117/language-java-0.2.9-2pnWXjgDFEfK6Ojvc6plIR
> /tmp/stackage-build2454/language-java-0.2.9$ ghc -clear-package-db -global-package-db -package-db=/home/circleci/project/builds/nightly/pkgdb Setup
> /tmp/stackage-build2454/language-java-0.2.9$ ./Setup register
Registering library for language-java-0.2.9..