Frege/frege

`c45aff7` fails to build with javac 1.8.0_112

kstarikov opened this issue · 2 comments

Building on OS X 10.10.4:

➜  frege git:(master) make runtime compiler
Making build
mkdir -p build
Making runtime
mkdir -p build
[ "1.8" = "1.7" ] || javac -encoding UTF-8 -d build frege/run8/*.java
javac -encoding UTF-8 -d build -nowarn -source 1.7 -target 1.7 frege/runtime/*.java frege/run/*.java frege/run7/*.java
Runtime is complete.
Making frege/Version.fr
perl scripts/mkversion.pl > frege/Version.fr
Making compiler1
`which gtime || which time || false` java -Dfrege.javac=internal -Xss4m -Xmx2222m -cp build -jar fregec.jar -d build -hints -nocp -prefix a -sp "shadow:."  -target 1.7 -make frege.compiler.Main
W shadow/frege/prelude/PreludeBase.fr:967: application of
    throw will diverge.
W shadow/frege/prelude/PreludeBase.fr:963: application of
    error will diverge.
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/prelude/PreludeBase.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/control/Semigroupoid.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/control/Category.java
W shadow/frege/prelude/PreludeList.fr:391: foldl: It
    is strongly advised to use 'fold' instead - beware
    of stack overflow!
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/prelude/PreludeList.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/prelude/PreludeMonad.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/prelude/PreludeIO.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/prelude/Maybe.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/prelude/PreludeArrays.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/java/Lang.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/java/util/Regex.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/prelude/PreludeText.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/java/IO.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/java/Util.java
Note: build/afrege/java/Util.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: build/afrege/java/Util.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
W ./frege/Prelude.fr:129: ST.performUnsafe: You are
    breaking the rules. Expect an arbitrary result and
    program crashes.
W ./frege/Prelude.fr:131: ST.performUnsafe: You are
    breaking the rules. Expect an arbitrary result and
    program crashes.
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/Prelude.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/Version.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/enums/Visibility.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/enums/CaseKind.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/types/JNames.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/enums/Literals.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/enums/SymState.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/types/NSNames.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/control/monad/trans/MonadIO.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/control/monad/trans/MonadTrans.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/types/Strictness.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/enums/TokenID.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/types/Targets.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/java/Net.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/java/util/Concurrent.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/types/Packs.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/lib/PP.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/data/Monoid.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/control/Concurrent.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/data/List.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/types/Tokens.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/control/monad/State.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/types/QNames.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/data/wrapper/Const.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/data/wrapper/Endo.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/data/wrapper/Boolean.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/data/wrapper/Dual.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/data/Bits.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/data/wrapper/Identity.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/types/Positions.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/data/wrapper/Num.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/types/SNames.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/enums/Flags.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/enums/RFlag.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/instances/PositionedSName.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/types/ImportDetails.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/Classtools.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/data/Foldable.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/common/Annotate.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/data/Tuples.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/types/External.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/data/Traversable.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/common/Roman.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/data/Tree.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/data/TreeMap.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/data/Graph.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/types/Types.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/types/ConstructorField.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/types/Patterns.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/types/AbstractJava.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/types/Expression.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/common/Tuples.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/types/SourceDefinitions.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/types/Symbols.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/types/Global.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/classes/QNameMatcher.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/common/Binders.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/classes/Nice.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/common/Errors.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/common/AnnotateG.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/common/CompilerOptions.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/common/UnAlias.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/common/Mangle.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/common/Types.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/common/JavaName.java
W ./frege/compiler/gen/java/PrettyJava.fr:93: ST.performUnsafe: You
    are breaking the rules. Expect an arbitrary result
    and program crashes.
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/grammar/Lexer.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/common/Resolve.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/gen/java/PrettyJava.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/instances/Nicer.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/instances/NiceExprS.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/common/SymbolTable.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/passes/Fix.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/common/Desugar.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/Utilities.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/Javatypes.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/passes/TypeAlias.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/common/ImpExp.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/passes/Enter.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/tc/Methods.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/Kinds.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/tc/Patterns.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/gen/java/Common.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/passes/Final.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/passes/Fields.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/gen/java/Bindings.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/passes/Imp.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/tc/Util.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/passes/Instances.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/gen/java/MethodCall.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/gen/java/Instantiation.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/common/Trans.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/Classes.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/common/PatternCompiler.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/Typecheck.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/GenMeta.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/passes/Strict.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/passes/LetUnroll.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/passes/Transdef.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/passes/GlobalLam.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/gen/java/Constants.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/passes/Easy.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/gen/java/Match.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/gen/java/VarCode.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/gen/java/DataCode.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/gen/java/InstanceCode.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/passes/GenCode.java
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/grammar/Frege.java
W ./frege/compiler/Main.fr:115: ST.performUnsafe: You
    are breaking the rules. Expect an arbitrary result
    and program crashes.
calling: internal -nowarn -source 1.7 -target 1.7 -cp build -d build -sourcepath shadow:. -encoding UTF-8 build/afrege/compiler/Main.java
      154.41 real       388.91 user        26.18 sys
stage 1 compiler ready
Making compiler2
( test -d build/bfrege -a build/afrege/compiler/Main.class -nt build/bfrege/compiler/Main.class && rm -rf build/bfrege ) || true
`which gtime || which time || false` java -Dfrege.javac=internal -Xss4m -Xmx2222m -cp build afrege.compiler.Main -d build -hints -inline -prefix b -target 1.8 -v -make frege.compiler.Main
parsing ./frege/compiler/Main.fr
parsing ./frege/Prelude.fr
parsing ./frege/Version.fr
parsing ./frege/compiler/Classes.fr
parsing ./frege/compiler/GenMeta.fr
parsing ./frege/compiler/Typecheck.fr
parsing ./frege/compiler/common/Desugar.fr
parsing ./frege/compiler/common/CompilerOptions.fr
parsing ./frege/compiler/common/Errors.fr
parsing ./frege/compiler/common/SymbolTable.fr
parsing ./frege/compiler/enums/Flags.fr
parsing ./frege/compiler/enums/TokenID.fr
parsing ./frege/compiler/enums/Visibility.fr
parsing ./frege/compiler/grammar/Frege.fr
parsing ./frege/compiler/grammar/Lexer.fr
parsing ./frege/compiler/passes/Easy.fr
parsing ./frege/compiler/passes/Enter.fr
parsing ./frege/compiler/passes/Fields.fr
parsing ./frege/compiler/passes/Final.fr
parsing ./frege/compiler/passes/Fix.fr
parsing ./frege/compiler/passes/GenCode.fr
parsing ./frege/compiler/passes/GlobalLam.fr
parsing ./frege/compiler/passes/Imp.fr
parsing ./frege/compiler/passes/Instances.fr
parsing ./frege/compiler/passes/LetUnroll.fr
parsing ./frege/compiler/passes/Strict.fr
parsing ./frege/compiler/passes/Transdef.fr
parsing ./frege/compiler/passes/TypeAlias.fr
parsing ./frege/compiler/types/Global.fr
parsing ./frege/compiler/types/Packs.fr
parsing ./frege/compiler/types/Positions.fr
parsing ./frege/compiler/types/Tokens.fr
parsing ./frege/control/Concurrent.fr
parsing ./frege/control/monad/State.fr
parsing ./frege/data/List.fr
parsing ./frege/data/TreeMap.fr
parsing ./frege/java/util/Regex.fr
parsing ./frege/lib/PP.fr
parsing ./frege/prelude/PreludeArrays.fr
parsing ./frege/prelude/PreludeIO.fr
parsing ./frege/prelude/PreludeList.fr
parsing ./frege/prelude/PreludeBase.fr
parsing ./frege/prelude/PreludeMonad.fr
parsing ./frege/compiler/classes/Nice.fr
parsing ./frege/compiler/common/Annotate.fr
parsing ./frege/prelude/PreludeText.fr
parsing ./frege/compiler/enums/SymState.fr
parsing ./frege/compiler/instances/Nicer.fr
parsing ./frege/compiler/types/QNames.fr
parsing ./frege/compiler/types/Symbols.fr
parsing ./frege/compiler/types/Types.fr
parsing ./frege/data/Bits.fr
parsing ./frege/control/Category.fr
parsing ./frege/control/Semigroupoid.fr
parsing ./frege/java/IO.fr
parsing ./frege/java/Lang.fr
parsing ./frege/java/Util.fr
parsing ./frege/prelude/Maybe.fr
parsing ./frege/compiler/Classtools.fr
parsing ./frege/compiler/types/External.fr
parsing ./frege/compiler/types/Targets.fr
parsing ./frege/compiler/Utilities.fr
parsing ./frege/compiler/common/AnnotateG.fr
parsing ./frege/compiler/common/Trans.fr
parsing ./frege/compiler/common/Types.fr
parsing ./frege/compiler/enums/CaseKind.fr
parsing ./frege/compiler/enums/Literals.fr
parsing ./frege/compiler/enums/RFlag.fr
parsing ./frege/compiler/types/ConstructorField.fr
parsing ./frege/compiler/types/JNames.fr
parsing ./frege/compiler/types/NSNames.fr
parsing ./frege/compiler/types/Patterns.fr
parsing ./frege/compiler/types/Expression.fr
parsing ./frege/compiler/common/Mangle.fr
parsing ./frege/compiler/common/Tuples.fr
parsing ./frege/compiler/instances/NiceExprS.fr
parsing ./frege/compiler/types/SNames.fr
parsing ./frege/compiler/types/SourceDefinitions.fr
parsing ./frege/compiler/Kinds.fr
parsing ./frege/compiler/tc/Util.fr
parsing ./frege/data/Graph.fr
parsing ./frege/compiler/common/ImpExp.fr
parsing ./frege/compiler/common/JavaName.fr
parsing ./frege/compiler/gen/java/Common.fr
parsing ./frege/compiler/gen/java/Constants.fr
parsing ./frege/compiler/gen/java/DataCode.fr
parsing ./frege/compiler/gen/java/InstanceCode.fr
parsing ./frege/compiler/gen/java/VarCode.fr
parsing ./frege/compiler/types/AbstractJava.fr
parsing ./frege/compiler/types/Strictness.fr
parsing ./frege/compiler/common/Binders.fr
parsing ./frege/compiler/common/Resolve.fr
parsing ./frege/compiler/common/PatternCompiler.fr
parsing ./frege/compiler/types/ImportDetails.fr
parsing ./frege/control/monad/trans/MonadIO.fr
parsing ./frege/control/monad/trans/MonadTrans.fr
parsing ./frege/java/util/Concurrent.fr
parsing ./frege/compiler/tc/Methods.fr
parsing ./frege/compiler/tc/Patterns.fr
parsing ./frege/java/Net.fr
parsing ./frege/compiler/Javatypes.fr
parsing ./frege/data/Monoid.fr
parsing ./frege/data/Traversable.fr
parsing ./frege/compiler/classes/QNameMatcher.fr
parsing ./frege/compiler/common/UnAlias.fr
parsing ./frege/compiler/instances/PositionedSName.fr
parsing ./frege/data/Tree.fr
parsing ./frege/compiler/gen/java/Bindings.fr
parsing ./frege/compiler/gen/java/Match.fr
parsing ./frege/compiler/common/Roman.fr
parsing ./frege/compiler/gen/java/PrettyJava.fr
Prelude.PreludeBase: compiling because class file doesn't exist
parsing ./frege/data/Foldable.fr
parsing ./frege/data/wrapper/Const.fr
parsing ./frege/data/wrapper/Identity.fr
parsing ./frege/data/Tuples.fr
parsing ./frege/data/wrapper/Boolean.fr
parsing ./frege/data/wrapper/Dual.fr
parsing ./frege/data/wrapper/Endo.fr
parsing ./frege/data/wrapper/Num.fr
parsing ./frege/compiler/gen/java/Instantiation.fr
parsing ./frege/compiler/gen/java/MethodCall.fr
W ./frege/prelude/PreludeBase.fr:967: application of
    throw will diverge.
W ./frege/prelude/PreludeBase.fr:963: application of
    error will diverge.
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/prelude/PreludeBase.java
Prelude.PreludeBase: compiled
Control.Semigroupoid: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/control/Semigroupoid.java
Control.Semigroupoid: compiled
Control.Category: compiling because class file doesn't exist
Prelude.PreludeList: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/control/Category.java
Control.Category: compiled
W ./frege/prelude/PreludeList.fr:391: foldl: It is
    strongly advised to use 'fold' instead - beware of
    stack overflow!
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/prelude/PreludeList.java
Prelude.PreludeList: compiled
Prelude.PreludeMonad: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/prelude/PreludeMonad.java
Prelude.PreludeMonad: compiled
Prelude.Maybe: compiling because class file doesn't exist
Prelude.PreludeIO: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/prelude/PreludeIO.java
Prelude.PreludeIO: compiled
W ./frege/prelude/Maybe.fr:58: case alternative will never be taken
W ./frege/prelude/Maybe.fr:58: case alternative will never be taken
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/prelude/Maybe.java
Prelude.Maybe: compiled
Prelude.PreludeArrays: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/prelude/PreludeArrays.java
Prelude.PreludeArrays: compiled
Java.Lang: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/java/Lang.java
Java.Lang: compiled
Java.util.Regex: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/java/util/Regex.java
Java.util.Regex: compiled
Prelude.PreludeText: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/prelude/PreludeText.java
Prelude.PreludeText: compiled
Java.IO: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/java/IO.java
Java.IO: compiled
Java.Util: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/java/Util.java
Note: build/bfrege/java/Util.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: build/bfrege/java/Util.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Java.Util: compiled
frege.Prelude: compiling because class file doesn't exist
W ./frege/Prelude.fr:129: ST.performUnsafe: You are
    breaking the rules. Expect an arbitrary result and
    program crashes.
W ./frege/Prelude.fr:131: ST.performUnsafe: You are
    breaking the rules. Expect an arbitrary result and
    program crashes.
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/Prelude.java
frege.Prelude: compiled
frege.Version: compiling because class file doesn't exist
Compiler.enums.CaseKind: compiling because class file doesn't exist
Compiler.enums.Literals: compiling because class file doesn't exist
Compiler.enums.SymState: compiling because class file doesn't exist
Compiler.enums.TokenID: compiling because class file doesn't exist
Compiler.enums.Visibility: compiling because class file doesn't exist
Compiler.types.JNames: compiling because class file doesn't exist
Compiler.types.NSNames: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/Version.java
Compiler.types.Strictness: compiling because class file doesn't exist
frege.Version: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/enums/Visibility.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/enums/CaseKind.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/enums/Literals.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/enums/SymState.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/types/JNames.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/types/NSNames.java
Compiler.types.Targets: compiling because class file doesn't exist
Compiler.enums.CaseKind: compiled
Compiler.enums.Visibility: compiled
Control.monad.trans.MonadIO: compiling because class file doesn't exist
Control.monad.trans.MonadTrans: compiling because class file doesn't exist
Compiler.enums.Literals: compiled
Data.List: compiling because class file doesn't exist
Compiler.enums.SymState: compiled
Data.Monoid: compiling because class file doesn't exist
Compiler.types.JNames: compiled
Java.Net: compiling because class file doesn't exist
Compiler.types.NSNames: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/control/monad/trans/MonadTrans.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/control/monad/trans/MonadIO.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/types/Strictness.java
Java.util.Concurrent: compiling because class file doesn't exist
Control.monad.trans.MonadTrans: compiled
Lib.PP: compiling because class file doesn't exist
Control.monad.trans.MonadIO: compiled
Compiler.types.Strictness: compiled
Compiler.types.Packs: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/enums/TokenID.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/types/Targets.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/java/Net.java
Compiler.types.Targets: compiled
Control.monad.State: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/java/util/Concurrent.java
Compiler.enums.TokenID: compiled
Compiler.types.Tokens: compiling because class file doesn't exist
Java.Net: compiled
Compiler.Classtools: compiling because class file doesn't exist
Java.util.Concurrent: compiled
Control.Concurrent: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/types/Packs.java
Compiler.types.Packs: compiled
Compiler.types.QNames: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/lib/PP.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/control/Concurrent.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/data/Monoid.java
Lib.PP: compiled
Control.Concurrent: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/data/List.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/control/monad/State.java
Data.Monoid: compiled
Data.Bits: compiling because class file doesn't exist
Data.wrapper.Boolean: compiling because class file doesn't exist
Data.Tuples: compiling because class file doesn't exist
Data.wrapper.Const: compiling because class file doesn't exist
Data.List: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/types/Tokens.java
Data.wrapper.Dual: compiling because class file doesn't exist
Control.monad.State: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/types/QNames.java
Data.wrapper.Endo: compiling because class file doesn't exist
Compiler.types.QNames: compiled
Compiler.types.Tokens: compiled
Data.wrapper.Identity: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/data/wrapper/Const.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/data/wrapper/Boolean.java
Data.wrapper.Num: compiling because class file doesn't exist
Data.wrapper.Const: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/data/wrapper/Endo.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/data/wrapper/Dual.java
Data.wrapper.Boolean: compiled
Compiler.types.External: compiling because class file doesn't exist
Compiler.types.Positions: compiling because class file doesn't exist
Data.wrapper.Endo: compiled
Compiler.types.SNames: compiling because class file doesn't exist
Data.wrapper.Dual: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/data/Bits.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/data/wrapper/Identity.java
Data.Bits: compiled
Compiler.enums.Flags: compiling because class file doesn't exist
Data.wrapper.Identity: compiled
Compiler.enums.RFlag: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/types/Positions.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/data/wrapper/Num.java
Compiler.types.Positions: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/types/SNames.java
Data.wrapper.Num: compiled
Data.Foldable: compiling because class file doesn't exist
Compiler.types.SNames: compiled
Compiler.instances.PositionedSName: compiling because class file doesn't exist
Compiler.types.ImportDetails: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/enums/RFlag.java
Compiler.enums.RFlag: compiled
Compiler.common.Annotate: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/instances/PositionedSName.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/enums/Flags.java
Compiler.instances.PositionedSName: compiled
Compiler.enums.Flags: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/types/ImportDetails.java
Compiler.types.ImportDetails: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/common/Annotate.java
Compiler.common.Annotate: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/data/Foldable.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/data/Tuples.java
Data.Foldable: compiled
Data.Traversable: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/Classtools.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/types/External.java
Data.Tuples: compiled
Compiler.common.Roman: compiling because class file doesn't exist
Compiler.types.External: compiled
Compiler.Classtools: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/common/Roman.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/data/Traversable.java
Compiler.common.Roman: compiled
Data.Traversable: compiled
Data.Tree: compiling because class file doesn't exist
Data.TreeMap: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/data/Tree.java
Data.Tree: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/data/TreeMap.java
Data.TreeMap: compiled
Compiler.types.Types: compiling because class file doesn't exist
Data.Graph: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/data/Graph.java
Data.Graph: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/types/Types.java
Compiler.types.Types: compiled
Compiler.types.AbstractJava: compiling because class file doesn't exist
Compiler.types.ConstructorField: compiling because class file doesn't exist
Compiler.types.Patterns: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/types/ConstructorField.java
Compiler.types.ConstructorField: compiled
Compiler.types.SourceDefinitions: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/types/Patterns.java
Compiler.types.Patterns: compiled
Compiler.types.Expression: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/types/AbstractJava.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/types/Expression.java
Compiler.types.Expression: compiled
Compiler.common.Tuples: compiling because class file doesn't exist
Compiler.types.Symbols: compiling because class file doesn't exist
Compiler.types.AbstractJava: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/common/Tuples.java
Compiler.common.Tuples: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/types/SourceDefinitions.java
Compiler.types.SourceDefinitions: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/types/Symbols.java
Compiler.types.Symbols: compiled
Compiler.types.Global: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/types/Global.java
Compiler.types.Global: compiled
Compiler.classes.Nice: compiling because class file doesn't exist
Compiler.classes.QNameMatcher: compiling because class file doesn't exist
Compiler.common.AnnotateG: compiling because class file doesn't exist
Compiler.common.Binders: compiling because class file doesn't exist
Compiler.common.CompilerOptions: compiling because class file doesn't exist
Compiler.common.Errors: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/classes/QNameMatcher.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/common/Binders.java
Compiler.classes.QNameMatcher: compiled
Compiler.common.UnAlias: compiling because class file doesn't exist
Compiler.common.Binders: compiled
Compiler.common.Mangle: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/classes/Nice.java
Compiler.classes.Nice: compiled
Compiler.common.Types: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/common/Errors.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/common/AnnotateG.java
Compiler.common.Errors: compiled
Compiler.common.Resolve: compiling because class file doesn't exist
Compiler.grammar.Lexer: compiling because class file doesn't exist
Compiler.common.AnnotateG: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/common/Mangle.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/common/UnAlias.java
Compiler.common.Mangle: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/common/CompilerOptions.java
Compiler.common.JavaName: compiling because class file doesn't exist
Compiler.common.UnAlias: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/common/Types.java
Compiler.common.Types: compiled
Compiler.instances.Nicer: compiling because class file doesn't exist
Compiler.common.CompilerOptions: compiled
Compiler.gen.java.PrettyJava: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/common/JavaName.java
Compiler.common.JavaName: compiled
W ./frege/compiler/gen/java/PrettyJava.fr:93: ST.performUnsafe: You
    are breaking the rules. Expect an arbitrary result
    and program crashes.
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/grammar/Lexer.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/common/Resolve.java
Compiler.grammar.Lexer: compiled
Compiler.common.Resolve: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/gen/java/PrettyJava.java
Compiler.gen.java.PrettyJava: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/instances/Nicer.java
Compiler.instances.Nicer: compiled
Compiler.common.SymbolTable: compiling because class file doesn't exist
Compiler.instances.NiceExprS: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/instances/NiceExprS.java
Compiler.instances.NiceExprS: compiled
Compiler.common.Desugar: compiling because class file doesn't exist
Compiler.passes.Fix: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/common/SymbolTable.java
Compiler.common.SymbolTable: compiled
Compiler.Utilities: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/passes/Fix.java
Compiler.passes.Fix: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/common/Desugar.java
Compiler.common.Desugar: compiled
Compiler.grammar.Frege: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/Utilities.java
Compiler.Utilities: compiled
Compiler.Javatypes: compiling because class file doesn't exist
Compiler.Kinds: compiling because class file doesn't exist
Compiler.common.ImpExp: compiling because class file doesn't exist
Compiler.gen.java.Common: compiling because class file doesn't exist
Compiler.passes.Enter: compiling because class file doesn't exist
Compiler.passes.TypeAlias: compiling because class file doesn't exist
Compiler.tc.Methods: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/Javatypes.java
Compiler.Javatypes: compiled
Compiler.tc.Patterns: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/passes/TypeAlias.java
Compiler.passes.TypeAlias: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/common/ImpExp.java
Compiler.common.ImpExp: compiled
Compiler.passes.Final: compiling because class file doesn't exist
Compiler.passes.Imp: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/tc/Patterns.java
Compiler.tc.Patterns: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/Kinds.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/passes/Enter.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/tc/Methods.java
Compiler.Kinds: compiled
Compiler.tc.Util: compiling because class file doesn't exist
Compiler.passes.Enter: compiled
Compiler.passes.Fields: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/passes/Final.java
Compiler.tc.Methods: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/gen/java/Common.java
Compiler.passes.Final: compiled
Compiler.gen.java.Common: compiled
Compiler.gen.java.Bindings: compiling because class file doesn't exist
Compiler.passes.Instances: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/passes/Fields.java
Compiler.passes.Fields: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/gen/java/Bindings.java
Compiler.gen.java.Bindings: compiled
Compiler.gen.java.MethodCall: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/passes/Instances.java
Compiler.passes.Instances: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/gen/java/MethodCall.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/tc/Util.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/passes/Imp.java
Compiler.gen.java.MethodCall: compiled
Compiler.tc.Util: compiled
Compiler.Classes: compiling because class file doesn't exist
Compiler.Typecheck: compiling because class file doesn't exist
Compiler.common.Trans: compiling because class file doesn't exist
Compiler.gen.java.Instantiation: compiling because class file doesn't exist
Compiler.passes.Imp: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/gen/java/Instantiation.java
Compiler.gen.java.Instantiation: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/common/Trans.java
Compiler.common.Trans: compiled
Compiler.GenMeta: compiling because class file doesn't exist
Compiler.common.PatternCompiler: compiling because class file doesn't exist
Compiler.passes.Strict: compiling because class file doesn't exist
Compiler.passes.Transdef: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/common/PatternCompiler.java
Compiler.common.PatternCompiler: compiled
Compiler.passes.LetUnroll: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/Classes.java
An exception has occurred in the compiler (1.8.0_112). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.
java.lang.NullPointerException
	at com.sun.tools.javac.jvm.Code.emitop0(Code.java:559)
	at com.sun.tools.javac.jvm.Items$SelfItem.load(Items.java:367)
	at com.sun.tools.javac.jvm.Gen.genArgs(Gen.java:965)
	at com.sun.tools.javac.jvm.Gen.visitApply(Gen.java:1837)
	at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1465)
	at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:946)
	at com.sun.tools.javac.jvm.Gen.visitParens(Gen.java:1972)
	at com.sun.tools.javac.tree.JCTree$JCParens.accept(JCTree.java:1661)
	at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:946)
	at com.sun.tools.javac.jvm.Gen.visitTypeCast(Gen.java:2259)
	at com.sun.tools.javac.tree.JCTree$JCTypeCast.accept(JCTree.java:1814)
	at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:946)
	at com.sun.tools.javac.jvm.Gen.genArgs(Gen.java:965)
	at com.sun.tools.javac.jvm.Gen.visitApply(Gen.java:1837)
	at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1465)
	at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:946)
	at com.sun.tools.javac.jvm.Gen.visitAssign(Gen.java:1977)
	at com.sun.tools.javac.tree.JCTree$JCAssign.accept(JCTree.java:1686)
	at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:946)
	at com.sun.tools.javac.jvm.Gen.visitExec(Gen.java:1776)
	at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1296)
	at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:736)
	at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:771)
	at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:757)
	at com.sun.tools.javac.jvm.Gen.genStats(Gen.java:808)
	at com.sun.tools.javac.jvm.Gen.visitBlock(Gen.java:1156)
	at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:909)
	at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:736)
	at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:771)
	at com.sun.tools.javac.jvm.Gen.genMethod(Gen.java:1030)
	at com.sun.tools.javac.jvm.Gen.visitMethodDef(Gen.java:993)
	at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:778)
	at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:736)
	at com.sun.tools.javac.jvm.Gen.genClass(Gen.java:2449)
	at com.sun.tools.javac.main.JavaCompiler.genCode(JavaCompiler.java:745)
	at com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1572)
	at com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1536)
	at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:901)
	at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:860)
	at com.sun.tools.javac.main.Main.compile(Main.java:523)
	at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129)
	at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138)
	at frege.runtime.Javac.runJavac(Javac.java:46)
	at afrege.compiler.Main$4.apply(Main.java:4042)
	at afrege.prelude.PreludeBase$TST$3$1.call(PreludeBase.java:10431)
	at afrege.prelude.PreludeBase$TST$3$1.call(PreludeBase.java:10431)
	at frege.run7.Thunk.call(Thunk.java:234)
	at afrege.prelude.PreludeBase$TST$3.apply(PreludeBase.java:10429)
	at afrege.prelude.PreludeBase$TST$3.apply(PreludeBase.java:10429)
	at afrege.prelude.PreludeBase$TST$3.apply(PreludeBase.java:10429)
	at afrege.prelude.PreludeBase$TST$3$1.call(PreludeBase.java:10431)
	at afrege.prelude.PreludeBase$TST$3$1.call(PreludeBase.java:10431)
	at frege.run7.Thunk.call(Thunk.java:234)
	at afrege.prelude.PreludeBase$TST$3.apply(PreludeBase.java:10429)
	at afrege.prelude.PreludeBase$TST$3$1.call(PreludeBase.java:10431)
	at afrege.prelude.PreludeBase$TST$3$1.call(PreludeBase.java:10431)
	at frege.run7.Thunk.call(Thunk.java:234)
	at afrege.prelude.PreludeBase$TST$3.apply(PreludeBase.java:10429)
	at afrege.prelude.PreludeBase$TST$3$1.call(PreludeBase.java:10431)
	at afrege.prelude.PreludeBase$TST$3$1.call(PreludeBase.java:10431)
	at frege.run7.Thunk.call(Thunk.java:234)
	at afrege.prelude.PreludeBase$TST$3.apply(PreludeBase.java:10429)
	at afrege.prelude.PreludeBase$TST$3$1.call(PreludeBase.java:10431)
	at afrege.prelude.PreludeBase$TST$3$1.call(PreludeBase.java:10431)
	at frege.run7.Thunk.call(Thunk.java:234)
	at afrege.prelude.PreludeBase$TST$3.apply(PreludeBase.java:10429)
	at afrege.prelude.PreludeBase$TST$3$1.call(PreludeBase.java:10431)
	at afrege.prelude.PreludeBase$TST$3$1.call(PreludeBase.java:10431)
	at frege.run7.Thunk.call(Thunk.java:234)
	at afrege.prelude.PreludeBase$TST$3.apply(PreludeBase.java:10429)
	at afrege.prelude.PreludeBase$TST$3.apply(PreludeBase.java:10429)
	at afrege.prelude.PreludeBase$TST$2.call(PreludeBase.java:10419)
	at afrege.prelude.PreludeBase$TST$2.call(PreludeBase.java:10417)
	at frege.run7.Thunk.call(Thunk.java:234)
	at afrege.prelude.PreludeBase$WrappedCheckedException.doCatch(PreludeBase.java:7265)
	at afrege.prelude.PreludeIO$6.apply(PreludeIO.java:815)
	at afrege.prelude.PreludeBase$TST$2.call(PreludeBase.java:10419)
	at afrege.prelude.PreludeBase$TST$2.call(PreludeBase.java:10417)
	at frege.run7.Thunk.call(Thunk.java:234)
	at afrege.java.Lang$1.run(Lang.java:3108)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
E ./frege/compiler/Classes.fr:783: java compiler errors
    are most likely caused by erroneous native definitions
Compiler.Classes: build failed because of compilation errors.
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/passes/LetUnroll.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/passes/Strict.java
Compiler.passes.LetUnroll: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/GenMeta.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/Typecheck.java
Compiler.passes.Strict: compiled
Compiler.GenMeta: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/passes/Transdef.java
Compiler.Typecheck: compiled
Compiler.gen.java.Constants: compiling because class file doesn't exist
Compiler.passes.GlobalLam: compiling because class file doesn't exist
Compiler.passes.Easy: compiling because class file doesn't exist
Compiler.passes.Transdef: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/gen/java/Constants.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/passes/GlobalLam.java
Compiler.gen.java.Constants: compiled
Compiler.gen.java.Match: compiling because class file doesn't exist
Compiler.passes.GlobalLam: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/gen/java/Match.java
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/passes/Easy.java
Compiler.gen.java.Match: compiled
Compiler.gen.java.VarCode: compiling because class file doesn't exist
Compiler.passes.Easy: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/gen/java/VarCode.java
Compiler.gen.java.VarCode: compiled
Compiler.gen.java.DataCode: compiling because class file doesn't exist
Compiler.gen.java.InstanceCode: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/gen/java/DataCode.java
Compiler.gen.java.DataCode: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/gen/java/InstanceCode.java
Compiler.gen.java.InstanceCode: compiled
Compiler.passes.GenCode: compiling because class file doesn't exist
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/passes/GenCode.java
Compiler.passes.GenCode: compiled
calling: internal -cp build:build -d build -sourcepath . -encoding UTF-8 build/bfrege/compiler/grammar/Frege.java
Compiler.grammar.Frege: compiled
Compiler.Main: build failed because module `Compiler.Classes` not built.
Build failed.
      189.83 real       461.15 user        17.33 sys
make: *** [compiler2] Error 1

It is well known that javac from the JDK8 is broken.
Use a JDK9, please.

@kstarikov did you find any work around other than installing jdk9?