add a case for #34 #282
GitHub Actions / Test Report (2.13.12)
failed
Oct 4, 2023 in 0s
3 fail, 94 pass in 14s
Annotations
Check warning on line 0 in splain.builtin.BasicSpec
github-actions / Test Report (2.13.12)
#34 compoundDiff (splain.builtin.BasicSpec) failed
core/build/test-results/test/TEST-splain.builtin.BasicSpec.xml
Raw output
org.scalatest.exceptions.TestFailedException: expected: <
> but was: <
newSource1.scala:7: error: type mismatch;
Compound.y.type|String
f(y)
^
newSource1.scala:10: error: type mismatch;
Compound.T|<none> with Int|String
f(z)
^
>
at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472)
at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:471)
at org.scalatest.Assertions$.newAssertionFailedException(Assertions.scala:1231)
at org.scalatest.Assertions$AssertionsHelper.macroAssert(Assertions.scala:1295)
at splain.TestHelpers$SpecStringOps.must_$eq$eq(TestHelpers.scala:146)
at splain.SpecBase$Direct.$anonfun$check$1(SpecBase.scala:68)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.Transformer.apply(Transformer.scala:22)
at org.scalatest.Transformer.apply(Transformer.scala:20)
at org.scalatest.funspec.AnyFunSpecLike$$anon$1.apply(AnyFunSpecLike.scala:517)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.scalatest.funspec.AnyFunSpec.withFixture(AnyFunSpec.scala:1631)
at org.scalatest.funspec.AnyFunSpecLike.invokeWithFixture$1(AnyFunSpecLike.scala:515)
at org.scalatest.funspec.AnyFunSpecLike.$anonfun$runTest$1(AnyFunSpecLike.scala:527)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.funspec.AnyFunSpecLike.runTest(AnyFunSpecLike.scala:527)
at org.scalatest.funspec.AnyFunSpecLike.runTest$(AnyFunSpecLike.scala:509)
at org.scalatest.funspec.AnyFunSpec.runTest(AnyFunSpec.scala:1631)
at org.scalatest.funspec.AnyFunSpecLike.$anonfun$runTests$1(AnyFunSpecLike.scala:560)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at scala.collection.immutable.List.foreach(List.scala:333)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
at scala.collection.immutable.List.foreach(List.scala:333)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.funspec.AnyFunSpecLike.runTests(AnyFunSpecLike.scala:560)
at org.scalatest.funspec.AnyFunSpecLike.runTests$(AnyFunSpecLike.scala:559)
at org.scalatest.funspec.AnyFunSpec.runTests(AnyFunSpec.scala:1631)
at org.scalatest.Suite.run(Suite.scala:1112)
at org.scalatest.Suite.run$(Suite.scala:1094)
at org.scalatest.funspec.AnyFunSpec.org$scalatest$funspec$AnyFunSpecLike$$super$run(AnyFunSpec.scala:1631)
at org.scalatest.funspec.AnyFunSpecLike.$anonfun$run$1(AnyFunSpecLike.scala:564)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.funspec.AnyFunSpecLike.run(AnyFunSpecLike.scala:564)
at org.scalatest.funspec.AnyFunSpecLike.run$(AnyFunSpecLike.scala:563)
at org.scalatest.funspec.AnyFunSpec.run(AnyFunSpec.scala:1631)
at co.helmethair.scalatest.runtime.Executor.runScalatests(Executor.java:130)
at co.helmethair.scalatest.runtime.Executor.executeSuite(Executor.java:86)
at co.helmethair.scalatest.runtime.Executor.executeTest(Executor.java:53)
at co.helmethair.scalatest.runtime.Executor.lambda$executeSuite$2(Executor.java:82)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:357)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:483)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485)
at co.helmethair.scalatest.runtime.Executor.executeSuite(Executor.java:82)
at co.helmethair.scalatest.runtime.Executor.executeTest(Executor.java:60)
at co.helmethair.scalatest.ScalatestEngine.execute(ScalatestEngine.java:55)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:119)
at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:94)
at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:89)
at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
at com.sun.proxy.$Proxy2.stop(Unknown Source)
at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
Check warning on line 0 in splain.acceptance.builtin.StaticBasicSpec
github-actions / Test Report (2.13.12)
acceptance (splain.acceptance.builtin.StaticBasicSpec) failed
testing/acceptance/build/test-results/test/TEST-splain.acceptance.builtin.StaticBasicSpec.xml
Raw output
org.scalatest.exceptions.TestFailedException: expected: <
newSource1.scala:13: error: implicit error;
!I e: splain.acceptance.builtin.StaticBasicSpec.ImplicitChain.II
ImplicitChain.g invalid because
!I impPar3: ImplicitChain.I1
――ImplicitChain.i1 invalid because
!I impPar7: ImplicitChain.I3
implicitly[II]
^
newSource1.scala:6: error: type mismatch;
splain.acceptance.builtin.StaticBasicSpec.FoundReq.L|splain.acceptance.builtin.StaticBasicSpec.FoundReq.R
f(new L)
^
newSource1.scala:4: error: implicit error;
!I e:
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[String]
]
]
]
]
]
]
]
implicitly[VeryLong[
^
newSource1.scala:4: error: implicit error;
!I e:
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[String]
]
]
]
]
]
]
] {
type A = Int;
type B = Int;
type C = Int;
type D = Int;
type E = Int;
type F = Int;
type G = Int;
type H = Int
}
implicitly[VeryLong[
^
newSource1.scala:4: error: implicit error;
!I e:
(
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[Int],
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[Int]
]
]
]
]
]
]
]
)
implicitly[
^
newSource1.scala:16: error: type mismatch;
(
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[Int],
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[Int|String]
]
]
]
]
]
]
]
)
) = x
^
newSource1.scala:11: error: type mismatch;
B.this.t1.type|B.this.t.TT
val t2: t.TT = t1
^
newSource1.scala:7: error: implicit error;
!I e:
splain.acceptance.builtin.StaticBasicSpec.Bounds.F[
splain.acceptance.builtin.StaticBasicSpec.Bounds.Arg
]
Bounds.g invalid because
nonconformant bounds;
[splain.acceptance.builtin.StaticBasicSpec.Bounds.Arg, Nothing]
[A <: Bounds.Base, B]
implicitly[F[Arg]]
^
newSource1.scala:4: error: implicit error;
!I ec: scala.concurrent.ExecutionContext
Cannot find an implicit ExecutionContext. You might add
an (implicit ec: ExecutionContext) parameter to your method.
The ExecutionContext is used to configure how and on which
thread pools asynchronous tasks (such as Futures) will run,
so the specific ExecutionContext that is selected is important.
If your application does not define an ExecutionContext elsewhere,
consider using Scala's global ExecutionContext by defining
the following:
implicit val ec: scala.concurrent.ExecutionContext = scala.concurrent.ExecutionContext.global
long
^
newSource1.scala:10: error: implicit error;
!I e: String
f invalid because
!I impPar4:
List[
(
splain.acceptance.builtin.StaticBasicSpec.InfixBreak.VeryLongTypeName ::::
splain.acceptance.builtin.StaticBasicSpec.InfixBreak.VeryLongTypeName ::::
splain.acceptance.builtin.StaticBasicSpec.InfixBreak.VeryLongTypeName ::::
splain.acceptance.builtin.StaticBasicSpec.InfixBreak.VeryLongTypeName
)
::::
(
splain.acceptance.builtin.StaticBasicSpec.InfixBreak.Short ::::
splain.acceptance.builtin.StaticBasicSpec.InfixBreak.Short
)
::::
(
splain.acceptance.builtin.StaticBasicSpec.InfixBreak.VeryLongTypeName ::::
splain.acceptance.builtin.StaticBasicSpec.InfixBreak.VeryLongTypeName ::::
splain.acceptance.builtin.StaticBasicSpec.InfixBreak.VeryLongTypeName ::::
splain.acceptance.builtin.StaticBasicSpec.InfixBreak.VeryLongTypeName
)
::::
splain.acceptance.builtin.StaticBasicSpec.InfixBreak.VeryLongTypeName ::::
splain.acceptance.builtin.StaticBasicSpec.InfixBreak.VeryLongTypeName ::::
splain.acceptance.builtin.StaticBasicSpec.InfixBreak.VeryLongTypeName ::::
splain.acceptance.builtin.StaticBasicSpec.InfixBreak.VeryLongTypeName
]
(No implicit view available from Int => splain.acceptance.builtin.StaticBasicSpec.InfixBreak.T2.)
implicitly[String]
^
newSource1.scala:11: error: implicit error;
!I e:
splain.acceptance.builtin.StaticBasicSpec.DeepHole.C1[
splain.acceptance.builtin.StaticBasicSpec.DeepHole.T3[
splain.acceptance.builtin.StaticBasicSpec.DeepHole.T1[List[String], ?],
splain.acceptance.builtin.StaticBasicSpec.DeepHole.T2[
splain.acceptance.builtin.StaticBasicSpec.DeepHole.Id,
splain.acceptance.builtin.StaticBasicSpec.DeepHole.C4,
?
],
?
]
]
implicitly[C1[T3]]
^
newSource1.scala:9: error: implicit error;
!I e:
splain.acceptance.builtin.StaticBasicSpec.Aux.F.Aux[
splain.acceptance.builtin.StaticBasicSpec.Aux.C,
splain.acceptance.builtin.StaticBasicSpec.Aux.D
]
Aux.f invalid because
!I impPar10: Aux.C
implicitly[F.Aux[C, D]]
^
newSource1.scala:11: error: type mismatch;
splain.acceptance.builtin.StaticBasicSpec.Refined.A with
splain.acceptance.builtin.StaticBasicSpec.Refined.B with
splain.acceptance.builtin.StaticBasicSpec.Refined.E|splain.acceptance.builtin.StaticBasicSpec.Refined.C with
splain.acceptance.builtin.StaticBasicSpec.Refined.F|<none> {
type X = Int|String;
type Y = String;
type Z = <none>|String
}
f(x)
^
newSource1.scala:10: error: implicit error;
!I e: splain.acceptance.builtin.StaticBasicSpec.Refined.Node{type T = _$1} forSome { type _$1 <: Int }
implicitly[NodeLt[Int]]
^
newSource1.scala:25: error: type mismatch;
C.X.Y.T|B.X.Y.T
f(x: C.X.Y.T)
^
newSource1.scala:6: error: type mismatch;
Int|(=> splain.acceptance.builtin.StaticBasicSpec.Foo.A) => splain.acceptance.builtin.StaticBasicSpec.Foo.B
f(1: Int)
^
newSource1.scala:3: error: type mismatch;
String|Tuple1[String]
val a: Tuple1[String] = "Tuple1": String
^
newSource1.scala:7: error: implicit error;
!I e:
splain.acceptance.builtin.StaticBasicSpec.SingleImp.a.type ***
splain.acceptance.builtin.StaticBasicSpec.SingleImp.b.type
implicitly[a.type *** b.type]
^
newSource1.scala:8: error: implicit error;
!I e: a.type *** b.type
implicitly[a.type *** b.type]
^
newSource1.scala:6: error: implicit error;
!I e: a.type *** b.type
implicitly[a.type *** b.type]
^
newSource1.scala:5: error: implicit error;
!I ev: scala.math.Ordering[Object]
No implicit Ordering[Object] found to build a SortedSet[Object]. You may want to upcast to a Set[Int] first by calling `unsorted`.
Ordering.ordered invalid because
!I asComparable: Object => Comparable[Any]
No implicit view available from Object => Comparable[_ >: Object].
Ordering.comparatorToOrdering invalid because
!I cmp: java.util.Comparator[Object]
ms.map(_ => o)
^
newSource1.scala:9: error: implicit error;
!I e: List[splain.acceptance.builtin.StaticBasicSpec.a.TypeA]
(No implicit view available from Int => splain.acceptance.builtin.StaticBasicSpec.a.TypeA.)
implicitly[List[TypeA]]
^
> but was: <
newSource1.scala:13: error: implicit error;
!I e: splain.acceptance.builtin.StaticBasicSpec.ImplicitChain.II
ImplicitChain.g invalid because
!I impPar3: ImplicitChain.I1
――ImplicitChain.i1 invalid because
!I impPar7: ImplicitChain.I3
implicitly[II]
^
newSource1.scala:6: error: type mismatch;
splain.acceptance.builtin.StaticBasicSpec.FoundReq.L|splain.acceptance.builtin.StaticBasicSpec.FoundReq.R
f(new L)
^
newSource1.scala:4: error: implicit error;
!I e:
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[String]
]
]
]
]
]
]
]
implicitly[VeryLong[
^
newSource1.scala:7: error: type mismatch;
splain.acceptance.builtin.StaticBasicSpec.Compound.y.type|String
f(y)
^
newSource1.scala:4: error: implicit error;
!I e:
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[String]
]
]
]
]
]
]
] {
type A = Int;
type B = Int;
type C = Int;
type D = Int;
type E = Int;
type F = Int;
type G = Int;
type H = Int
}
implicitly[VeryLong[
^
newSource1.scala:4: error: implicit error;
!I e:
(
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[Int],
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[Int]
]
]
]
]
]
]
]
)
implicitly[
^
newSource1.scala:16: error: type mismatch;
(
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[Int],
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[
splain.acceptance.builtin.StaticBasicSpec.Long.VeryLong[Int|String]
]
]
]
]
]
]
]
)
) = x
^
newSource1.scala:11: error: type mismatch;
B.this.t1.type|B.this.t.TT
val t2: t.TT = t1
^
newSource1.scala:7: error: implicit error;
!I e:
splain.acceptance.builtin.StaticBasicSpec.Bounds.F[
splain.acceptance.builtin.StaticBasicSpec.Bounds.Arg
]
Bounds.g invalid because
nonconformant bounds;
[splain.acceptance.builtin.StaticBasicSpec.Bounds.Arg, Nothing]
[A <: Bounds.Base, B]
implicitly[F[Arg]]
^
newSource1.scala:4: error: implicit error;
!I ec: scala.concurrent.ExecutionContext
Cannot find an implicit ExecutionContext. You might add
an (implicit ec: ExecutionContext) parameter to your method.
The ExecutionContext is used to configure how and on which
thread pools asynchronous tasks (such as Futures) will run,
so the specific ExecutionContext that is selected is important.
If your application does not define an ExecutionContext elsewhere,
consider using Scala's global ExecutionContext by defining
the following:
implicit val ec: scala.concurrent.ExecutionContext = scala.concurrent.ExecutionContext.global
long
^
newSource1.scala:10: error: implicit error;
!I e: String
f invalid because
!I impPar4:
List[
(
splain.acceptance.builtin.StaticBasicSpec.InfixBreak.VeryLongTypeName ::::
splain.acceptance.builtin.StaticBasicSpec.InfixBreak.VeryLongTypeName ::::
splain.acceptance.builtin.StaticBasicSpec.InfixBreak.VeryLongTypeName ::::
splain.acceptance.builtin.StaticBasicSpec.InfixBreak.VeryLongTypeName
)
::::
(
splain.acceptance.builtin.StaticBasicSpec.InfixBreak.Short ::::
splain.acceptance.builtin.StaticBasicSpec.InfixBreak.Short
)
::::
(
splain.acceptance.builtin.StaticBasicSpec.InfixBreak.VeryLongTypeName ::::
splain.acceptance.builtin.StaticBasicSpec.InfixBreak.VeryLongTypeName ::::
splain.acceptance.builtin.StaticBasicSpec.InfixBreak.VeryLongTypeName ::::
splain.acceptance.builtin.StaticBasicSpec.InfixBreak.VeryLongTypeName
)
::::
splain.acceptance.builtin.StaticBasicSpec.InfixBreak.VeryLongTypeName ::::
splain.acceptance.builtin.StaticBasicSpec.InfixBreak.VeryLongTypeName ::::
splain.acceptance.builtin.StaticBasicSpec.InfixBreak.VeryLongTypeName ::::
splain.acceptance.builtin.StaticBasicSpec.InfixBreak.VeryLongTypeName
]
(No implicit view available from Int => splain.acceptance.builtin.StaticBasicSpec.InfixBreak.T2.)
implicitly[String]
^
newSource1.scala:11: error: implicit error;
!I e:
splain.acceptance.builtin.StaticBasicSpec.DeepHole.C1[
splain.acceptance.builtin.StaticBasicSpec.DeepHole.T3[
splain.acceptance.builtin.StaticBasicSpec.DeepHole.T1[List[String], ?],
splain.acceptance.builtin.StaticBasicSpec.DeepHole.T2[
splain.acceptance.builtin.StaticBasicSpec.DeepHole.Id,
splain.acceptance.builtin.StaticBasicSpec.DeepHole.C4,
?
],
?
]
]
implicitly[C1[T3]]
^
newSource1.scala:9: error: implicit error;
!I e:
splain.acceptance.builtin.StaticBasicSpec.Aux.F.Aux[
splain.acceptance.builtin.StaticBasicSpec.Aux.C,
splain.acceptance.builtin.StaticBasicSpec.Aux.D
]
Aux.f invalid because
!I impPar10: Aux.C
implicitly[F.Aux[C, D]]
^
newSource1.scala:11: error: type mismatch;
splain.acceptance.builtin.StaticBasicSpec.Refined.A with
splain.acceptance.builtin.StaticBasicSpec.Refined.B with
splain.acceptance.builtin.StaticBasicSpec.Refined.E|splain.acceptance.builtin.StaticBasicSpec.Refined.C with
splain.acceptance.builtin.StaticBasicSpec.Refined.F|<none> {
type X = Int|String;
type Y = String;
type Z = <none>|String
}
f(x)
^
newSource1.scala:10: error: implicit error;
!I e: splain.acceptance.builtin.StaticBasicSpec.Refined.Node{type T = _$1} forSome { type _$1 <: Int }
implicitly[NodeLt[Int]]
^
newSource1.scala:25: error: type mismatch;
C.X.Y.T|B.X.Y.T
f(x: C.X.Y.T)
^
newSource1.scala:6: error: type mismatch;
Int|(=> splain.acceptance.builtin.StaticBasicSpec.Foo.A) => splain.acceptance.builtin.StaticBasicSpec.Foo.B
f(1: Int)
^
newSource1.scala:3: error: type mismatch;
String|Tuple1[String]
val a: Tuple1[String] = "Tuple1": String
^
newSource1.scala:7: error: implicit error;
!I e:
splain.acceptance.builtin.StaticBasicSpec.SingleImp.a.type ***
splain.acceptance.builtin.StaticBasicSpec.SingleImp.b.type
implicitly[a.type *** b.type]
^
newSource1.scala:8: error: implicit error;
!I e: a.type *** b.type
implicitly[a.type *** b.type]
^
newSource1.scala:6: error: implicit error;
!I e: a.type *** b.type
implicitly[a.type *** b.type]
^
newSource1.scala:5: error: implicit error;
!I ev: scala.math.Ordering[Object]
No implicit Ordering[Object] found to build a SortedSet[Object]. You may want to upcast to a Set[Int] first by calling `unsorted`.
Ordering.ordered invalid because
!I asComparable: Object => Comparable[Any]
No implicit view available from Object => Comparable[_ >: Object].
Ordering.comparatorToOrdering invalid because
!I cmp: java.util.Comparator[Object]
ms.map(_ => o)
^
newSource1.scala:9: error: implicit error;
!I e: List[splain.acceptance.builtin.StaticBasicSpec.a.TypeA]
(No implicit view available from Int => splain.acceptance.builtin.StaticBasicSpec.a.TypeA.)
implicitly[List[TypeA]]
^
>
at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472)
at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:471)
at org.scalatest.Assertions$.newAssertionFailedException(Assertions.scala:1231)
at org.scalatest.Assertions$AssertionsHelper.macroAssert(Assertions.scala:1295)
at splain.TestHelpers$SpecStringOps.must_$eq$eq(TestHelpers.scala:146)
at splain.acceptance.Acceptance$SpecBase.$anonfun$$init$$1(Acceptance.scala:29)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.Transformer.apply(Transformer.scala:22)
at org.scalatest.Transformer.apply(Transformer.scala:20)
at org.scalatest.funspec.AnyFunSpecLike$$anon$1.apply(AnyFunSpecLike.scala:517)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.scalatest.funspec.AnyFunSpec.withFixture(AnyFunSpec.scala:1631)
at org.scalatest.funspec.AnyFunSpecLike.invokeWithFixture$1(AnyFunSpecLike.scala:515)
at org.scalatest.funspec.AnyFunSpecLike.$anonfun$runTest$1(AnyFunSpecLike.scala:527)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.funspec.AnyFunSpecLike.runTest(AnyFunSpecLike.scala:527)
at org.scalatest.funspec.AnyFunSpecLike.runTest$(AnyFunSpecLike.scala:509)
at org.scalatest.funspec.AnyFunSpec.runTest(AnyFunSpec.scala:1631)
at org.scalatest.funspec.AnyFunSpecLike.$anonfun$runTests$1(AnyFunSpecLike.scala:560)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at scala.collection.immutable.List.foreach(List.scala:333)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.funspec.AnyFunSpecLike.runTests(AnyFunSpecLike.scala:560)
at org.scalatest.funspec.AnyFunSpecLike.runTests$(AnyFunSpecLike.scala:559)
at org.scalatest.funspec.AnyFunSpec.runTests(AnyFunSpec.scala:1631)
at org.scalatest.Suite.run(Suite.scala:1112)
at org.scalatest.Suite.run$(Suite.scala:1094)
at org.scalatest.funspec.AnyFunSpec.org$scalatest$funspec$AnyFunSpecLike$$super$run(AnyFunSpec.scala:1631)
at org.scalatest.funspec.AnyFunSpecLike.$anonfun$run$1(AnyFunSpecLike.scala:564)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.funspec.AnyFunSpecLike.run(AnyFunSpecLike.scala:564)
at org.scalatest.funspec.AnyFunSpecLike.run$(AnyFunSpecLike.scala:563)
at org.scalatest.funspec.AnyFunSpec.run(AnyFunSpec.scala:1631)
at co.helmethair.scalatest.runtime.Executor.runScalatests(Executor.java:130)
at co.helmethair.scalatest.runtime.Executor.executeSuite(Executor.java:86)
at co.helmethair.scalatest.runtime.Executor.executeTest(Executor.java:53)
at co.helmethair.scalatest.runtime.Executor.lambda$executeSuite$2(Executor.java:82)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:357)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:483)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485)
at co.helmethair.scalatest.runtime.Executor.executeSuite(Executor.java:82)
at co.helmethair.scalatest.runtime.Executor.executeTest(Executor.java:60)
at co.helmethair.scalatest.ScalatestEngine.execute(ScalatestEngine.java:55)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:119)
at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:94)
at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:89)
at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
at com.sun.proxy.$Proxy2.stop(Unknown Source)
at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
Check warning on line 0 in splain.builtin.BasicXSource3Spec
github-actions / Test Report (2.13.12)
#34 compoundDiff (splain.builtin.BasicXSource3Spec) failed
core/build/test-results/test/TEST-splain.builtin.BasicXSource3Spec.xml
Raw output
org.scalatest.exceptions.TestFailedException: expected: <
> but was: <
newSource1.scala:7: error: type mismatch;
Compound.y.type|String
f(y)
^
newSource1.scala:10: error: type mismatch;
Compound.T|<none> with Int|String
f(z)
^
>
at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472)
at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:471)
at org.scalatest.Assertions$.newAssertionFailedException(Assertions.scala:1231)
at org.scalatest.Assertions$AssertionsHelper.macroAssert(Assertions.scala:1295)
at splain.TestHelpers$SpecStringOps.must_$eq$eq(TestHelpers.scala:146)
at splain.SpecBase$Direct.$anonfun$check$1(SpecBase.scala:68)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.Transformer.apply(Transformer.scala:22)
at org.scalatest.Transformer.apply(Transformer.scala:20)
at org.scalatest.funspec.AnyFunSpecLike$$anon$1.apply(AnyFunSpecLike.scala:517)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.scalatest.funspec.AnyFunSpec.withFixture(AnyFunSpec.scala:1631)
at org.scalatest.funspec.AnyFunSpecLike.invokeWithFixture$1(AnyFunSpecLike.scala:515)
at org.scalatest.funspec.AnyFunSpecLike.$anonfun$runTest$1(AnyFunSpecLike.scala:527)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.funspec.AnyFunSpecLike.runTest(AnyFunSpecLike.scala:527)
at org.scalatest.funspec.AnyFunSpecLike.runTest$(AnyFunSpecLike.scala:509)
at org.scalatest.funspec.AnyFunSpec.runTest(AnyFunSpec.scala:1631)
at org.scalatest.funspec.AnyFunSpecLike.$anonfun$runTests$1(AnyFunSpecLike.scala:560)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at scala.collection.immutable.List.foreach(List.scala:333)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
at scala.collection.immutable.List.foreach(List.scala:333)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.funspec.AnyFunSpecLike.runTests(AnyFunSpecLike.scala:560)
at org.scalatest.funspec.AnyFunSpecLike.runTests$(AnyFunSpecLike.scala:559)
at org.scalatest.funspec.AnyFunSpec.runTests(AnyFunSpec.scala:1631)
at org.scalatest.Suite.run(Suite.scala:1112)
at org.scalatest.Suite.run$(Suite.scala:1094)
at org.scalatest.funspec.AnyFunSpec.org$scalatest$funspec$AnyFunSpecLike$$super$run(AnyFunSpec.scala:1631)
at org.scalatest.funspec.AnyFunSpecLike.$anonfun$run$1(AnyFunSpecLike.scala:564)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.funspec.AnyFunSpecLike.run(AnyFunSpecLike.scala:564)
at org.scalatest.funspec.AnyFunSpecLike.run$(AnyFunSpecLike.scala:563)
at org.scalatest.funspec.AnyFunSpec.run(AnyFunSpec.scala:1631)
at co.helmethair.scalatest.runtime.Executor.runScalatests(Executor.java:130)
at co.helmethair.scalatest.runtime.Executor.executeSuite(Executor.java:86)
at co.helmethair.scalatest.runtime.Executor.executeTest(Executor.java:53)
at co.helmethair.scalatest.runtime.Executor.lambda$executeSuite$2(Executor.java:82)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:357)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:483)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485)
at co.helmethair.scalatest.runtime.Executor.executeSuite(Executor.java:82)
at co.helmethair.scalatest.runtime.Executor.executeTest(Executor.java:60)
at co.helmethair.scalatest.ScalatestEngine.execute(ScalatestEngine.java:55)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:119)
at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:94)
at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:89)
at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
at com.sun.proxy.$Proxy2.stop(Unknown Source)
at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
Loading