-
Notifications
You must be signed in to change notification settings - Fork 14
community build: Shapeless fails to build in latest 2.12.x #82
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
Comments
I believe the new warning is legit, and the code ought to be:
Or just :
Which expands to an match on an |
Here are all the exhaustivity warnings in that build log. These might not all be new, and there might be plenty of new ones that we are yet to see in projects that depend on shapeless and have not been built.
|
Sorry for the highjack but is it legitimate because the type of |
Yep, rather than |
Gotcha. Thank you. |
Proposed a fix for the akka warning: akka/akka#19680 The Scalatest one looks legit, a code comment justifies the missing cases, this should be The twitter-util warning also looks legit, and is probably an old one. |
I agree that the new warning in the shapeless test is correct. @SethTisue is that the only example you've seen? |
Better still is there compiler snapshot build I could test with? |
I've pushed a fix for the instance that @SethTisue spotted. |
awesome, thanks
well, let's just see what a new build does: https://scala-ci.typesafe.com/job/scala-2.12.x-integrate-community-build/307/consoleFull
we don't currently have -SNAPSHOT publishing, though I plan to bring it back before tooooo much longer, certainly before 2.12 goes into RCs (it's scala/scala-jenkins-infra#133) for now, what we have instead are:
the easiest thing at the moment is probably to untar a recent nightly distribution and then use |
TIL, cool |
sigh, I forgot that in the 2.12 community build, Shapeless is actually frozen at d6a4f56e0783655c48244ec23c4f4c2d98401a72, even thought there's no reason for it to be anymore since scala/community-build#202 was resolved. I'll go fix that right now. |
ah, I messed up when I merged scala/community-build#206 onto 2.12.x. let's try this again: https://scala-ci.typesafe.com/job/scala-2.12.x-integrate-community-build/308/consoleFull UPDATE: again, with further fix to bad merge: https://scala-ci.typesafe.com/job/scala-2.12.x-integrate-community-build/309/consoleFull |
I have opened a ticket on the new failure at scalamacros/paradise#78. I'm going to close this ticket for now on the optimistic assumption that once paradise is updated, Shapeless will start working again too. |
Wow that output.. before you lose your sanity we should really try and fix this toString: ScopedKey(Scope(Select(ProjectRef(file:/home/jenkins/workspace/scala-2.12.x-integrate-community-build/target-0.9.5/project-builds/macro-paradise-21ffe7a7ba52c5fa52f67b89b7e263d1bd2af480/,paradise)),Select(ConfigKey(compile)),Global,Global),copyResources) |
Where are we with this now? What's the ETA for 2.12.0-M4? |
We might build M4 as soon as Feb 11, but it depends on a couple of large PRs crossing the finish line, so we can't say for sure. As for this ticket, it's waiting on scalamacros/paradise#78; I will comment there. |
The latest community build run shows that both scalamacros/paradise#78 and this ticket are fixed. |
Many thanks :-) |
@retronym perhaps this has to do with your recent exhaustivity checking changes. can you take a look and see if you think this is something @milessabin should address upstream, or what?
(from https://scala-ci.typesafe.com/job/scala-2.12.x-integrate-community-build/306/consoleFull)
The text was updated successfully, but these errors were encountered: