New warnings under 3.3.7

After upgrading my actor library leucine to the latest Scala LTS version 3.3.7 i get these warnings:

[info] compiling 71 Scala sources to leucine/jvm/target/scala-3.3.7/classes ...
[warn] bad option '-Ypickle-java' was ignored
[warn] bad option '-Ypickle-write' was ignored

In the build.sbt file i have:

scalacOptions ++= Seq("-feature","-deprecation","-unchecked","-explain","-Wunused:all","-Wnonunit-statement","-Wvalue-discard")

Searching for these options did not reveal any useful information (in fact, it did not reveal much at all, in the context of Scala).

Edit: In the meantime i found out that the warnings are caused by the line

ThisBuild / usePipelining := true 

in the build file. Setting it to false makes them disappear. So obviously, this setting activates both “bad options”.

Can anyone shed some (more) light on this?

1 Like

I’d suggest opening a ticket at GitHub · Where software is built

2 Likes

Made it so. Thank you for the suggestion. :+1:

1 Like