Build Logs

trace4cats/trace4cats-sttp • 3.8.0:2026-01-13

Errors

3

Warnings

25

Total Lines

247

1##################################
2Clonning https://github.com/trace4cats/trace4cats-sttp.git into /build/repo using revision v0.14.0
3##################################
4Note: switching to '0a1e01899f5ea50ec2229683d9c373aeb00bbac4'.
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
22----
23Preparing build for 3.8.0
24Scala binary version found: 3.8
25Implicitly using source version 3.8
26Scala binary version found: 3.8
27Implicitly using source version 3.8
28Would try to apply common scalacOption (best-effort, sbt/mill only):
29Append: ,REQUIRE:-source:3.8
30Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
31
32Try apply source patch:
33Path: project/Dependencies.scala
34Pattern: val scala3 = "3.1.3"
35Replacement: val scala3 = "3.8.0"
36Starting compilation server
37Compiling project (Scala 3.7.3, JVM (17))
38Compiled project (Scala 3.7.3, JVM (17))
39Successfully applied pattern 'val scala3 = "3.1.3"' in project/Dependencies.scala
40----
41Starting build for 3.8.0
42Execute tests: true
43sbt project found:
44Sbt version 1.7.1 is not supported, minimal supported version is 1.11.5
45Enforcing usage of sbt in version 1.11.5
46No prepare script found for project trace4cats/trace4cats-sttp
47##################################
48Scala version: 3.8.0
49Targets: io.janstenpickle%trace4cats-sttp-client3 io.janstenpickle%trace4cats-sttp-common io.janstenpickle%trace4cats-sttp-tapir
50Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"project/Dependencies.scala","pattern":"val scala3 = \"3.1.3\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
51##################################
52Using extra scalacOptions: ,REQUIRE:-source:3.8
53Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
54[sbt_options] declare -a sbt_options=()
55[process_args] java_version = '17'
56[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
57# Executing command line:
58java
59-Dfile.encoding=UTF-8
60-Dcommunitybuild.scala=3.8.0
61-Dcommunitybuild.project.dependencies.add=
62-Xmx7G
63-Xms4G
64-Xss8M
65-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
66-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
67-jar
68/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
69"setCrossScalaVersions 3.8.0"
70"++3.8.0 -v"
71"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
72"set every credentials := Nil"
73"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
74"removeScalacOptionsStartingWith -P:wartremover"
75
76moduleMappings
77"runBuild 3.8.0 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"project/Dependencies.scala","pattern":"val scala3 = \"3.1.3\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}""" io.janstenpickle%trace4cats-sttp-client3 io.janstenpickle%trace4cats-sttp-common io.janstenpickle%trace4cats-sttp-tapir"
78
79[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
80[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
81[info] loading project definition from /build/repo/project
82[info] compiling 3 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.493s.
85[info] done compiling
86/build/repo/build.sbt:17: warning: method sonatypeRepo in class ResolverFunctions is deprecated (since 1.7.0): Sonatype OSS Repository Hosting (OSSRH) was sunset on 2025-06-30; remove this resolver. If snapshots are required, use:
87 resolvers += Resolver.sonatypeCentralSnapshots
88
89 resolvers += Resolver.sonatypeRepo("releases"),
90 ^
91[info] loading settings for project root from build.sbt, ci-release.sbt...
92[info] set current project to Trace4Cats Sttp (in build file:/build/repo/)
93Execute setCrossScalaVersions: 3.8.0
94OpenCB::Changing crossVersion 3.8.0 -> 3.8.0 in sttp-common/crossScalaVersions
95OpenCB::Changing crossVersion 3.8.0 -> 3.8.0 in sttp-client3/crossScalaVersions
96OpenCB::Changing crossVersion 3.8.0 -> 3.8.0 in sttp-tapir/crossScalaVersions
97OpenCB::Changing crossVersion 3.8.0 -> 3.8.0 in root/crossScalaVersions
98[info] set current project to Trace4Cats Sttp (in build file:/build/repo/)
99[info] Setting Scala version to 3.8.0 on 4 projects.
100[info] Switching Scala version on:
101[info] * root (2.13.8, 2.12.16, 3.8.0)
102[info] sttp-client3 (2.13.8, 2.12.16, 3.8.0)
103[info] sttp-common (2.13.8, 2.12.16, 3.8.0)
104[info] sttp-tapir (2.13.8, 2.12.16, 3.8.0)
105[info] Excluding projects:
106[info] Reapplying settings...
107[info] set current project to Trace4Cats Sttp (in build file:/build/repo/)
108Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
109[info] Reapplying settings...
110[info] set current project to Trace4Cats Sttp (in build file:/build/repo/)
111[info] Defining Global / credentials, credentials and 2 others.
112[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 19 others.
113[info] Run `last` for details.
114[info] Reapplying settings...
115[info] set current project to Trace4Cats Sttp (in build file:/build/repo/)
116Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
117[info] Reapplying settings...
118OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
119
120 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
121 Did you mean allExcludeDependencies ?
122 , retry without global scopes
123[info] Reapplying settings...
124[info] set current project to Trace4Cats Sttp (in build file:/build/repo/)
125Execute removeScalacOptionsStartingWith: -P:wartremover
126[info] Reapplying settings...
127[info] set current project to Trace4Cats Sttp (in build file:/build/repo/)
128[success] Total time: 0 s, completed Jan 13, 2026, 3:09:58 PM
129Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"project/Dependencies.scala","pattern":"val scala3 = \"3.1.3\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
130Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
131Starting build...
132Projects: Set(sttp-client3, sttp-common, sttp-tapir)
133Starting build for ProjectRef(file:/build/repo/,sttp-client3) (trace4cats-sttp-client3)... [0/3]
134OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
135OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
136OpenCB::Filter out '-Xfatal-warnings', matches setting pattern '^-?-Xfatal-warnings'
137Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Ykind-projector, -Wconf:any:v, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
138[info] compiling 2 Scala sources to /build/repo/modules/sttp-common/target/scala-3.8.0/classes ...
139[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
140[warn] |Matching filters for @nowarn or -Wconf:
141[warn] | - cat=configuration
142[warn] one warning found
143[info] done compiling
144[info] compiling 6 Scala sources to /build/repo/modules/sttp-client3/target/scala-3.8.0/classes ...
145[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
146[warn] |Matching filters for @nowarn or -Wconf:
147[warn] | - cat=configuration
148[warn] one warning found
149[info] done compiling
150[info] compiling 4 Scala sources to /build/repo/modules/sttp-common/target/scala-3.8.0/test-classes ...
151[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
152[warn] |Matching filters for @nowarn or -Wconf:
153[warn] | - cat=configuration
154[warn] one warning found
155[info] done compiling
156[info] compiling 4 Scala sources to /build/repo/modules/sttp-client3/target/scala-3.8.0/test-classes ...
157[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
158[warn] |Matching filters for @nowarn or -Wconf:
159[warn] | - cat=configuration
160[warn] one warning found
161[info] done compiling
162[info] TracedSttpBackendSpec:
163[info] - should correctly set request headers and span status when the response body is read
164[info] TracedSttpBackendCtxSpec:
165[info] - should correctly set request headers and span status when the response body is read
166Starting build for ProjectRef(file:/build/repo/,sttp-common) (trace4cats-sttp-common)... [1/3]
167Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Ykind-projector, -Wconf:any:v, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
168[info] SttpHeadersConverterSpec:
169[info] SttpHeaders.converter
170[info] - should convert headers isomorphically
171[info] - should convert example headers
172Starting build for ProjectRef(file:/build/repo/,sttp-tapir) (trace4cats-sttp-tapir)... [2/3]
173Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Ykind-projector, -Wconf:any:v, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
174[info] compiling 7 Scala sources to /build/repo/modules/sttp-tapir/target/scala-3.8.0/classes ...
175[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
176[warn] |Matching filters for @nowarn or -Wconf:
177[warn] | - cat=configuration
178[warn] one warning found
179[info] done compiling
180[info] compiling 9 Scala sources to /build/repo/modules/sttp-tapir/target/scala-3.8.0/test-classes ...
181[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
182[warn] |Matching filters for @nowarn or -Wconf:
183[warn] | - cat=configuration
184[warn] one warning found
185[info] done compiling
186[info] TracedServerEndpointCtxSpec:
18715:10:30.749 [io-compute-2] DEBUG sttp.tapir.server.http4s.Http4sServerInterpreter - Request: GET /devices/1, handled by: GET /devices/{deviceId}, took: 122ms; response: 200
188[info] - should record a span when the response is OK
18915:10:30.785 [io-compute-2] DEBUG sttp.tapir.server.http4s.Http4sServerInterpreter - Request: GET /devices/0, handled by: GET /devices/{deviceId}, took: 11ms; response: 404
190[info] - should correctly set span status when the server logic returns a error
19115:10:30.801 [io-compute-2] DEBUG sttp.tapir.server.http4s.Http4sServerInterpreter - Request: GET /vendors/0, handled by: GET /vendors/{vendorId}, took: 12ms; response: 404
192[info] - should correctly set span status when the server logic throws an exception
19315:10:30.809 [io-compute-4] DEBUG sttp.tapir.server.http4s.Http4sServerInterpreter - Request: GET /devices/100, handled by: GET /devices/{deviceId}, took: 3ms; response: 401
194[info] - should correctly set span status when context creation returns a error
19515:10:30.817 [io-compute-1] DEBUG sttp.tapir.server.http4s.Http4sServerInterpreter - Request: GET /vendors/11, handled by: GET /vendors/{vendorId}, took: 4ms; response: 401
196[info] - should correctly set span status when context creation throws an exception
197[info] TracedServerEndpointSpec:
19815:10:30.839 [io-compute-4] DEBUG sttp.tapir.server.http4s.Http4sServerInterpreter - Request: GET /devices/1, handled by: GET /devices/{deviceId}, took: 4ms; response: 200
199[info] - should record a span when the response is OK
20015:10:30.844 [io-compute-4] DEBUG sttp.tapir.server.http4s.Http4sServerInterpreter - Request: GET /devices/0, handled by: GET /devices/{deviceId}, took: 2ms; response: 404
201[info] - should correctly set span status when the server logic returns a error
20215:10:30.850 [io-compute-4] DEBUG sttp.tapir.server.http4s.Http4sServerInterpreter - Request: GET /vendors/0, handled by: GET /vendors/{vendorId}, took: 2ms; response: 404
203[info] - should correctly set span status when the server logic throws an exception
204
205************************
206Build summary:
207[{
208 "module": "trace4cats-sttp-client3",
209 "compile": {"status": "ok", "tookMs": 5781, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
210 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
211 "test-compile": {"status": "ok", "tookMs": 6430, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
212 "test": {"status": "ok", "tookMs": 2357, "passed": 2, "failed": 0, "ignored": 0, "skipped": 0, "total": 2, "byFramework": [{"framework": "unknown", "stats": {"passed": 2, "failed": 0, "ignored": 0, "skipped": 0, "total": 2}}]},
213 "publish": {"status": "skipped", "tookMs": 0},
214 "metadata": {
215 "crossScalaVersions": ["2.13.8", "2.12.16", "3.1.3"]
216}
217},{
218 "module": "trace4cats-sttp-common",
219 "compile": {"status": "ok", "tookMs": 52, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
220 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
221 "test-compile": {"status": "ok", "tookMs": 98, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
222 "test": {"status": "ok", "tookMs": 1073, "passed": 2, "failed": 0, "ignored": 0, "skipped": 0, "total": 2, "byFramework": [{"framework": "unknown", "stats": {"passed": 2, "failed": 0, "ignored": 0, "skipped": 0, "total": 2}}]},
223 "publish": {"status": "skipped", "tookMs": 0},
224 "metadata": {
225 "crossScalaVersions": ["2.13.8", "2.12.16", "3.1.3"]
226}
227},{
228 "module": "trace4cats-sttp-tapir",
229 "compile": {"status": "ok", "tookMs": 1427, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
230 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
231 "test-compile": {"status": "ok", "tookMs": 6637, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
232 "test": {"status": "ok", "tookMs": 2159, "passed": 8, "failed": 0, "ignored": 0, "skipped": 0, "total": 8, "byFramework": [{"framework": "unknown", "stats": {"passed": 8, "failed": 0, "ignored": 0, "skipped": 0, "total": 8}}]},
233 "publish": {"status": "skipped", "tookMs": 0},
234 "metadata": {
235 "crossScalaVersions": ["2.13.8", "2.12.16", "3.1.3"]
236}
237}]
238************************
239[success] Total time: 32 s, completed Jan 13, 2026, 3:10:31 PM
240[0JChecking patch project/plugins.sbt...
241Checking patch project/build.properties...
242Checking patch project/Dependencies.scala...
243Checking patch build.sbt...
244Applied patch project/plugins.sbt cleanly.
245Applied patch project/build.properties cleanly.
246Applied patch project/Dependencies.scala cleanly.
247Applied patch build.sbt cleanly.