Add first class Javascript/Typescript support to the Mill build tool #4590
You are viewing an older attempt in the history of this workflow run.
View latest attempt.
Triggered via pull request
January 28, 2025 17:22
Status
Failure
Total duration
1h 38m 19s
Artifacts
–
run-tests.yml
on: pull_request
build-linux
/
run
5m 49s
build-windows
/
run
7m 31s
test-docs
3m 16s
Matrix: cross-plat
Annotations
17 errors
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
|
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[!!]>
|
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[!!]>
|
linux (11, example.scalalib.__.native.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 2 Scala sources to /home/runner/work/mill/mill/out/example/scalalib/web/7-cross-platform-version-publishing/native/server/test.dest/sandbox/run-2/out/bar/jvm/3.3.3/compile.dest/classes ...
[info] compiling 2 Scala sources to /home/runner/work/mill/mill/out/example/scalalib/web/7-cross-platform-version-publishing/native/server/test.dest/sandbox/run-2/out/bar/js/2.13.14/compile.dest/classes ...
Publishing Artifact(com.lihaoyi,bar_2.13,0.0.1) to ivy repo /home/runner/.ivy2/local
Publishing Artifact(com.lihaoyi,bar_sjs1_3,0.0.1) to ivy repo /home/runner/.ivy2/local
Publishing Artifact(com.lihaoyi,qux_2.13,0.0.1) to ivy repo /home/runner/.ivy2/local
[info] done compiling
Publishing Artifact(com.lihaoyi,qux_sjs1_3,0.0.1) to ivy repo /home/runner/.ivy2/local
[info] compiling 2 Scala sources to /home/runner/work/mill/mill/out/example/scalalib/web/7-cross-platform-version-publishing/native/server/test.dest/sandbox/run-2/out/qux/js/2.13.14/compile.dest/classes ...
[info] done compiling
[info] compiling 2 Scala sources to /home/runner/work/mill/mill/out/example/scalalib/web/7-cross-platform-version-publishing/native/server/test.dest/sandbox/run-2/out/qux/jvm/3.3.3/compile.dest/classes ...
[info] done compiling
Publishing Artifact(com.lihaoyi,bar_sjs1_2.13,0.0.1) to ivy repo /home/runner/.ivy2/local
Publishing Artifact(com.lihaoyi,bar_3,0.0.1) to ivy repo /home/runner/.ivy2/local
[info] done compiling
1 tasks failed
qux.js[2.13.14].docJar 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.scalalib.worker.ZincWorkerImpl.$anonfun$docJar$1(ZincWorkerImpl.scala:256)
mill.scalalib.worker.ZincWorkerImpl.$anonfun$docJar$1$adapted(ZincWorkerImpl.scala:228)
mill.scalalib.worker.ZincWorkerImpl.$anonfun$withCompilers$2(ZincWorkerImpl.scala:487)
mill.api.CachedFactory.withValue(CachedFactory.scala:39)
mill.scalalib.worker.ZincWorkerImpl.withCompilers(ZincWorkerImpl.scala:486)
mill.scalalib.worker.ZincWorkerImpl.docJar(ZincWorkerImpl.scala:228)
mill.scalalib.ScalaModule.packageWithZinc$1(ScalaModule.scala:318)
mill.scalalib.ScalaModule.$anonfun$docJar$2(ScalaModule.scala:413)
mill.define.Task$TraverseCtx.evaluate(Task.scala:219)
java.util.zip.ZipException: ZipFile closed
java.base/java.util.zip.ZipFile.ensureOpenOrZipException(ZipFile.java:940)
java.base/java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:1028)
java.base/java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:479)
java.base/java.util.zip.InflaterInputStream.read(InflaterInputStream.java:159)
java.base/java.io.FilterInputStream.read(FilterInputStream.java:133)
java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:252)
java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:271)
scala.reflect.io.Streamable$Bytes.$anonfun$bytesAsInts$1(Streamable.scala:48)
scala.runtime.java8.JFunction0$mcI$sp.apply(JFunction0$mcI$sp.scala:17)
scala.collection.Iterator$$anon$27.next(Iterator.scala:1135)
scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:637)
scala.collection.Iterator$$anon$9.hasNext(Iterator.scala:583)
scala.collection.mutable.Growable.addAll(Growable.scala:61)
scala.collection.mutable.Growable.addAll$(Growable.scala:57)
scala.collection.mutable.ArrayBuffer.addAll(ArrayBuffer.scala:160)
scala.collection.mutable.ArrayBuffer.addAll(ArrayBuffer.scala:42)
scala.reflect.io.Streamable$Bytes.toByteArray(Streamable.scala:57)
scala.reflect.io.Streamable$Bytes.toByteArray$(Streamable.scala:54)
scala.tools.nsc.doc.html.HtmlFactory.copyResource$1(HtmlFactory.scala:
|
linux (17, 'example.android.__.local.server.test', true) / 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,I0128 18:38:10.264987 4182 opengles.cpp:285] android_startOpenglesRenderer: gpu info
I0128 18:38:10.265314 4182 opengles.cpp:286]
WARNING: could not open libX11.so, try libX11.so.6
WARNING: cannnot unmap ptr 0x7f9d2ba01000 as it is in the protected range from 0x7f9caba00000 to 0x7f9d2bc00000
adb: device offline
adb: device offline
adb: device offline
adb: device offline
adb: device offline
adb: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
adb: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
adb: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
adb: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
adb: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
adb: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
adb: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
adb: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
adb: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
adb: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
adb: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
adb: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
adb: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
adb: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
adb: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
adb: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
adb: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
adb: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
adb: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
adb: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
adb: device 'emulator-5554' not found
1 tasks failed
show 1 tasks failed
app.startAndroidEmulator java.lang.Exception: Device fai
|
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
|
279 KB |
|
ubuntu-latest-artifact
|
182 MB |
|
ubuntu-latest-selective-execution-artifact
|
279 KB |
|
windows-latest-artifact
|
181 MB |
|
windows-latest-selective-execution-artifact
|
279 KB |
|