sbt / zinc

Scala incremental compiler library, used by sbt and other build tools
Apache License 2.0
334 stars 120 forks source link

[2.x] Dependency resolution fails due to `zinc-scripted_3` incorrectly resolving compiler bridge dep #1454

Open Friendseeker opened 3 days ago

Friendseeker commented 3 days ago
[warn]  Note: Unresolved dependencies path:
[error] Failed to resolve the dependencies of zinc-scripted_3
[error] sbt.librarymanagement.ResolveException: Error downloading org.scala-sbt:compiler-bridge_3:2.0.0-M2-SNAPSHOT
[error]   Not found
[error]   Not found
[error]   not found: /home/runner/.ivy2/localorg.scala-sbt/compiler-bridge_3/2.0.0-M2-SNAPSHOT/ivys/ivy.xml
[error]   not found: https://repo1.maven.org/maven2/org/scala-sbt/compiler-bridge_3/2.0.0-M2-SNAPSHOT/compiler-bridge_3-2.0.0-M2-SNAPSHOT.pom
[error]     at lmcoursier.CoursierDependencyResolution.unresolvedWarningOrThrow(CoursierDependencyResolution.scala:346)

https://github.com/sbt/zinc/actions/runs/11277479089/job/31363718061

Friendseeker commented 3 days ago

The same issue also blocks running scripted test. (https://github.com/sbt/zinc/issues/1410), as when running scripted test locally I got hit with the same error.