Build Logs
lowmelvin/formify-scala • 3.8.0-RC3:2025-12-04
Errors
0
Warnings
60
Total Lines
257
1##################################
2Clonning https://github.com/lowmelvin/formify-scala.git into /build/repo using revision v0.1.4
3##################################
4Note: switching to 'e5a69abcdb0adb8afb488d675efc6345d18b3ea5'.
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-RC3
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-RC3
32Execute tests: true
33sbt project found:
34Sbt version 1.9.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 lowmelvin/formify-scala
37##################################
38Scala version: 3.8.0-RC3
39Targets: com.melvinlow%formify
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-RC3
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-RC3"
60"++3.8.0-RC3 -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-RC3 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}""" com.melvinlow%formify"
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, metals.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.83s.
75[info] done compiling
76[info] loading settings for project root from build.sbt...
77[info] set current project to formify (in build file:/build/repo/)
78Execute setCrossScalaVersions: 3.8.0-RC3
79OpenCB::Changing crossVersion 3.3.0 -> 3.8.0-RC3 in docs/crossScalaVersions
80OpenCB::Changing crossVersion 3.3.0 -> 3.8.0-RC3 in root/crossScalaVersions
81[info] set current project to formify (in build file:/build/repo/)
82[info] Setting Scala version to 3.8.0-RC3 on 2 projects.
83[info] Switching Scala version on:
84[info] * root (3.8.0-RC3)
85[info] docs (3.8.0-RC3)
86[info] Excluding projects:
87[info] Reapplying settings...
88[info] set current project to formify (in build file:/build/repo/)
89Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
90[info] Reapplying settings...
91[info] set current project to formify (in build file:/build/repo/)
92[info] Defining Global / credentials, credentials, docs / credentials
93[info] The new values will be used by Global / pgpSelectPassphrase, ThisBuild / scalafixSbtResolversAsCoursierRepositories and 11 others.
94[info] Run `last` for details.
95[info] Reapplying settings...
96[info] set current project to formify (in build file:/build/repo/)
97Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
98[info] Reapplying settings...
99OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
100
101 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
102 Did you mean allExcludeDependencies ?
103 , retry without global scopes
104[info] Reapplying settings...
105[info] set current project to formify (in build file:/build/repo/)
106Execute removeScalacOptionsStartingWith: -P:wartremover
107[info] Reapplying settings...
108[info] set current project to formify (in build file:/build/repo/)
109[success] Total time: 0 s, completed Dec 4, 2025, 3:14:12 PM
110Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
111Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
112Starting build...
113Projects: Set(root)
114Starting build for ProjectRef(file:/build/repo/,root) (formify)... [0/1]
115OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
116OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
117OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
118OpenCB::Filter out '-Werror', matches setting pattern '^-?-Werror'
119Compile scalacOptions: -encoding, UTF-8, -unchecked, -Wunused:all, -Wvalue-discard, -no-indent, -explain, -Xsemanticdb, -semanticdb-target, /build/repo/target/scala-3.8.0-RC3/meta, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
120[info] compiling 9 Scala sources to /build/repo/target/scala-3.8.0-RC3/classes ...
121[warn] -- [E198] Unused Symbol Warning: /build/repo/src/main/scala/com/melvinlow/formify/instances.scala:9:25
122[warn] 9 |import scala.compiletime.summonFrom
123[warn] | ^^^^^^^^^^
124[warn] | unused import
125[warn] -- [E197] Potential Issue Warning: /build/repo/src/main/scala/com/melvinlow/formify/FormDataEncoder.scala:48:76
126[warn] 48 | inline def derived[T](using m: Mirror.ProductOf[T]): FormDataEncoder[T] = new FormDataEncoder[T] {
127[warn] | ^
128[warn] | New anonymous class definition will be duplicated at each inline site
129[warn] |----------------------------------------------------------------------------
130[warn] | Explanation (enabled by `-explain`)
131[warn] |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
132[warn] | Anonymous class will be defined at each use site, which may lead to a larger number of classfiles.
133[warn] |
134[warn] | To inline class definitions, you may provide an explicit class name to avoid this warning.
135[warn] ----------------------------------------------------------------------------
136[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/src/main/scala/com/melvinlow/formify/FormDataEncoder.scala:56:8
137[warn] 56 | case (label, value, formDataEncoder: FormDataEncoder[v]) =>
138[warn] | ^
139[warn] | match may not be exhaustive.
140[warn] |
141[warn] | It would fail on pattern case: (_, _, _)
142[warn] |----------------------------------------------------------------------------
143[warn] | Explanation (enabled by `-explain`)
144[warn] |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
145[warn] | There are several ways to make the match exhaustive:
146[warn] | - Add missing cases as shown in the warning
147[warn] | - If an extractor always return Some(...), write Some[X] for its return type
148[warn] | - Add a case _ => ... at the end to match all remaining cases
149[warn] ----------------------------------------------------------------------------
150[warn] three warnings found
151[info] done compiling
152[info] compiling 5 Scala sources to /build/repo/target/scala-3.8.0-RC3/test-classes ...
153[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/src/test/scala/com/melvinlow/formify/FormDataEncoderSpec.scala:13:37
154[warn] 13 | val encoded = FormDataEncoder[A].encode(instance)
155[warn] | ^
156[warn] | match may not be exhaustive.
157[warn] |
158[warn] | It would fail on pattern case: (_, _, _)
159[warn] |---------------------------------------------------------------------------
160[warn] |Inline stack trace
161[warn] |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
162[warn] |This location contains code that was inlined from FormDataEncoder.scala:56
163[warn] 56 | case (label, value, formDataEncoder: FormDataEncoder[v]) =>
164[warn] | ^
165[warn] |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
166[warn] |This location contains code that was inlined from FormDataEncoder.scala:56
167[warn] 118 | FormDataEncoder.derived[T]
168[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
169[warn] |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
170[warn] |This location contains code that was inlined from FormDataEncoder.scala:56
171[warn] 129 | export ProductEncoderInstances.given
172[warn] | ^
173[warn] ---------------------------------------------------------------------------
174[warn] |---------------------------------------------------------------------------
175[warn] | Explanation (enabled by `-explain`)
176[warn] |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
177[warn] | There are several ways to make the match exhaustive:
178[warn] | - Add missing cases as shown in the warning
179[warn] | - If an extractor always return Some(...), write Some[X] for its return type
180[warn] | - Add a case _ => ... at the end to match all remaining cases
181[warn] ---------------------------------------------------------------------------
182[warn] one warning found
183[info] done compiling
184[info] Instrumenting 31 classes to /build/repo/target/scala-3.8.0-RC3/jacoco/instrumented-classes
185[info] Instrumenting 31 classes to /build/repo/target/scala-3.8.0-RC3/jacoco/instrumented-classes
186[info] com.melvinlow.formify.FormDataSpec
187[info] + should wrap and unwrap empty 56ms
188[info] + should wrap and unwrap one 18ms
189[info] + should compile 9ms
190[info] + should serialize using URL encoding 2ms
191[info] + should check if empty 0ms
192[info] com.melvinlow.formify.FormFieldSpec
193[info] com.melvinlow.formify.FormFieldFragmentSpec
194[info] + should wrap and unwrap 77ms
195[info] + should wrap and unwrap 58ms
196[info] + should prepend 5ms
197[info] + should compile 8ms
198[info] com.melvinlow.formify.FormValueSpec
199[info] + should wrap and unwrap 0ms
200[info] + should create empty 0ms
201[info] + should unapply a value that exists 0ms
202[info] + should unapply an empty value 1ms
203[info] + should check if empty 0ms
204[info] com.melvinlow.formify.FormDataEncoderSpec
205[info] + should encode a non-nested product 94ms
206[info] + should encode a nested product 3ms
207[info] + should encode an option with a form value inside 2ms
208[info] + should encode an option with a form inside 7ms
209[info] + should encode a list with form values inside 11ms
210[info] + should encode a vector with form values inside 15ms
211[info] + should encode a seq with form values inside 6ms
212[info] + should encode an array with form values inside 6ms
213[info] + should encode a list with forms inside 19ms
214[info] + should encode a vector with forms inside 5ms
215[info] + should encode a seq with forms inside 12ms
216[info] + should encode an array with forms inside 11ms
217[info] + should encode a list with options of values inside 11ms
218[info] + should encode a vector with options of values inside 3ms
219[info] + should encode a seq with options of values inside 4ms
220[info] + should encode an array with options of values inside 2ms
221[info] + should encode a list with options of forms inside 5ms
222[info] + should encode a vector with options of forms inside 4ms
223[info] + should encode a seq with options of forms inside 4ms
224[info] + should encode an array with options of forms inside 7ms
225[info] + should encode a Map[String, Int] 1ms
226[info] + should encode a Map[String, Product] 7ms
227[info] + should encode a Map[String, Map[String, Option[Product]]] 7ms
228[info] + should encode a Chain[Int] 1ms
229[info] + should encode a Chain[List[Int]] 3ms
230[info] + should encode a NonEmptyChain[Int] 2ms
231[info] + should encode a NonEmptyChain[List[Int]] 1ms
232[info] + should encode a NonEmptyList[Int] 8ms
233[info] + should encode a NonEmptyList[List[Int]] 1ms
234[info] Instrumenting 31 classes to /build/repo/target/scala-3.8.0-RC3/jacoco/instrumented-classes
235[info] Instrumenting 31 classes to /build/repo/target/scala-3.8.0-RC3/jacoco/instrumented-classes
236
237************************
238Build summary:
239[{
240 "module": "formify",
241 "compile": {"status": "ok", "tookMs": 10962, "warnings": 3, "errors": 0, "sourceVersion": "3.8"},
242 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
243 "test-compile": {"status": "ok", "tookMs": 8671, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
244 "test": {"status": "ok", "tookMs": 1239, "passed": 43, "failed": 0, "ignored": 0, "skipped": 0, "total": 43, "byFramework": [{"framework": "unknown", "stats": {"passed": 43, "failed": 0, "ignored": 0, "skipped": 0, "total": 43}}]},
245 "publish": {"status": "skipped", "tookMs": 0},
246 "metadata": {
247 "crossScalaVersions": ["3.3.0"]
248}
249}]
250************************
251[success] Total time: 38 s, completed Dec 4, 2025, 3:14:50 PM
252[0JChecking patch project/plugins.sbt...
253Checking patch project/build.properties...
254Checking patch build.sbt...
255Applied patch project/plugins.sbt cleanly.
256Applied patch project/build.properties cleanly.
257Applied patch build.sbt cleanly.