Build Logs

fehu/opentracing-scala • 3.8.0-RC2:2025-11-25

Errors

0

Warnings

755

Total Lines

1192

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