Skip to content

Update scalafmt-core to 3.8.4-RC4 #3794

Update scalafmt-core to 3.8.4-RC4

Update scalafmt-core to 3.8.4-RC4 #3794

Triggered via pull request January 12, 2025 15:11
Status Failure
Total duration 54m 31s
Artifacts 4

run-tests.yml

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

Annotations

16 errors and 20 warnings
windows (11, "example.scalalib.{basic,publishing}.__.packaged.fork.test") / run
Process completed with exit code 128.
windows (11, 'integration.invalidation.__.packaged.server.test') / run
Process completed with exit code 128.
windows (11, contrib.__.test) / run
Process completed with exit code 128.
linux (17, '{main,scalalib,testrunner,bsp,testkit}.__.test', false) / 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[!!]>
ScalafmtTests.scalafmt.reformat: out/scalalib/test/compile.dest/classes/mill/scalalib/scalafmt/ScalafmtTests.class#L102
#1: firstReformat("Main.scala").modifyTime > before("Main.scala").modifyTime, firstReformat: scala.collection.immutable.Map[String,mill.scalalib.scalafmt.ScalafmtTests.FileInfo] = Map(Person.scala -> FileInfo(object Person { def fromString(s: String): Person = { val Array(name, age) = s.split(":") Person( name, age.toInt ) } } case class Person(name: String, age: Int) ,1736697051047,/home/runner/work/mill/mill/out/scalalib/test/test.dest/mill.scalalib.scalafmt.ScalafmtTests/sandbox/out/mill-test-base-module/14158934047181428278/core/src/Person.scala), Main.scala -> FileInfo(object Main extends App { val person = Person.fromString("rockjam:25") val greeting = s"hello ${person.name}, your age is: ${person.age}" println(greeting) } ,1736697051048,/home/runner/work/mill/mill/out/scalalib/test/test.dest/mill.scalalib.scalafmt.ScalafmtTests/sandbox/out/mill-test-base-module/14158934047181428278/core/src/Main.scala), application.conf -> FileInfo(foo.bar = 2 ,1736697051047,/home/runner/work/mill/mill/out/scalalib/test/test.dest/mill.scalalib.scalafmt.ScalafmtTests/sandbox/out/mill-test-base-module/14158934047181428278/core/resources/application.conf), util.sc -> FileInfo(def sayHelloWorld() = println("Hello World") ,1736697051048,/home/runner/work/mill/mill/out/scalalib/test/test.dest/mill.scalalib.scalafmt.ScalafmtTests/sandbox/out/mill-test-base-module/14158934047181428278/core/util.sc)) before: scala.collection.immutable.Map[String,mill.scalalib.scalafmt.ScalafmtTests.FileInfo] = Map(Person.scala -> FileInfo(object Person { def fromString(s: String): Person = { val Array(name, age) = s.split(":") Person( name, age.toInt ) } } case class Person(name: String, age: Int) ,1736697051047,/home/runner/work/mill/mill/out/scalalib/test/test.dest/mill.scalalib.scalafmt.ScalafmtTests/sandbox/out/mill-test-base-module/14158934047181428278/core/src/Person.scala), Main.scala -> FileInfo(object Main extends App { val person = Person.fromString("rockjam:25") val greeting = s"hello ${person.name}, your age is: ${person.age}" println(greeting) } ,1736697051048,/home/runner/work/mill/mill/out/scalalib/test/test.dest/mill.scalalib.scalafmt.ScalafmtTests/sandbox/out/mill-test-base-module/14158934047181428278/core/src/Main.scala), application.conf -> FileInfo(foo.bar = 2 ,1736697051047,/home/runner/work/mill/mill/out/scalalib/test/test.dest/mill.scalalib.scalafmt.ScalafmtTests/sandbox/out/mill-test-base-module/14158934047181428278/core/resources/application.conf), util.sc -> FileInfo(def sayHelloWorld() = println("Hello World") ,1736697051048,/home/runner/work/mill/mill/out/scalalib/test/test.dest/mill.scalalib.scalafmt.ScalafmtTests/sandbox/out/mill-test-base-module/14158934047181428278/core/util.sc))
ScalafmtTests.scalafmt.reformatAll: out/scalalib/test/compile.dest/classes/mill/scalalib/scalafmt/ScalafmtTests.class#L107
#1: firstReformat("Main.scala").modifyTime > before("Main.scala").modifyTime, firstReformat: scala.collection.immutable.Map[String,mill.scalalib.scalafmt.ScalafmtTests.FileInfo] = Map(Person.scala -> FileInfo(object Person { def fromString(s: String): Person = { val Array(name, age) = s.split(":") Person( name, age.toInt ) } } case class Person(name: String, age: Int) ,1736697055151,/home/runner/work/mill/mill/out/scalalib/test/test.dest/mill.scalalib.scalafmt.ScalafmtTests/sandbox/out/mill-test-base-module/14158934047181428278/core/src/Person.scala), Main.scala -> FileInfo(object Main extends App { val person = Person.fromString("rockjam:25") val greeting = s"hello ${person.name}, your age is: ${person.age}" println(greeting) } ,1736697055151,/home/runner/work/mill/mill/out/scalalib/test/test.dest/mill.scalalib.scalafmt.ScalafmtTests/sandbox/out/mill-test-base-module/14158934047181428278/core/src/Main.scala), application.conf -> FileInfo(foo.bar = 2 ,1736697055151,/home/runner/work/mill/mill/out/scalalib/test/test.dest/mill.scalalib.scalafmt.ScalafmtTests/sandbox/out/mill-test-base-module/14158934047181428278/core/resources/application.conf), util.sc -> FileInfo(def sayHelloWorld() = println("Hello World") ,1736697055152,/home/runner/work/mill/mill/out/scalalib/test/test.dest/mill.scalalib.scalafmt.ScalafmtTests/sandbox/out/mill-test-base-module/14158934047181428278/core/util.sc)) before: scala.collection.immutable.Map[String,mill.scalalib.scalafmt.ScalafmtTests.FileInfo] = Map(Person.scala -> FileInfo(object Person { def fromString(s: String): Person = { val Array(name, age) = s.split(":") Person( name, age.toInt ) } } case class Person(name: String, age: Int) ,1736697055151,/home/runner/work/mill/mill/out/scalalib/test/test.dest/mill.scalalib.scalafmt.ScalafmtTests/sandbox/out/mill-test-base-module/14158934047181428278/core/src/Person.scala), Main.scala -> FileInfo(object Main extends App { val person = Person.fromString("rockjam:25") val greeting = s"hello ${person.name}, your age is: ${person.age}" println(greeting) } ,1736697055151,/home/runner/work/mill/mill/out/scalalib/test/test.dest/mill.scalalib.scalafmt.ScalafmtTests/sandbox/out/mill-test-base-module/14158934047181428278/core/src/Main.scala), application.conf -> FileInfo(foo.bar = 2 ,1736697055151,/home/runner/work/mill/mill/out/scalalib/test/test.dest/mill.scalalib.scalafmt.ScalafmtTests/sandbox/out/mill-test-base-module/14158934047181428278/core/resources/application.conf), util.sc -> FileInfo(def sayHelloWorld() = println("Hello World") ,1736697055152,/home/runner/work/mill/mill/out/scalalib/test/test.dest/mill.scalalib.scalafmt.ScalafmtTests/sandbox/out/mill-test-base-module/14158934047181428278/core/util.sc))
windows (17, 'integration.{feature,failure}.__.packaged.fork.test') / run
Process completed with exit code 128.
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.
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
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 (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.__.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, 'example.scalalib.__.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[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
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, '{main,scalalib,testrunner,bsp,testkit}.__.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.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.javalib.__.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, 'integration.{failure,feature,ide}.__.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
ubuntu-latest-artifact
144 MB
ubuntu-latest-selective-execution-artifact
241 KB
windows-latest-artifact
144 MB
windows-latest-selective-execution-artifact
241 KB