The GitHub Actions job "Publish Nightly" on pekko-grpc.git/main has failed.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
56ff7f0a0b0ed952b5f66cba8988467e6b54aa75 / He-Pin(kerr) <[email protected]>
Add -Yfuture-lazy-vals and bump Scala 3 to 3.3.8 (#723)

* Add -Yfuture-lazy-vals and bump Scala 3 to 3.3.8

Motivation:
The Scala 3.3.8 compiler introduced the -Yfuture-lazy-vals flag
(scala/scala3-lts#637) to optionally use VarHandle instead of
sun.misc.Unsafe for lazy val implementation. This prepares libraries
for upcoming JDK releases that restrict Unsafe access.

Modification:
- Add -Yfuture-lazy-vals to Common.scala scalacOptions for Scala 3.3.x
- Bump Scala 3 version from 3.3.7 to 3.3.8 in Dependencies.scala,
  sbt-test build files, and GitHub Actions workflows

Result:
pekko-grpc's Scala 3 build uses the future-proof VarHandle-based lazy
val implementation, compatible with all JDK 9+ versions.

Tests:
- sbt "++3.3.8; runtime/compile" passed (exit 0, 230s)

References:
Refs scala/scala3-lts#637

* Fix -Yfuture-lazy-vals requiring -release flag in Test scope

Move -Yfuture-lazy-vals from Compile/scalacOptions to base scalacOptions
and pair it with -release 17, so both Compile and Test scopes satisfy
the compiler requirement.

* Address PR review: simplify -Yfuture-lazy-vals and apply -release 17 to Test 
for all Scala versions

Report URL: https://github.com/apache/pekko-grpc/actions/runs/27486883803

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to