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