Build Logs
fehu/opentracing-scala • 3.8.0-RC2:2025-11-28
Errors
0
Warnings
755
Total Lines
1203
1##################################
2Clonning https://github.com/fehu/opentracing-scala.git into /build/repo using revision 0.7.0
3##################################
4Note: switching to 'c9a842a78b7e246e20d9b2d3e206a9f6084e7cb6'.
5
6You are in 'detached HEAD' state. You can look around, make experimental
7changes and commit them, and you can discard any commits you make in this
8state without impacting any branches by switching back to a branch.
9
10If you want to create a new branch to retain commits you create, you may
11do so (now or later) by using -c with the switch command. Example:
12
13 git switch -c <new-branch-name>
14
15Or undo this operation with:
16
17 git switch -
18
19Turn off this advice by setting config variable advice.detachedHead to false
20
21Would override fixed Scala version: 3.1.3
22Using target Scala version for migration: 3.7.4
23Migrating project for -source:3.7 using Scala 3.7.4
24----
25Preparing build for 3.7.4
26Would try to apply common scalacOption (best-effort, sbt/mill only):
27Append: -rewrite,REQUIRE:-source:3.7-migration
28Remove: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
29
30Try apply source patch:
31Path: build.sbt
32Pattern: val scala3 = "3.1.3"
33Replacement: val scala3 = "3.7.4"
34Starting compilation server
35Compiling project (Scala 3.7.3, JVM (17))
36Compiled project (Scala 3.7.3, JVM (17))
37Successfully applied pattern 'val scala3 = "3.1.3"' in build.sbt
38----
39Starting build for 3.7.4
40Execute tests: false
41sbt project found:
42Sbt version 1.6.2 is not supported, minimal supported version is 1.11.5
43Enforcing usage of sbt in version 1.11.5
44No prepare script found for project fehu/opentracing-scala
45##################################
46Scala version: 3.7.4
47Targets: io.github.fehu%opentracing-scala-akka io.github.fehu%opentracing-scala-core io.github.fehu%opentracing-scala-fs2 io.github.fehu%opentracing-scala-jaeger io.github.fehu%opentracing-scala-noop
48Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.7"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.1.3\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
49##################################
50Using extra scalacOptions: -rewrite,REQUIRE:-source:3.7-migration
51Filtering out scalacOptions: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
52[sbt_options] declare -a sbt_options=()
53[process_args] java_version = '17'
54[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
55# Executing command line:
56java
57-Dfile.encoding=UTF-8
58-Dcommunitybuild.scala=3.7.4
59-Dcommunitybuild.project.dependencies.add=
60-Xmx7G
61-Xms4G
62-Xss8M
63-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
64-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
65-jar
66/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
67"setCrossScalaVersions 3.7.4"
68"++3.7.4 -v"
69"mapScalacOptions "-rewrite,REQUIRE:-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s" "-indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
70"set every credentials := Nil"
71"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
72"removeScalacOptionsStartingWith -P:wartremover"
73
74moduleMappings
75"runBuild 3.7.4 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.7"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.1.3\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}""" io.github.fehu%opentracing-scala-akka io.github.fehu%opentracing-scala-core io.github.fehu%opentracing-scala-fs2 io.github.fehu%opentracing-scala-jaeger io.github.fehu%opentracing-scala-noop"
76
77[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
78[info] loading settings for project repo-build-build from sbt-updates.sbt...
79[info] loading project definition from /build/repo/project/project
80[info] loading settings for project repo-build from akka.sbt, plugins.sbt, sbt-updates.sbt...
81[info] loading project definition from /build/repo/project
82[info] compiling 5 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
83[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
84[info] Compilation completed in 8.446s.
85[info] done compiling
86[info] loading settings for project root from build.sbt, sonatype.sbt, version.sbt...
87[info] loading settings for project compiler-plugin from build.sbt, version.sbt...
88[info] set current project to opentracing-scala (in build file:/build/repo/)
89[warn] there are 2 keys that are not used by any other settings/tasks:
90[warn]
91[warn] * ThisBuild / crossVersion
92[warn] +- /build/repo/build.sbt:130
93[warn] * ThisBuild / publishMavenStyle
94[warn] +- /build/repo/sonatype.sbt:3
95[warn]
96[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
97[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
98Execute setCrossScalaVersions: 3.7.4
99OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in noop/crossScalaVersions
100OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in jaeger/crossScalaVersions
101OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in fs2/crossScalaVersions
102OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in core/crossScalaVersions
103OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in akka/crossScalaVersions
104OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in root/crossScalaVersions
105[info] set current project to opentracing-scala (in build file:/build/repo/)
106[info] Setting Scala version to 3.7.4 on 6 projects.
107[info] Switching Scala version on:
108[info] fs2 (2.12.16, 2.13.8, 3.7.4)
109[info] * root (2.12.16, 2.13.8, 3.7.4)
110[info] akka (2.12.16, 2.13.8, 3.7.4)
111[info] noop (2.12.16, 2.13.8, 3.7.4)
112[info] jaeger (2.12.16, 2.13.8, 3.7.4)
113[info] core (2.12.16, 2.13.8, 3.7.4)
114[info] Excluding projects:
115[info] compiler-plugin (2.12.16, 2.13.8)
116[info] Reapplying settings...
117[info] set current project to opentracing-scala (in build file:/build/repo/)
118Execute mapScalacOptions: -rewrite,REQUIRE:-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
119[info] Reapplying settings...
120[info] set current project to opentracing-scala (in build file:/build/repo/)
121[info] Defining Global / credentials, ThisBuild / credentials and 6 others.
122[info] The new values will be used by Global / pgpSelectPassphrase, ThisBuild / credentials and 41 others.
123[info] Run `last` for details.
124[info] Reapplying settings...
125[info] set current project to opentracing-scala (in build file:/build/repo/)
126Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
127[info] Reapplying settings...
128OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
129
130 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
131 Did you mean allExcludeDependencies ?
132 , retry without global scopes
133[info] Reapplying settings...
134[info] set current project to opentracing-scala (in build file:/build/repo/)
135Execute removeScalacOptionsStartingWith: -P:wartremover
136[info] Reapplying settings...
137[info] set current project to opentracing-scala (in build file:/build/repo/)
138[success] Total time: 0 s, completed Nov 28, 2025, 1:51:13 PM
139Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.7"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.1.3\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
140Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
141Starting build...
142Projects: Set(fs2, akka, noop, jaeger, core)
143Starting build for ProjectRef(file:/build/repo/,core) (opentracing-scala-core)... [0/5]
144OpenCB::Exclude Scala3 specific scalacOption `-rewrite` in Scala 2.12.20 module Global
145OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.7-migration` in Scala 2.12.20 module Global
146OpenCB::Exclude Scala3 specific scalacOption `-rewrite` in Scala 2.13.8 module Scope(Select(BuildRef(file:/build/repo/)), Select(ConfigKey(compile)), Zero, Zero)
147OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.7-migration` in Scala 2.13.8 module Scope(Select(BuildRef(file:/build/repo/)), Select(ConfigKey(compile)), Zero, Zero)
148OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
149OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
150OpenCB::Filter out '-source:future', matches setting pattern '^-?-source(:.*)?'
151OpenCB::Filter out '-source:future-migration', matches setting pattern '^-?-source(:.*)?'
152Compile scalacOptions: -Ykind-projector:underscores, -Yexplicit-nulls, -Ysafe-init, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
153[info] compiling 18 Scala sources to /build/repo/core/target/scala-3.7.4/classes ...
154[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
155[warn] Option -Ysafe-init is deprecated: Use -Wsafe-init instead.
156[warn] -- Warning: /build/repo/core/src/main/scala/io/github/fehu/opentracing/internal/TracedTInstances.scala:39:117
157[warn] 39 | implicit def tracedTAsyncInstance[F[_]: Async]: Async[TracedT[F, _]] = new TracedTAsyncInstance[F] { protected val F: Async[F] = Async[F] }
158[warn] | ^
159[warn] |Access non-initialized value F. Calling trace:
160[warn] |├── implicit def tracedTAsyncInstance[F[_]: Async]: Async[TracedT[F, _]] = new TracedTAsyncInstance[F] { protected val F: Async[F] = Async[F] } [ TracedTInstances.scala:39 ]
161[warn] |│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
162[warn] |├── private[opentracing] trait TracedTGenTemporalInstance[F[_], E] extends GenTemporal[TracedT[F, _], E] [ TracedTInstances.scala:331 ]
163[warn] |│ ^
164[warn] |└── protected val C: Clock[F] = F [ TracedTInstances.scala:336 ]
165[warn] | ^
166[warn] -- Warning: /build/repo/core/src/main/scala/io/github/fehu/opentracing/internal/TracedTInstances.scala:52:20
167[warn] 52 | protected val F: GenTemporal[F, E] = GenTemporal[F, E]
168[warn] | ^
169[warn] |Access non-initialized value F. Calling trace:
170[warn] |├── new TracedTGenTemporalInstance[F, E] { [ TracedTInstances.scala:51 ]
171[warn] |│ ^
172[warn] |├── private[opentracing] trait TracedTGenTemporalInstance[F[_], E] extends GenTemporal[TracedT[F, _], E] [ TracedTInstances.scala:331 ]
173[warn] |│ ^
174[warn] |└── protected val C: Clock[F] = F [ TracedTInstances.scala:336 ]
175[warn] | ^
176[info] [patched file /build/repo/core/src/main/scala/io/github/fehu/opentracing/Traced.scala]
177[info] [patched file /build/repo/core/src/main/scala/io/github/fehu/opentracing/internal/TracedTInstances.scala]
178[warn] there were 2 deprecation warnings; re-run with -deprecation for details
179[warn] 5 warnings found
180[info] done compiling
181[info] compiling 2 Scala sources to /build/repo/core/target/scala-3.7.4/classes ...
182[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
183[warn] Option -Ysafe-init is deprecated: Use -Wsafe-init instead.
184[warn] -- Warning: /build/repo/core/src/main/scala/io/github/fehu/opentracing/internal/TracedTInstances.scala:39:117
185[warn] 39 | implicit def tracedTAsyncInstance[F[_]: Async]: Async[TracedT[F, _]] = new TracedTAsyncInstance[F] { protected val F: Async[F] = Async[F] }
186[warn] | ^
187[warn] |Access non-initialized value F. Calling trace:
188[warn] |├── implicit def tracedTAsyncInstance[F[_]: Async]: Async[TracedT[F, _]] = new TracedTAsyncInstance[F] { protected val F: Async[F] = Async[F] } [ TracedTInstances.scala:39 ]
189[warn] |│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
190[warn] |├── private[opentracing] trait TracedTGenTemporalInstance[F[_], E] extends GenTemporal[TracedT[F, _], E] [ TracedTInstances.scala:331 ]
191[warn] |│ ^
192[warn] |└── protected val C: Clock[F] = F [ TracedTInstances.scala:336 ]
193[warn] | ^
194[warn] -- Warning: /build/repo/core/src/main/scala/io/github/fehu/opentracing/internal/TracedTInstances.scala:52:20
195[warn] 52 | protected val F: GenTemporal[F, E] = GenTemporal[F, E]
196[warn] | ^
197[warn] |Access non-initialized value F. Calling trace:
198[warn] |├── new TracedTGenTemporalInstance[F, E] { [ TracedTInstances.scala:51 ]
199[warn] |│ ^
200[warn] |├── private[opentracing] trait TracedTGenTemporalInstance[F[_], E] extends GenTemporal[TracedT[F, _], E] [ TracedTInstances.scala:331 ]
201[warn] |│ ^
202[warn] |└── protected val C: Clock[F] = F [ TracedTInstances.scala:336 ]
203[warn] | ^
204[warn] four warnings found
205[info] done compiling
206[info] compiling 3 Scala sources to /build/repo/core/target/scala-3.7.4/classes ...
207[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
208[warn] Option -Ysafe-init is deprecated: Use -Wsafe-init instead.
209[warn] 6 warnings found
210[info] done compiling
211[info] compiling 6 Scala sources to /build/repo/core/target/scala-3.7.4/test-classes ...
212[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
213[warn] Option -Ysafe-init is deprecated: Use -Wsafe-init instead.
214[warn] -- Warning: /build/repo/core/src/test/scala/io/github/fehu/opentracing/TraceSpec.scala:29:58
215[warn] 29 | "Trace nested defer / delay" in dispatcher.unsafeRunSync{
216[warn] | ^
217[warn] |Could not verify that the method argument is transitively initialized (Hot). It was found to be a function where "this" is (the original object of type (class TracedIOSpec) where initialization checking started). Only transitively initialized arguments may be passed to methods (except constructors). Calling trace:
218[warn] |├── class TracedIOSpec extends TraceSpec[TracedIO] with IOSpec { [ TracedIOSpec.scala:7 ]
219[warn] |│ ^
220[warn] |├── abstract class TraceSpec[F[_]: Async: Traced] extends AnyFreeSpec with Spec { [ TraceSpec.scala:23 ]
221[warn] |│ ^
222[warn] |└── "Trace nested defer / delay" in dispatcher.unsafeRunSync{ [ TraceSpec.scala:29 ]
223[warn] | ^
224[warn] |
225[warn] |Promoting the value to transitively initialized (Hot) failed due to the following problem:
226[warn] |Access non-initialized value dispatcher. Promotion trace:
227[warn] |└── "Trace nested defer / delay" in dispatcher.unsafeRunSync{ [ TraceSpec.scala:29 ]
228[warn] | ^^^^^^^^^^
229[warn] 30 | Sync[F].defer {
230[warn] 31 | Sync[F].defer {
231[warn] 32 | Sync[F].defer {
232[warn] 33 | Sync[F].delay {
233[warn] 34 | ()
234[warn] 35 | }.trace("last", "depth" -> 3)
235[warn] 36 | }.trace("inner", "depth" -> 2)
236[warn] 37 | }.trace("middle", "depth" -> 1)
237[warn] 38 | }.trace("outer", "depth" -> 0)
238[warn] 39 | .map { _ =>
239[warn] 40 | finishedSpans() shouldBe Seq(
240[warn] 41 | TestedSpan(operationName = "last", spanId = 4, parentId = 3, tags = Map("depth" -> Int.box(3))),
241[warn] 42 | TestedSpan(operationName = "inner", spanId = 3, parentId = 2, tags = Map("depth" -> Int.box(2))),
242[warn] 43 | TestedSpan(operationName = "middle", spanId = 2, parentId = 1, tags = Map("depth" -> Int.box(1))),
243[warn] 44 | TestedSpan(operationName = "outer", spanId = 1, parentId = 0, tags = Map("depth" -> Int.box(0)))
244[warn] 45 | )
245[warn] 46 | }
246[warn] 47 | }
247[warn] -- Warning: /build/repo/core/src/test/scala/io/github/fehu/opentracing/TraceSpec.scala:49:58
248[warn] 49 | "Trace nested map / flatMap" in dispatcher.unsafeRunSync{
249[warn] | ^
250[warn] |Could not verify that the method argument is transitively initialized (Hot). It was found to be a function where "this" is (the original object of type (class TracedIOSpec) where initialization checking started). Only transitively initialized arguments may be passed to methods (except constructors). Calling trace:
251[warn] |├── class TracedIOSpec extends TraceSpec[TracedIO] with IOSpec { [ TracedIOSpec.scala:7 ]
252[warn] |│ ^
253[warn] |├── abstract class TraceSpec[F[_]: Async: Traced] extends AnyFreeSpec with Spec { [ TraceSpec.scala:23 ]
254[warn] |│ ^
255[warn] |└── "Trace nested map / flatMap" in dispatcher.unsafeRunSync{ [ TraceSpec.scala:49 ]
256[warn] | ^
257[warn] |
258[warn] |Promoting the value to transitively initialized (Hot) failed due to the following problem:
259[warn] |Access non-initialized value dispatcher. Promotion trace:
260[warn] |└── "Trace nested map / flatMap" in dispatcher.unsafeRunSync{ [ TraceSpec.scala:49 ]
261[warn] | ^^^^^^^^^^
262[warn] 50 | for {
263[warn] 51 | _ <- Sync[F].pure(()).trace("one")
264[warn] 52 | _ <- Sync[F].pure(()).trace("two")
265[warn] 53 | _ <- Sync[F].pure(()).trace("three")
266[warn] 54 | _ <- Sync[F].pure(()).trace("four")
267[warn] 55 | _ <- Sync[F].pure(()).trace("five")
268[warn] 56 | } yield {
269[warn] 57 | finishedSpans() shouldBe Seq(
270[warn] 58 | TestedSpan(operationName = "one", spanId = 1, parentId = 0),
271[warn] 59 | TestedSpan(operationName = "two", spanId = 2, parentId = 1),
272[warn] 60 | TestedSpan(operationName = "three", spanId = 3, parentId = 2),
273[warn] 61 | TestedSpan(operationName = "four", spanId = 4, parentId = 3),
274[warn] 62 | TestedSpan(operationName = "five", spanId = 5, parentId = 4)
275[warn] 63 | )
276[warn] 64 | }
277[warn] 65 | }
278[warn] -- Warning: /build/repo/core/src/test/scala/io/github/fehu/opentracing/TraceSpec.scala:67:56
279[warn] 67 | "Trace when timer is used" in dispatcher.unsafeRunSync{
280[warn] | ^
281[warn] |Could not verify that the method argument is transitively initialized (Hot). It was found to be a function where "this" is (the original object of type (class TracedIOSpec) where initialization checking started). Only transitively initialized arguments may be passed to methods (except constructors). Calling trace:
282[warn] |├── class TracedIOSpec extends TraceSpec[TracedIO] with IOSpec { [ TracedIOSpec.scala:7 ]
283[warn] |│ ^
284[warn] |├── abstract class TraceSpec[F[_]: Async: Traced] extends AnyFreeSpec with Spec { [ TraceSpec.scala:23 ]
285[warn] |│ ^
286[warn] |└── "Trace when timer is used" in dispatcher.unsafeRunSync{ [ TraceSpec.scala:67 ]
287[warn] | ^
288[warn] |
289[warn] |Promoting the value to transitively initialized (Hot) failed due to the following problem:
290[warn] |Access non-initialized value dispatcher. Promotion trace:
291[warn] |└── "Trace when timer is used" in dispatcher.unsafeRunSync{ [ TraceSpec.scala:67 ]
292[warn] | ^^^^^^^^^^
293[warn] 68 | val f1 = Temporal[F].sleep(500.millis).trace("s1") *> Sync[F].delay(()).trace("f1")
294[warn] 69 | val f2 = Sync[F].defer(Temporal[F].sleep(500.millis).trace("s2")).trace("f2")
295[warn] 70 | val f = (f1 *> f2).trace("f")
296[warn] 71 | f.map { _ =>
297[warn] 72 | finishedSpans() shouldBe Seq(
298[warn] 73 | TestedSpan(operationName = "s1", spanId = 2, parentId = 1),
299[warn] 74 | TestedSpan(operationName = "f1", spanId = 3, parentId = 2),
300[warn] 75 | TestedSpan(operationName = "s2", spanId = 5, parentId = 4),
301[warn] 76 | TestedSpan(operationName = "f2", spanId = 4, parentId = 3),
302[warn] 77 | TestedSpan(operationName = "f", spanId = 1, parentId = 0)
303[warn] 78 | )
304[warn] 79 | }
305[warn] 80 | }
306[warn] -- Warning: /build/repo/core/src/test/scala/io/github/fehu/opentracing/TraceSpec.scala:82:70
307[warn] 82 | "Trace when evaluated on other context" in dispatcher.unsafeRunSync {
308[warn] | ^
309[warn] |Could not verify that the method argument is transitively initialized (Hot). It was found to be a function where "this" is (the original object of type (class TracedIOSpec) where initialization checking started). Only transitively initialized arguments may be passed to methods (except constructors). Calling trace:
310[warn] |├── class TracedIOSpec extends TraceSpec[TracedIO] with IOSpec { [ TracedIOSpec.scala:7 ]
311[warn] |│ ^
312[warn] |├── abstract class TraceSpec[F[_]: Async: Traced] extends AnyFreeSpec with Spec { [ TraceSpec.scala:23 ]
313[warn] |│ ^
314[warn] |└── "Trace when evaluated on other context" in dispatcher.unsafeRunSync { [ TraceSpec.scala:82 ]
315[warn] | ^
316[warn] |
317[warn] |Promoting the value to transitively initialized (Hot) failed due to the following problem:
318[warn] |Access non-initialized value dispatcher. Promotion trace:
319[warn] |└── "Trace when evaluated on other context" in dispatcher.unsafeRunSync { [ TraceSpec.scala:82 ]
320[warn] | ^^^^^^^^^^
321[warn] 83 | val f1 = Sync[F].delay(()).trace("f1")
322[warn] 84 | val f2 = Sync[F].delay(()).trace("f2")
323[warn] 85 | val f3 = Sync[F].delay(()).trace("f3")
324[warn] 86 | val ec = ExecutionContext.fromExecutor(Executors.newSingleThreadExecutor().nn)
325[warn] 87 | val f = (f1 *> f2.evalOn(ec) *> f3).trace("f")
326[warn] 88 | f.map { _ =>
327[warn] 89 | finishedSpans() shouldBe Seq(
328[warn] 90 | TestedSpan(operationName = "f1", spanId = 2, parentId = 1),
329[warn] 91 | TestedSpan(operationName = "f2", spanId = 3, parentId = 2),
330[warn] 92 | TestedSpan(operationName = "f3", spanId = 4, parentId = 2),
331[warn] 93 | TestedSpan(operationName = "f", spanId = 1, parentId = 0)
332[warn] 94 | )
333[warn] 95 | }
334[warn] 96 | }
335[warn] -- Warning: /build/repo/core/src/test/scala/io/github/fehu/opentracing/TraceSpec.scala:98:70
336[warn] 98 | "Trace when starting and joining fiber" in dispatcher.unsafeRunSync {
337[warn] | ^
338[warn] |Could not verify that the method argument is transitively initialized (Hot). It was found to be a function where "this" is (the original object of type (class TracedIOSpec) where initialization checking started). Only transitively initialized arguments may be passed to methods (except constructors). Calling trace:
339[warn] |├── class TracedIOSpec extends TraceSpec[TracedIO] with IOSpec { [ TracedIOSpec.scala:7 ]
340[warn] |│ ^
341[warn] |├── abstract class TraceSpec[F[_]: Async: Traced] extends AnyFreeSpec with Spec { [ TraceSpec.scala:23 ]
342[warn] |│ ^
343[warn] |└── "Trace when starting and joining fiber" in dispatcher.unsafeRunSync { [ TraceSpec.scala:98 ]
344[warn] | ^
345[warn] |
346[warn] |Promoting the value to transitively initialized (Hot) failed due to the following problem:
347[warn] |Could not verify that the method argument is transitively initialized (Hot). It was found to be a function where "this" is (the original object of type (class TracedIOSpec) where initialization checking started). Only transitively initialized arguments may be passed to methods (except constructors). Promotion trace:
348[warn] |└── f.map { _ => [ TraceSpec.scala:111 ]
349[warn] | ^
350[warn] |
351[warn] |Promoting the value to transitively initialized (Hot) failed due to the following problem:
352[warn] |Could not verify that the method argument is transitively initialized (Hot). It was found to be a non-transitively initialized (Warm) object of type (anonymous class org.scalatest.matchers.dsl.MatcherFactory1[U, TC1] {...}) { outer = a non-transitively initialized (Warm) object of type (anonymous class
353[warn] | org.scalatest.matchers.dsl.MatcherFactory1[Any, org.scalactic.Equality] {...}) { outer = the original object of type (class TracedIOSpec) where initialization checking started } }. Only transitively initialized arguments may be passed to methods (except constructors). Promotion trace:
354[warn] |└── equal(Seq( [ TraceSpec.scala:113 ]
355[warn] | ^
356[warn] |
357[warn] |Promoting the value to transitively initialized (Hot) failed due to the following problem:
358[warn] |Could not verify that the return value of method matcher is transitively initialized (Hot). It was found to be a non-transitively initialized (Warm) object of type (anonymous class Object with org.scalatest.matchers.Matcher[V] {...}) { outer = a non-transitively initialized (Warm) object of type (anonymous class org.scalatest.matchers.dsl.MatcherFactory1[U, TC1] {...}) { outer = an uninitialized (Cold) object } }. Promotion trace:
359[warn] |└── matcher
360[warn] |
361[warn] |Promoting the value to transitively initialized (Hot) failed due to the following problem:
362[warn] |Call method method matcher on an uninitialized (Cold) object. Promotion trace:
363[warn] |├── apply
364[warn] |└── MatcherFactory1.this.matcher[V](evidence$5)
365[warn] 99 | val f1 = Sync[F].delay(()).trace("f1")
366[warn] 100 | val f2 = Temporal[F].sleep(40.millis).trace("f2")
367[warn] 101 | val f3 = Sync[F].delay(()).trace("f3")
368[warn] 102 | val f4 = Sync[F].delay(()).trace("f4")
369[warn] 103 | val f5 = Sync[F].delay(()).trace("f5")
370[warn] 104 | val ec = ExecutionContext.fromExecutor(Executors.newSingleThreadExecutor().nn)
371[warn] 105 | val f = (f1 *> f2.startOn(ec) <* f3)
372[warn] 106 | .trace("fff")
373[warn] 107 | .flatMap(_.join *> f4)
374[warn] 108 | .trace("ff")
375[warn] 109 | .productR(f5)
376[warn] 110 | .trace("f")
377[warn] 111 | f.map { _ =>
378[warn] 112 | finishedSpans() should (
379[warn] 113 | equal(Seq(
380[warn] 114 | TestedSpan(operationName = "f1", spanId = 4, parentId = 3),
381[warn] 115 | TestedSpan(operationName = "f3", spanId = 5, parentId = 4), // <- the difference
382[warn] 116 | TestedSpan(operationName = "fff", spanId = 3, parentId = 2),
383[warn] 117 | TestedSpan(operationName = "f2", spanId = 6, parentId = 4), // <- the difference
384[warn] 118 | TestedSpan(operationName = "f4", spanId = 7, parentId = 4),
385[warn] 119 | TestedSpan(operationName = "ff", spanId = 2, parentId = 1),
386[warn] 120 | TestedSpan(operationName = "f5", spanId = 8, parentId = 7),
387[warn] 121 | TestedSpan(operationName = "f", spanId = 1, parentId = 0),
388[warn] 122 | )) or
389[warn] 123 | equal(Seq(
390[warn] 124 | TestedSpan(operationName = "f1", spanId = 4, parentId = 3),
391[warn] 125 | TestedSpan(operationName = "f3", spanId = 6, parentId = 4), // <- the difference
392[warn] 126 | TestedSpan(operationName = "fff", spanId = 3, parentId = 2),
393[warn] 127 | TestedSpan(operationName = "f2", spanId = 5, parentId = 4), // <- the difference
394[warn] 128 | TestedSpan(operationName = "f4", spanId = 7, parentId = 4),
395[warn] 129 | TestedSpan(operationName = "ff", spanId = 2, parentId = 1),
396[warn] 130 | TestedSpan(operationName = "f5", spanId = 8, parentId = 7),
397[warn] 131 | TestedSpan(operationName = "f", spanId = 1, parentId = 0),
398[warn] 132 | ))
399[warn] 133 | )}
400[warn] 134 | }
401[warn] -- Warning: /build/repo/core/src/test/scala/io/github/fehu/opentracing/TraceSpec.scala:136:60
402[warn] 136 | "Trace running in background" in dispatcher.unsafeRunSync {
403[warn] | ^
404[warn] |Could not verify that the method argument is transitively initialized (Hot). It was found to be a function where "this" is (the original object of type (class TracedIOSpec) where initialization checking started). Only transitively initialized arguments may be passed to methods (except constructors). Calling trace:
405[warn] |├── class TracedIOSpec extends TraceSpec[TracedIO] with IOSpec { [ TracedIOSpec.scala:7 ]
406[warn] |│ ^
407[warn] |├── abstract class TraceSpec[F[_]: Async: Traced] extends AnyFreeSpec with Spec { [ TraceSpec.scala:23 ]
408[warn] |│ ^
409[warn] |└── "Trace running in background" in dispatcher.unsafeRunSync { [ TraceSpec.scala:136 ]
410[warn] | ^
411[warn] |
412[warn] |Promoting the value to transitively initialized (Hot) failed due to the following problem:
413[warn] |Access non-initialized value dispatcher. Promotion trace:
414[warn] |└── "Trace running in background" in dispatcher.unsafeRunSync { [ TraceSpec.scala:136 ]
415[warn] | ^^^^^^^^^^
416[warn] 137 | val f1 = Sync[F].delay(()).trace("f1")
417[warn] 138 | val f2 = Sync[F].delay(()).trace("f2")
418[warn] 139 | val f3 = Sync[F].delay(()).trace("f3")
419[warn] 140 | val f4 = Sync[F].delay(()).trace("f4")
420[warn] 141 | val f5 = Sync[F].delay(()).trace("f5")
421[warn] 142 | val ec = ExecutionContext.fromExecutor(Executors.newSingleThreadExecutor().nn)
422[warn] 143 | val f = (f1 *> (f2 *> f3).backgroundOn(ec).use(_ <* f4).trace("ff") <* f5).trace("f")
423[warn] 144 | f.map { _ =>
424[warn] 145 | finishedSpans() shouldBe Seq(
425[warn] 146 | TestedSpan(operationName = "f1", spanId = 2, parentId = 1),
426[warn] 147 | TestedSpan(operationName = "f2", spanId = 4, parentId = 3),
427[warn] 148 | TestedSpan(operationName = "f3", spanId = 5, parentId = 4),
428[warn] 149 | TestedSpan(operationName = "f4", spanId = 6, parentId = 3),
429[warn] 150 | TestedSpan(operationName = "ff", spanId = 3, parentId = 2),
430[warn] 151 | TestedSpan(operationName = "f5", spanId = 7, parentId = 6),
431[warn] 152 | TestedSpan(operationName = "f", spanId = 1, parentId = 0),
432[warn] 153 | )
433[warn] 154 | }
434[warn] 155 | }
435[warn] -- Warning: /build/repo/core/src/test/scala/io/github/fehu/opentracing/TraceSpec.scala:157:47
436[warn] 157 | "Trace memorize" in dispatcher.unsafeRunSync {
437[warn] | ^
438[warn] |Could not verify that the method argument is transitively initialized (Hot). It was found to be a function where "this" is (the original object of type (class TracedIOSpec) where initialization checking started). Only transitively initialized arguments may be passed to methods (except constructors). Calling trace:
439[warn] |├── class TracedIOSpec extends TraceSpec[TracedIO] with IOSpec { [ TracedIOSpec.scala:7 ]
440[warn] |│ ^
441[warn] |├── abstract class TraceSpec[F[_]: Async: Traced] extends AnyFreeSpec with Spec { [ TraceSpec.scala:23 ]
442[warn] |│ ^
443[warn] |└── "Trace memorize" in dispatcher.unsafeRunSync { [ TraceSpec.scala:157 ]
444[warn] | ^
445[warn] |
446[warn] |Promoting the value to transitively initialized (Hot) failed due to the following problem:
447[warn] |Access non-initialized value dispatcher. Promotion trace:
448[warn] |└── "Trace memorize" in dispatcher.unsafeRunSync { [ TraceSpec.scala:157 ]
449[warn] | ^^^^^^^^^^
450[warn] 158 | val f1 = Sync[F].delay(()).trace("f1")
451[warn] 159 | val f2 = Sync[F].delay(()).trace("f2")
452[warn] 160 | val f3 = Sync[F].delay(()).trace("f3")
453[warn] 161 | val f4 = Sync[F].delay(()).trace("f4")
454[warn] 162 | val f5 = Sync[F].delay(()).trace("f5")
455[warn] 163 | val f = (f1 *> f2 *> f3.memoize.flatMap(ff => ff *> f4 *> ff) *> f5).trace("f")
456[warn] 164 | f.map { _ =>
457[warn] 165 | finishedSpans() shouldBe Seq(
458[warn] 166 | TestedSpan(operationName = "f1", spanId = 2, parentId = 1),
459[warn] 167 | TestedSpan(operationName = "f2", spanId = 3, parentId = 2),
460[warn] 168 | TestedSpan(operationName = "f3", spanId = 4, parentId = 3),
461[warn] 169 | TestedSpan(operationName = "f4", spanId = 5, parentId = 4),
462[warn] 170 | TestedSpan(operationName = "f5", spanId = 6, parentId = 5),
463[warn] 171 | TestedSpan(operationName = "f", spanId = 1, parentId = 0),
464[warn] 172 | )
465[warn] 173 | }
466[warn] 174 | }
467[warn] -- Warning: /build/repo/core/src/test/scala/io/github/fehu/opentracing/TraceSpec.scala:176:47
468[warn] 176 | "Trace timeouts" in dispatcher.unsafeRunSync {
469[warn] | ^
470[warn] |Could not verify that the method argument is transitively initialized (Hot). It was found to be a function where "this" is (the original object of type (class TracedIOSpec) where initialization checking started). Only transitively initialized arguments may be passed to methods (except constructors). Calling trace:
471[warn] |├── class TracedIOSpec extends TraceSpec[TracedIO] with IOSpec { [ TracedIOSpec.scala:7 ]
472[warn] |│ ^
473[warn] |├── abstract class TraceSpec[F[_]: Async: Traced] extends AnyFreeSpec with Spec { [ TraceSpec.scala:23 ]
474[warn] |│ ^
475[warn] |└── "Trace timeouts" in dispatcher.unsafeRunSync { [ TraceSpec.scala:176 ]
476[warn] | ^
477[warn] |
478[warn] |Promoting the value to transitively initialized (Hot) failed due to the following problem:
479[warn] |Access non-initialized value dispatcher. Promotion trace:
480[warn] |└── "Trace timeouts" in dispatcher.unsafeRunSync { [ TraceSpec.scala:176 ]
481[warn] | ^^^^^^^^^^
482[warn] 177 | val f1 = Sync[F].delay(()).trace("f1")
483[warn] 178 | val f2 = Temporal[F].sleep(50.millis).trace("f2-1") *> Temporal[F].sleep(50.millis).trace("f2-2")
484[warn] 179 | val f3 = Sync[F].delay(()).trace("f3")
485[warn] 180 | val f4 = Sync[F].delay(()).trace("f4")
486[warn] 181 | val f5 = Temporal[F].sleep(50.millis).trace("f5-1") *> Temporal[F].sleep(50.millis).trace("f5-2")
487[warn] 182 | val f6 = Sync[F].delay(()).trace("f6")
488[warn] 183 | val f7 = Temporal[F].sleep(10.millis).trace("f7-1") *> Temporal[F].sleep(10.millis).trace("f7-2")
489[warn] 184 | val f8 = Sync[F].delay(()).trace("f8")
490[warn] 185 | val f = (f1 *>
491[warn] 186 | Temporal[F].timeoutTo(f2, 40.millis, f3).trace("t1") *>
492[warn] 187 | f4 *>
493[warn] 188 | Temporal[F].timeout(f5, 40.millis).trace("t2").attempt *>
494[warn] 189 | f6 *>
495[warn] 190 | Temporal[F].timeout(f7, 40.millis).trace("t3").attempt *>
496[warn] 191 | f8
497[warn] 192 | ).trace("f")
498[warn] 193 | f.map { _ =>
499[warn] 194 | finishedSpans() shouldBe Seq(
500[warn] 195 | TestedSpan(operationName = "f1", spanId = 2, parentId = 1),
501[warn] 196 | TestedSpan(operationName = "f2-1", spanId = 4, parentId = 3),
502[warn] 197 | TestedSpan(operationName = "f3", spanId = 5, parentId = 3),
503[warn] 198 | TestedSpan(operationName = "t1", spanId = 3, parentId = 2),
504[warn] 199 | TestedSpan(operationName = "f4", spanId = 6, parentId = 5),
505[warn] 200 | TestedSpan(operationName = "f5-1", spanId = 8, parentId = 7),
506[warn] 201 | TestedSpan(operationName = "t2", spanId = 7, parentId = 6),
507[warn] 202 | TestedSpan(operationName = "f6", spanId = 9, parentId = 6),
508[warn] 203 | TestedSpan(operationName = "f7-1", spanId = 11, parentId = 10),
509[warn] 204 | TestedSpan(operationName = "f7-2", spanId = 12, parentId = 11),
510[warn] 205 | TestedSpan(operationName = "t3", spanId = 10, parentId = 9),
511[warn] 206 | TestedSpan(operationName = "f8", spanId = 13, parentId = 10),
512[warn] 207 | TestedSpan(operationName = "f", spanId = 1, parentId = 0),
513[warn] 208 | )
514[warn] 209 | }
515[warn] 210 | }
516[warn] there was 1 deprecation warning; re-run with -deprecation for details
517[warn] 11 warnings found
518[info] done compiling
519Starting build for ProjectRef(file:/build/repo/,akka) (opentracing-scala-akka)... [1/5]
520Compile scalacOptions: -Ykind-projector:underscores, -Yexplicit-nulls, -Ysafe-init, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
521[info] compiling 4 Scala sources to /build/repo/akka/target/scala-3.7.4/classes ...
522[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
523[warn] Option -Ysafe-init is deprecated: Use -Wsafe-init instead.
524[warn] two warnings found
525[info] done compiling
526Starting build for ProjectRef(file:/build/repo/,jaeger) (opentracing-scala-jaeger)... [2/5]
527Compile scalacOptions: -Ykind-projector:underscores, -Yexplicit-nulls, -Ysafe-init, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
528[info] compiling 1 Scala source to /build/repo/jaeger/target/scala-3.7.4/classes ...
529[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
530[warn] Option -Ysafe-init is deprecated: Use -Wsafe-init instead.
531[warn] -- [E216] Syntax Warning: /build/repo/jaeger/src/main/scala/io/github/fehu/opentracing/Jaeger.scala:27:24
532[warn] 25 | SamplerConfiguration.fromEnv().nn
533[warn] 26 | .withType(ConstSampler.TYPE).nn
534[warn] 27 | .withParam(1).nn
535[warn] | ^
536[warn] | Unnecessary .nn: expected type admits null
537[warn] three warnings found
538[info] done compiling
539Starting build for ProjectRef(file:/build/repo/,noop) (opentracing-scala-noop)... [3/5]
540Compile scalacOptions: -Ykind-projector:underscores, -Yexplicit-nulls, -Ysafe-init, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
541[info] compiling 1 Scala source to /build/repo/noop/target/scala-3.7.4/classes ...
542[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
543[warn] Option -Ysafe-init is deprecated: Use -Wsafe-init instead.
544[warn] two warnings found
545[info] done compiling
546Starting build for ProjectRef(file:/build/repo/,fs2) (opentracing-scala-fs2)... [4/5]
547Compile scalacOptions: -Ykind-projector:underscores, -Yexplicit-nulls, -Ysafe-init, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
548[info] compiling 1 Scala source to /build/repo/fs2/target/scala-3.7.4/classes ...
549[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
550[warn] Option -Ysafe-init is deprecated: Use -Wsafe-init instead.
551[info] [patched file /build/repo/fs2/src/main/scala/io/github/fehu/opentracing/syntax/FS2.scala]
552[warn] two warnings found
553[info] done compiling
554[info] compiling 1 Scala source to /build/repo/fs2/target/scala-3.7.4/classes ...
555[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
556[warn] Option -Ysafe-init is deprecated: Use -Wsafe-init instead.
557[warn] two warnings found
558[info] done compiling
559
560************************
561Build summary:
562[{
563 "module": "opentracing-scala-core",
564 "compile": {"status": "ok", "tookMs": 12684, "warnings": 2, "errors": 0, "sourceVersion": "3.7-migration"},
565 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
566 "test-compile": {"status": "ok", "tookMs": 10067, "warnings": 8, "errors": 0, "sourceVersion": "3.7-migration"},
567 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
568 "publish": {"status": "skipped", "tookMs": 0},
569 "metadata": {
570 "crossScalaVersions": ["2.12.16", "2.13.8", "3.1.3"]
571}
572},{
573 "module": "opentracing-scala-akka",
574 "compile": {"status": "ok", "tookMs": 1007, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
575 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
576 "test-compile": {"status": "ok", "tookMs": 151, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
577 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
578 "publish": {"status": "skipped", "tookMs": 0},
579 "metadata": {
580 "crossScalaVersions": ["2.12.16", "2.13.8", "3.1.3"]
581}
582},{
583 "module": "opentracing-scala-jaeger",
584 "compile": {"status": "ok", "tookMs": 587, "warnings": 1, "errors": 0, "sourceVersion": "3.7-migration"},
585 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
586 "test-compile": {"status": "ok", "tookMs": 134, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
587 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
588 "publish": {"status": "skipped", "tookMs": 0},
589 "metadata": {
590 "crossScalaVersions": ["2.12.16", "2.13.8", "3.1.3"]
591}
592},{
593 "module": "opentracing-scala-noop",
594 "compile": {"status": "ok", "tookMs": 279, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
595 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
596 "test-compile": {"status": "ok", "tookMs": 105, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
597 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
598 "publish": {"status": "skipped", "tookMs": 0},
599 "metadata": {
600 "crossScalaVersions": ["2.12.16", "2.13.8", "3.1.3"]
601}
602},{
603 "module": "opentracing-scala-fs2",
604 "compile": {"status": "ok", "tookMs": 555, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
605 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
606 "test-compile": {"status": "ok", "tookMs": 630, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
607 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
608 "publish": {"status": "skipped", "tookMs": 0},
609 "metadata": {
610 "crossScalaVersions": ["2.12.16", "2.13.8", "3.1.3"]
611}
612}]
613************************
614[success] Total time: 58 s, completed Nov 28, 2025, 1:52:11 PM
615[0JChecking patch project/plugins.sbt...
616Checking patch project/build.properties...
617Checking patch build.sbt...
618Applied patch project/plugins.sbt cleanly.
619Applied patch project/build.properties cleanly.
620Applied patch build.sbt cleanly.
621Commit migration rewrites
622Switched to a new branch 'opencb/migrate-source-3.7'
623[opencb/migrate-source-3.7 45c9651] Apply Scala compiler rewrites using -source:3.7-migration using Scala 3.7.4
624 3 files changed, 18 insertions(+), 18 deletions(-)
625----
626Preparing build for 3.8.0-RC2
627Scala binary version found: 3.8
628Implicitly using source version 3.8
629Scala binary version found: 3.8
630Implicitly using source version 3.8
631Would try to apply common scalacOption (best-effort, sbt/mill only):
632Append: ,REQUIRE:-source:3.8
633Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
634
635Try apply source patch:
636Path: build.sbt
637Pattern: val scala3 = "3.1.3"
638Replacement: val scala3 = "3.8.0-RC2"
639Successfully applied pattern 'val scala3 = "3.1.3"' in build.sbt
640----
641Starting build for 3.8.0-RC2
642Execute tests: true
643sbt project found:
644Sbt version 1.6.2 is not supported, minimal supported version is 1.11.5
645Enforcing usage of sbt in version 1.11.5
646No prepare script found for project fehu/opentracing-scala
647##################################
648Scala version: 3.8.0-RC2
649Targets: io.github.fehu%opentracing-scala-akka io.github.fehu%opentracing-scala-core io.github.fehu%opentracing-scala-fs2 io.github.fehu%opentracing-scala-jaeger io.github.fehu%opentracing-scala-noop
650Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":["3.7"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.1.3\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
651##################################
652Using extra scalacOptions: ,REQUIRE:-source:3.8
653Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
654[sbt_options] declare -a sbt_options=()
655[process_args] java_version = '17'
656[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
657# Executing command line:
658java
659-Dfile.encoding=UTF-8
660-Dcommunitybuild.scala=3.8.0-RC2
661-Dcommunitybuild.project.dependencies.add=
662-Xmx7G
663-Xms4G
664-Xss8M
665-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
666-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
667-jar
668/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
669"setCrossScalaVersions 3.8.0-RC2"
670"++3.8.0-RC2 -v"
671"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
672"set every credentials := Nil"
673"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
674"removeScalacOptionsStartingWith -P:wartremover"
675
676moduleMappings
677"runBuild 3.8.0-RC2 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":["3.7"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.1.3\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}""" io.github.fehu%opentracing-scala-akka io.github.fehu%opentracing-scala-core io.github.fehu%opentracing-scala-fs2 io.github.fehu%opentracing-scala-jaeger io.github.fehu%opentracing-scala-noop"
678
679[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
680[info] loading settings for project repo-build-build from sbt-updates.sbt...
681[info] loading project definition from /build/repo/project/project
682[info] loading settings for project repo-build from akka.sbt, plugins.sbt, sbt-updates.sbt...
683[info] loading project definition from /build/repo/project
684[info] loading settings for project root from build.sbt, sonatype.sbt, version.sbt...
685[info] loading settings for project compiler-plugin from build.sbt, version.sbt...
686[info] set current project to opentracing-scala (in build file:/build/repo/)
687[warn] there are 2 keys that are not used by any other settings/tasks:
688[warn]
689[warn] * ThisBuild / crossVersion
690[warn] +- /build/repo/build.sbt:130
691[warn] * ThisBuild / publishMavenStyle
692[warn] +- /build/repo/sonatype.sbt:3
693[warn]
694[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
695[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
696Execute setCrossScalaVersions: 3.8.0-RC2
697OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in fs2/crossScalaVersions
698OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in noop/crossScalaVersions
699OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in jaeger/crossScalaVersions
700OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in core/crossScalaVersions
701OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in akka/crossScalaVersions
702OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in root/crossScalaVersions
703[info] set current project to opentracing-scala (in build file:/build/repo/)
704[info] Setting Scala version to 3.8.0-RC2 on 6 projects.
705[info] Switching Scala version on:
706[info] fs2 (2.12.16, 2.13.8, 3.8.0-RC2)
707[info] * root (2.12.16, 2.13.8, 3.8.0-RC2)
708[info] akka (2.12.16, 2.13.8, 3.8.0-RC2)
709[info] noop (2.12.16, 2.13.8, 3.8.0-RC2)
710[info] jaeger (2.12.16, 2.13.8, 3.8.0-RC2)
711[info] core (2.12.16, 2.13.8, 3.8.0-RC2)
712[info] Excluding projects:
713[info] compiler-plugin (2.12.16, 2.13.8)
714[info] Reapplying settings...
715[info] set current project to opentracing-scala (in build file:/build/repo/)
716Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
717[info] Reapplying settings...
718[info] set current project to opentracing-scala (in build file:/build/repo/)
719[info] Defining Global / credentials, ThisBuild / credentials and 6 others.
720[info] The new values will be used by Global / pgpSelectPassphrase, ThisBuild / credentials and 41 others.
721[info] Run `last` for details.
722[info] Reapplying settings...
723[info] set current project to opentracing-scala (in build file:/build/repo/)
724Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
725[info] Reapplying settings...
726OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
727
728 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
729 Did you mean allExcludeDependencies ?
730 , retry without global scopes
731[info] Reapplying settings...
732[info] set current project to opentracing-scala (in build file:/build/repo/)
733Execute removeScalacOptionsStartingWith: -P:wartremover
734[info] Reapplying settings...
735[info] set current project to opentracing-scala (in build file:/build/repo/)
736[success] Total time: 0 s, completed Nov 28, 2025, 1:52:25 PM
737Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":["3.7"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.1.3\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
738Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
739Starting build...
740Projects: Set(fs2, akka, noop, jaeger, core)
741Starting build for ProjectRef(file:/build/repo/,core) (opentracing-scala-core)... [0/5]
742OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
743OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.13.8 module Scope(Select(BuildRef(file:/build/repo/)), Select(ConfigKey(compile)), Zero, Zero)
744OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
745OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
746OpenCB::Filter out '-source:future', matches setting pattern '^-?-source(:.*)?'
747OpenCB::Filter out '-source:future-migration', matches setting pattern '^-?-source(:.*)?'
748Compile scalacOptions: -Ykind-projector:underscores, -Yexplicit-nulls, -Ysafe-init, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
749[info] compiling 18 Scala sources to /build/repo/core/target/scala-3.8.0-RC2/classes ...
750[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
751[warn] Option -Ysafe-init is deprecated: Use -Wsafe-init instead.
752[warn] -- Warning: /build/repo/core/src/main/scala/io/github/fehu/opentracing/internal/TracedTInstances.scala:39:117
753[warn] 39 | implicit def tracedTAsyncInstance[F[_]: Async]: Async[TracedT[F, _]] = new TracedTAsyncInstance[F] { protected val F: Async[F] = Async[F] }
754[warn] | ^
755[warn] |Access non-initialized value F. Calling trace:
756[warn] |├── implicit def tracedTAsyncInstance[F[_]: Async]: Async[TracedT[F, _]] = new TracedTAsyncInstance[F] { protected val F: Async[F] = Async[F] } [ TracedTInstances.scala:39 ]
757[warn] |│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
758[warn] |├── private[opentracing] trait TracedTGenTemporalInstance[F[_], E] extends GenTemporal[TracedT[F, _], E] [ TracedTInstances.scala:331 ]
759[warn] |│ ^
760[warn] |└── protected val C: Clock[F] = F [ TracedTInstances.scala:336 ]
761[warn] | ^
762[warn] -- Warning: /build/repo/core/src/main/scala/io/github/fehu/opentracing/internal/TracedTInstances.scala:52:20
763[warn] 52 | protected val F: GenTemporal[F, E] = GenTemporal[F, E]
764[warn] | ^
765[warn] |Access non-initialized value F. Calling trace:
766[warn] |├── new TracedTGenTemporalInstance[F, E] { [ TracedTInstances.scala:51 ]
767[warn] |│ ^
768[warn] |├── private[opentracing] trait TracedTGenTemporalInstance[F[_], E] extends GenTemporal[TracedT[F, _], E] [ TracedTInstances.scala:331 ]
769[warn] |│ ^
770[warn] |└── protected val C: Clock[F] = F [ TracedTInstances.scala:336 ]
771[warn] | ^
772[warn] there were 2 deprecation warnings; re-run with -deprecation for details
773[warn] 5 warnings found
774[info] done compiling
775[info] compiling 6 Scala sources to /build/repo/core/target/scala-3.8.0-RC2/test-classes ...
776[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
777[warn] Option -Ysafe-init is deprecated: Use -Wsafe-init instead.
778[warn] -- [E216] Syntax Warning: /build/repo/core/src/test/scala/io/github/fehu/opentracing/TraceSpec.scala:86:79
779[warn] 86 | val ec = ExecutionContext.fromExecutor(Executors.newSingleThreadExecutor().nn)
780[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
781[warn] | Unnecessary .nn: expected type admits null
782[warn] -- [E216] Syntax Warning: /build/repo/core/src/test/scala/io/github/fehu/opentracing/TraceSpec.scala:104:79
783[warn] 104 | val ec = ExecutionContext.fromExecutor(Executors.newSingleThreadExecutor().nn)
784[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
785[warn] | Unnecessary .nn: expected type admits null
786[warn] -- [E216] Syntax Warning: /build/repo/core/src/test/scala/io/github/fehu/opentracing/TraceSpec.scala:142:79
787[warn] 142 | val ec = ExecutionContext.fromExecutor(Executors.newSingleThreadExecutor().nn)
788[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
789[warn] | Unnecessary .nn: expected type admits null
790[warn] -- Warning: /build/repo/core/src/test/scala/io/github/fehu/opentracing/TraceSpec.scala:29:58
791[warn] 29 | "Trace nested defer / delay" in dispatcher.unsafeRunSync{
792[warn] | ^
793[warn] |Could not verify that the method argument is transitively initialized (Hot). It was found to be a function where "this" is (the original object of type (class TracedIOSpec) where initialization checking started). Only transitively initialized arguments may be passed to methods (except constructors). Calling trace:
794[warn] |├── class TracedIOSpec extends TraceSpec[TracedIO] with IOSpec { [ TracedIOSpec.scala:7 ]
795[warn] |│ ^
796[warn] |├── abstract class TraceSpec[F[_]: Async: Traced] extends AnyFreeSpec with Spec { [ TraceSpec.scala:23 ]
797[warn] |│ ^
798[warn] |└── "Trace nested defer / delay" in dispatcher.unsafeRunSync{ [ TraceSpec.scala:29 ]
799[warn] | ^
800[warn] |
801[warn] |Promoting the value to transitively initialized (Hot) failed due to the following problem:
802[warn] |Access non-initialized value dispatcher. Promotion trace:
803[warn] |└── "Trace nested defer / delay" in dispatcher.unsafeRunSync{ [ TraceSpec.scala:29 ]
804[warn] | ^^^^^^^^^^
805[warn] 30 | Sync[F].defer {
806[warn] 31 | Sync[F].defer {
807[warn] 32 | Sync[F].defer {
808[warn] 33 | Sync[F].delay {
809[warn] 34 | ()
810[warn] 35 | }.trace("last", "depth" -> 3)
811[warn] 36 | }.trace("inner", "depth" -> 2)
812[warn] 37 | }.trace("middle", "depth" -> 1)
813[warn] 38 | }.trace("outer", "depth" -> 0)
814[warn] 39 | .map { _ =>
815[warn] 40 | finishedSpans() shouldBe Seq(
816[warn] 41 | TestedSpan(operationName = "last", spanId = 4, parentId = 3, tags = Map("depth" -> Int.box(3))),
817[warn] 42 | TestedSpan(operationName = "inner", spanId = 3, parentId = 2, tags = Map("depth" -> Int.box(2))),
818[warn] 43 | TestedSpan(operationName = "middle", spanId = 2, parentId = 1, tags = Map("depth" -> Int.box(1))),
819[warn] 44 | TestedSpan(operationName = "outer", spanId = 1, parentId = 0, tags = Map("depth" -> Int.box(0)))
820[warn] 45 | )
821[warn] 46 | }
822[warn] 47 | }
823[warn] -- Warning: /build/repo/core/src/test/scala/io/github/fehu/opentracing/TraceSpec.scala:49:58
824[warn] 49 | "Trace nested map / flatMap" in dispatcher.unsafeRunSync{
825[warn] | ^
826[warn] |Could not verify that the method argument is transitively initialized (Hot). It was found to be a function where "this" is (the original object of type (class TracedIOSpec) where initialization checking started). Only transitively initialized arguments may be passed to methods (except constructors). Calling trace:
827[warn] |├── class TracedIOSpec extends TraceSpec[TracedIO] with IOSpec { [ TracedIOSpec.scala:7 ]
828[warn] |│ ^
829[warn] |├── abstract class TraceSpec[F[_]: Async: Traced] extends AnyFreeSpec with Spec { [ TraceSpec.scala:23 ]
830[warn] |│ ^
831[warn] |└── "Trace nested map / flatMap" in dispatcher.unsafeRunSync{ [ TraceSpec.scala:49 ]
832[warn] | ^
833[warn] |
834[warn] |Promoting the value to transitively initialized (Hot) failed due to the following problem:
835[warn] |Access non-initialized value dispatcher. Promotion trace:
836[warn] |└── "Trace nested map / flatMap" in dispatcher.unsafeRunSync{ [ TraceSpec.scala:49 ]
837[warn] | ^^^^^^^^^^
838[warn] 50 | for {
839[warn] 51 | _ <- Sync[F].pure(()).trace("one")
840[warn] 52 | _ <- Sync[F].pure(()).trace("two")
841[warn] 53 | _ <- Sync[F].pure(()).trace("three")
842[warn] 54 | _ <- Sync[F].pure(()).trace("four")
843[warn] 55 | _ <- Sync[F].pure(()).trace("five")
844[warn] 56 | } yield {
845[warn] 57 | finishedSpans() shouldBe Seq(
846[warn] 58 | TestedSpan(operationName = "one", spanId = 1, parentId = 0),
847[warn] 59 | TestedSpan(operationName = "two", spanId = 2, parentId = 1),
848[warn] 60 | TestedSpan(operationName = "three", spanId = 3, parentId = 2),
849[warn] 61 | TestedSpan(operationName = "four", spanId = 4, parentId = 3),
850[warn] 62 | TestedSpan(operationName = "five", spanId = 5, parentId = 4)
851[warn] 63 | )
852[warn] 64 | }
853[warn] 65 | }
854[warn] -- Warning: /build/repo/core/src/test/scala/io/github/fehu/opentracing/TraceSpec.scala:67:56
855[warn] 67 | "Trace when timer is used" in dispatcher.unsafeRunSync{
856[warn] | ^
857[warn] |Could not verify that the method argument is transitively initialized (Hot). It was found to be a function where "this" is (the original object of type (class TracedIOSpec) where initialization checking started). Only transitively initialized arguments may be passed to methods (except constructors). Calling trace:
858[warn] |├── class TracedIOSpec extends TraceSpec[TracedIO] with IOSpec { [ TracedIOSpec.scala:7 ]
859[warn] |│ ^
860[warn] |├── abstract class TraceSpec[F[_]: Async: Traced] extends AnyFreeSpec with Spec { [ TraceSpec.scala:23 ]
861[warn] |│ ^
862[warn] |└── "Trace when timer is used" in dispatcher.unsafeRunSync{ [ TraceSpec.scala:67 ]
863[warn] | ^
864[warn] |
865[warn] |Promoting the value to transitively initialized (Hot) failed due to the following problem:
866[warn] |Access non-initialized value dispatcher. Promotion trace:
867[warn] |└── "Trace when timer is used" in dispatcher.unsafeRunSync{ [ TraceSpec.scala:67 ]
868[warn] | ^^^^^^^^^^
869[warn] 68 | val f1 = Temporal[F].sleep(500.millis).trace("s1") *> Sync[F].delay(()).trace("f1")
870[warn] 69 | val f2 = Sync[F].defer(Temporal[F].sleep(500.millis).trace("s2")).trace("f2")
871[warn] 70 | val f = (f1 *> f2).trace("f")
872[warn] 71 | f.map { _ =>
873[warn] 72 | finishedSpans() shouldBe Seq(
874[warn] 73 | TestedSpan(operationName = "s1", spanId = 2, parentId = 1),
875[warn] 74 | TestedSpan(operationName = "f1", spanId = 3, parentId = 2),
876[warn] 75 | TestedSpan(operationName = "s2", spanId = 5, parentId = 4),
877[warn] 76 | TestedSpan(operationName = "f2", spanId = 4, parentId = 3),
878[warn] 77 | TestedSpan(operationName = "f", spanId = 1, parentId = 0)
879[warn] 78 | )
880[warn] 79 | }
881[warn] 80 | }
882[warn] -- Warning: /build/repo/core/src/test/scala/io/github/fehu/opentracing/TraceSpec.scala:82:70
883[warn] 82 | "Trace when evaluated on other context" in dispatcher.unsafeRunSync {
884[warn] | ^
885[warn] |Could not verify that the method argument is transitively initialized (Hot). It was found to be a function where "this" is (the original object of type (class TracedIOSpec) where initialization checking started). Only transitively initialized arguments may be passed to methods (except constructors). Calling trace:
886[warn] |├── class TracedIOSpec extends TraceSpec[TracedIO] with IOSpec { [ TracedIOSpec.scala:7 ]
887[warn] |│ ^
888[warn] |├── abstract class TraceSpec[F[_]: Async: Traced] extends AnyFreeSpec with Spec { [ TraceSpec.scala:23 ]
889[warn] |│ ^
890[warn] |└── "Trace when evaluated on other context" in dispatcher.unsafeRunSync { [ TraceSpec.scala:82 ]
891[warn] | ^
892[warn] |
893[warn] |Promoting the value to transitively initialized (Hot) failed due to the following problem:
894[warn] |Access non-initialized value dispatcher. Promotion trace:
895[warn] |└── "Trace when evaluated on other context" in dispatcher.unsafeRunSync { [ TraceSpec.scala:82 ]
896[warn] | ^^^^^^^^^^
897[warn] 83 | val f1 = Sync[F].delay(()).trace("f1")
898[warn] 84 | val f2 = Sync[F].delay(()).trace("f2")
899[warn] 85 | val f3 = Sync[F].delay(()).trace("f3")
900[warn] 86 | val ec = ExecutionContext.fromExecutor(Executors.newSingleThreadExecutor().nn)
901[warn] 87 | val f = (f1 *> f2.evalOn(ec) *> f3).trace("f")
902[warn] 88 | f.map { _ =>
903[warn] 89 | finishedSpans() shouldBe Seq(
904[warn] 90 | TestedSpan(operationName = "f1", spanId = 2, parentId = 1),
905[warn] 91 | TestedSpan(operationName = "f2", spanId = 3, parentId = 2),
906[warn] 92 | TestedSpan(operationName = "f3", spanId = 4, parentId = 2),
907[warn] 93 | TestedSpan(operationName = "f", spanId = 1, parentId = 0)
908[warn] 94 | )
909[warn] 95 | }
910[warn] 96 | }
911[warn] -- Warning: /build/repo/core/src/test/scala/io/github/fehu/opentracing/TraceSpec.scala:98:70
912[warn] 98 | "Trace when starting and joining fiber" in dispatcher.unsafeRunSync {
913[warn] | ^
914[warn] |Could not verify that the method argument is transitively initialized (Hot). It was found to be a function where "this" is (the original object of type (class TracedIOSpec) where initialization checking started). Only transitively initialized arguments may be passed to methods (except constructors). Calling trace:
915[warn] |├── class TracedIOSpec extends TraceSpec[TracedIO] with IOSpec { [ TracedIOSpec.scala:7 ]
916[warn] |│ ^
917[warn] |├── abstract class TraceSpec[F[_]: Async: Traced] extends AnyFreeSpec with Spec { [ TraceSpec.scala:23 ]
918[warn] |│ ^
919[warn] |└── "Trace when starting and joining fiber" in dispatcher.unsafeRunSync { [ TraceSpec.scala:98 ]
920[warn] | ^
921[warn] |
922[warn] |Promoting the value to transitively initialized (Hot) failed due to the following problem:
923[warn] |Could not verify that the method argument is transitively initialized (Hot). It was found to be a function where "this" is (the original object of type (class TracedIOSpec) where initialization checking started). Only transitively initialized arguments may be passed to methods (except constructors). Promotion trace:
924[warn] |└── f.map { _ => [ TraceSpec.scala:111 ]
925[warn] | ^
926[warn] |
927[warn] |Promoting the value to transitively initialized (Hot) failed due to the following problem:
928[warn] |Could not verify that the method argument is transitively initialized (Hot). It was found to be a non-transitively initialized (Warm) object of type (anonymous class org.scalatest.matchers.dsl.MatcherFactory1[U, TC1] {...}) { outer = a non-transitively initialized (Warm) object of type (anonymous class
929[warn] | org.scalatest.matchers.dsl.MatcherFactory1[Any, org.scalactic.Equality] {...}) { outer = the original object of type (class TracedIOSpec) where initialization checking started } }. Only transitively initialized arguments may be passed to methods (except constructors). Promotion trace:
930[warn] |└── equal(Seq( [ TraceSpec.scala:113 ]
931[warn] | ^
932[warn] |
933[warn] |Promoting the value to transitively initialized (Hot) failed due to the following problem:
934[warn] |Could not verify that the return value of method matcher is transitively initialized (Hot). It was found to be a non-transitively initialized (Warm) object of type (anonymous class Object with org.scalatest.matchers.Matcher[V] {...}) { outer = a non-transitively initialized (Warm) object of type (anonymous class org.scalatest.matchers.dsl.MatcherFactory1[U, TC1] {...}) { outer = an uninitialized (Cold) object } }. Promotion trace:
935[warn] |└── matcher
936[warn] |
937[warn] |Promoting the value to transitively initialized (Hot) failed due to the following problem:
938[warn] |Call method method matcher on an uninitialized (Cold) object. Promotion trace:
939[warn] |├── apply
940[warn] |└── MatcherFactory1.this.matcher[V](evidence$5)
941[warn] 99 | val f1 = Sync[F].delay(()).trace("f1")
942[warn] 100 | val f2 = Temporal[F].sleep(40.millis).trace("f2")
943[warn] 101 | val f3 = Sync[F].delay(()).trace("f3")
944[warn] 102 | val f4 = Sync[F].delay(()).trace("f4")
945[warn] 103 | val f5 = Sync[F].delay(()).trace("f5")
946[warn] 104 | val ec = ExecutionContext.fromExecutor(Executors.newSingleThreadExecutor().nn)
947[warn] 105 | val f = (f1 *> f2.startOn(ec) <* f3)
948[warn] 106 | .trace("fff")
949[warn] 107 | .flatMap(_.join *> f4)
950[warn] 108 | .trace("ff")
951[warn] 109 | .productR(f5)
952[warn] 110 | .trace("f")
953[warn] 111 | f.map { _ =>
954[warn] 112 | finishedSpans() should (
955[warn] 113 | equal(Seq(
956[warn] 114 | TestedSpan(operationName = "f1", spanId = 4, parentId = 3),
957[warn] 115 | TestedSpan(operationName = "f3", spanId = 5, parentId = 4), // <- the difference
958[warn] 116 | TestedSpan(operationName = "fff", spanId = 3, parentId = 2),
959[warn] 117 | TestedSpan(operationName = "f2", spanId = 6, parentId = 4), // <- the difference
960[warn] 118 | TestedSpan(operationName = "f4", spanId = 7, parentId = 4),
961[warn] 119 | TestedSpan(operationName = "ff", spanId = 2, parentId = 1),
962[warn] 120 | TestedSpan(operationName = "f5", spanId = 8, parentId = 7),
963[warn] 121 | TestedSpan(operationName = "f", spanId = 1, parentId = 0),
964[warn] 122 | )) or
965[warn] 123 | equal(Seq(
966[warn] 124 | TestedSpan(operationName = "f1", spanId = 4, parentId = 3),
967[warn] 125 | TestedSpan(operationName = "f3", spanId = 6, parentId = 4), // <- the difference
968[warn] 126 | TestedSpan(operationName = "fff", spanId = 3, parentId = 2),
969[warn] 127 | TestedSpan(operationName = "f2", spanId = 5, parentId = 4), // <- the difference
970[warn] 128 | TestedSpan(operationName = "f4", spanId = 7, parentId = 4),
971[warn] 129 | TestedSpan(operationName = "ff", spanId = 2, parentId = 1),
972[warn] 130 | TestedSpan(operationName = "f5", spanId = 8, parentId = 7),
973[warn] 131 | TestedSpan(operationName = "f", spanId = 1, parentId = 0),
974[warn] 132 | ))
975[warn] 133 | )}
976[warn] 134 | }
977[warn] -- Warning: /build/repo/core/src/test/scala/io/github/fehu/opentracing/TraceSpec.scala:136:60
978[warn] 136 | "Trace running in background" in dispatcher.unsafeRunSync {
979[warn] | ^
980[warn] |Could not verify that the method argument is transitively initialized (Hot). It was found to be a function where "this" is (the original object of type (class TracedIOSpec) where initialization checking started). Only transitively initialized arguments may be passed to methods (except constructors). Calling trace:
981[warn] |├── class TracedIOSpec extends TraceSpec[TracedIO] with IOSpec { [ TracedIOSpec.scala:7 ]
982[warn] |│ ^
983[warn] |├── abstract class TraceSpec[F[_]: Async: Traced] extends AnyFreeSpec with Spec { [ TraceSpec.scala:23 ]
984[warn] |│ ^
985[warn] |└── "Trace running in background" in dispatcher.unsafeRunSync { [ TraceSpec.scala:136 ]
986[warn] | ^
987[warn] |
988[warn] |Promoting the value to transitively initialized (Hot) failed due to the following problem:
989[warn] |Access non-initialized value dispatcher. Promotion trace:
990[warn] |└── "Trace running in background" in dispatcher.unsafeRunSync { [ TraceSpec.scala:136 ]
991[warn] | ^^^^^^^^^^
992[warn] 137 | val f1 = Sync[F].delay(()).trace("f1")
993[warn] 138 | val f2 = Sync[F].delay(()).trace("f2")
994[warn] 139 | val f3 = Sync[F].delay(()).trace("f3")
995[warn] 140 | val f4 = Sync[F].delay(()).trace("f4")
996[warn] 141 | val f5 = Sync[F].delay(()).trace("f5")
997[warn] 142 | val ec = ExecutionContext.fromExecutor(Executors.newSingleThreadExecutor().nn)
998[warn] 143 | val f = (f1 *> (f2 *> f3).backgroundOn(ec).use(_ <* f4).trace("ff") <* f5).trace("f")
999[warn] 144 | f.map { _ =>
1000[warn] 145 | finishedSpans() shouldBe Seq(
1001[warn] 146 | TestedSpan(operationName = "f1", spanId = 2, parentId = 1),
1002[warn] 147 | TestedSpan(operationName = "f2", spanId = 4, parentId = 3),
1003[warn] 148 | TestedSpan(operationName = "f3", spanId = 5, parentId = 4),
1004[warn] 149 | TestedSpan(operationName = "f4", spanId = 6, parentId = 3),
1005[warn] 150 | TestedSpan(operationName = "ff", spanId = 3, parentId = 2),
1006[warn] 151 | TestedSpan(operationName = "f5", spanId = 7, parentId = 6),
1007[warn] 152 | TestedSpan(operationName = "f", spanId = 1, parentId = 0),
1008[warn] 153 | )
1009[warn] 154 | }
1010[warn] 155 | }
1011[warn] -- Warning: /build/repo/core/src/test/scala/io/github/fehu/opentracing/TraceSpec.scala:157:47
1012[warn] 157 | "Trace memorize" in dispatcher.unsafeRunSync {
1013[warn] | ^
1014[warn] |Could not verify that the method argument is transitively initialized (Hot). It was found to be a function where "this" is (the original object of type (class TracedIOSpec) where initialization checking started). Only transitively initialized arguments may be passed to methods (except constructors). Calling trace:
1015[warn] |├── class TracedIOSpec extends TraceSpec[TracedIO] with IOSpec { [ TracedIOSpec.scala:7 ]
1016[warn] |│ ^
1017[warn] |├── abstract class TraceSpec[F[_]: Async: Traced] extends AnyFreeSpec with Spec { [ TraceSpec.scala:23 ]
1018[warn] |│ ^
1019[warn] |└── "Trace memorize" in dispatcher.unsafeRunSync { [ TraceSpec.scala:157 ]
1020[warn] | ^
1021[warn] |
1022[warn] |Promoting the value to transitively initialized (Hot) failed due to the following problem:
1023[warn] |Access non-initialized value dispatcher. Promotion trace:
1024[warn] |└── "Trace memorize" in dispatcher.unsafeRunSync { [ TraceSpec.scala:157 ]
1025[warn] | ^^^^^^^^^^
1026[warn] 158 | val f1 = Sync[F].delay(()).trace("f1")
1027[warn] 159 | val f2 = Sync[F].delay(()).trace("f2")
1028[warn] 160 | val f3 = Sync[F].delay(()).trace("f3")
1029[warn] 161 | val f4 = Sync[F].delay(()).trace("f4")
1030[warn] 162 | val f5 = Sync[F].delay(()).trace("f5")
1031[warn] 163 | val f = (f1 *> f2 *> f3.memoize.flatMap(ff => ff *> f4 *> ff) *> f5).trace("f")
1032[warn] 164 | f.map { _ =>
1033[warn] 165 | finishedSpans() shouldBe Seq(
1034[warn] 166 | TestedSpan(operationName = "f1", spanId = 2, parentId = 1),
1035[warn] 167 | TestedSpan(operationName = "f2", spanId = 3, parentId = 2),
1036[warn] 168 | TestedSpan(operationName = "f3", spanId = 4, parentId = 3),
1037[warn] 169 | TestedSpan(operationName = "f4", spanId = 5, parentId = 4),
1038[warn] 170 | TestedSpan(operationName = "f5", spanId = 6, parentId = 5),
1039[warn] 171 | TestedSpan(operationName = "f", spanId = 1, parentId = 0),
1040[warn] 172 | )
1041[warn] 173 | }
1042[warn] 174 | }
1043[warn] -- Warning: /build/repo/core/src/test/scala/io/github/fehu/opentracing/TraceSpec.scala:176:47
1044[warn] 176 | "Trace timeouts" in dispatcher.unsafeRunSync {
1045[warn] | ^
1046[warn] |Could not verify that the method argument is transitively initialized (Hot). It was found to be a function where "this" is (the original object of type (class TracedIOSpec) where initialization checking started). Only transitively initialized arguments may be passed to methods (except constructors). Calling trace:
1047[warn] |├── class TracedIOSpec extends TraceSpec[TracedIO] with IOSpec { [ TracedIOSpec.scala:7 ]
1048[warn] |│ ^
1049[warn] |├── abstract class TraceSpec[F[_]: Async: Traced] extends AnyFreeSpec with Spec { [ TraceSpec.scala:23 ]
1050[warn] |│ ^
1051[warn] |└── "Trace timeouts" in dispatcher.unsafeRunSync { [ TraceSpec.scala:176 ]
1052[warn] | ^
1053[warn] |
1054[warn] |Promoting the value to transitively initialized (Hot) failed due to the following problem:
1055[warn] |Access non-initialized value dispatcher. Promotion trace:
1056[warn] |└── "Trace timeouts" in dispatcher.unsafeRunSync { [ TraceSpec.scala:176 ]
1057[warn] | ^^^^^^^^^^
1058[warn] 177 | val f1 = Sync[F].delay(()).trace("f1")
1059[warn] 178 | val f2 = Temporal[F].sleep(50.millis).trace("f2-1") *> Temporal[F].sleep(50.millis).trace("f2-2")
1060[warn] 179 | val f3 = Sync[F].delay(()).trace("f3")
1061[warn] 180 | val f4 = Sync[F].delay(()).trace("f4")
1062[warn] 181 | val f5 = Temporal[F].sleep(50.millis).trace("f5-1") *> Temporal[F].sleep(50.millis).trace("f5-2")
1063[warn] 182 | val f6 = Sync[F].delay(()).trace("f6")
1064[warn] 183 | val f7 = Temporal[F].sleep(10.millis).trace("f7-1") *> Temporal[F].sleep(10.millis).trace("f7-2")
1065[warn] 184 | val f8 = Sync[F].delay(()).trace("f8")
1066[warn] 185 | val f = (f1 *>
1067[warn] 186 | Temporal[F].timeoutTo(f2, 40.millis, f3).trace("t1") *>
1068[warn] 187 | f4 *>
1069[warn] 188 | Temporal[F].timeout(f5, 40.millis).trace("t2").attempt *>
1070[warn] 189 | f6 *>
1071[warn] 190 | Temporal[F].timeout(f7, 40.millis).trace("t3").attempt *>
1072[warn] 191 | f8
1073[warn] 192 | ).trace("f")
1074[warn] 193 | f.map { _ =>
1075[warn] 194 | finishedSpans() shouldBe Seq(
1076[warn] 195 | TestedSpan(operationName = "f1", spanId = 2, parentId = 1),
1077[warn] 196 | TestedSpan(operationName = "f2-1", spanId = 4, parentId = 3),
1078[warn] 197 | TestedSpan(operationName = "f3", spanId = 5, parentId = 3),
1079[warn] 198 | TestedSpan(operationName = "t1", spanId = 3, parentId = 2),
1080[warn] 199 | TestedSpan(operationName = "f4", spanId = 6, parentId = 5),
1081[warn] 200 | TestedSpan(operationName = "f5-1", spanId = 8, parentId = 7),
1082[warn] 201 | TestedSpan(operationName = "t2", spanId = 7, parentId = 6),
1083[warn] 202 | TestedSpan(operationName = "f6", spanId = 9, parentId = 6),
1084[warn] 203 | TestedSpan(operationName = "f7-1", spanId = 11, parentId = 10),
1085[warn] 204 | TestedSpan(operationName = "f7-2", spanId = 12, parentId = 11),
1086[warn] 205 | TestedSpan(operationName = "t3", spanId = 10, parentId = 9),
1087[warn] 206 | TestedSpan(operationName = "f8", spanId = 13, parentId = 10),
1088[warn] 207 | TestedSpan(operationName = "f", spanId = 1, parentId = 0),
1089[warn] 208 | )
1090[warn] 209 | }
1091[warn] 210 | }
1092[warn] there was 1 deprecation warning; re-run with -deprecation for details
1093[warn] 14 warnings found
1094[info] done compiling
1095[info] TracedIOSpec:
1096[info] - Trace nested defer / delay
1097[info] - Trace nested map / flatMap
1098[info] - Trace when timer is used
1099[info] - Trace when evaluated on other context
1100[info] - Trace when starting and joining fiber
1101[info] - Trace running in background
1102[info] - Trace memorize
1103[info] - Trace timeouts
1104[info] PropagationTracedIOSpec:
1105[info] - Serialize and deserialize span context through `TextMap` built-in format
1106[info] - Serialize and deserialize span context through `Binary` built-in format !!! CANCELED !!!
1107[info] MockTracer only supports `TextMap` format. (PropagationSpec.scala:33)
1108Starting build for ProjectRef(file:/build/repo/,akka) (opentracing-scala-akka)... [1/5]
1109Compile scalacOptions: -Ykind-projector:underscores, -Yexplicit-nulls, -Ysafe-init, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
1110[info] compiling 4 Scala sources to /build/repo/akka/target/scala-3.8.0-RC2/classes ...
1111[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
1112[warn] Option -Ysafe-init is deprecated: Use -Wsafe-init instead.
1113[warn] two warnings found
1114[info] done compiling
1115Starting build for ProjectRef(file:/build/repo/,jaeger) (opentracing-scala-jaeger)... [2/5]
1116Compile scalacOptions: -Ykind-projector:underscores, -Yexplicit-nulls, -Ysafe-init, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
1117[info] compiling 1 Scala source to /build/repo/jaeger/target/scala-3.8.0-RC2/classes ...
1118[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
1119[warn] Option -Ysafe-init is deprecated: Use -Wsafe-init instead.
1120[warn] -- [E216] Syntax Warning: /build/repo/jaeger/src/main/scala/io/github/fehu/opentracing/Jaeger.scala:27:24
1121[warn] 25 | SamplerConfiguration.fromEnv().nn
1122[warn] 26 | .withType(ConstSampler.TYPE).nn
1123[warn] 27 | .withParam(1).nn
1124[warn] | ^
1125[warn] | Unnecessary .nn: expected type admits null
1126[warn] three warnings found
1127[info] done compiling
1128Starting build for ProjectRef(file:/build/repo/,noop) (opentracing-scala-noop)... [3/5]
1129Compile scalacOptions: -Ykind-projector:underscores, -Yexplicit-nulls, -Ysafe-init, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
1130[info] compiling 1 Scala source to /build/repo/noop/target/scala-3.8.0-RC2/classes ...
1131[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
1132[warn] Option -Ysafe-init is deprecated: Use -Wsafe-init instead.
1133[warn] two warnings found
1134[info] done compiling
1135Starting build for ProjectRef(file:/build/repo/,fs2) (opentracing-scala-fs2)... [4/5]
1136Compile scalacOptions: -Ykind-projector:underscores, -Yexplicit-nulls, -Ysafe-init, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
1137[info] compiling 1 Scala source to /build/repo/fs2/target/scala-3.8.0-RC2/classes ...
1138[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
1139[warn] Option -Ysafe-init is deprecated: Use -Wsafe-init instead.
1140[warn] two warnings found
1141[info] done compiling
1142
1143************************
1144Build summary:
1145[{
1146 "module": "opentracing-scala-core",
1147 "compile": {"status": "ok", "tookMs": 15948, "warnings": 2, "errors": 0, "sourceVersion": "3.8"},
1148 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1149 "test-compile": {"status": "ok", "tookMs": 3879, "warnings": 11, "errors": 0, "sourceVersion": "3.8"},
1150 "test": {"status": "ok", "tookMs": 2142, "passed": 9, "failed": 1, "ignored": 0, "skipped": 0, "total": 10, "byFramework": [{"framework": "unknown", "stats": {"passed": 9, "failed": 1, "ignored": 0, "skipped": 0, "total": 10}}]},
1151 "publish": {"status": "skipped", "tookMs": 0},
1152 "metadata": {
1153 "crossScalaVersions": ["2.12.16", "2.13.8", "3.1.3"]
1154}
1155},{
1156 "module": "opentracing-scala-akka",
1157 "compile": {"status": "ok", "tookMs": 1234, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
1158 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1159 "test-compile": {"status": "ok", "tookMs": 174, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
1160 "test": {"status": "ok", "tookMs": 156, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
1161 "publish": {"status": "skipped", "tookMs": 0},
1162 "metadata": {
1163 "crossScalaVersions": ["2.12.16", "2.13.8", "3.1.3"]
1164}
1165},{
1166 "module": "opentracing-scala-jaeger",
1167 "compile": {"status": "ok", "tookMs": 537, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
1168 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1169 "test-compile": {"status": "ok", "tookMs": 141, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
1170 "test": {"status": "ok", "tookMs": 136, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
1171 "publish": {"status": "skipped", "tookMs": 0},
1172 "metadata": {
1173 "crossScalaVersions": ["2.12.16", "2.13.8", "3.1.3"]
1174}
1175},{
1176 "module": "opentracing-scala-noop",
1177 "compile": {"status": "ok", "tookMs": 355, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
1178 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1179 "test-compile": {"status": "ok", "tookMs": 128, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
1180 "test": {"status": "ok", "tookMs": 108, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
1181 "publish": {"status": "skipped", "tookMs": 0},
1182 "metadata": {
1183 "crossScalaVersions": ["2.12.16", "2.13.8", "3.1.3"]
1184}
1185},{
1186 "module": "opentracing-scala-fs2",
1187 "compile": {"status": "ok", "tookMs": 889, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
1188 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1189 "test-compile": {"status": "ok", "tookMs": 125, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
1190 "test": {"status": "ok", "tookMs": 112, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
1191 "publish": {"status": "skipped", "tookMs": 0},
1192 "metadata": {
1193 "crossScalaVersions": ["2.12.16", "2.13.8", "3.1.3"]
1194}
1195}]
1196************************
1197[success] Total time: 37 s, completed Nov 28, 2025, 1:53:03 PM
1198[0JChecking patch project/plugins.sbt...
1199Checking patch project/build.properties...
1200Checking patch build.sbt...
1201Applied patch project/plugins.sbt cleanly.
1202Applied patch project/build.properties cleanly.
1203Applied patch build.sbt cleanly.