Build Logs
note/mini-refined • 3.8.0-RC2:2025-11-28
Errors
0
Warnings
76
Total Lines
249
1##################################
2Clonning https://github.com/jchyb/mini-refined.git into /build/repo using revision fix-inline-val-null
3##################################
4----
5Preparing build for 3.8.0-RC2
6Scala binary version found: 3.8
7Implicitly using source version 3.8
8Scala binary version found: 3.8
9Implicitly using source version 3.8
10Would try to apply common scalacOption (best-effort, sbt/mill only):
11Append: ,REQUIRE:-source:3.8
12Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
13----
14Starting build for 3.8.0-RC2
15Execute tests: true
16sbt project found:
17Sbt version 1.9.6 is not supported, minimal supported version is 1.11.5
18Enforcing usage of sbt in version 1.11.5
19No prepare script found for project note/mini-refined
20##################################
21Scala version: 3.8.0-RC2
22Targets: pl.msitko%mini-refined
23Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
24##################################
25Using extra scalacOptions: ,REQUIRE:-source:3.8
26Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
27[sbt_options] declare -a sbt_options=()
28[process_args] java_version = '17'
29[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
30# Executing command line:
31java
32-Dfile.encoding=UTF-8
33-Dcommunitybuild.scala=3.8.0-RC2
34-Dcommunitybuild.project.dependencies.add=
35-Xmx7G
36-Xms4G
37-Xss8M
38-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
39-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
40-jar
41/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
42"setCrossScalaVersions 3.8.0-RC2"
43"++3.8.0-RC2 -v"
44"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
45"set every credentials := Nil"
46"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
47"removeScalacOptionsStartingWith -P:wartremover"
48
49moduleMappings
50"runBuild 3.8.0-RC2 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}""" pl.msitko%mini-refined"
51
52[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
53[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
54[info] loading project definition from /build/repo/project
55[info] compiling 4 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
56[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
57[info] Compilation completed in 9.263s.
58[info] done compiling
59[info] loading settings for project rootProject from build.sbt...
60[info] set current project to root (in build file:/build/repo/)
61Execute setCrossScalaVersions: 3.8.0-RC2
62OpenCB::Changing crossVersion 3.3.1 -> 3.8.0-RC2 in miniRefined/crossScalaVersions
63OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC2) in miniRefined/crossScalaVersions
64OpenCB::Changing crossVersion 3.3.1 -> 3.8.0-RC2 in circeIntegration/crossScalaVersions
65OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC2) in circeIntegration/crossScalaVersions
66OpenCB::Changing crossVersion 3.3.1 -> 3.8.0-RC2 in rootProject/crossScalaVersions
67OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC2) in rootProject/crossScalaVersions
68[info] set current project to root (in build file:/build/repo/)
69[info] Setting Scala version to 3.8.0-RC2 on 3 projects.
70[info] Switching Scala version on:
71[info] * rootProject (3.8.0-RC2)
72[info] miniRefined (3.8.0-RC2)
73[info] circeIntegration (3.8.0-RC2)
74[info] Excluding projects:
75[info] Reapplying settings...
76[info] set current project to root (in build file:/build/repo/)
77Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
78[info] Reapplying settings...
79[info] set current project to root (in build file:/build/repo/)
80[info] Defining Global / credentials, circeIntegration / credentials and 1 others.
81[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 23 others.
82[info] Run `last` for details.
83[info] Reapplying settings...
84[info] set current project to root (in build file:/build/repo/)
85Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
86[info] Reapplying settings...
87OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
88
89 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
90 Did you mean miniRefined / allExcludeDependencies ?
91 , retry without global scopes
92[info] Reapplying settings...
93[info] set current project to root (in build file:/build/repo/)
94Execute removeScalacOptionsStartingWith: -P:wartremover
95[info] Reapplying settings...
96[info] set current project to root (in build file:/build/repo/)
97[success] Total time: 0 s, completed Nov 28, 2025, 12:04:39 PM
98Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
99Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
100Starting build...
101Projects: Set(miniRefined)
102Starting build for ProjectRef(file:/build/repo/,miniRefined) (mini-refined)... [0/1]
103OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
104OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
105OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
106OpenCB::Filter out '-Xfatal-warnings', matches setting pattern '^-?-Xfatal-warnings'
107Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Ykind-projector, -Wvalue-discard, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
108[info] scalafmt: Formatting 7 Scala sources (/build/repo/core)...
109[info] scalafmt: Formatting 11 Scala sources (/build/repo/core)...
110[info] scalafmt: Reformatted 1 Scala sources
111[info] compiling 11 Scala sources to /build/repo/core/target/scala-3.8.0-RC2/classes ...
112[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
113[warn] -- [E198] Unused Symbol Warning: /build/repo/core/src/main/scala/pl/msitko/refined/Refined.scala:3:26
114[warn] 3 |import scala.compiletime.{codeOf, constValue, erasedValue, error}
115[warn] | ^^^^^^
116[warn] | unused import
117[warn] -- [E198] Unused Symbol Warning: /build/repo/core/src/main/scala/pl/msitko/refined/Refined.scala:3:34
118[warn] 3 |import scala.compiletime.{codeOf, constValue, erasedValue, error}
119[warn] | ^^^^^^^^^^
120[warn] | unused import
121[warn] -- [E198] Unused Symbol Warning: /build/repo/core/src/main/scala/pl/msitko/refined/Refined.scala:3:59
122[warn] 3 |import scala.compiletime.{codeOf, constValue, erasedValue, error}
123[warn] | ^^^^^
124[warn] | unused import
125[warn] -- [E198] Unused Symbol Warning: /build/repo/core/src/main/scala/pl/msitko/refined/Refined.scala:6:55
126[warn] 6 |import pl.msitko.refined.compiletime.ValidateExprList.{And, Or}
127[warn] | ^^^
128[warn] | unused import
129[warn] -- [E198] Unused Symbol Warning: /build/repo/core/src/main/scala/pl/msitko/refined/Refined.scala:6:60
130[warn] 6 |import pl.msitko.refined.compiletime.ValidateExprList.{And, Or}
131[warn] | ^^
132[warn] | unused import
133[warn] -- [E198] Unused Symbol Warning: /build/repo/core/src/main/scala/pl/msitko/refined/compiletime/ValidateInt.scala:4:26
134[warn] 4 |import scala.compiletime.{codeOf, constValue, erasedValue, error}
135[warn] | ^^^^^^
136[warn] | unused import
137[warn] -- [E198] Unused Symbol Warning: /build/repo/core/src/main/scala/pl/msitko/refined/compiletime/ValidateInt.scala:4:59
138[warn] 4 |import scala.compiletime.{codeOf, constValue, erasedValue, error}
139[warn] | ^^^^^
140[warn] | unused import
141[warn] -- [E198] Unused Symbol Warning: /build/repo/core/src/main/scala/pl/msitko/refined/compiletime/ValidateString.scala:3:26
142[warn] 3 |import scala.compiletime.{codeOf, constValue, erasedValue, error}
143[warn] | ^^^^^^
144[warn] | unused import
145[warn] -- [E198] Unused Symbol Warning: /build/repo/core/src/main/scala/pl/msitko/refined/compiletime/ValidateString.scala:3:59
146[warn] 3 |import scala.compiletime.{codeOf, constValue, erasedValue, error}
147[warn] | ^^^^^
148[warn] | unused import
149[warn] -- [E198] Unused Symbol Warning: /build/repo/core/src/main/scala/pl/msitko/refined/runtime/ValidateExprList.scala:3:20
150[warn] 3 |import compiletime.{constValue, erasedValue}
151[warn] | ^^^^^^^^^^
152[warn] | unused import
153[warn] 11 warnings found
154[info] done compiling
155[info] compiling 1 Scala source to /build/repo/core/target/scala-3.8.0-RC2/classes ...
156[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
157[warn] -- [E198] Unused Symbol Warning: /build/repo/core/src/main/scala/pl/msitko/refined/compiletime/ValidateString.scala:3:26
158[warn] 3 |import scala.compiletime.{codeOf, constValue, erasedValue, error}
159[warn] | ^^^^^^
160[warn] | unused import
161[warn] -- [E198] Unused Symbol Warning: /build/repo/core/src/main/scala/pl/msitko/refined/compiletime/ValidateString.scala:3:59
162[warn] 3 |import scala.compiletime.{codeOf, constValue, erasedValue, error}
163[warn] | ^^^^^
164[warn] | unused import
165[warn] three warnings found
166[info] done compiling
167[info] compiling 1 Scala source to /build/repo/core/target/scala-3.8.0-RC2/classes ...
168[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
169[warn] -- [E198] Unused Symbol Warning: /build/repo/core/src/main/scala/pl/msitko/refined/Refined.scala:3:26
170[warn] 3 |import scala.compiletime.{codeOf, constValue, erasedValue, error}
171[warn] | ^^^^^^
172[warn] | unused import
173[warn] -- [E198] Unused Symbol Warning: /build/repo/core/src/main/scala/pl/msitko/refined/Refined.scala:3:34
174[warn] 3 |import scala.compiletime.{codeOf, constValue, erasedValue, error}
175[warn] | ^^^^^^^^^^
176[warn] | unused import
177[warn] -- [E198] Unused Symbol Warning: /build/repo/core/src/main/scala/pl/msitko/refined/Refined.scala:3:59
178[warn] 3 |import scala.compiletime.{codeOf, constValue, erasedValue, error}
179[warn] | ^^^^^
180[warn] | unused import
181[warn] -- [E198] Unused Symbol Warning: /build/repo/core/src/main/scala/pl/msitko/refined/Refined.scala:6:55
182[warn] 6 |import pl.msitko.refined.compiletime.ValidateExprList.{And, Or}
183[warn] | ^^^
184[warn] | unused import
185[warn] -- [E198] Unused Symbol Warning: /build/repo/core/src/main/scala/pl/msitko/refined/Refined.scala:6:60
186[warn] 6 |import pl.msitko.refined.compiletime.ValidateExprList.{And, Or}
187[warn] | ^^
188[warn] | unused import
189[warn] 9 warnings found
190[info] done compiling
191[info] compiling 7 Scala sources to /build/repo/core/target/scala-3.8.0-RC2/test-classes ...
192[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
193[warn] one warning found
194[info] done compiling
195pl.msitko.refined.ListSpec:
196 + Size[GreaterThan] should pass 0.058s
197 + Size[GreaterThan] should fail for incorrect value 0.001s
198example.RefinedAccessSpec:
199 + Refined.unsafeApply should not compile outside of pl.msitko.refined package 0.058s
200pl.msitko.refined.macros.ListMacrosSpec:
201 + should work for non-empty lists 0.057s
202 + should work for empty lists 0.001s
203 + should fail compilation in case list size cannot be determined at compile time 0.001s
204 + should fail compilation in case list size cannot be determined at compile time (2) 0.0s
205pl.msitko.refined.RuntimeIntSpec:
206 + should work for GreaterThan 0.06s
207 + should work for GreaterThan - negative cases 0.001s
208 + should work for Or 0.005s
209 + should work for Or - negative cases 0.001s
210pl.msitko.refined.StringSpec:
211 + StartsWith["abc] should fail for incorrect input 0.006s
212 + StartsWith["abc] should pass 0.001s
213 + should work with Or 0.0s
214 + should work with Or - negative cases 0.0s
215 + should work with And 0.0s
216 + should work with And - negative cases 0.0s
217pl.msitko.refined.IntSpec:
218 + GreaterThan[10] should fail for lower or equal to to 0.0s
219 + GreaterThan[10] should fail for lower or equal to to (implicitly) 0.0s
220 + GreaterThan[10] should pass for greater than 10 0.0s
221 + GreaterThan[10] should pass for greater than 10 (implicitly) 0.0s
222 + GreaterThan And LowerThan 0.0s
223 + GreaterThan And LowerThan - failure 0.005s
224 + nested boolean conditions 0.001s
225 + nested boolean conditions - failure 0.0s
226 + basic inference (GreaterThan) 0.0s
227 + basic inference (LowerThan) 0.0s
228
229************************
230Build summary:
231[{
232 "module": "mini-refined",
233 "compile": {"status": "ok", "tookMs": 20125, "warnings": 10, "errors": 0, "sourceVersion": "3.8"},
234 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
235 "test-compile": {"status": "ok", "tookMs": 4350, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
236 "test": {"status": "ok", "tookMs": 497, "passed": 27, "failed": 0, "ignored": 0, "skipped": 0, "total": 27, "byFramework": [{"framework": "munit", "stats": {"passed": 27, "failed": 0, "ignored": 0, "skipped": 0, "total": 27}}]},
237 "publish": {"status": "skipped", "tookMs": 0},
238 "metadata": {
239 "crossScalaVersions": ["2.12.20"]
240}
241}]
242************************
243[success] Total time: 37 s, completed Nov 28, 2025, 12:05:17 PM
244[0JChecking patch project/plugins.sbt...
245Checking patch project/build.properties...
246Checking patch build.sbt...
247Applied patch project/plugins.sbt cleanly.
248Applied patch project/build.properties cleanly.
249Applied patch build.sbt cleanly.