forked from pluckyporcupine/fortress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompile_errors5.txt
167 lines (138 loc) · 11 KB
/
compile_errors5.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
Using ANT_OPTS="-Xmx512m -Xss32m"
Buildfile: /home/matt/Code/Applications/Fortress/fortress-java-9/build.xml
cleanCache:
[delete] Deleting directory /home/matt/Code/Applications/Fortress/fortress-java-9/default_repository/caches
cleanAst:
[delete] Deleting directory /home/matt/Code/Applications/Fortress/fortress-java-9/ProjectFortress/src/com/sun/fortress/nodes
clean:
[delete] Deleting directory /home/matt/Code/Applications/Fortress/fortress-java-9/ProjectFortress/build
[delete] Deleting directory /home/matt/Code/Applications/Fortress/fortress-java-9/junit-results
[delete] Deleting: /home/matt/Code/Applications/Fortress/fortress-java-9/ProjectFortress/src/com/sun/fortress/parser/Fortress.java
[delete] Deleting: /home/matt/Code/Applications/Fortress/fortress-java-9/ProjectFortress/src/com/sun/fortress/parser/preparser/PreFortress.java
[delete] Deleting: /home/matt/Code/Applications/Fortress/fortress-java-9/ProjectFortress/src/com/sun/fortress/parser/import_collector/ImportCollector.java
[delete] Deleting: /home/matt/Code/Applications/Fortress/fortress-java-9/ProjectFortress/src/com/sun/fortress/parser/templateparser/TemplateParser.java
[delete] Deleting: /home/matt/Code/Applications/Fortress/fortress-java-9/ProjectFortress/src/com/sun/fortress/parser_util/precedence_resolver/Operators.java
[delete] Deleting: /home/matt/Code/Applications/Fortress/fortress-java-9/Library/FortressAst.fsi
[delete] Deleting: /home/matt/Code/Applications/Fortress/fortress-java-9/Library/FortressAst.fss
[delete] Deleting: /home/matt/Code/Applications/Fortress/fortress-java-9/ProjectFortress/src/com/sun/fortress/scala_src/nodes/FortressAst.scala
init:
[echo] basedir: ProjectFortress
[mkdir] Created dir: /home/matt/Code/Applications/Fortress/fortress-java-9/ProjectFortress/build
[mkdir] Created dir: /home/matt/Code/Applications/Fortress/fortress-java-9/junit-results
cleanCache:
compileCommon:
[javac] Compiling 135 source files to /home/matt/Code/Applications/Fortress/fortress-java-9/ProjectFortress/build
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
checkAstgen:
astGenerators:
[javac] Compiling 16 source files to /home/matt/Code/Applications/Fortress/fortress-java-9/ProjectFortress/build
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
checkNodesUptodate:
[echo] Nodes up to date? ${nodes.uptodate}
makeAST:
[echo] Processing /home/matt/Code/Applications/Fortress/fortress-java-9/ProjectFortress/astgen/Fortress.ast
[move] Moving 1071 files to /home/matt/Code/Applications/Fortress/fortress-java-9/ProjectFortress/src/com/sun/fortress/nodes
[move] Moving 2 files to /home/matt/Code/Applications/Fortress/fortress-java-9/Library
[move] Moving 1 file to /home/matt/Code/Applications/Fortress/fortress-java-9/ProjectFortress/src/com/sun/fortress/scala_src/nodes
checkParserUptodate:
[echo] Parser up to date? ${parser.uptodate}
checkOperatorsUptodate:
[echo] Operators up to date? ${operators.uptodate}
operatorsGen:
[echo] Regenerating operators
[java] Groups: [curly_precedes, tri_subgroup, square_original_of, enclosing, c_2_1_multiplication, set_intersection, curly_or, range_opr, addition_and_subtraction, plain_comparison, set_union, c_2_1_division, square_intersection, subset_comparison_operators, enclosing_right, misc_set, dot_below_addition_and_subtraction, squared_multiplication_and_division, tri_misc, boolean_misc_leftAssociative, circled_addition_and_subtraction, multiplication_and_division, square_union, tri_contains, boolean_conjunction, square_image_of, square_misc, other_operators, circled_multiplication_and_division, equivalence_operators, chickenfoot_smaller, tri_multiplication_and_division, less_than_operators, superset_comparison_operators, boolean_disjunction, dot_above_addition_and_subtraction, misc_set_comparison, chickenfoot_greater, curly_and, curly_misc, greater_than_operators, relational_misc, boolean_misc_nonAssociative, tri_addition_and_subtraction, squared_addition_and_subtraction, curly_succeeds, enclosing_left, dot_above_multiplication_and_division, inequivalence_operators, misc_addition]
parser:
init:
[echo] basedir: ProjectFortress
checkFortressParserUptodate:
[echo] Fortress parser up to date? ${parser.uptodate}
fortressparser:
[echo] Rebuilding Fortress...
[java] Rats! Parser Generator, v. 1.14.1, (C) 2004-2008 Robert Grimm
[java] Processing Fortress.rats ...
init:
[echo] basedir: ProjectFortress
checkPreparserUptodate:
[echo] Preparser up to date? ${preparser.uptodate}
preparser:
[echo] Rebuilding preparser...
[java] Rats! Parser Generator, v. 1.14.1, (C) 2004-2008 Robert Grimm
[java] Processing PreFortress.rats ...
init:
[echo] basedir: ProjectFortress
checkImportCollectorUptodate:
[echo] ImportCollector up to date? ${importcollector.uptodate}
importcollector:
[echo] Rebuilding importcollector...
[java] Rats! Parser Generator, v. 1.14.1, (C) 2004-2008 Robert Grimm
[java] Processing ImportCollector.rats ...
init:
[echo] basedir: ProjectFortress
checkTemplateparserUptodate:
[echo] Templateparser up to date? ${templateparser.uptodate}
templateparser:
[echo] Rebuilding template parser...
[java] Rats! Parser Generator, v. 1.14.1, (C) 2004-2008 Robert Grimm
[java] Processing TemplateParser.rats ...
compileAll:
[scalac] Compiling 72 scala and 2192 java source files to /home/matt/Code/Applications/Fortress/fortress-java-9/ProjectFortress/build
[scalac] /home/matt/Code/Applications/Fortress/fortress-java-9/ProjectFortress/src/com/sun/fortress/scala_src/typechecker/AbstractMethodChecker.scala:155: warning: val keyword in for comprehension is deprecated
[scalac] val f = d.asInstanceOf[FnDecl];
[scalac] ^
[scalac] /home/matt/Code/Applications/Fortress/fortress-java-9/ProjectFortress/src/com/sun/fortress/scala_src/typechecker/OverloadingChecker.scala:284: warning: fruitless type test: a value of type com.sun.fortress.compiler.index.CompilationUnitIndex cannot also be a com.sun.fortress.compiler.index.ObjectTraitIndex
[scalac] val traitKindAndName = (compilation_unit match { case _:ObjectTraitIndex => "object "; case _ => "trait " }) + NU.getName(traitOrObject.ast)
[scalac] ^
[scalac] /home/matt/Code/Applications/Fortress/fortress-java-9/ProjectFortress/src/com/sun/fortress/scala_src/typechecker/OverloadingChecker.scala:473: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses
[scalac] true
[scalac] ^
[scalac] /home/matt/Code/Applications/Fortress/fortress-java-9/ProjectFortress/src/com/sun/fortress/scala_src/overloading/OverloadingOracle.scala:254: warning: match may not be exhaustive.
[scalac] It would fail on the following inputs: (true, false, false, false), (true, false, false, true), (true, false, true, false), (true, false, true, true)
[scalac] (fST_strictlySub_gST, gDTSS_sub_fDTSS, fDTSS_sub_gDTSS, fRT_eq_gRT) match {
[scalac] ^
[scalac] /home/matt/Code/Applications/Fortress/fortress-java-9/ProjectFortress/src/com/sun/fortress/scala_src/typechecker/ApiTypeExtractor.scala:94: warning: unreachable code
[scalac] case _ =>
[scalac] ^
[scalac] /home/matt/Code/Applications/Fortress/fortress-java-9/ProjectFortress/src/com/sun/fortress/scala_src/typechecker/ApiTypeExtractor.scala:101: warning: unreachable code
[scalac] case _ =>
[scalac] ^
[scalac] /home/matt/Code/Applications/Fortress/fortress-java-9/ProjectFortress/src/com/sun/fortress/scala_src/typechecker/ApiTypeExtractor.scala:150: warning: unreachable code
[scalac] case p => p
[scalac] ^
[scalac] /home/matt/Code/Applications/Fortress/fortress-java-9/ProjectFortress/src/com/sun/fortress/scala_src/typechecker/ApiTypeExtractor.scala:183: warning: unreachable code
[scalac] case _ => v
[scalac] ^
[scalac] /home/matt/Code/Applications/Fortress/fortress-java-9/ProjectFortress/src/com/sun/fortress/scala_src/typechecker/CoercionOracle.scala:98: warning: match may not be exhaustive.
[scalac] It would fail on the following input: Some((x: com.sun.fortress.compiler.index.TypeConsIndex forSome x not in com.sun.fortress.compiler.index.TraitIndex))
[scalac] val coercions = toOption(traits.typeCons(name)) match {
[scalac] ^
[scalac] /home/matt/Code/Applications/Fortress/fortress-java-9/ProjectFortress/src/com/sun/fortress/scala_src/useful/STypesUtil.scala:1641: warning: match may not be exhaustive.
[scalac] It would fail on the following input: Some((x: com.sun.fortress.compiler.index.TypeConsIndex forSome x not in com.sun.fortress.compiler.index.TraitIndex))
[scalac] gi(id) match {
[scalac] ^
[scalac] /home/matt/Code/Applications/Fortress/fortress-java-9/ProjectFortress/src/com/sun/fortress/scala_src/useful/STypesUtil.scala:1685: warning: match may not be exhaustive.
[scalac] It would fail on the following input: (_, Some(_))
[scalac] fnsAndArgs.map{
[scalac] ^
[scalac] /home/matt/Code/Applications/Fortress/fortress-java-9/ProjectFortress/src/com/sun/fortress/scala_src/useful/STypesUtil.scala:1696: warning: match may not be exhaustive.
[scalac] It would fail on the following input: (_, _)
[scalac] fnsAndArgs.map{case (m: DeclaredMethod, a) => m.ast}.toSet
[scalac] ^
[scalac] /home/matt/Code/Applications/Fortress/fortress-java-9/ProjectFortress/src/com/sun/fortress/scala_src/typechecker/Formula.scala:614: warning: method erasure in trait ClassManifestDeprecatedApis is deprecated: Use runtimeClass instead
[scalac] val split = xss.map{_.partition(m.erasure.isInstance(_))}.asInstanceOf[Set[(Set[U], Set[T])]]
[scalac] ^
[scalac] /home/matt/Code/Applications/Fortress/fortress-java-9/ProjectFortress/src/com/sun/fortress/scala_src/useful/STypesUtil.scala:1905: warning: method erasure in trait ClassManifestDeprecatedApis is deprecated: Use runtimeClass instead
[scalac] val tClass = m.erasure
[scalac] ^
[scalac] warning: there were 9 feature warning(s); re-run with -feature for details
[scalac] 15 warnings found
[scalac] Compile succeeded with 15 warnings; see the compiler output for details.
[javac] Compiling 2175 source files to /home/matt/Code/Applications/Fortress/fortress-java-9/ProjectFortress/build
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
compile:
BUILD SUCCESSFUL
Total time: 55 seconds