Build Logs

scodec/scodec-bits • 3.7.4:2025-11-06

Errors

0

Warnings

38

Total Lines

196

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.7.4
23Scala binary version found: 3.7
24Implicitly using source version 3.7
25Scala binary version found: 3.7
26Implicitly using source version 3.7
27Would try to apply common scalacOption (best-effort, sbt/mill only):
28Append: ,REQUIRE:-source:3.7
29Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
30----
31Starting build for 3.7.4
32Execute tests: false
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/opencb/project-builder/sbt/prepare-project.sh: line 107: /root/.ssh/config: No such file or directory
38##################################
39Scala version: 3.7.4
40Targets: org.scodec%scodec-bits
41Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}
42##################################
43Using extra scalacOptions: ,REQUIRE:-source:3.7
44Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
45[sbt_options] declare -a sbt_options=()
46[process_args] java_version = '17'
47[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
48# Executing command line:
49java
50-Dfile.encoding=UTF-8
51-Dcommunitybuild.scala=3.7.4
52-Dcommunitybuild.project.dependencies.add=
53-Xmx7G
54-Xms4G
55-Xss8M
56-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
57-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
58-jar
59/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
60"setCrossScalaVersions 3.7.4"
61"++3.7.4 -v"
62"mapScalacOptions ",REQUIRE:-source:3.7,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
63"set every credentials := Nil"
64"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
65"removeScalacOptionsStartingWith -P:wartremover"
66
67moduleMappings
68"runBuild 3.7.4 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}""" org.scodec%scodec-bits"
69
70[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
71[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
72[info] loading project definition from /build/repo/project
73[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
74[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
75[info] Compilation completed in 8.803s.
76[info] done compiling
77[info] loading settings for project root from build.sbt...
78[info] set current project to root (in build file:/build/repo/)
79Execute setCrossScalaVersions: 3.7.4
80OpenCB::Changing crossVersion 3.3.6 -> 3.7.4 in benchmark/crossScalaVersions
81OpenCB::Changing crossVersion 3.3.6 -> 3.7.4 in root/crossScalaVersions
82OpenCB::Limitting incorrect crossVersions List() -> List(3.7.4) in root/crossScalaVersions
83OpenCB::Changing crossVersion 3.3.6 -> 3.7.4 in coreJVM/crossScalaVersions
84OpenCB::Changing crossVersion 3.3.6 -> 3.7.4 in rootNative/crossScalaVersions
85OpenCB::Changing crossVersion 3.3.6 -> 3.7.4 in coreJS/crossScalaVersions
86OpenCB::Changing crossVersion 3.3.6 -> 3.7.4 in coreNative/crossScalaVersions
87OpenCB::Changing crossVersion 3.3.6 -> 3.7.4 in rootJS/crossScalaVersions
88OpenCB::Changing crossVersion 3.3.6 -> 3.7.4 in rootJVM/crossScalaVersions
89[info] set current project to root (in build file:/build/repo/)
90[info] Setting Scala version to 3.7.4 on 8 projects.
91[info] Switching Scala version on:
92[info] * root (3.7.4)
93[info] rootJS (2.12.20, 2.13.16, 3.7.4)
94[info] coreNative (2.12.20, 2.13.16, 3.7.4)
95[info] coreJS (2.12.20, 2.13.16, 3.7.4)
96[info] coreJVM (2.12.20, 2.13.16, 3.7.4)
97[info] rootJVM (2.12.20, 2.13.16, 3.7.4)
98[info] rootNative (2.12.20, 2.13.16, 3.7.4)
99[info] benchmark (2.12.20, 2.13.16, 3.7.4)
100[info] Excluding projects:
101[info] Reapplying settings...
102[info] set current project to root (in build file:/build/repo/)
103Execute mapScalacOptions: ,REQUIRE:-source:3.7,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
104[info] Reapplying settings...
105[info] set current project to root (in build file:/build/repo/)
106[info] Defining Global / credentials, benchmark / credentials and 6 others.
107[info] The new values will be used by Compile / scalafmtOnly, IntegrationTest / scalafmtOnly and 69 others.
108[info] Run `last` for details.
109[info] Reapplying settings...
110[info] set current project to root (in build file:/build/repo/)
111Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
112[info] Reapplying settings...
113OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
114
115 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:336)
116 Did you mean allExcludeDependencies ?
117 , retry without global scopes
118[info] Reapplying settings...
119[info] set current project to root (in build file:/build/repo/)
120Execute removeScalacOptionsStartingWith: -P:wartremover
121[info] Reapplying settings...
122[info] set current project to root (in build file:/build/repo/)
123[success] Total time: 0 s, completed Nov 6, 2025, 1:35:09 AM
124Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}
125Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
126Starting build...
127Projects: Set(coreJVM)
128Starting build for ProjectRef(file:/build/repo/,coreJVM) (scodec-bits)... [0/1]
129OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.7` in Scala 2.12.20 module Global
130OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
131OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
132Compile 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, 8, -Wconf:msg=can be rewritten automatically under:s, -source:3.7
133[info] compiling 14 Scala sources to /build/repo/core/jvm/target/scala-3.7.4/classes ...
134[warn] -- [E175] Potential Issue Warning: /build/repo/core/shared/src/main/scala/scodec/bits/ByteVector.scala:1027:17
135[warn] 1025 | bldr
136[warn] 1026 | .append(alphabet.pad)
137[warn] 1027 | .append(alphabet.pad)
138[warn] | ^
139[warn] |discarded non-Unit value of type java.nio.CharBuffer. Add `: Unit` to discard silently.
140[warn] -- [E175] Potential Issue Warning: /build/repo/core/shared/src/main/scala/scodec/bits/ByteVector.scala:1041:47
141[warn] 1041 | if (alphabet.pad != 0.toChar) bldr.append(alphabet.pad)
142[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^
143[warn] |discarded non-Unit value of type java.nio.CharBuffer. Add `: Unit` to discard silently.
144[warn] -- [E175] Potential Issue Warning: /build/repo/core/shared/src/main/scala/scodec/bits/ByteVector.scala:2078:13
145[warn] 2078 | acc.put(buffer.toByte)
146[warn] | ^^^^^^^^^^^^^^^^^^^^^^
147[warn] |discarded non-Unit value of type java.nio.ByteBuffer. Add `: Unit` to discard silently.
148[warn] there were 5 deprecation warnings; re-run with -deprecation for details
149[warn] four warnings found
150[info] done compiling
151[info] compiling 9 Scala sources to /build/repo/core/jvm/target/scala-3.7.4/test-classes ...
152[warn] -- [E198] Unused Symbol Warning: /build/repo/core/jvm/src/test/scala/scodec/bits/CrcJvmTest.scala:64:8
153[warn] 64 | var result: A = f
154[warn] | ^^^^^^
155[warn] | local variable was mutated but not read
156[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/scodec/bits/BitVectorTest.scala:823:37
157[warn] 823 | forAll { (b: BitVector, n0: Int, step0: Int) =>
158[warn] | ^^^^^
159[warn] | unused explicit parameter
160[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/scodec/bits/ByteVectorTest.scala:996:38
161[warn] 996 | forAll { (b: ByteVector, n0: Int, step0: Int) =>
162[warn] | ^^^^^
163[warn] | unused explicit parameter
164[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/core/shared/src/test/scala/scodec/bits/ByteVectorTest.scala:816:4
165[warn] 816 | hex"000102" match {
166[warn] | ^^^^^^^^^^^
167[warn] | match may not be exhaustive.
168[warn] |
169[warn] | It would fail on pattern case: scodec.bits.ByteVector(_*)
170[warn] |
171[warn] | longer explanation available when compiling with `-explain`
172[warn] there were 6 deprecation warnings; re-run with -deprecation for details
173[warn] 5 warnings found
174[info] done compiling
175
176************************
177Build summary:
178[{
179 "module": "scodec-bits",
180 "compile": {"status": "ok", "tookMs": 11823, "warnings": 3, "errors": 0, "sourceVersion": "3.7"},
181 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
182 "test-compile": {"status": "ok", "tookMs": 6944, "warnings": 4, "errors": 0, "sourceVersion": "3.7"},
183 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
184 "publish": {"status": "skipped", "tookMs": 0},
185 "metadata": {
186 "crossScalaVersions": ["2.12.20", "2.13.16", "3.3.6"]
187}
188}]
189************************
190[success] Total time: 30 s, completed Nov 6, 2025, 1:35:40 AM
191[0JChecking patch project/plugins.sbt...
192Checking patch project/build.properties...
193Checking patch build.sbt...
194Applied patch project/plugins.sbt cleanly.
195Applied patch project/build.properties cleanly.
196Applied patch build.sbt cleanly.