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
Publish error: Error while reading InlineInfoAttribute from scala.meta.transversers.Transformer #3338
Comments
Thanks for reporting! I am not sure why Scalafmt seems to publish alright we the newest versions. |
Oops, I meant >=4.8.3, not >. Could there be anything in that release which broke things? |
We did add automatic shading for fastparse and geny modules, but no idea how that would influence anything 🤔 Will need to take a closer look when I have some time. |
This seems to be a warning in the Scala compiler though, so not sure why it's being shown as error for you or why those particular classes 🤔 |
Any chance that it's fatal warnings issue? Is it possible to turn it off for scaladoc? Something like:
? |
I don't think it is docs-related. I tried debugging it myself a bit more, and it is related to release mode method-local optimisation. The error doesn't occur when running I'm guessing it tries to inline some macros or something, which then breaks? I don't think there's much harm in disabling the 'release mode' for me. That at least unblocks releases for me. I'm not sure if this issue should stay open, though I guess the bug is still there (but maybe not in Scalameta) |
I think there is something shady in the sbt-shading plugin, which is something a bit too complicated for me to try to dig into. Also, that seems to be a warning only in the compiler, why would it show as error? |
I do have fatal-warnings turned on. But I'd prefer not to disable it for releases |
Sure, but could we disable it for |
|
Looks like it's something we should fix in coursier/sbt-shading or https://github.com/eed3si9n/jarjar-abrams 🤔 I don't see how exactly to fix it currently :/ |
Though those classes do not touch any kind of shading, it's super wierd. |
Hi, I've been having an error while publishing a 2.12/2.13 project with Scalameta >=4.8.3:
The failing build is here:
https://github.com/stryker-mutator/stryker4s/actions/runs/5514939543/job/14930905758
With the full log:
https://gist.github.com/hugo-vrijswijk/add7af87f6c70056cd1c53bc2f324495
The build right before it was successful:
https://github.com/stryker-mutator/stryker4s/actions/runs/5514929961
The text was updated successfully, but these errors were encountered: