Build Logs

permutive-engineering/prometheus4cats • 3.8.0-RC3:2025-12-04

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-RC3
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-RC3
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-RC3
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-RC3
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-RC3"
60"++3.8.0-RC3 -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-RC3 """{"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.34s.
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-RC3
79OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC3 in documentation/crossScalaVersions
80OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC3 in website/crossScalaVersions
81OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC3 in prometheus4cats-testing/crossScalaVersions
82OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC3 in prometheus4cats-testkit/crossScalaVersions
83OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC3 in repo/crossScalaVersions
84OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC3 in prometheus4cats/crossScalaVersions
85OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC3 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-RC3 on 7 projects.
88[info] Switching Scala version on:
89[info] website (2.13.16, 3.8.0-RC3)
90[info] documentation (2.13.16, 3.8.0-RC3)
91[info] prometheus4cats-testkit (2.13.16, 3.8.0-RC3)
92[info] prometheus4cats (2.13.16, 3.8.0-RC3)
93[info] * repo (2.13.16, 3.8.0-RC3)
94[info] prometheus4cats-testing (2.13.16, 3.8.0-RC3)
95[info] prometheus4cats-java (2.13.16, 3.8.0-RC3)
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 4, 2025, 3:53:14 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-RC3/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-RC3/classes ...
131[info] done compiling
132[info] compiling 14 Scala sources to /build/repo/modules/prometheus4cats/target/scala-3.8.0-RC3/test-classes ...
133[info] done compiling
134prometheus4cats.GaugeNameSuite:
135 + names must not be empty 0.171s
136 + names must start with an alpha char 0.116s
137 + names must not contain special chars 0.038s
138prometheus4cats.HistogramNameSuite:
139 + names must not be empty 0.001s
140 + names must start with an alpha char 0.026s
141 + names must not contain special chars 0.021s
142prometheus4cats.LabelNameSuite:
143 + names must not be empty 0.001s
144 + names must start with an alpha char 0.015s
145 + names must not contain special chars 0.004s
146prometheus4cats.CounterNameSuite:
147 + names must not be empty 0.002s
148 + names must start with an alpha char 0.013s
149 + names must not contain special chars 0.01s
150 + names must be appended with _total 0.009s
151prometheus4cats.CommonLabelsSuite:
152 + labels can be empty 0.175s
153 + parses successfully label count is no more than 10 0.158s
154 + fails to parse when label count is more than 10 0.134s
155 + fails to parse when label names are invalid 0.059s
156prometheus4cats.MetricPrefixSuite:
157 + names must not be empty 0.001s
158 + names must start with an alpha char 0.012s
159 + names must not contain special chars 0.007s
160prometheus4cats.CurrentTimeRecorderSuite:
161 + sets to current time in seconds 0.127s
162 + sets to current time in millis 0.088s
163 + sets to current time in seconds with labels 0.099s
164 + sets to current time in millis with labels 0.078s
165prometheus4cats.OutcomeRecorderSuite:
166 + op counter should record success 0.468s
167 + op gauge should record success 0.197s
168 + op counter should record cancelation 0.34s
169 + op gauge should record cancelation 0.192s
170 + op counter should record failure 0.074s
171 + op gauge should record failure 0.094s
172 + op counter should record success with labels 0.038s
173 + op gauge should record success with labels 0.056s
174 + op counter should record cancelation with labels 0.127s
175 + op gauge should record cancelation with labels 0.166s
176 + op counter should record failure with labels 0.028s
177 + op gauge should record failure with labels 0.043s
178prometheus4cats.TimerSuite:
179 + observeDuration records times in seconds 0.587s
180 + observeDuration records times in seconds with labels 0.108s
181 + timing an operation delegates to observeDuration 0.458s
182 + timing an operation with labels delegates to observeDuration 0.262s
183 + attempting a successful operation delegates to observeDuration 0.171s
184 + attempting a failed operation delegates to observeDuration 0.398s
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-RC3/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-RC3/classes ...
188[info] done compiling
189[info] compiling 4 Scala sources to /build/repo/modules/prometheus4cats-testkit/target/scala-3.8.0-RC3/classes ...
190[info] done compiling
191[info] compiling 1 Scala source to /build/repo/modules/prometheus4cats-java/target/scala-3.8.0-RC3/test-classes ...
192[info] done compiling
193prometheus4cats.javasimpleclient.JavaMetricRegistrySuite:
194 + create, increment and de-register a counter 1.05s
195 + create, increment and de-register an exemplar counter 0.3s
196 + create, increment and de-register a labelled counter 0.287s
197 + create, increment and de-register a labelled exemplar counter 0.203s
198 + create, update and de-register a gauge 0.405s
199 + create, update and de-register a labelled gauge 0.389s
200 + create, increment and de-register a histogram 0.263s
201 + create, increment and de-register an exemplar histogram 0.208s
202 + create, increment and de-register a labelled histogram 0.148s
203 + create, increment and de-register a labelled exemplar histogram 0.115s
204 + create, increment and de-register a summary 0.414s
205 + create, increment and de-register a labelled summary 0.222s
206 + create, set and de-register info 0.113s
207 + nested counter resource usage 0.118s
208 + nested gauge resource usage 0.107s
209 + nested histogram resource usage 0.104s
210 + nested summary resource usage 0.251s
211 + nested info resource usage 0.139s
212 + concurrent counter resource usage 0.121s
213 + concurrent gauge resource usage 0.099s
214 + concurrent histogram resource usage 0.101s
215 + concurrent summary resource usage 0.196s
216 + concurrent info resource usage 0.1s
217 + register, set and de-register a counter 0.248s
218 + register, set and de-register a labelled counter 0.105s
219 + register, set and de-register a gauge 0.203s
220 + register, set and de-register a labelled gauge 0.158s
221 + register, set and de-register a histogram 0.091s
222 + register, set and de-register a labelled histogram 0.098s
223 + register, set and de-register a summary 0.237s
224 + register, set and de-register a labelled summary 0.252s
225 + register and de-register metric collection 0.185s
226 + register and de-register metric collection with the same name and different labels 0.145s
227 + allows building a callback when a callback of the same name exists 0.053s
228 + allows building a callback with multiple label values 0.157s
229 + allows building a callback with different label values when a callback of the same name exists 0.121s
230 + allows building a callback with different labels names but the same name 0.104s
231 + allows building a callback with different number labels but the same name 0.114s
232 + returns an existing metric when labels and name are the same 0.083s
233 + fails to build a metric when a callback of the same name exists 0.063s
234 + fails to build a callback when a metric of the same name exists 0.059s
235 + fails when a metric with the same name and different labels 0.061s
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-RC3/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-RC3/classes ...
240[info] done compiling
241[info] compiling 1 Scala source to /build/repo/modules/prometheus4cats-testing/target/scala-3.8.0-RC3/test-classes ...
242[info] done compiling
243prometheus4cats.testing.TestingMetricRegistrySuite:
244 + Counter - history 0.106s
245 + Counter - prefixed history 0.009s
246 + Counter - concurrent resource lifecycle 0.007s
247 + Counter - nested resource lifecycle 0.003s
248 + Counter - labelled history 0.004s
249 + Gauge - history 0.006s
250 + Gauge - prefixed history 0.002s
251 + Gauge - concurrent resource lifecycle 0.002s
252 + Gauge - nested resource lifecycle 0.001s
253 + Gauge - labelled history 0.004s
254 + Histogram - history 0.006s
255 + Histogram - prefixed history 0.002s
256 + Histogram - concurrent resource lifecycle 0.001s
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.001s
263 + Summary - labelled history 0.002s
264 + Info - value 0.003s
265 + Info - prefixed value 0.003s
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.161s
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-RC3/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": 19133, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
277 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
278 "test-compile": {"status": "ok", "tookMs": 6042, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
279 "test": {"status": "ok", "tookMs": 2577, "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": 4398, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
287 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
288 "test-compile": {"status": "ok", "tookMs": 6807, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
289 "test": {"status": "ok", "tookMs": 8594, "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": 1181, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
297 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
298 "test-compile": {"status": "ok", "tookMs": 1866, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
299 "test": {"status": "ok", "tookMs": 788, "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": 105, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
307 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
308 "test-compile": {"status": "ok", "tookMs": 146, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
309 "test": {"status": "ok", "tookMs": 118, "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: 70 s (0:01:10.0), completed Dec 4, 2025, 3:54:24 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.