Skip to content

Use -native Mill binary in Mill's own build #3760

Use -native Mill binary in Mill's own build

Use -native Mill binary in Mill's own build #3760

Triggered via pull request January 12, 2025 07:51
Status Failure
Total duration 48m 52s
Artifacts 4

run-tests.yml

on: pull_request
Matrix: itest
Matrix: windows
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 5 warnings
windows (11, 'integration.invalidation.__.packaged.server.test') / run
Process completed with exit code 128.
windows (11, "example.scalalib.{basic,publishing}.__.packaged.fork.test") / 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,Exception in thread "main" java.lang.NoSuchMethodError: java.io.InputStream.readAllBytes()[B at mill.runner.client.MillProcessLauncher.getTerminalDim(MillProcessLauncher.java:245) at mill.runner.client.MillProcessLauncher.checkTputExists(MillProcessLauncher.java:289) at mill.runner.client.MillProcessLauncher.prepareMillRunFolder(MillProcessLauncher.java:306) at mill.runner.client.MillClientMain$1.preRun(MillClientMain.java:58) at mill.main.client.ServerLauncher.acquireLocksAndRun(ServerLauncher.java:102) at mill.runner.client.MillClientMain.main(MillClientMain.java:65) ,)
UtestExampleTestSuite.exampleTest: out\testkit\compile.dest\classes\mill\testkit\UtestExampleTestSuite.class#L19
else assert(evalResult.isSuccess) evalResult: mill.testkit.IntegrationTester.EvalResult = EvalResult(false,Exception in thread "main" java.lang.NoSuchMethodError: java.io.InputStream.readAllBytes()[B at mill.runner.client.MillProcessLauncher.getTerminalDim(MillProcessLauncher.java:245) at mill.runner.client.MillProcessLauncher.checkTputExists(MillProcessLauncher.java:289) at mill.runner.client.MillProcessLauncher.prepareMillRunFolder(MillProcessLauncher.java:306) at mill.runner.client.MillClientMain$1.preRun(MillClientMain.java:58) at mill.main.client.ServerLauncher.acquireLocksAndRun(ServerLauncher.java:102) at mill.runner.client.MillClientMain.main(MillClientMain.java:65) ,)
UtestExampleTestSuite.exampleTest: out\testkit\compile.dest\classes\mill\testkit\UtestExampleTestSuite.class#L19
else assert(evalResult.isSuccess) evalResult: mill.testkit.IntegrationTester.EvalResult = EvalResult(false,Exception in thread "main" java.lang.NoSuchMethodError: java.io.InputStream.readAllBytes()[B at mill.runner.client.MillProcessLauncher.getTerminalDim(MillProcessLauncher.java:245) at mill.runner.client.MillProcessLauncher.checkTputExists(MillProcessLauncher.java:289) at mill.runner.client.MillProcessLauncher.prepareMillRunFolder(MillProcessLauncher.java:306) at mill.runner.client.MillClientMain$1.preRun(MillClientMain.java:58) at mill.main.client.ServerLauncher.acquireLocksAndRun(ServerLauncher.java:102) at mill.runner.client.MillClientMain.main(MillClientMain.java:65) ,)
UtestExampleTestSuite.exampleTest: out\testkit\compile.dest\classes\mill\testkit\UtestExampleTestSuite.class#L19
else assert(evalResult.isSuccess) evalResult: mill.testkit.IntegrationTester.EvalResult = EvalResult(false,Exception in thread "main" java.lang.NoSuchMethodError: java.io.InputStream.readAllBytes()[B at mill.runner.client.MillProcessLauncher.getTerminalDim(MillProcessLauncher.java:245) at mill.runner.client.MillProcessLauncher.checkTputExists(MillProcessLauncher.java:289) at mill.runner.client.MillProcessLauncher.prepareMillRunFolder(MillProcessLauncher.java:306) at mill.runner.client.MillClientMain$1.preRun(MillClientMain.java:58) at mill.main.client.ServerLauncher.acquireLocksAndRun(ServerLauncher.java:102) at mill.runner.client.MillClientMain.main(MillClientMain.java:65) ,)
UtestExampleTestSuite.exampleTest: out\testkit\compile.dest\classes\mill\testkit\UtestExampleTestSuite.class#L19
else assert(evalResult.isSuccess) evalResult: mill.testkit.IntegrationTester.EvalResult = EvalResult(false,Exception in thread "main" java.lang.NoSuchMethodError: java.io.InputStream.readAllBytes()[B at mill.runner.client.MillProcessLauncher.getTerminalDim(MillProcessLauncher.java:245) at mill.runner.client.MillProcessLauncher.checkTputExists(MillProcessLauncher.java:289) at mill.runner.client.MillProcessLauncher.prepareMillRunFolder(MillProcessLauncher.java:306) at mill.runner.client.MillClientMain$1.preRun(MillClientMain.java:58) at mill.main.client.ServerLauncher.acquireLocksAndRun(ServerLauncher.java:102) at mill.runner.client.MillClientMain.main(MillClientMain.java:65) ,)
UtestExampleTestSuite.exampleTest: out\testkit\compile.dest\classes\mill\testkit\UtestExampleTestSuite.class#L19
else assert(evalResult.isSuccess) evalResult: mill.testkit.IntegrationTester.EvalResult = EvalResult(false,Exception in thread "main" java.lang.NoSuchMethodError: java.io.InputStream.readAllBytes()[B at mill.runner.client.MillProcessLauncher.getTerminalDim(MillProcessLauncher.java:245) at mill.runner.client.MillProcessLauncher.checkTputExists(MillProcessLauncher.java:289) at mill.runner.client.MillProcessLauncher.prepareMillRunFolder(MillProcessLauncher.java:306) at mill.runner.client.MillClientMain$1.preRun(MillClientMain.java:58) at mill.main.client.ServerLauncher.acquireLocksAndRun(ServerLauncher.java:102) at mill.runner.client.MillClientMain.main(MillClientMain.java:65) ,)
UtestExampleTestSuite.exampleTest: out\testkit\compile.dest\classes\mill\testkit\UtestExampleTestSuite.class#L19
else assert(evalResult.isSuccess) evalResult: mill.testkit.IntegrationTester.EvalResult = EvalResult(false,Exception in thread "main" java.lang.NoSuchMethodError: java.io.InputStream.readAllBytes()[B at mill.runner.client.MillProcessLauncher.getTerminalDim(MillProcessLauncher.java:245) at mill.runner.client.MillProcessLauncher.checkTputExists(MillProcessLauncher.java:289) at mill.runner.client.MillProcessLauncher.prepareMillRunFolder(MillProcessLauncher.java:306) at mill.runner.client.MillClientMain$1.preRun(MillClientMain.java:58) at mill.main.client.ServerLauncher.acquireLocksAndRun(ServerLauncher.java:102) at mill.runner.client.MillClientMain.main(MillClientMain.java:65) ,)
UtestExampleTestSuite.exampleTest: out\testkit\compile.dest\classes\mill\testkit\UtestExampleTestSuite.class#L19
else assert(evalResult.isSuccess) evalResult: mill.testkit.IntegrationTester.EvalResult = EvalResult(false,Exception in thread "main" java.lang.NoSuchMethodError: java.io.InputStream.readAllBytes()[B at mill.runner.client.MillProcessLauncher.getTerminalDim(MillProcessLauncher.java:245) at mill.runner.client.MillProcessLauncher.checkTputExists(MillProcessLauncher.java:289) at mill.runner.client.MillProcessLauncher.prepareMillRunFolder(MillProcessLauncher.java:306) at mill.runner.client.MillClientMain$1.preRun(MillClientMain.java:58) at mill.main.client.ServerLauncher.acquireLocksAndRun(ServerLauncher.java:102) at mill.runner.client.MillClientMain.main(MillClientMain.java:65) ,)
windows (11, contrib.__.test) / run
Process completed with exit code 1.
TutorialTests.compileScalaPB.calledDirectly: contrib\scalapblib\test\src\mill\contrib\scalapblib\TutorialTests.scala#L85
Left(java.lang.reflect.InvocationTargetException java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.base/java.lang.reflect.Method.invoke(Method.java:566) mill.contrib.scalapblib.ScalaPBWorker$$anon$1.compileScalaPB(ScalaPBWorker.scala:38) mill.contrib.scalapblib.ScalaPBWorker.compile(ScalaPBWorker.scala:97) mill.contrib.scalapblib.ScalaPBModule.$anonfun$compileScalaPB$2(ScalaPBModule.scala:129) mill.define.Task$TraverseCtx.evaluate(Task.scala:219) scalapb.ScalaPbcException: Exit with code 1 scalapb.ScalaPBC$.main(ScalaPBC.scala:197) scalapb.ScalaPBC.main(ScalaPBC.scala) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.base/java.lang.reflect.Method.invoke(Method.java:566) mill.contrib.scalapblib.ScalaPBWorker$$anon$1.compileScalaPB(ScalaPBWorker.scala:38) mill.contrib.scalapblib.ScalaPBWorker.compile(ScalaPBWorker.scala:97) mill.contrib.scalapblib.ScalaPBModule.$anonfun$compileScalaPB$2(ScalaPBModule.scala:129) mill.define.Task$TraverseCtx.evaluate(Task.scala:219)) (of class scala.util.Left)
TutorialTests.compileScalaPB.calledWithSpecificFile: contrib\scalapblib\test\src\mill\contrib\scalapblib\TutorialTests.scala#L111
Left(java.lang.reflect.InvocationTargetException java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.base/java.lang.reflect.Method.invoke(Method.java:566) mill.contrib.scalapblib.ScalaPBWorker$$anon$1.compileScalaPB(ScalaPBWorker.scala:38) mill.contrib.scalapblib.ScalaPBWorker.compile(ScalaPBWorker.scala:97) mill.contrib.scalapblib.ScalaPBModule.$anonfun$compileScalaPB$2(ScalaPBModule.scala:129) mill.define.Task$TraverseCtx.evaluate(Task.scala:219) scalapb.ScalaPbcException: Exit with code 1 scalapb.ScalaPBC$.main(ScalaPBC.scala:197) scalapb.ScalaPBC.main(ScalaPBC.scala) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.base/java.lang.reflect.Method.invoke(Method.java:566) mill.contrib.scalapblib.ScalaPBWorker$$anon$1.compileScalaPB(ScalaPBWorker.scala:38) mill.contrib.scalapblib.ScalaPBWorker.compile(ScalaPBWorker.scala:97) mill.contrib.scalapblib.ScalaPBModule.$anonfun$compileScalaPB$2(ScalaPBModule.scala:129) mill.define.Task$TraverseCtx.evaluate(Task.scala:219)) (of class scala.util.Left)
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[!!]>
windows (11, "{main,scalalib,bsp}.__.test") / run
Process completed with exit code 128.
windows (17, 'integration.{feature,failure}.__.packaged.fork.test') / run
Process completed with exit code 128.
build-linux / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test-docs
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
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

Artifacts

Produced during runtime
Name Size
ubuntu-latest-artifact
163 MB
ubuntu-latest-selective-execution-artifact
241 KB
windows-latest-artifact
162 MB
windows-latest-selective-execution-artifact
241 KB