Build Logs
permutive-engineering/prometheus4cats • 3.8.0-RC4:2025-12-22
Errors
0
Warnings
0
Total Lines
322
1##################################
2Clonning https://github.com/permutive-engineering/prometheus4cats.git into /build/repo using revision v4.2.0
3##################################
4Note: switching to '3e51e012f8e3fd684572ebcca5bd2b930e31cfd3'.
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
21----
22Preparing build for 3.8.0-RC4
23Scala binary version found: 3.8
24Implicitly using source version 3.8
25Scala binary version found: 3.8
26Implicitly using source version 3.8
27Would try to apply common scalacOption (best-effort, sbt/mill only):
28Append: ,REQUIRE:-source:3.8
29Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
30----
31Starting build for 3.8.0-RC4
32Execute tests: true
33sbt project found:
34Sbt version 1.11.4 is not supported, minimal supported version is 1.11.5
35Enforcing usage of sbt in version 1.11.5
36No prepare script found for project permutive-engineering/prometheus4cats
37##################################
38Scala version: 3.8.0-RC4
39Targets: com.permutive%prometheus4cats com.permutive%prometheus4cats-java com.permutive%prometheus4cats-testing com.permutive%prometheus4cats-testkit
40Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
41##################################
42Using extra scalacOptions: ,REQUIRE:-source:3.8
43Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
44[sbt_options] declare -a sbt_options=()
45[process_args] java_version = '17'
46[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
47# Executing command line:
48java
49-Dfile.encoding=UTF-8
50-Dcommunitybuild.scala=3.8.0-RC4
51-Dcommunitybuild.project.dependencies.add=
52-Xmx7G
53-Xms4G
54-Xss8M
55-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
56-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
57-jar
58/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
59"setCrossScalaVersions 3.8.0-RC4"
60"++3.8.0-RC4 -v"
61"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
62"set every credentials := Nil"
63"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
64"removeScalacOptionsStartingWith -P:wartremover"
65
66moduleMappings
67"runBuild 3.8.0-RC4 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}""" com.permutive%prometheus4cats com.permutive%prometheus4cats-java com.permutive%prometheus4cats-testing com.permutive%prometheus4cats-testkit"
68
69[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
70[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
71[info] loading project definition from /build/repo/project
72[info] compiling 3 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
73[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
74[info] Compilation completed in 8.913s.
75[info] done compiling
76[info] loading settings for project repo from build.sbt...
77[info] set current project to repo (in build file:/build/repo/)
78Execute setCrossScalaVersions: 3.8.0-RC4
79OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC4 in documentation/crossScalaVersions
80OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC4 in website/crossScalaVersions
81OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC4 in prometheus4cats-testing/crossScalaVersions
82OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC4 in prometheus4cats-testkit/crossScalaVersions
83OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC4 in repo/crossScalaVersions
84OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC4 in prometheus4cats/crossScalaVersions
85OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC4 in prometheus4cats-java/crossScalaVersions
86[info] set current project to repo (in build file:/build/repo/)
87[info] Setting Scala version to 3.8.0-RC4 on 7 projects.
88[info] Switching Scala version on:
89[info] website (2.13.16, 3.8.0-RC4)
90[info] documentation (2.13.16, 3.8.0-RC4)
91[info] prometheus4cats-testkit (2.13.16, 3.8.0-RC4)
92[info] prometheus4cats (2.13.16, 3.8.0-RC4)
93[info] * repo (2.13.16, 3.8.0-RC4)
94[info] prometheus4cats-testing (2.13.16, 3.8.0-RC4)
95[info] prometheus4cats-java (2.13.16, 3.8.0-RC4)
96[info] Excluding projects:
97[info] Reapplying settings...
98[info] set current project to repo (in build file:/build/repo/)
99Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
100[info] Reapplying settings...
101[info] set current project to repo (in build file:/build/repo/)
102[info] Defining Global / credentials, credentials and 5 others.
103[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 56 others.
104[info] Run `last` for details.
105[info] Reapplying settings...
106[info] set current project to repo (in build file:/build/repo/)
107Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
108[info] Reapplying settings...
109OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
110
111 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
112 Did you mean allExcludeDependencies ?
113 , retry without global scopes
114[info] Reapplying settings...
115[info] set current project to repo (in build file:/build/repo/)
116Execute removeScalacOptionsStartingWith: -P:wartremover
117[info] Reapplying settings...
118[info] set current project to repo (in build file:/build/repo/)
119[success] Total time: 0 s, completed Dec 22, 2025, 6:00:18 PM
120Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
121Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
122Starting build...
123Projects: Set(prometheus4cats, prometheus4cats-java, prometheus4cats-testing, prometheus4cats-testkit)
124Starting build for ProjectRef(file:/build/repo/,prometheus4cats) (prometheus4cats)... [0/4]
125OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
126OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
127OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
128OpenCB::Filter out '-Xfatal-warnings', matches setting pattern '^-?-Xfatal-warnings'
129Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -Xsemanticdb, -semanticdb-target, /build/repo/modules/prometheus4cats/target/scala-3.8.0-RC4/meta, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
130[info] compiling 42 Scala sources to /build/repo/modules/prometheus4cats/target/scala-3.8.0-RC4/classes ...
131[info] done compiling
132[info] compiling 14 Scala sources to /build/repo/modules/prometheus4cats/target/scala-3.8.0-RC4/test-classes ...
133[info] done compiling
134prometheus4cats.LabelNameSuite:
135 + names must not be empty 0.145s
136 + names must start with an alpha char 0.183s
137 + names must not contain special chars 0.039s
138prometheus4cats.MetricPrefixSuite:
139 + names must not be empty 0.148s
140 + names must start with an alpha char 0.185s
141 + names must not contain special chars 0.038s
142prometheus4cats.HistogramNameSuite:
143 + names must not be empty 0.145s
144 + names must start with an alpha char 0.19s
145 + names must not contain special chars 0.039s
146prometheus4cats.CounterNameSuite:
147 + names must not be empty 0.003s
148 + names must start with an alpha char 0.016s
149 + names must not contain special chars 0.011s
150 + names must be appended with _total 0.008s
151prometheus4cats.GaugeNameSuite:
152 + names must not be empty 0.007s
153 + names must start with an alpha char 0.035s
154 + names must not contain special chars 0.008s
155prometheus4cats.CommonLabelsSuite:
156 + labels can be empty 0.01s
157 + parses successfully label count is no more than 10 0.098s
158 + fails to parse when label count is more than 10 0.233s
159 + fails to parse when label names are invalid 0.027s
160prometheus4cats.CurrentTimeRecorderSuite:
161 + sets to current time in seconds 0.229s
162 + sets to current time in millis 0.078s
163 + sets to current time in seconds with labels 0.138s
164 + sets to current time in millis with labels 0.104s
165prometheus4cats.OutcomeRecorderSuite:
166 + op counter should record success 0.514s
167 + op gauge should record success 0.226s
168 + op counter should record cancelation 0.308s
169 + op gauge should record cancelation 0.203s
170 + op counter should record failure 0.072s
171 + op gauge should record failure 0.077s
172 + op counter should record success with labels 0.047s
173 + op gauge should record success with labels 0.044s
174 + op counter should record cancelation with labels 0.146s
175 + op gauge should record cancelation with labels 0.201s
176 + op counter should record failure with labels 0.065s
177 + op gauge should record failure with labels 0.078s
178prometheus4cats.TimerSuite:
179 + observeDuration records times in seconds 0.308s
180 + observeDuration records times in seconds with labels 0.09s
181 + timing an operation delegates to observeDuration 0.465s
182 + timing an operation with labels delegates to observeDuration 0.249s
183 + attempting a successful operation delegates to observeDuration 0.159s
184 + attempting a failed operation delegates to observeDuration 0.514s
185Starting build for ProjectRef(file:/build/repo/,prometheus4cats-java) (prometheus4cats-java)... [1/4]
186Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -Xsemanticdb, -semanticdb-target, /build/repo/modules/prometheus4cats-java/target/scala-3.8.0-RC4/meta, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
187[info] compiling 7 Scala sources to /build/repo/modules/prometheus4cats-java/target/scala-3.8.0-RC4/classes ...
188[info] done compiling
189[info] compiling 4 Scala sources to /build/repo/modules/prometheus4cats-testkit/target/scala-3.8.0-RC4/classes ...
190[info] done compiling
191[info] compiling 1 Scala source to /build/repo/modules/prometheus4cats-java/target/scala-3.8.0-RC4/test-classes ...
192[info] done compiling
193prometheus4cats.javasimpleclient.JavaMetricRegistrySuite:
194 + create, increment and de-register a counter 1.099s
195 + create, increment and de-register an exemplar counter 0.349s
196 + create, increment and de-register a labelled counter 0.244s
197 + create, increment and de-register a labelled exemplar counter 0.203s
198 + create, update and de-register a gauge 0.399s
199 + create, update and de-register a labelled gauge 0.349s
200 + create, increment and de-register a histogram 0.16s
201 + create, increment and de-register an exemplar histogram 0.19s
202 + create, increment and de-register a labelled histogram 0.118s
203 + create, increment and de-register a labelled exemplar histogram 0.143s
204 + create, increment and de-register a summary 0.329s
205 + create, increment and de-register a labelled summary 0.397s
206 + create, set and de-register info 0.11s
207 + nested counter resource usage 0.127s
208 + nested gauge resource usage 0.103s
209 + nested histogram resource usage 0.097s
210 + nested summary resource usage 0.203s
211 + nested info resource usage 0.112s
212 + concurrent counter resource usage 0.143s
213 + concurrent gauge resource usage 0.096s
214 + concurrent histogram resource usage 0.101s
215 + concurrent summary resource usage 0.269s
216 + concurrent info resource usage 0.092s
217 + register, set and de-register a counter 0.14s
218 + register, set and de-register a labelled counter 0.107s
219 + register, set and de-register a gauge 0.107s
220 + register, set and de-register a labelled gauge 0.112s
221 + register, set and de-register a histogram 0.098s
222 + register, set and de-register a labelled histogram 0.11s
223 + register, set and de-register a summary 0.248s
224 + register, set and de-register a labelled summary 0.225s
225 + register and de-register metric collection 0.208s
226 + register and de-register metric collection with the same name and different labels 0.155s
227 + allows building a callback when a callback of the same name exists 0.052s
228 + allows building a callback with multiple label values 0.102s
229 + allows building a callback with different label values when a callback of the same name exists 0.128s
230 + allows building a callback with different labels names but the same name 0.1s
231 + allows building a callback with different number labels but the same name 0.108s
232 + returns an existing metric when labels and name are the same 0.052s
233 + fails to build a metric when a callback of the same name exists 0.084s
234 + fails to build a callback when a metric of the same name exists 0.071s
235 + fails when a metric with the same name and different labels 0.072s
236 + fails when a metric with the same name and different type 0.06s
237Starting build for ProjectRef(file:/build/repo/,prometheus4cats-testing) (prometheus4cats-testing)... [2/4]
238Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -Xsemanticdb, -semanticdb-target, /build/repo/modules/prometheus4cats-testing/target/scala-3.8.0-RC4/meta, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
239[info] compiling 1 Scala source to /build/repo/modules/prometheus4cats-testing/target/scala-3.8.0-RC4/classes ...
240[info] done compiling
241[info] compiling 1 Scala source to /build/repo/modules/prometheus4cats-testing/target/scala-3.8.0-RC4/test-classes ...
242[info] done compiling
243prometheus4cats.testing.TestingMetricRegistrySuite:
244 + Counter - history 0.102s
245 + Counter - prefixed history 0.006s
246 + Counter - concurrent resource lifecycle 0.007s
247 + Counter - nested resource lifecycle 0.005s
248 + Counter - labelled history 0.006s
249 + Gauge - history 0.006s
250 + Gauge - prefixed history 0.002s
251 + Gauge - concurrent resource lifecycle 0.002s
252 + Gauge - nested resource lifecycle 0.002s
253 + Gauge - labelled history 0.004s
254 + Histogram - history 0.007s
255 + Histogram - prefixed history 0.002s
256 + Histogram - concurrent resource lifecycle 0.002s
257 + Histogram - nested resource lifecycle 0.002s
258 + Histogram - labelled history 0.003s
259 + Summary - history 0.01s
260 + Summary - prefixed history 0.002s
261 + Summary - concurrent resource lifecycle 0.002s
262 + Summary - nested resource lifecycle 0.002s
263 + Summary - labelled history 0.003s
264 + Info - value 0.006s
265 + Info - prefixed value 0.002s
266 + Info - concurrent resource lifecycle 0.003s
267 + Info - nested resource lifecycle 0.0s
268 + Error if registering same name and labels but different type 0.156s
269Starting build for ProjectRef(file:/build/repo/,prometheus4cats-testkit) (prometheus4cats-testkit)... [3/4]
270Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -Xsemanticdb, -semanticdb-target, /build/repo/modules/prometheus4cats-testkit/target/scala-3.8.0-RC4/meta, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
271
272************************
273Build summary:
274[{
275 "module": "prometheus4cats",
276 "compile": {"status": "ok", "tookMs": 20850, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
277 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
278 "test-compile": {"status": "ok", "tookMs": 6572, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
279 "test": {"status": "ok", "tookMs": 2815, "passed": 42, "failed": 0, "ignored": 0, "skipped": 0, "total": 42, "byFramework": [{"framework": "munit", "stats": {"passed": 42, "failed": 0, "ignored": 0, "skipped": 0, "total": 42}}]},
280 "publish": {"status": "skipped", "tookMs": 0},
281 "metadata": {
282 "crossScalaVersions": ["2.13.16", "3.3.6"]
283}
284},{
285 "module": "prometheus4cats-java",
286 "compile": {"status": "ok", "tookMs": 4265, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
287 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
288 "test-compile": {"status": "ok", "tookMs": 6857, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
289 "test": {"status": "ok", "tookMs": 8276, "passed": 43, "failed": 0, "ignored": 0, "skipped": 0, "total": 43, "byFramework": [{"framework": "munit", "stats": {"passed": 43, "failed": 0, "ignored": 0, "skipped": 0, "total": 43}}]},
290 "publish": {"status": "skipped", "tookMs": 0},
291 "metadata": {
292 "crossScalaVersions": ["2.13.16", "3.3.6"]
293}
294},{
295 "module": "prometheus4cats-testing",
296 "compile": {"status": "ok", "tookMs": 1421, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
297 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
298 "test-compile": {"status": "ok", "tookMs": 1710, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
299 "test": {"status": "ok", "tookMs": 728, "passed": 25, "failed": 0, "ignored": 0, "skipped": 0, "total": 25, "byFramework": [{"framework": "munit", "stats": {"passed": 25, "failed": 0, "ignored": 0, "skipped": 0, "total": 25}}]},
300 "publish": {"status": "skipped", "tookMs": 0},
301 "metadata": {
302 "crossScalaVersions": ["2.13.16", "3.3.6"]
303}
304},{
305 "module": "prometheus4cats-testkit",
306 "compile": {"status": "ok", "tookMs": 109, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
307 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
308 "test-compile": {"status": "ok", "tookMs": 132, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
309 "test": {"status": "ok", "tookMs": 126, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
310 "publish": {"status": "skipped", "tookMs": 0},
311 "metadata": {
312 "crossScalaVersions": ["2.13.16", "3.3.6"]
313}
314}]
315************************
316[success] Total time: 84 s (0:01:24.0), completed Dec 22, 2025, 6:01:42 PM
317[0JChecking patch project/plugins.sbt...
318Checking patch project/build.properties...
319Checking patch build.sbt...
320Applied patch project/plugins.sbt cleanly.
321Applied patch project/build.properties cleanly.
322Applied patch build.sbt cleanly.