Build Logs

scodec/scodec-bits • 3.8.0-RC4:2025-12-22

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