Build Logs
scodec/scodec-bits • 3.8.0-RC6:2026-01-08
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-RC6
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-RC6
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-RC6
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-RC6
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-RC6"
60"++3.8.0-RC6 -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-RC6 """{"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 8.94s.
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-RC6
79OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC6 in benchmark/crossScalaVersions
80OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC6 in coreJVM/crossScalaVersions
81OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC6 in root/crossScalaVersions
82OpenCB::Limitting incorrect crossVersions List() -> List(3.8.0-RC6) in root/crossScalaVersions
83OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC6 in coreJS/crossScalaVersions
84OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC6 in rootJS/crossScalaVersions
85OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC6 in rootNative/crossScalaVersions
86OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC6 in coreNative/crossScalaVersions
87OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC6 in rootJVM/crossScalaVersions
88[info] set current project to root (in build file:/build/repo/)
89[info] Setting Scala version to 3.8.0-RC6 on 8 projects.
90[info] Switching Scala version on:
91[info] * root (3.8.0-RC6)
92[info] rootJS (2.12.20, 2.13.16, 3.8.0-RC6)
93[info] coreNative (2.12.20, 2.13.16, 3.8.0-RC6)
94[info] coreJS (2.12.20, 2.13.16, 3.8.0-RC6)
95[info] coreJVM (2.12.20, 2.13.16, 3.8.0-RC6)
96[info] rootJVM (2.12.20, 2.13.16, 3.8.0-RC6)
97[info] rootNative (2.12.20, 2.13.16, 3.8.0-RC6)
98[info] benchmark (2.12.20, 2.13.16, 3.8.0-RC6)
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 Jan 8, 2026, 2:48:51 AM
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-RC6/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-RC6/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.411s
176 + digest 0.043s
177 + gzip (1) 0.036s
178 + gzip (2) 0.117s
179 + serialization 0.053s
180scodec.bits.BitVectorJvmTest:
181 + sizeGreater/LessThan concurrent 0.681s
182 + digest 0.238s
183 + serialization 0.21s
184java.util.zip.CRC32 is 21.21 times faster than scodec.bits.crc.crc32
185scodec.bits.CrcJvmTest:
186 + crc32 is consistent with java.util.zip.CRC32 0.278s
187 + performance of crc32 should be comparable with java.util.zip.CRC32 2.347s
188scodec.bits.ByteVectorTest:
189 + hashCode/equals 0.031s
190 + issue #90 0.001s
191 + === consistent with == 0.017s
192 + equalsConstantTime 0.036s
193 + compact is a no-op for already compact byte vectors 0.004s
194 + reverse.reverse == id 0.026s
195 + foldLeft 0.045s
196 + foldRight 0.049s
197 + insert (1) 0.001s
198 + insert (2) 0.027s
199 + zipWith (1) 0.001s
200 + zipWith (2) 0.034s
201 + zipWith2 (1) 0.011s
202 + zipWith2 (2) 0.021s
203 + zipWith3 (1) 0.001s
204 + zipWith3 (2) 0.028s
205 + consistent with Array[Byte] implementations (1) 0.033s
206 + consistent with Array[Byte] implementations (2) 0.024s
207 + toHex 0.001s
208 + fromHexDescriptive 0.011s
209 + fromHexDescriptive with comments 0.011s
210 + hex with comments example 0.008s
211 + toHex fromHex roundtrip 0.018s
212 + toBin 0.001s
213 + fromBinDescriptive 0.006s
214 + fromBinDescriptive with comments 0.001s
215 + fromValidBin 0.005s
216 + toBase32 0.034s
217 + fromValidBase32 0.013s
218 + fail due to illegal character fromBase32 0.001s
219 + toBase32(Crockford) 0.008s
220 + fromValidBase32(Crockford) 0.007s
221 + toBase58 0.017s
222 + fromValidBase58 0.018s
223 + fail due to illegal character fromBase58 0.007s
224 + base64 roundtrip 0.033s
225 + base64 issue #45 0.001s
226 + buffer :+ 0.274s
227 + buffer ++/take/drop 0.228s
228 + buffer rebuffering 0.026s
229 + << 0.001s
230 + >> 0.001s
231 + >>> 0.003s
232 + rotations 0.036s
233 + hex string interpolator 0.015s
234 + toIterable roundtrip 0.023s
235 + toArray roundtrip 0.026s
236 + toArrayUnsafe 0.002s
237 + copyToStream roundtrip 0.018s
238 + toByteBuffer roundtrip 0.025s
239 + toByteBuffer is read-only when appropriate 0.001s
240 + toByteBufferUnsafe 0.001s
241 + toByteBufferUnsafe has independent position+limit 0.001s
242 + dropping from a view is consistent with dropping from a strict vector 0.014s
243 + grouped + concatenate 0.04s
244 + indexOfSlice/containsSlice/startsWith 0.06s
245 + endsWith 0.016s
246 + splice 0.022s
247 + patch 0.018s
248 + short conversions 0.03s
249 + int conversions 0.013s
250 + long conversions 0.013s
251 + UUID conversions (1) 0.017s
252 + UUID conversions (2) 0.02s
253 + concat 0.085s
254 + copyToArray with offset/size 0.02s
255 + copyToBuffer 0.039s
256 + viewing ByteBuffer with non-zero position 0.04s
257 + dropWhile 0.013s
258 + takeWhile 0.013s
259 + very large vectors 0.001s
260 + take 0.001s
261 + drop 0.006s
262 + slice 0.001s
263 + slice is consistent with array slice 0.01s
264 + unapply 0.005s
265 + Ordered#compare 0.004s
266 + toInputStream 0.048s
267 + ascii interpolator 0.004s
268 + utf8 interpolator 0.019s
269 + toBase64 0.011s
270 + toBase64NoPad 0.038s
271 + toBase64Url 0.026s
272 + toBase64UrlNoPad 0.017s
273 + fromBase64 0.026s
274 + fromBase64 - digit count non-divisble by 4 0.004s
275 + fromBase64 - padding 0.013s
276 + fromBase64 - empty input string 0.0s
277 + sliding 0.075s
278 + sliding with step 0.02s
279scodec.bits.CrcTest:
280 + table based implementation should have the same result as bitwise implementation 3.428s
281 + streaming result should be same as all-at-once result 0.465s
282 + CRC-3/ROHC 0.006s
283 + CRC-4/ITU 0.004s
284 + CRC-5/EPC 0.004s
285 + CRC-5/USB 0.004s
286 + CRC-5/ITU 0.004s
287 + CRC-7 0.005s
288 + CCITT-16 0.006s
289 + CRC-32 0.0s
290 + CRC-32 - #557 0.001s
291 + CRC-32c 0.001s
292 + CRC-40/GSM 0.005s
293 + CRC-82/DARC 0.007s
294scodec.bits.BitVectorTest:
295 + hashCode/equals 0.406s
296 + === consistent with == 0.341s
297 + compact is a no-op for already compact bit vectors 0.001s
298 + equals/take/drop stack safety 0.974s
299 + hashCode/take/drop stack safety 6.857s
300 + size stack safety 0.232s
301 + acquire stack safety for lazy BitVector 0.001s
302 + acquire/take consistency 0.1s
303 + 1-bit vectors 0.001s
304 + construction via high 0.002s
305 + empty toByteVector 0.001s
306 + apply 0.002s
307 + getByte 0.12s
308 + updated 0.004s
309 + drop (1) 0.003s
310 + drop (2) 0.171s
311 + take/drop (1) 0.003s
312 + take/drop (2) 0.331s
313 + dropRight (1) 0.001s
314 + dropRight (1)-1 0.03s
315 + takeRight (1) 0.0s
316 + takeRight (2) 0.042s
317 + compact 0.053s
318 + depth 0.192s
319 + ++ (1) 0.001s
320 + ++ (2) 0.197s
321 + b.take(n).drop(n) == b (1) 0.005s
322 + b.take(n).drop(n) == b (2) 0.035s
323 + << 0.002s
324 + >> 0.0s
325 + >>> 0.0s
326 + rotations (1) 0.001s
327 + rotations (1)-1 0.073s
328 + padTo 0.001s
329 + ~ 0.001s
330 + & 0.002s
331 + | 0.001s
332 + ^ 0.001s
333 + toIndexedSeq 0.001s
334 + reverse (1) 0.001s
335 + reverse (2) 0.045s
336 + reverseByteOrder (1) 0.001s
337 + reverseByteOrder (2) 0.003s
338 + reverseByteOrder (3) 0.032s
339 + toHex (1) 0.001s
340 + toHex (2) 0.03s
341 + fromHexDescriptive (1) 0.001s
342 + fromHexDescriptive (2) 0.03s
343 + fromValidHex 0.0s
344 + toBin (1) 0.001s
345 + toBin (2) 0.041s
346 + fromBinDescriptive (1) 0.043s
347 + fromBinDescriptive (2) 0.001s
348 + fromValidBin (1) 0.048s
349 + fromValidBin (2) 0.0s
350 + fromValidBin (3) 0.0s
351 + bin string interpolator 0.001s
352 + grouped + concatenate 0.034s
353 + population count 0.127s
354 + indexOfSlice/containsSlice/startsWith 4.99s
355 + endsWith 0.021s
356 + splice 0.079s
357 + patch 0.069s
358 + sizeLessThan 0.035s
359 + sizeGreaterThan 0.045s
360 + byte conversions (1) 0.004s
361 + byte conversions (2) 0.001s
362 + short conversions (1) 0.008s
363 + short conversions (2) 0.0s
364 + int conversions 0.007s
365 + long conversions (1) 0.007s
366 + long conversions (2) 0.003s
367 + BigInt conversions (1) - consistent with toLong without options 0.004s
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.01s
373 + BigInt conversions (7) - roundtrip arbitrary size 0.004s
374 + UUID conversions (1) 0.004s
375 + UUID conversions (2) 0.045s
376 + buffering 10.799s
377 + concat 0.527s
378 + slice 0.0s
379 + sliceToByte 0.04s
380 + highByte 0.001s
381 + Ordered#compare 0.004s
382 + reverseBitOrder 0.034s
383 + reverseBitOrder - #557 0.001s
384 + sliding 3.806s
385 + sliding with step 0.12s
386
387************************
388Build summary:
389[{
390 "module": "scodec-bits",
391 "compile": {"status": "ok", "tookMs": 12055, "warnings": 3, "errors": 0, "sourceVersion": "3.8"},
392 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
393 "test-compile": {"status": "ok", "tookMs": 7269, "warnings": 4, "errors": 0, "sourceVersion": "3.8"},
394 "test": {"status": "ok", "tookMs": 32903, "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: 54 s, completed Jan 8, 2026, 2:49:45 AM
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.