-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NoSuchMethodError for scala 2.12.13 #319
Comments
Unlike scala-library, there's no binary compatibility guarantees between two patch releases of scala-compiler. Thus well-designed compiler plugins are released with crossVersion := CrossVersion.full,
crossTarget := target.value / s"scala-${scalaVersion.value}", However, sbt-scoverage seems to be using sbt-scoverage/src/main/scala/scoverage/ScoverageSbtPlugin.scala Lines 55 to 65 in ddec737
In the case of Scala 2.12.13, binary compatibility was intentionally broken in scala/scala#9300. |
Any idea when this will be fixed? Considering disabling |
I'm giving a PR a shot. Starting from Eugine's comment from earlier, I presume |
@D-Roch @gslowikowski are you guys around to merge a PR, if one was submitted...? |
@SethTisue I can do it |
Bonus request - It would be sweet if the scoverage homepage had a table listing all supported versions. Scala devs are so used to major-version compatibility that it is very surprising when a library only supports specific minor versions, and it would save some time if they were explicitly called out in the README. |
Status update: I failed at my initial attempts -- I'll give another shot at it next week. The particular way the runtime is depended on seems less inclined to be compatible with |
Sorry I meant that instead of |
@eed3si9n Totally missed that -- I thought it was similar to how scalajs worked. Thanks! |
That was the trick. Gonna clean up a source compatibility issue between different versions of scalac then open the PRs |
OK. That should do it. |
This is still an issue, it got automatically closed.
|
@D-Roch Is there something else required in order to release |
@D-Roch @blast-hardcheese Do we have a rough ETA on when this will be completed / released? |
@D-Roch indicates he's busy, @gslowikowski may be around to release If there's a need to widen the maintainer group if the current maintainers aren't available to keep things moving, this could also be a discussion worth having. Additionally, if a company is willing or interested in funding this project, presumably that would be welcome (again, depending on the desires of the current maintainers). (Of course, I mean no disrespect by the above observation, but this changeset explicitly requires a new release every time a patch release of the compiler is cut, which will increase the maintenance burden. I think calling this out is important, while there are so many eyes on this issue) |
Problem/Solution The scoverage plugin has an issue due to a binary incompatibility introduced in scala 2.12.13 (see: scoverage/sbt-scoverage#319). It has been patched in the plugin in scoverage/scalac-scoverage-plugin#306 which is currently awaiting a release. However after updating our projects to scala 2.12.13, coverage is broken and failing the CI builds. Downgrade to scala 2.12.12 until the scoverage plugin has been published with the fix. Differential Revision: https://phabricator.twitter.biz/D635917
Problem/Solution The scoverage plugin has an issue due to a binary incompatibility introduced in scala 2.12.13 (see: scoverage/sbt-scoverage#319). It has been patched in the plugin in scoverage/scalac-scoverage-plugin#306 which is currently awaiting a release. However after updating our projects to scala 2.12.13, coverage is broken and failing the CI builds. Downgrade to scala 2.12.12 until the scoverage plugin has been published with the fix. Differential Revision: https://phabricator.twitter.biz/D635917
Problem/Solution The scoverage plugin has an issue due to a binary incompatibility introduced in scala 2.12.13 (see: scoverage/sbt-scoverage#319). It has been patched in the plugin in scoverage/scalac-scoverage-plugin#306 which is currently awaiting a release. However after updating our projects to scala 2.12.13, coverage is broken and failing the CI builds. Downgrade to scala 2.12.12 until the scoverage plugin has been published with the fix. Differential Revision: https://phabricator.twitter.biz/D635917
Problem/Solution The scoverage plugin has an issue due to a binary incompatibility introduced in scala 2.12.13 (see: scoverage/sbt-scoverage#319). It has been patched in the plugin in scoverage/scalac-scoverage-plugin#306 which is currently awaiting a release. However after updating our projects to scala 2.12.13, coverage is broken and failing the CI builds. Downgrade to scala 2.12.12 until the scoverage plugin has been published with the fix. Differential Revision: https://phabricator.twitter.biz/D635917
Problem/Solution The scoverage plugin has an issue due to a binary incompatibility introduced in scala 2.12.13 (see: scoverage/sbt-scoverage#319). It has been patched in the plugin in scoverage/scalac-scoverage-plugin#306 which is currently awaiting a release. However after updating our projects to scala 2.12.13, coverage is broken and failing the CI builds. Downgrade to scala 2.12.12 until the scoverage plugin has been published with the fix. Differential Revision: https://phabricator.twitter.biz/D635917
Problem/Solution The scoverage plugin has an issue due to a binary incompatibility introduced in scala 2.12.13 (see: scoverage/sbt-scoverage#319). It has been patched in the plugin in scoverage/scalac-scoverage-plugin#306 which is currently awaiting a release. However after updating our projects to scala 2.12.13, coverage is broken and failing the CI builds. Downgrade to scala 2.12.12 until the scoverage plugin has been published with the fix. Differential Revision: https://phabricator.twitter.biz/D635917
Are there any updates on how this issue will be fixed? Are the current maintainers available to release an update or widen the group? |
The issue is closed and the release hasn't been made yet. Is there any other ticket to track progress on the release? |
@niyassait |
Error:
java.lang.NoSuchMethodError: scala.tools.nsc.Global.reporter()Lscala/tools/nsc/reporters/Reporter
Reference and all details: sbt/sbt#6251
Error: https://github.com/bitcoin-s/bitcoin-s/pull/2509/checks (credits to sbt/sbt#6251 (comment) / @Christewart)
The text was updated successfully, but these errors were encountered: