The GitHub Actions job "Validate and test" on pekko-http.git/scala39-compat has 
failed.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
25297f062efccf11eb33a7621be402230f9292f8 / 虎鸣 <[email protected]>
fix: Scala 3.8 forward compatibility for routing DSL and build config

Motivation:
Scala 3.8 introduces breaking changes for context parameter passing,
private[this] deprecation, = _ deprecation, and various syntax updates.
These changes ensure the codebase compiles cleanly on Scala 3.8+ while
maintaining compatibility with Scala 2.13.x and 3.3.x.

Modification:
- Fix context bound patterns: replace explicit passing (Tuple.yes, ev,
  OutIsTuple, ClassTag) with implicit vals in scope for Scala 3.8 compat
- Replace private[this] with private across ~37 files
- Replace = _ with explicit defaults (= null, = 0L) across ~47 files
- Add -Wconf suppressions for Scala 3-specific syntax warnings
- Move -Ywarn-dead-code and -Xlint to Scala 2-only config blocks
- Make -language:_ conditional for Scala 2 only
- Fix Logging context bounds (PoolInterface, StageLoggingWithOverride)
- Fix ClassTag context bounds (HttpMessage.getHeaders, RejectionHandler)
- Fix Tuple import conflict in FutureDirectives (scala.Tuple shadowing)
- Fix PathMatcher provide/apply with explicit implicit params
- Fix PathDirectives tprovide with explicit type parameter
- Fix refutable pattern in val (HttpHeaderParserSpec)
- Replace -Xfatal-warnings with -Werror in docs module
- Fix test code context parameter passing (EntityStreamingSpec)

Result:
All modules compile cleanly on Scala 3.8.4 with zero errors while
maintaining full compatibility with Scala 2.13.x and 3.3.x.

Report URL: https://github.com/apache/pekko-http/actions/runs/27521596321

With regards,
GitHub Actions via GitBox


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

Reply via email to