documentation review Building Java with Mill -> Java Module Configura… #4549
Annotations
6 errors
Run /./.github/actions/post-build-selective
Process completed with exit code 1.
|
Run /./.github/actions/post-build-selective:
out/testkit/compile.dest/classes/mill/testkit/UtestExampleTestSuite.class#L19
assertion failed: ==== filteredOut:
compiling 1 Java source to /home/runner/work/mill/mill/out/example/javalib/linting/1-error-prone/native/server/test.dest/sandbox/run-2/out/compile.dest/classes ...
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.errorprone.util.ErrorProneScope (file:/home/runner/.cache/coursier/v1/https/repo1.maven.org/maven2/com/google/errorprone/error_prone_check_api/2.31.0/error_prone_check_api-2.31.0.jar) to method com.sun.tools.javac.code.Scope.getSymbolsByName(com.sun.tools.javac.util.Name,com.sun.tools.javac.util.Filter)
WARNING: Please consider reporting this to the maintainers of com.google.errorprone.util.ErrorProneScope
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[warn] /home/runner/work/mill/mill/out/example/javalib/linting/1-error-prone/native/server/test.dest/sandbox/run-2/src/example/ShortSet.java:11:15: [CollectionIncompatibleType] Argument 'i - 1' should not be passed to this method; its type int is not compatible with its collection's type argument Short
[warn] (see https://errorprone.info/bugpattern/CollectionIncompatibleType)
[warn] s.remove(i - 1)
[warn] ^
done compiling
==== Missing expectedLine:
[warn] .../src/example/ShortSet.java:11:15: [CollectionIncompatibleType] Argument 'i - 1' should not be passed to this method; its type int is not compatible with its collection's type argument Short
|
Run /./.github/actions/post-build-selective:
out/testkit/compile.dest/classes/mill/testkit/UtestExampleTestSuite.class#L19
else assert(evalResult.isSuccess)
evalResult: mill.testkit.IntegrationTester.EvalResult = EvalResult(false,[build.mill] [info] compiling 1 Scala source to /home/runner/work/mill/mill/out/example/javalib/module/7-resources/native/server/test.dest/sandbox/run-2/out/mill-build/compile.dest/classes ...
[build.mill] [info] done compiling
[info] compiling 1 Java source to /home/runner/work/mill/mill/out/example/javalib/module/7-resources/native/server/test.dest/sandbox/run-2/out/foo/compile.dest/classes ...
[info] done compiling
[info] compiling 1 Java source to /home/runner/work/mill/mill/out/example/javalib/module/7-resources/native/server/test.dest/sandbox/run-2/out/foo/test/compile.dest/classes ...
[error] /home/runner/work/mill/mill/out/example/javalib/module/7-resources/native/server/test.dest/sandbox/run-2/foo/test/src/FooTests.java:36:77: cannot find symbol
[error] symbol: method toList()
[error] location: interface java.util.stream.Stream<java.nio.file.Path>
[error] Files.list(testFileResourceDir).toList
[error] ^
1 tasks failed
foo.test.compile javac returned non-zero exit code
,)
|
Run /./.github/actions/post-build-selective:
out/testkit/compile.dest/classes/mill/testkit/UtestExampleTestSuite.class#L19
else assert(evalResult.isSuccess)
evalResult: mill.testkit.IntegrationTester.EvalResult = EvalResult(false,[build.mill] [info] compiling 1 Scala source to /home/runner/work/mill/mill/out/example/javalib/web/3-todo-spring-boot/native/server/test.dest/sandbox/run-2/out/mill-build/compile.dest/classes ...
[build.mill] [info] done compiling
[info] compiling 6 Java sources to /home/runner/work/mill/mill/out/example/javalib/web/3-todo-spring-boot/native/server/test.dest/sandbox/run-2/out/compile.dest/classes ...
[error] /home/runner/work/mill/mill/out/example/javalib/web/3-todo-spring-boot/native/server/test.dest/sandbox/run-2/src/com/example/todoitem/web/TodoItemController.java:94:12: illegal start of expression
[error] /home/runner/work/mill/mill/out/example/javalib/web/3-todo-spring-boot/native/server/test.dest/sandbox/run-2/src/com/example/todoitem/web/TodoItemController.java:95:53: : expected
[error] /home/runner/work/mill/mill/out/example/javalib/web/3-todo-spring-boot/native/server/test.dest/sandbox/run-2/src/com/example/todoitem/web/TodoItemController.java:96:72: : expected
[error] /home/runner/work/mill/mill/out/example/javalib/web/3-todo-spring-boot/native/server/test.dest/sandbox/run-2/src/com/example/todoitem/web/TodoItemController.java:97:74: : expected
1 tasks failed
compile javac returned non-zero exit code
,)
|
Run /./.github/actions/post-build-selective:
out/testkit/compile.dest/classes/mill/testkit/UtestExampleTestSuite.class#L19
else assert(evalResult.isSuccess)
evalResult: mill.testkit.IntegrationTester.EvalResult = EvalResult(false,[build.mill] [info] compiling 1 Scala source to /home/runner/work/mill/mill/out/example/javalib/web/4-hello-micronaut/native/server/test.dest/sandbox/run-2/out/mill-build/compile.dest/classes ...
[build.mill] [info] done compiling
[info] compiling 2 Java sources to /home/runner/work/mill/mill/out/example/javalib/web/4-hello-micronaut/native/server/test.dest/sandbox/run-2/out/compile.dest/classes ...
[error] Could not load processor class file due to 'io/micronaut/annotation/processing/TypeElementVisitorProcessor has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0'.
1 tasks failed
compile javac returned non-zero exit code
,)
|
Run /./.github/actions/post-build-selective:
out/testkit/compile.dest/classes/mill/testkit/UtestExampleTestSuite.class#L19
else assert(evalResult.isSuccess)
evalResult: mill.testkit.IntegrationTester.EvalResult = EvalResult(false,[build.mill] [info] compiling 1 Scala source to /home/runner/work/mill/mill/out/example/javalib/web/5-todo-micronaut/native/server/test.dest/sandbox/run-2/out/mill-build/compile.dest/classes ...
[build.mill] [info] done compiling
[info] compiling 9 Java sources to /home/runner/work/mill/mill/out/example/javalib/web/5-todo-micronaut/native/server/test.dest/sandbox/run-2/out/compile.dest/classes ...
[error] Could not load processor class file due to 'io/micronaut/annotation/processing/TypeElementVisitorProcessor has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0'.
1 tasks failed
compile javac returned non-zero exit code
,)
|
Loading