Build Logs

permutive-engineering/prometheus4cats • 3.8.0-RC2:2025-11-28

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-RC2
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-RC2
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-RC2
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-RC2
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-RC2"
60"++3.8.0-RC2 -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-RC2 """{"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.937s.
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-RC2
79OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC2 in documentation/crossScalaVersions
80OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC2 in website/crossScalaVersions
81OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC2 in prometheus4cats-testing/crossScalaVersions
82OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC2 in prometheus4cats-testkit/crossScalaVersions
83OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC2 in prometheus4cats/crossScalaVersions
84OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC2 in repo/crossScalaVersions
85OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC2 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-RC2 on 7 projects.
88[info] Switching Scala version on:
89[info] website (2.13.16, 3.8.0-RC2)
90[info] documentation (2.13.16, 3.8.0-RC2)
91[info] prometheus4cats-testkit (2.13.16, 3.8.0-RC2)
92[info] prometheus4cats (2.13.16, 3.8.0-RC2)
93[info] * repo (2.13.16, 3.8.0-RC2)
94[info] prometheus4cats-testing (2.13.16, 3.8.0-RC2)
95[info] prometheus4cats-java (2.13.16, 3.8.0-RC2)
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 Nov 28, 2025, 12:11:22 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-RC2/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-RC2/classes ...
131[info] done compiling
132[info] compiling 14 Scala sources to /build/repo/modules/prometheus4cats/target/scala-3.8.0-RC2/test-classes ...
133[info] done compiling
134prometheus4cats.HistogramNameSuite:
135 + names must not be empty 0.093s
136 + names must start with an alpha char 0.163s
137 + names must not contain special chars 0.038s
138prometheus4cats.CounterNameSuite:
139 + names must not be empty 0.094s
140 + names must start with an alpha char 0.163s
141 + names must not contain special chars 0.044s
142 + names must be appended with _total 0.015s
143prometheus4cats.MetricPrefixSuite:
144 + names must not be empty 0.006s
145 + names must start with an alpha char 0.026s
146 + names must not contain special chars 0.013s
147prometheus4cats.GaugeNameSuite:
148 + names must not be empty 0.006s
149 + names must start with an alpha char 0.021s
150 + names must not contain special chars 0.009s
151prometheus4cats.CommonLabelsSuite:
152 + labels can be empty 0.1s
153 + parses successfully label count is no more than 10 0.218s
154 + fails to parse when label count is more than 10 0.19s
155 + fails to parse when label names are invalid 0.068s
156prometheus4cats.LabelNameSuite:
157 + names must not be empty 0.001s
158 + names must start with an alpha char 0.008s
159 + names must not contain special chars 0.003s
160prometheus4cats.CurrentTimeRecorderSuite:
161 + sets to current time in seconds 0.273s
162 + sets to current time in millis 0.059s
163 + sets to current time in seconds with labels 0.1s
164 + sets to current time in millis with labels 0.075s
165prometheus4cats.TimerSuite:
166 + observeDuration records times in seconds 0.639s
167 + observeDuration records times in seconds with labels 0.092s
168 + timing an operation delegates to observeDuration 0.388s
169 + timing an operation with labels delegates to observeDuration 0.257s
170 + attempting a successful operation delegates to observeDuration 0.217s
171 + attempting a failed operation delegates to observeDuration 0.421s
172prometheus4cats.OutcomeRecorderSuite:
173 + op counter should record success 0.205s
174 + op gauge should record success 0.175s
175 + op counter should record cancelation 0.319s
176 + op gauge should record cancelation 0.243s
177 + op counter should record failure 0.094s
178 + op gauge should record failure 0.067s
179 + op counter should record success with labels 0.073s
180 + op gauge should record success with labels 0.047s
181 + op counter should record cancelation with labels 0.138s
182 + op gauge should record cancelation with labels 0.213s
183 + op counter should record failure with labels 0.051s
184 + op gauge should record failure with labels 0.044s
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-RC2/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-RC2/classes ...
188[info] done compiling
189[info] compiling 4 Scala sources to /build/repo/modules/prometheus4cats-testkit/target/scala-3.8.0-RC2/classes ...
190[info] done compiling
191[info] compiling 1 Scala source to /build/repo/modules/prometheus4cats-java/target/scala-3.8.0-RC2/test-classes ...
192[info] done compiling
193prometheus4cats.javasimpleclient.JavaMetricRegistrySuite:
194 + create, increment and de-register a counter 1.251s
195 + create, increment and de-register an exemplar counter 0.327s
196 + create, increment and de-register a labelled counter 0.25s
197 + create, increment and de-register a labelled exemplar counter 0.288s
198 + create, update and de-register a gauge 0.447s
199 + create, update and de-register a labelled gauge 0.458s
200 + create, increment and de-register a histogram 0.145s
201 + create, increment and de-register an exemplar histogram 0.144s
202 + create, increment and de-register a labelled histogram 0.154s
203 + create, increment and de-register a labelled exemplar histogram 0.139s
204 + create, increment and de-register a summary 0.326s
205 + create, increment and de-register a labelled summary 0.329s
206 + create, set and de-register info 0.121s
207 + nested counter resource usage 0.124s
208 + nested gauge resource usage 0.129s
209 + nested histogram resource usage 0.164s
210 + nested summary resource usage 0.238s
211 + nested info resource usage 0.096s
212 + concurrent counter resource usage 0.113s
213 + concurrent gauge resource usage 0.113s
214 + concurrent histogram resource usage 0.102s
215 + concurrent summary resource usage 0.197s
216 + concurrent info resource usage 0.089s
217 + register, set and de-register a counter 0.186s
218 + register, set and de-register a labelled counter 0.106s
219 + register, set and de-register a gauge 0.11s
220 + register, set and de-register a labelled gauge 0.111s
221 + register, set and de-register a histogram 0.105s
222 + register, set and de-register a labelled histogram 0.102s
223 + register, set and de-register a summary 0.251s
224 + register, set and de-register a labelled summary 0.275s
225 + register and de-register metric collection 0.22s
226 + register and de-register metric collection with the same name and different labels 0.158s
227 + allows building a callback when a callback of the same name exists 0.054s
228 + allows building a callback with multiple label values 0.103s
229 + allows building a callback with different label values when a callback of the same name exists 0.111s
230 + allows building a callback with different labels names but the same name 0.114s
231 + allows building a callback with different number labels but the same name 0.111s
232 + returns an existing metric when labels and name are the same 0.054s
233 + fails to build a metric when a callback of the same name exists 0.128s
234 + fails to build a callback when a metric of the same name exists 0.085s
235 + fails when a metric with the same name and different labels 0.068s
236 + fails when a metric with the same name and different type 0.048s
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-RC2/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-RC2/classes ...
240[info] done compiling
241[info] compiling 1 Scala source to /build/repo/modules/prometheus4cats-testing/target/scala-3.8.0-RC2/test-classes ...
242[info] done compiling
243prometheus4cats.testing.TestingMetricRegistrySuite:
244 + Counter - history 0.12s
245 + Counter - prefixed history 0.01s
246 + Counter - concurrent resource lifecycle 0.008s
247 + Counter - nested resource lifecycle 0.005s
248 + Counter - labelled history 0.005s
249 + Gauge - history 0.009s
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.006s
255 + Histogram - prefixed history 0.002s
256 + Histogram - concurrent resource lifecycle 0.002s
257 + Histogram - nested resource lifecycle 0.001s
258 + Histogram - labelled history 0.003s
259 + Summary - history 0.01s
260 + Summary - prefixed history 0.002s
261 + Summary - concurrent resource lifecycle 0.003s
262 + Summary - nested resource lifecycle 0.002s
263 + Summary - labelled history 0.002s
264 + Info - value 0.005s
265 + Info - prefixed value 0.003s
266 + Info - concurrent resource lifecycle 0.004s
267 + Info - nested resource lifecycle 0.0s
268 + Error if registering same name and labels but different type 0.178s
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-RC2/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": 20476, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
277 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
278 "test-compile": {"status": "ok", "tookMs": 6264, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
279 "test": {"status": "ok", "tookMs": 2627, "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": 4882, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
287 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
288 "test-compile": {"status": "ok", "tookMs": 6283, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
289 "test": {"status": "ok", "tookMs": 8842, "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": 1886, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
297 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
298 "test-compile": {"status": "ok", "tookMs": 1873, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
299 "test": {"status": "ok", "tookMs": 887, "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": 111, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
307 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
308 "test-compile": {"status": "ok", "tookMs": 164, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
309 "test": {"status": "ok", "tookMs": 146, "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: 79 s (0:01:19.0), completed Nov 28, 2025, 12:12: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.