Skip to content

Linking Error, ScalaJS, Scala 3.6 #597

@sdrafahl

Description

@sdrafahl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions