Skip to content
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

Using "Metals -> Import Build", get 'Couldn't retrieve module org.scala-lang:compiler-bridge_2.13:3.1.0-RC1-bin-20210819-408e6d2-NIGHTLY:compile' #1549

Closed
GavinRay97 opened this issue Aug 21, 2021 · 3 comments · Fixed by #1550

Comments

@GavinRay97
Copy link

GavinRay97 commented Aug 21, 2021

For some reason this only seems to happen with the 3.1.0 series and none of the dependency versions are different between 3.1.0, 3.0.3-RC-NIGHTLY, and 3.0.1/2.

It just could be: "Hey, it's a nightly, stuff is going to break, who knows." 😅

plugins {
    id "scala"
}

repositories {
    mavenCentral()
}

dependencies {
    implementation("org.scala-lang:scala3-compiler_3:3.1.0-RC1-bin-20210819-408e6d2-NIGHTLY")
}

group = "org.example"
version = "1.0.0-SNAPSHOT"
2021.08.21 14:10:09 INFO  Attempting to connect to the build server...
2021.08.21 14:10:09 INFO  tracing is enabled: C:\Users\rayga\AppData\Local\scalameta\metals\cache\bsp.trace.json
2021.08.21 14:10:09 INFO  time: Connected to build server in 0.63s
2021.08.21 14:10:09 INFO  Connected to Build server: Bloop v1.4.8-110-3d7bbe2c
2021.08.21 14:10:13 INFO  time: indexed workspace in 3.61s
2021.08.21 14:10:13 WARN  unsupported Scala 3.1.0-RC1-bin-20210819-408e6d2-NIGHTLY
2021.08.21 14:10:13 INFO  compiling quarkus-scala-gradle (5 scala sources)
2021.08.21 14:10:13 INFO  time: compiled quarkus-scala-gradle in 0.28s
2021.08.21 14:10:13 ERROR Unexpected error when compiling quarkus-scala-gradle:
  'Couldnt retrieve module org.scala-lang:compiler-bridge_2.13:3.1.0-RC1-bin-20210819-408e6d2-NIGHTLY:compile'
2021.08.21 14:10:18 INFO  compiling quarkus-scala-gradle (5 scala sources)
2021.08.21 14:10:18 INFO  time: compiled quarkus-scala-gradle in 0.1s
@Arthurm1
Copy link
Contributor

Down to this?

@tgodzik
Copy link
Contributor

tgodzik commented Aug 22, 2021

It seems so, but the 2.13 suffix looks wrong. Wasn't there an issue with releases? I will confirm on Monday!

tgodzik added a commit to tgodzik/bloop that referenced this issue Aug 23, 2021
@tgodzik
Copy link
Contributor

tgodzik commented Aug 23, 2021

Ach, that's actually my fault. I haven't figured that Scala 3.1 would come so quickly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants