You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See guardian/scala-steward-public-repos#67 ... we're now running our Scala Steward workflow with Java 21 LTS, which means that all projects that want to have Scala Steward updates (like this one) need to be able to build under Java 21 (even if the projects are still running in production on Java 8).
As guardian/grid is on some mildly old versions of sbt/Scala that can't handle Java 21, it currently is causing the Scala Steward job to fail:
2024-04-09 09:56:46,335 ERROR Steward guardian/grid failed
org.scalasteward.core.io.process$ProcessFailedException: '"SBT_OPTS=-Xmx2048m -Xss8m -XX:MaxMetaspaceSize=512m" sbt -Dsbt.color=false -Dsbt.log.noformat=true -Dsbt.supershell=false -Dsbt.server.forcestart=true ;+ stewardDependencies;reload plugins;stewardDependencies' exited with code 1.
copying runtime jar...
[info] [launcher] getting org.scala-sbt sbt 1.6.2 (this may take some time)...
[info] [launcher] getting Scala 2.12.15 (for sbt)...
[info] welcome to sbt 1.6.2 (Amazon.com Inc. Java 21.0.2)
error:
bad constant pool index: 0 at pos: 48461
while compiling:
during phase: globalPhase=, enteringPhase=
library version: version 2.12.15
compiler version: version 2.12.15
reconstructed args: -classpath /home/runner/.sbt/boot/scala-2.12.15/lib/scala-library.jar -Yrangepos
(unfortunately the Scala Steward run failing affects everyone, see guardian/scala-steward-public-repos#60 - so I've removed guardian/grid from Scala Steward until this PR is merged)
Being able to build with Java 21 requires using recent versions of Scala (2.12.18+) and sbt (1.9.0+) - guardian/mobile-save-for-later#105 should provide a good example of how to fix a repo up!
The text was updated successfully, but these errors were encountered:
See guardian/scala-steward-public-repos#67 ... we're now running our Scala Steward workflow with Java 21 LTS, which means that all projects that want to have Scala Steward updates (like this one) need to be able to build under Java 21 (even if the projects are still running in production on Java 8).
As
guardian/grid
is on some mildly old versions of sbt/Scala that can't handle Java 21, it currently is causing the Scala Steward job to fail:(unfortunately the Scala Steward run failing affects everyone, see guardian/scala-steward-public-repos#60 - so I've removed
guardian/grid
from Scala Steward until this PR is merged)Being able to build with Java 21 requires using recent versions of Scala (2.12.18+) and sbt (1.9.0+) - guardian/mobile-save-for-later#105 should provide a good example of how to fix a repo up!
The text was updated successfully, but these errors were encountered: