Build Logs

scodec/scodec-bits • 3.8.0-RC3:2025-12-04

Errors

0

Warnings

38

Total Lines

407

1##################################
2Clonning https://github.com/scodec/scodec-bits.git into /build/repo using revision v1.2.4
3##################################
4Note: switching to 'c480f3fd928704e045b1f8914049ddccd510c140'.
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.3 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 scodec/scodec-bits
37##################################
38Scala version: 3.8.0-RC3
39Targets: org.scodec%scodec-bits
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":[]}""" org.scodec%scodec-bits"
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 2 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 9.228s.
75[info] done compiling
76[info] loading settings for project root from build.sbt...
77[info] set current project to root (in build file:/build/repo/)
78Execute setCrossScalaVersions: 3.8.0-RC3
79OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC3 in benchmark/crossScalaVersions
80OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC3 in root/crossScalaVersions
81OpenCB::Limitting incorrect crossVersions List() -> List(3.8.0-RC3) in root/crossScalaVersions
82OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC3 in coreJVM/crossScalaVersions
83OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC3 in rootNative/crossScalaVersions
84OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC3 in coreJS/crossScalaVersions
85OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC3 in rootJS/crossScalaVersions
86OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC3 in rootJVM/crossScalaVersions
87OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC3 in coreNative/crossScalaVersions
88[info] set current project to root (in build file:/build/repo/)
89[info] Setting Scala version to 3.8.0-RC3 on 8 projects.
90[info] Switching Scala version on:
91[info] * root (3.8.0-RC3)
92[info] rootJS (2.12.20, 2.13.16, 3.8.0-RC3)
93[info] coreNative (2.12.20, 2.13.16, 3.8.0-RC3)
94[info] coreJS (2.12.20, 2.13.16, 3.8.0-RC3)
95[info] coreJVM (2.12.20, 2.13.16, 3.8.0-RC3)
96[info] rootJVM (2.12.20, 2.13.16, 3.8.0-RC3)
97[info] rootNative (2.12.20, 2.13.16, 3.8.0-RC3)
98[info] benchmark (2.12.20, 2.13.16, 3.8.0-RC3)
99[info] Excluding projects:
100[info] Reapplying settings...
101[info] set current project to root (in build file:/build/repo/)
102Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
103[info] Reapplying settings...
104[info] set current project to root (in build file:/build/repo/)
105[info] Defining Global / credentials, benchmark / credentials and 6 others.
106[info] The new values will be used by Compile / scalafmtOnly, IntegrationTest / scalafmtOnly and 69 others.
107[info] Run `last` for details.
108[info] Reapplying settings...
109[info] set current project to root (in build file:/build/repo/)
110Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
111[info] Reapplying settings...
112OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
113
114 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
115 Did you mean allExcludeDependencies ?
116 , retry without global scopes
117[info] Reapplying settings...
118[info] set current project to root (in build file:/build/repo/)
119Execute removeScalacOptionsStartingWith: -P:wartremover
120[info] Reapplying settings...
121[info] set current project to root (in build file:/build/repo/)
122[success] Total time: 0 s, completed Dec 4, 2025, 4:03:16 PM
123Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
124Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
125Starting build...
126Projects: Set(coreJVM)
127Starting build for ProjectRef(file:/build/repo/,coreJVM) (scodec-bits)... [0/1]
128OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
129OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
130OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
131Compile scalacOptions: -encoding, UTF-8, -unchecked, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -Wvalue-discard, -language:implicitConversions, -Xkind-projector, --java-output-version:17, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
132[info] compiling 14 Scala sources to /build/repo/core/jvm/target/scala-3.8.0-RC3/classes ...
133[warn] -- [E175] Potential Issue Warning: /build/repo/core/shared/src/main/scala/scodec/bits/ByteVector.scala:1027:17
134[warn] 1025 | bldr
135[warn] 1026 | .append(alphabet.pad)
136[warn] 1027 | .append(alphabet.pad)
137[warn] | ^
138[warn] |discarded non-Unit value of type java.nio.CharBuffer. Add `: Unit` to discard silently.
139[warn] -- [E175] Potential Issue Warning: /build/repo/core/shared/src/main/scala/scodec/bits/ByteVector.scala:1041:47
140[warn] 1041 | if (alphabet.pad != 0.toChar) bldr.append(alphabet.pad)
141[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^
142[warn] |discarded non-Unit value of type java.nio.CharBuffer. Add `: Unit` to discard silently.
143[warn] -- [E175] Potential Issue Warning: /build/repo/core/shared/src/main/scala/scodec/bits/ByteVector.scala:2078:13
144[warn] 2078 | acc.put(buffer.toByte)
145[warn] | ^^^^^^^^^^^^^^^^^^^^^^
146[warn] |discarded non-Unit value of type java.nio.ByteBuffer. Add `: Unit` to discard silently.
147[warn] there were 5 deprecation warnings; re-run with -deprecation for details
148[warn] four warnings found
149[info] done compiling
150[info] compiling 9 Scala sources to /build/repo/core/jvm/target/scala-3.8.0-RC3/test-classes ...
151[warn] -- [E198] Unused Symbol Warning: /build/repo/core/jvm/src/test/scala/scodec/bits/CrcJvmTest.scala:64:8
152[warn] 64 | var result: A = f
153[warn] | ^^^^^^
154[warn] | local variable was mutated but not read
155[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/scodec/bits/BitVectorTest.scala:823:37
156[warn] 823 | forAll { (b: BitVector, n0: Int, step0: Int) =>
157[warn] | ^^^^^
158[warn] | unused explicit parameter
159[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/scodec/bits/ByteVectorTest.scala:996:38
160[warn] 996 | forAll { (b: ByteVector, n0: Int, step0: Int) =>
161[warn] | ^^^^^
162[warn] | unused explicit parameter
163[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/core/shared/src/test/scala/scodec/bits/ByteVectorTest.scala:816:4
164[warn] 816 | hex"000102" match {
165[warn] | ^^^^^^^^^^^
166[warn] | match may not be exhaustive.
167[warn] |
168[warn] | It would fail on pattern case: scodec.bits.ByteVector(_*)
169[warn] |
170[warn] | longer explanation available when compiling with `-explain`
171[warn] there were 7 deprecation warnings; re-run with -deprecation for details
172[warn] 5 warnings found
173[info] done compiling
174scodec.bits.ByteVectorJvmTest:
175 + buffer concurrency 0.445s
176 + digest 0.039s
177 + gzip (1) 0.057s
178 + gzip (2) 0.06s
179 + serialization 0.072s
180scodec.bits.BitVectorJvmTest:
181 + sizeGreater/LessThan concurrent 0.722s
182 + digest 0.48s
183 + serialization 0.258s
184java.util.zip.CRC32 is 28.06 times faster than scodec.bits.crc.crc32
185scodec.bits.CrcJvmTest:
186 + crc32 is consistent with java.util.zip.CRC32 0.308s
187 + performance of crc32 should be comparable with java.util.zip.CRC32 2.477s
188scodec.bits.ByteVectorTest:
189 + hashCode/equals 0.061s
190 + issue #90 0.001s
191 + === consistent with == 0.128s
192 + equalsConstantTime 0.074s
193 + compact is a no-op for already compact byte vectors 0.001s
194 + reverse.reverse == id 0.038s
195 + foldLeft 0.025s
196 + foldRight 0.13s
197 + insert (1) 0.001s
198 + insert (2) 0.034s
199 + zipWith (1) 0.001s
200 + zipWith (2) 0.038s
201 + zipWith2 (1) 0.006s
202 + zipWith2 (2) 0.029s
203 + zipWith3 (1) 0.001s
204 + zipWith3 (2) 0.032s
205 + consistent with Array[Byte] implementations (1) 0.035s
206 + consistent with Array[Byte] implementations (2) 0.019s
207 + toHex 0.001s
208 + fromHexDescriptive 0.007s
209 + fromHexDescriptive with comments 0.004s
210 + hex with comments example 0.013s
211 + toHex fromHex roundtrip 0.027s
212 + toBin 0.002s
213 + fromBinDescriptive 0.014s
214 + fromBinDescriptive with comments 0.001s
215 + fromValidBin 0.007s
216 + toBase32 0.024s
217 + fromValidBase32 0.01s
218 + fail due to illegal character fromBase32 0.01s
219 + toBase32(Crockford) 0.022s
220 + fromValidBase32(Crockford) 0.009s
221 + toBase58 0.02s
222 + fromValidBase58 0.026s
223 + fail due to illegal character fromBase58 0.006s
224 + base64 roundtrip 0.041s
225 + base64 issue #45 0.002s
226 + buffer :+ 0.246s
227 + buffer ++/take/drop 0.332s
228 + buffer rebuffering 0.051s
229 + << 0.001s
230 + >> 0.001s
231 + >>> 0.005s
232 + rotations 0.047s
233 + hex string interpolator 0.015s
234 + toIterable roundtrip 0.04s
235 + toArray roundtrip 0.023s
236 + toArrayUnsafe 0.004s
237 + copyToStream roundtrip 0.013s
238 + toByteBuffer roundtrip 0.014s
239 + toByteBuffer is read-only when appropriate 0.002s
240 + toByteBufferUnsafe 0.004s
241 + toByteBufferUnsafe has independent position+limit 0.0s
242 + dropping from a view is consistent with dropping from a strict vector 0.019s
243 + grouped + concatenate 0.044s
244 + indexOfSlice/containsSlice/startsWith 0.063s
245 + endsWith 0.013s
246 + splice 0.043s
247 + patch 0.029s
248 + short conversions 0.044s
249 + int conversions 0.006s
250 + long conversions 0.011s
251 + UUID conversions (1) 0.018s
252 + UUID conversions (2) 0.02s
253 + concat 0.162s
254 + copyToArray with offset/size 0.02s
255 + copyToBuffer 0.036s
256 + viewing ByteBuffer with non-zero position 0.02s
257 + dropWhile 0.02s
258 + takeWhile 0.018s
259 + very large vectors 0.001s
260 + take 0.002s
261 + drop 0.002s
262 + slice 0.002s
263 + slice is consistent with array slice 0.013s
264 + unapply 0.004s
265 + Ordered#compare 0.009s
266 + toInputStream 0.072s
267 + ascii interpolator 0.002s
268 + utf8 interpolator 0.007s
269 + toBase64 0.014s
270 + toBase64NoPad 0.03s
271 + toBase64Url 0.019s
272 + toBase64UrlNoPad 0.019s
273 + fromBase64 0.018s
274 + fromBase64 - digit count non-divisble by 4 0.002s
275 + fromBase64 - padding 0.01s
276 + fromBase64 - empty input string 0.0s
277 + sliding 0.125s
278 + sliding with step 0.034s
279scodec.bits.CrcTest:
280 + table based implementation should have the same result as bitwise implementation 4.135s
281 + streaming result should be same as all-at-once result 0.777s
282 + CRC-3/ROHC 0.013s
283 + CRC-4/ITU 0.007s
284 + CRC-5/EPC 0.009s
285 + CRC-5/USB 0.007s
286 + CRC-5/ITU 0.006s
287 + CRC-7 0.006s
288 + CCITT-16 0.008s
289 + CRC-32 0.0s
290 + CRC-32 - #557 0.001s
291 + CRC-32c 0.001s
292 + CRC-40/GSM 0.006s
293 + CRC-82/DARC 0.01s
294scodec.bits.BitVectorTest:
295 + hashCode/equals 0.624s
296 + === consistent with == 0.437s
297 + compact is a no-op for already compact bit vectors 0.002s
298 + equals/take/drop stack safety 1.362s
299 + hashCode/take/drop stack safety 9.281s
300 + size stack safety 0.244s
301 + acquire stack safety for lazy BitVector 0.001s
302 + acquire/take consistency 0.086s
303 + 1-bit vectors 0.002s
304 + construction via high 0.003s
305 + empty toByteVector 0.0s
306 + apply 0.005s
307 + getByte 0.173s
308 + updated 0.003s
309 + drop (1) 0.003s
310 + drop (2) 0.144s
311 + take/drop (1) 0.003s
312 + take/drop (2) 0.307s
313 + dropRight (1) 0.001s
314 + dropRight (1)-1 0.031s
315 + takeRight (1) 0.001s
316 + takeRight (2) 0.087s
317 + compact 0.04s
318 + depth 0.188s
319 + ++ (1) 0.002s
320 + ++ (2) 0.128s
321 + b.take(n).drop(n) == b (1) 0.005s
322 + b.take(n).drop(n) == b (2) 0.041s
323 + << 0.002s
324 + >> 0.0s
325 + >>> 0.001s
326 + rotations (1) 0.0s
327 + rotations (1)-1 0.038s
328 + padTo 0.001s
329 + ~ 0.001s
330 + & 0.001s
331 + | 0.002s
332 + ^ 0.002s
333 + toIndexedSeq 0.001s
334 + reverse (1) 0.001s
335 + reverse (2) 0.075s
336 + reverseByteOrder (1) 0.001s
337 + reverseByteOrder (2) 0.004s
338 + reverseByteOrder (3) 0.033s
339 + toHex (1) 0.001s
340 + toHex (2) 0.045s
341 + fromHexDescriptive (1) 0.001s
342 + fromHexDescriptive (2) 0.055s
343 + fromValidHex 0.001s
344 + toBin (1) 0.001s
345 + toBin (2) 0.037s
346 + fromBinDescriptive (1) 0.059s
347 + fromBinDescriptive (2) 0.001s
348 + fromValidBin (1) 0.037s
349 + fromValidBin (2) 0.001s
350 + fromValidBin (3) 0.0s
351 + bin string interpolator 0.002s
352 + grouped + concatenate 0.056s
353 + population count 0.107s
354 + indexOfSlice/containsSlice/startsWith 5.206s
355 + endsWith 0.036s
356 + splice 0.073s
357 + patch 0.083s
358 + sizeLessThan 0.022s
359 + sizeGreaterThan 0.04s
360 + byte conversions (1) 0.003s
361 + byte conversions (2) 0.001s
362 + short conversions (1) 0.007s
363 + short conversions (2) 0.001s
364 + int conversions 0.008s
365 + long conversions (1) 0.008s
366 + long conversions (2) 0.003s
367 + BigInt conversions (1) - consistent with toLong without options 0.006s
368 + BigInt conversions (2) - consistent with toInt without options 0.003s
369 + BigInt conversions (3) - consistent with toLong 0.005s
370 + BigInt conversions (4) - verify sign handling 0.003s
371 + BigInt conversions (5) - bigger than Long 0.0s
372 + BigInt conversions (6) - roundtrip 0.011s
373 + BigInt conversions (7) - roundtrip arbitrary size 0.004s
374 + UUID conversions (1) 0.004s
375 + UUID conversions (2) 0.053s
376 + buffering 9.985s
377 + concat 0.606s
378 + slice 0.001s
379 + sliceToByte 0.025s
380 + highByte 0.0s
381 + Ordered#compare 0.003s
382 + reverseBitOrder 0.036s
383 + reverseBitOrder - #557 0.0s
384 + sliding 5.108s
385 + sliding with step 0.09s
386
387************************
388Build summary:
389[{
390 "module": "scodec-bits",
391 "compile": {"status": "ok", "tookMs": 14726, "warnings": 3, "errors": 0, "sourceVersion": "3.8"},
392 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
393 "test-compile": {"status": "ok", "tookMs": 7641, "warnings": 4, "errors": 0, "sourceVersion": "3.8"},
394 "test": {"status": "ok", "tookMs": 37270, "passed": 205, "failed": 0, "ignored": 0, "skipped": 0, "total": 205, "byFramework": [{"framework": "munit", "stats": {"passed": 205, "failed": 0, "ignored": 0, "skipped": 0, "total": 205}}]},
395 "publish": {"status": "skipped", "tookMs": 0},
396 "metadata": {
397 "crossScalaVersions": ["2.12.20", "2.13.16", "3.3.6"]
398}
399}]
400************************
401[success] Total time: 72 s (0:01:12.0), completed Dec 4, 2025, 4:04:28 PM
402[0JChecking patch project/plugins.sbt...
403Checking patch project/build.properties...
404Checking patch build.sbt...
405Applied patch project/plugins.sbt cleanly.
406Applied patch project/build.properties cleanly.
407Applied patch build.sbt cleanly.