Build Logs

tegonal/scala-commons • 3.8.0-RC5:2025-12-31

Errors

7

Warnings

8

Total Lines

220

1##################################
2Clonning https://github.com/tegonal/scala-commons.git into /build/repo using revision v0.2.0
3##################################
4Note: switching to 'd35aee7d54e2cf6b11be16bb03e15cb17c5d732d'.
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.9.9 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 tegonal/scala-commons
37##################################
38Scala version: 3.8.0-RC5
39Targets: com.tegonal%scala-commons
40Project projectConfig: {"tests":null}
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 """{"tests":null}""" com.tegonal%scala-commons"
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.1s.
75[info] done compiling
76[info] loading settings for project root from build.sbt...
77[info] set current project to scala-commons (in build file:/build/repo/)
78Execute setCrossScalaVersions: 3.8.0-RC5
79OpenCB::Changing crossVersion 3.4.1 -> 3.8.0-RC5 in root/crossScalaVersions
80[info] set current project to scala-commons (in build file:/build/repo/)
81[info] Setting Scala version to 3.8.0-RC5 on 1 projects.
82[info] Switching Scala version on:
83[info] * root (3.8.0-RC5)
84[info] Excluding projects:
85[info] Reapplying settings...
86[info] set current project to scala-commons (in build file:/build/repo/)
87Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
88[info] Reapplying settings...
89[info] set current project to scala-commons (in build file:/build/repo/)
90[info] Defining Global / credentials, credentials
91[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 6 others.
92[info] Run `last` for details.
93[info] Reapplying settings...
94[info] set current project to scala-commons (in build file:/build/repo/)
95Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
96[info] Reapplying settings...
97OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
98
99 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
100 Did you mean allExcludeDependencies ?
101 , retry without global scopes
102[info] Reapplying settings...
103[info] set current project to scala-commons (in build file:/build/repo/)
104Execute removeScalacOptionsStartingWith: -P:wartremover
105[info] Reapplying settings...
106[info] set current project to scala-commons (in build file:/build/repo/)
107[success] Total time: 0 s, completed Dec 31, 2025, 9:38:56 PM
108Build config: {"tests":null}
109Parsed config: Failure(sjsonnew.DeserializationException: Expected String as JString, but got JNull)
110Starting build...
111Projects: Set(root)
112Starting build for ProjectRef(file:/build/repo/,root) (scala-commons)... [0/1]
113OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
114Compile scalacOptions: -Wconf:msg=can be rewritten automatically under:s, -source:3.8
115[info] compiling 7 Scala sources to /build/repo/target/scala-3.8.0-RC5/classes ...
116[warn] -- [E194] Potential Issue Warning: /build/repo/src/main/scala/com/tegonal/scala/commons/charSequenceExtensions.scala:19:6
117[warn] 19 | def isEmpty: Boolean = self.length() == 0
118[warn] | ^
119[warn] |Extension method isEmpty will never be selected from type CharSequence
120[warn] |because CharSequence already has a member with the same name and compatible parameter types.
121[warn] |
122[warn] | longer explanation available when compiling with `-explain`
123[warn] one warning found
124[info] done compiling
125[info] compiling 8 Scala sources to /build/repo/target/scala-3.8.0-RC5/test-classes ...
126[info] done compiling
127com.tegonal.scala.commons.AnyOperationsTest:
128 + pipe 0.009s
129 + tap 0.001s
130com.tegonal.scala.commons.TryExtensionsTest:
131 + mapFailure maps only over failure case of Success 0.01s
132 + mapFailure returns mapped result in case of Failure 0.001s
133com.tegonal.scala.commons.AsTest:
134 + shows receiver object in error message 0.009s
135 + cast null to reference type doesn't throw 0.004s
136 + no conversion from Integer to Double, fails with ClassCastException 0.001s
137 + no conversion from Byte to Double, fails with ClassCastException 0.0s
138 + no conversion from Short to Double, fails with ClassCastException 0.0s
139 + no conversion from Long to Double, fails with ClassCastException 0.0s
140 + no conversion from Float to Double, fails with ClassCastException 0.0s
141 + doesn't throw from Double to Double 0.001s
142 + no unboxing from null to primitive type, fails with ClassCastException 0.003s
143com.tegonal.scala.commons.BlankToNoneTest:
144 + string: null 0.009s
145 + string: empty 0.0s
146 + string: space 0.001s
147 + string: tab 0.0s
148 + string: newline 0.0s
149 + string: not only spaces 0.001s
150 + string: not only whitespaces 0.005s
151 + string: text 0.001s
152 + charsequence: null 0.004s
153 + charsequence: empty 0.004s
154 + charsequence: space 0.003s
155 + charsequence: tab 0.001s
156 + charsequence: newline 0.0s
157 + charsequence: not only spaces 0.0s
158 + charsequence: not only whitespaces 0.001s
159 + charsequence: text 0.0s
160com.tegonal.scala.commons.BooleanExtensionsTest:
161 + false not is true 0.008s
162 + true not is false 0.0s
163com.tegonal.scala.commons.CheckUtilsTest:
164 + failIf throws if predicate is true 0.0s
165 + failIf doesn't throw and neither evaluate message if predicate is false 0.001s
166 + check throws if predicate is false 0.0s
167 + check doesn't throw and neither evaluate message if predicate is true 0.0s
168 + check throws if predicate is false-1 0.004s
169 + check doesn't throw and neither evaluate message if predicate is true-1 0.0s
170com.tegonal.scala.commons.CharSequenceExtensionsTest:
171 + isEmpty on empty returns true 0.007s
172 + isEmpty on space returns false 0.0s
173 + isEmpty on tab returns false 0.0s
174 + isEmpty on newline returns false 0.001s
175 + isEmpty on not only spaces returns false 0.0s
176 + isEmpty on not only whitespaces returns false 0.0s
177 + isEmpty on text returns false 0.0s
178 + nonEmpty on empty returns false 0.005s
179 + nonEmpty on space returns true 0.001s
180 + nonEmpty on tab returns true 0.0s
181 + nonEmpty on newline returns true 0.0s
182 + nonEmpty on not only spaces returns true 0.0s
183 + nonEmpty on not only whitespaces returns true 0.0s
184 + nonEmpty on text returns true 0.0s
185 + isBlank on empty returns true 0.001s
186 + isBlank on space returns true 0.0s
187 + isBlank on tab returns true 0.001s
188 + isBlank on newline returns true 0.0s
189 + isBlank on not only spaces returns false 0.0s
190 + isBlank on not only whitespaces returns false 0.0s
191 + isBlank on text returns false 0.0s
192 + nonBlank on empty returns false 0.001s
193 + nonBlank on space returns false 0.0s
194 + nonBlank on tab returns false 0.0s
195 + nonBlank on newline returns false 0.0s
196 + nonBlank on not only spaces returns true 0.0s
197 + nonBlank on not only whitespaces returns true 0.001s
198 + nonBlank on text returns true 0.0s
199
200************************
201Build summary:
202[{
203 "module": "scala-commons",
204 "compile": {"status": "ok", "tookMs": 4645, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
205 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
206 "test-compile": {"status": "ok", "tookMs": 2073, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
207 "test": {"status": "ok", "tookMs": 499, "passed": 65, "failed": 0, "ignored": 0, "skipped": 0, "total": 65, "byFramework": [{"framework": "munit", "stats": {"passed": 65, "failed": 0, "ignored": 0, "skipped": 0, "total": 65}}]},
208 "publish": {"status": "skipped", "tookMs": 0},
209 "metadata": {
210 "crossScalaVersions": ["3.4.1"]
211}
212}]
213************************
214[success] Total time: 9 s, completed Dec 31, 2025, 9:39:04 PM
215[0JChecking patch project/plugins.sbt...
216Checking patch project/build.properties...
217Checking patch build.sbt...
218Applied patch project/plugins.sbt cleanly.
219Applied patch project/build.properties cleanly.
220Applied patch build.sbt cleanly.