Build Logs

permutive-engineering/prometheus4cats • 3.8.0-RC5:2025-12-31

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-RC5
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-RC5
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-RC5
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-RC5
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-RC5"
60"++3.8.0-RC5 -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-RC5 """{"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.836s.
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-RC5
79OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC5 in documentation/crossScalaVersions
80OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC5 in website/crossScalaVersions
81OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC5 in prometheus4cats-testing/crossScalaVersions
82OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC5 in prometheus4cats-testkit/crossScalaVersions
83OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC5 in repo/crossScalaVersions
84OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC5 in prometheus4cats-java/crossScalaVersions
85OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC5 in prometheus4cats/crossScalaVersions
86[info] set current project to repo (in build file:/build/repo/)
87[info] Setting Scala version to 3.8.0-RC5 on 7 projects.
88[info] Switching Scala version on:
89[info] website (2.13.16, 3.8.0-RC5)
90[info] documentation (2.13.16, 3.8.0-RC5)
91[info] prometheus4cats-testkit (2.13.16, 3.8.0-RC5)
92[info] prometheus4cats (2.13.16, 3.8.0-RC5)
93[info] * repo (2.13.16, 3.8.0-RC5)
94[info] prometheus4cats-testing (2.13.16, 3.8.0-RC5)
95[info] prometheus4cats-java (2.13.16, 3.8.0-RC5)
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 31, 2025, 9:33:00 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-RC5/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-RC5/classes ...
131[info] done compiling
132[info] compiling 14 Scala sources to /build/repo/modules/prometheus4cats/target/scala-3.8.0-RC5/test-classes ...
133[info] done compiling
134prometheus4cats.HistogramNameSuite:
135 + names must not be empty 0.189s
136 + names must start with an alpha char 0.171s
137 + names must not contain special chars 0.036s
138prometheus4cats.MetricPrefixSuite:
139 + names must not be empty 0.182s
140 + names must start with an alpha char 0.172s
141 + names must not contain special chars 0.047s
142prometheus4cats.CounterNameSuite:
143 + names must not be empty 0.19s
144 + names must start with an alpha char 0.171s
145 + names must not contain special chars 0.046s
146 + names must be appended with _total 0.019s
147prometheus4cats.GaugeNameSuite:
148 + names must not be empty 0.002s
149 + names must start with an alpha char 0.025s
150 + names must not contain special chars 0.006s
151prometheus4cats.LabelNameSuite:
152 + names must not be empty 0.006s
153 + names must start with an alpha char 0.022s
154 + names must not contain special chars 0.006s
155prometheus4cats.CommonLabelsSuite:
156 + labels can be empty 0.016s
157 + parses successfully label count is no more than 10 0.092s
158 + fails to parse when label count is more than 10 0.204s
159 + fails to parse when label names are invalid 0.051s
160prometheus4cats.CurrentTimeRecorderSuite:
161 + sets to current time in seconds 0.174s
162 + sets to current time in millis 0.066s
163 + sets to current time in seconds with labels 0.096s
164 + sets to current time in millis with labels 0.067s
165prometheus4cats.OutcomeRecorderSuite:
166 + op counter should record success 0.502s
167 + op gauge should record success 0.251s
168 + op counter should record cancelation 0.388s
169 + op gauge should record cancelation 0.233s
170 + op counter should record failure 0.077s
171 + op gauge should record failure 0.054s
172 + op counter should record success with labels 0.034s
173 + op gauge should record success with labels 0.039s
174 + op counter should record cancelation with labels 0.114s
175 + op gauge should record cancelation with labels 0.11s
176 + op counter should record failure with labels 0.05s
177 + op gauge should record failure with labels 0.057s
178prometheus4cats.TimerSuite:
179 + observeDuration records times in seconds 0.36s
180 + observeDuration records times in seconds with labels 0.126s
181 + timing an operation delegates to observeDuration 0.564s
182 + timing an operation with labels delegates to observeDuration 0.168s
183 + attempting a successful operation delegates to observeDuration 0.136s
184 + attempting a failed operation delegates to observeDuration 0.381s
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-RC5/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-RC5/classes ...
188[info] done compiling
189[info] compiling 4 Scala sources to /build/repo/modules/prometheus4cats-testkit/target/scala-3.8.0-RC5/classes ...
190[info] done compiling
191[info] compiling 1 Scala source to /build/repo/modules/prometheus4cats-java/target/scala-3.8.0-RC5/test-classes ...
192[info] done compiling
193prometheus4cats.javasimpleclient.JavaMetricRegistrySuite:
194 + create, increment and de-register a counter 1.179s
195 + create, increment and de-register an exemplar counter 0.32s
196 + create, increment and de-register a labelled counter 0.254s
197 + create, increment and de-register a labelled exemplar counter 0.246s
198 + create, update and de-register a gauge 0.468s
199 + create, update and de-register a labelled gauge 0.484s
200 + create, increment and de-register a histogram 0.168s
201 + create, increment and de-register an exemplar histogram 0.133s
202 + create, increment and de-register a labelled histogram 0.145s
203 + create, increment and de-register a labelled exemplar histogram 0.112s
204 + create, increment and de-register a summary 0.321s
205 + create, increment and de-register a labelled summary 0.264s
206 + create, set and de-register info 0.107s
207 + nested counter resource usage 0.136s
208 + nested gauge resource usage 0.105s
209 + nested histogram resource usage 0.099s
210 + nested summary resource usage 0.234s
211 + nested info resource usage 0.117s
212 + concurrent counter resource usage 0.142s
213 + concurrent gauge resource usage 0.092s
214 + concurrent histogram resource usage 0.125s
215 + concurrent summary resource usage 0.209s
216 + concurrent info resource usage 0.108s
217 + register, set and de-register a counter 0.225s
218 + register, set and de-register a labelled counter 0.116s
219 + register, set and de-register a gauge 0.114s
220 + register, set and de-register a labelled gauge 0.122s
221 + register, set and de-register a histogram 0.121s
222 + register, set and de-register a labelled histogram 0.098s
223 + register, set and de-register a summary 0.26s
224 + register, set and de-register a labelled summary 0.254s
225 + register and de-register metric collection 0.196s
226 + register and de-register metric collection with the same name and different labels 0.195s
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.106s
229 + allows building a callback with different label values when a callback of the same name exists 0.118s
230 + allows building a callback with different labels names but the same name 0.116s
231 + allows building a callback with different number labels but the same name 0.112s
232 + returns an existing metric when labels and name are the same 0.055s
233 + fails to build a metric when a callback of the same name exists 0.127s
234 + fails to build a callback when a metric of the same name exists 0.079s
235 + fails when a metric with the same name and different labels 0.063s
236 + fails when a metric with the same name and different type 0.046s
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-RC5/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-RC5/classes ...
240[info] done compiling
241[info] compiling 1 Scala source to /build/repo/modules/prometheus4cats-testing/target/scala-3.8.0-RC5/test-classes ...
242[info] done compiling
243prometheus4cats.testing.TestingMetricRegistrySuite:
244 + Counter - history 0.128s
245 + Counter - prefixed history 0.008s
246 + Counter - concurrent resource lifecycle 0.008s
247 + Counter - nested resource lifecycle 0.004s
248 + Counter - labelled history 0.005s
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.003s
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.004s
259 + Summary - history 0.01s
260 + Summary - prefixed history 0.001s
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.208s
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-RC5/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": 17249, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
277 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
278 "test-compile": {"status": "ok", "tookMs": 6273, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
279 "test": {"status": "ok", "tookMs": 2664, "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": 4454, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
287 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
288 "test-compile": {"status": "ok", "tookMs": 6130, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
289 "test": {"status": "ok", "tookMs": 8623, "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": 1552, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
297 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
298 "test-compile": {"status": "ok", "tookMs": 1407, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
299 "test": {"status": "ok", "tookMs": 978, "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": 121, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
307 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
308 "test-compile": {"status": "ok", "tookMs": 149, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
309 "test": {"status": "ok", "tookMs": 137, "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: 54 s, completed Dec 31, 2025, 9:33:54 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.