Skip to content

Update error_prone_core to 2.36.0 #4474

Update error_prone_core to 2.36.0

Update error_prone_core to 2.36.0 #4474

Triggered via pull request January 27, 2025 02:09
Status Failure
Total duration 1h 24m 53s
Artifacts 7

run-tests.yml

on: pull_request
Matrix: cross-plat
Matrix: itest
Matrix: linux
Matrix: windows
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 17 warnings
linux (17, '{main,scalalib,testrunner,bsp,testkit}.__.test', false) / run
Process completed with exit code 1.
java11Test.hello.MyCoreTests.java11Test: java11Test#L23
expected:<1[7]> but was:<1[1]>
msgTest.hello.MyCoreTests.msgTest: msgTest#L10
expected:<Hello World[]> but was:<Hello World[!!]>
java17Test.hello.MyCoreTests.java17Test: java17Test#L32
expected:<1[1]> but was:<1[7]>
msgTest.hello.MyCoreTests.msgTest: msgTest#L10
expected:<Hello World[]> but was:<Hello World[!!]>
ErrorProneTests.errorprone.compileWarn: out/scalalib/test/compile.dest/classes/mill/javalib/errorprone/ErrorProneTests.class#L40
assert(res.isRight) res: Either[mill.api.Result.Failing[mill.scalalib.api.CompilationResult],mill.testkit.UnitTester.Result[mill.scalalib.api.CompilationResult]] = Left(Failure(javac returned non-zero exit code, None))
HelloTests.failure: contrib/testng/test/resources/demo/testng/src/foo/HelloTests.java#L73127
expected:<"Not hello, world"> but was:<"Hello, world"> AssertionFailedError: expected:<"Not hello, world"> but was:<"Hello, world">
foo HelloTests.failure: foo HelloTests#L1
Expected <Hello, world>, actual <Not hello, world>. AssertionError: Expected <Hello, world>, actual <Not hello, world>.
ArgsParserTests.two: ArgsParserTests#L1
result.length == 80 result: Seq[String] = ArraySeq(hello, world)
ArgsParserTests.two: ArgsParserTests#L1
result.length == 80 result: Seq[String] = ArraySeq(hello, world)
ArgsParserSpec.parse should two: ArgsParserSpec#L1
Array("hello", "world") had length 2 instead of expected length 80
linux (17, example.javalib.__.local.server.test, false) / run
Process completed with exit code 1.
UtestExampleTestSuite.exampleTest: out/testkit/compile.dest/classes/mill/testkit/UtestExampleTestSuite.class#L19
else assert(evalResult.isSuccess) evalResult: mill.testkit.IntegrationTester.EvalResult = EvalResult(false,[info] compiling 1 Java source to /home/runner/work/mill/mill/out/example/javalib/linting/1-error-prone/local/server/test.dest/sandbox/run-2/out/compile.dest/classes ... [warn] Unexpected javac output: Exception in thread "main" com.sun.tools.javac.util.PropagatedException: com.google.errorprone.InvalidCommandLineOptionException: The default --should-stop=ifError policy (INIT) is not supported by Error Prone, pass --should-stop=ifError=FLOW instead [warn] at jdk.compiler/com.sun.tools.javac.api.BasicJavacTask.initPlugins(BasicJavacTask.java:231) [warn] at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:292) [warn] at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:176) [warn] at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:64) [warn] at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:50) [warn] Caused by: com.google.errorprone.InvalidCommandLineOptionException: The default --should-stop=ifError policy (INIT) is not supported by Error Prone, pass --should-stop=ifError=FLOW instead [warn] at com.google.errorprone.BaseErrorProneJavaCompiler.checkShouldStopIfErrorPolicy(BaseErrorProneJavaCompiler.java:197) [warn] at com.google.errorprone.BaseErrorProneJavaCompiler.addTaskListener(BaseErrorProneJavaCompiler.java:87) [warn] at com.google.errorprone.ErrorProneJavacPlugin.init(ErrorProneJavacPlugin.java:34) [warn] at jdk.compiler/com.sun.tools.javac.api.BasicJavacTask.initPlugin(BasicJavacTask.java:255) [warn] at jdk.compiler/com.sun.tools.javac.api.BasicJavacTask.initPlugins(BasicJavacTask.java:229) [warn] ... 4 more. [warn] javac exited with exit code 1 1 tasks failed compile javac returned non-zero exit code ,)
windows (11, "{main,scalalib,bsp}.__.test") / run
Process completed with exit code 1.
java17Test.hello.MyCoreTests.java17Test: java17Test#L32
expected:<1[1]> but was:<1[7]>
msgTest.hello.MyCoreTests.msgTest: msgTest#L10
expected:<Hello World[]> but was:<Hello World[!!]>
java11Test.hello.MyCoreTests.java11Test: java11Test#L23
expected:<1[7]> but was:<1[1]>
msgTest.hello.MyCoreTests.msgTest: msgTest#L10
expected:<Hello World[]> but was:<Hello World[!!]>
ErrorProneTests.errorprone.compileWarn: out\scalalib\test\compile.dest\classes\mill\javalib\errorprone\ErrorProneTests.class#L40
assert(res.isRight) res: Either[mill.api.Result.Failing[mill.scalalib.api.CompilationResult],mill.testkit.UnitTester.Result[mill.scalalib.api.CompilationResult]] = Left(Failure(javac returned non-zero exit code, None))
test-docs
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build-linux / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint-autofix / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
linux (11, 'example.thirdparty[{mockito,commons-io}].local.server.test', false) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
linux (17, 'example.thirdparty[{netty,gatling}].local.server.test', false) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
linux (17, contrib.__.test, false) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
linux (17, 'example.thirdparty[arrow].local.server.test', false) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
itest (17, ci/test-mill-bootstrap.sh) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
linux (17, 'integration.invalidation.__.packaged.server.test', false) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
linux (17, 'integration.invalidation.__.packaged.fork.test', false) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
linux (17, 'example.{pythonlib,javascriptlib}.__.local.server.test', false) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
linux (11, 'integration.{failure,feature,ide}.__.packaged.server.test', false) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
linux (17, 'example.android.__.local.server.test', true) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
linux (17, example.kotlinlib.__.native.server.test, false) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
linux (17, example.scalalib.__.native.server.test, false) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
macos-13-selective-execution-artifact
279 KB
macos-latest-selective-execution-artifact
279 KB
ubuntu-24.04-arm-selective-execution-artifact
280 KB
ubuntu-latest-artifact
182 MB
ubuntu-latest-selective-execution-artifact
280 KB
windows-latest-artifact
181 MB
windows-latest-selective-execution-artifact
279 KB