Build Logs

scodec/scodec-bits • 3.8.0-RC2:2025-11-28

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