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

Linking Error, ScalaJS, Scala 3.6 #597

Open
sdrafahl opened this issue Apr 1, 2025 · 0 comments
Open

Linking Error, ScalaJS, Scala 3.6 #597

sdrafahl opened this issue Apr 1, 2025 · 0 comments

Comments

@sdrafahl
Copy link

sdrafahl commented Apr 1, 2025

Project Details:
Scala Version: 3.6.4
sbt-coverage: 2.3.1
sbt-scalajs: 1.18.2

I have a Scala 3/ScalaJS project. I can successfully run the project. I can run test and integration tests.
However if I run sbt clean coverage test. It causes a linking error.

I have provided part of the linking errors.

[info] Fast optimizing /Users/shane.drafahl/paymentResponseLambda/target/scala-3.6.4/payment-response-lambda-test-fastopt
[error] Referring to non-existent class scala.collection.concurrent.MainNode
[error]   called from constructor scala.collection.concurrent.LNode.<init>(scala.collection.immutable.List,scala.math.Equiv)void
[error]   called from scala.collection.concurrent.LNode.removed(java.lang.Object,scala.collection.concurrent.TrieMap)scala.collection.concurrent.MainNode
[error]   called from scala.collection.concurrent.INode.rec_remove(java.lang.Object,java.lang.Object,int,int,int,scala.collection.concurrent.INode,scala.collection.concurrent.Gen,scala.collection.concurrent.TrieMap)scala.Option
[error]   called from private scala.collection.concurrent.TrieMap.removehc(java.lang.Object,java.lang.Object,int,int)scala.Option
[error]   called from scala.collection.concurrent.TrieMap.remove(java.lang.Object)scala.Option
[error]   called from scala.collection.concurrent.TrieMap.subtractOne(java.lang.Object)scala.collection.concurrent.TrieMap
[error]   called from scala.collection.concurrent.TrieMap.subtractOne(java.lang.Object)scala.collection.mutable.Shrinkable
[error]   dispatched from scala.collection.mutable.Map.subtractOne(java.lang.Object)scala.collection.mutable.Shrinkable
[error]   called from scala.collection.mutable.Map$WithDefault.subtractOne(java.lang.Object)scala.collection.mutable.Map$WithDefault
[error]   called from scala.collection.mutable.Map$WithDefault.subtractOne(java.lang.Object)scala.collection.mutable.Shrinkable
[error]   dispatched from scala.collection.mutable.Shrinkable.subtractOne(java.lang.Object)scala.collection.mutable.Shrinkable
[error]   called from scala.collection.mutable.Shrinkable.$minus$eq(java.lang.Object)scala.collection.mutable.Shrinkable
[error]   dispatched from scala.collection.mutable.Map.$minus$eq(java.lang.Object)scala.collection.mutable.Shrinkable
[error]   called from org.scalajs.testing.common.RunMuxRPC.detach(org.scalajs.testing.common.Endpoint,int)void
[error]   called from private org.scalajs.testing.bridge.TestAdapterBridge$.detachRunnerCommands(int,boolean)void
[error]   called from private org.scalajs.testing.bridge.TestAdapterBridge$.doneFun(int,sbt.testing.Runner,boolean)scala.Function1
[error]   called from private org.scalajs.testing.bridge.TestAdapterBridge$.createRunnerFun(boolean)scala.Function1
[error]   called from org.scalajs.testing.bridge.TestAdapterBridge$.start()void
[error]   called from org.scalajs.testing.bridge.Bridge$.start()void
[error]   called from static org.scalajs.testing.bridge.Bridge.start()void
[error]   called from core module module initializers
[error] involving instantiated classes:
[error]   scala.collection.concurrent.LNode
[error]   scala.collection.concurrent.INode
[error]   scala.collection.concurrent.TrieMap
[error]   scala.collection.mutable.Map$WithDefault
[error]   org.scalajs.testing.common.RunMuxRPC
[error]   org.scalajs.testing.bridge.TestAdapterBridge$
[error]   org.scalajs.testing.bridge.Bridge$
[error] Referring to non-existent class scala.collection.concurrent.MainNode
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

No branches or pull requests

1 participant