Build Logs

lowmelvin/scala-json-schema • 3.8.0-RC5:2025-12-31

Errors

0

Warnings

21

Total Lines

211

1##################################
2Clonning https://github.com/lowmelvin/scala-json-schema.git into /build/repo using revision v0.2.0
3##################################
4Note: switching to 'c1022002ad2ffe943e396dfe79dc61ef42a82c3c'.
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
21Would override fixed Scala version: 3.3.3
22----
23Preparing build for 3.8.0-RC5
24Scala binary version found: 3.8
25Implicitly using source version 3.8
26Scala binary version found: 3.8
27Implicitly using source version 3.8
28Would try to apply common scalacOption (best-effort, sbt/mill only):
29Append: ,REQUIRE:-source:3.8
30Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
31
32Try apply source patch:
33Path: build.sbt
34Pattern: val scala3Version = "3.3.3"
35Replacement: val scala3Version = "3.8.0-RC5"
36Starting compilation server
37Compiling project (Scala 3.7.3, JVM (17))
38Compiled project (Scala 3.7.3, JVM (17))
39Successfully applied pattern 'val scala3Version = "3.3.3"' in build.sbt
40----
41Starting build for 3.8.0-RC5
42Execute tests: true
43sbt project found:
44Sbt version 1.10.1 is not supported, minimal supported version is 1.11.5
45Enforcing usage of sbt in version 1.11.5
46No prepare script found for project lowmelvin/scala-json-schema
47##################################
48Scala version: 3.8.0-RC5
49Targets: com.melvinlow%scala-json-schema
50Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3Version = \"3.3.3\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}
51##################################
52Using extra scalacOptions: ,REQUIRE:-source:3.8
53Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
54[sbt_options] declare -a sbt_options=()
55[process_args] java_version = '17'
56[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
57# Executing command line:
58java
59-Dfile.encoding=UTF-8
60-Dcommunitybuild.scala=3.8.0-RC5
61-Dcommunitybuild.project.dependencies.add=
62-Xmx7G
63-Xms4G
64-Xss8M
65-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
66-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
67-jar
68/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
69"setCrossScalaVersions 3.8.0-RC5"
70"++3.8.0-RC5 -v"
71"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
72"set every credentials := Nil"
73"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
74"removeScalacOptionsStartingWith -P:wartremover"
75
76moduleMappings
77"runBuild 3.8.0-RC5 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3Version = \"3.3.3\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}""" com.melvinlow%scala-json-schema"
78
79[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
80[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
81[info] loading project definition from /build/repo/project
82[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
83[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
84[info] Compilation completed in 8.758s.
85[info] done compiling
86[info] loading settings for project root from build.sbt...
87[info] set current project to scala-json-schema (in build file:/build/repo/)
88Execute setCrossScalaVersions: 3.8.0-RC5
89OpenCB::Changing crossVersion 3.8.0-RC5 -> 3.8.0-RC5 in docs/crossScalaVersions
90OpenCB::Changing crossVersion 3.8.0-RC5 -> 3.8.0-RC5 in root/crossScalaVersions
91[info] set current project to scala-json-schema (in build file:/build/repo/)
92[info] Setting Scala version to 3.8.0-RC5 on 2 projects.
93[info] Switching Scala version on:
94[info] * root (3.8.0-RC5)
95[info] docs (3.8.0-RC5)
96[info] Excluding projects:
97[info] Reapplying settings...
98[info] set current project to scala-json-schema (in build file:/build/repo/)
99Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
100[info] Reapplying settings...
101[info] set current project to scala-json-schema (in build file:/build/repo/)
102[info] Defining Global / credentials, credentials, docs / credentials
103[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 17 others.
104[info] Run `last` for details.
105[info] Reapplying settings...
106[info] set current project to scala-json-schema (in build file:/build/repo/)
107Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
108[info] Reapplying settings...
109OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
110
111 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
112 Did you mean allExcludeDependencies ?
113 , retry without global scopes
114[info] Reapplying settings...
115[info] set current project to scala-json-schema (in build file:/build/repo/)
116Execute removeScalacOptionsStartingWith: -P:wartremover
117[info] Reapplying settings...
118[info] set current project to scala-json-schema (in build file:/build/repo/)
119[success] Total time: 0 s, completed Dec 31, 2025, 10:56:47 PM
120Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3Version = \"3.3.3\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}
121Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
122Starting build...
123Projects: Set(root)
124Starting build for ProjectRef(file:/build/repo/,root) (scala-json-schema)... [0/1]
125OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
126OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
127OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
128OpenCB::Filter out '-Werror', matches setting pattern '^-?-Werror'
129OpenCB::Filter out '-source:future-migration', matches setting pattern '^-?-source(:.*)?'
130Compile scalacOptions: -encoding, UTF-8, -unchecked, -Wunused:all, -Wvalue-discard, -no-indent, -explain, -rewrite, -Xsemanticdb, -semanticdb-target, /build/repo/target/scala-3.8.0-RC5/meta, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
131[info] compiling 7 Scala sources to /build/repo/target/scala-3.8.0-RC5/classes ...
132[warn] -- [E198] Unused Symbol Warning: /build/repo/src/main/scala/com/melvinlow/json/schema/JsonSchema.scala:8:48
133[warn] 8 | inline def apply[T: JsonSchemaEncoder](inline dummy: T): Json = apply[T]
134[warn] | ^^^^^
135[warn] | unused explicit parameter
136[warn] -- [E198] Unused Symbol Warning: /build/repo/src/main/scala/com/melvinlow/json/schema/JsonSchemaEncoder.scala:15:11
137[warn] 15 | inline dummy: T
138[warn] | ^^^^^
139[warn] | unused explicit parameter
140[warn] -- Warning: /build/repo/src/main/scala/com/melvinlow/json/schema/annotation/JsonSchemaField.scala:8:0
141[warn] 8 |@nowarn
142[warn] |^^^^^^^
143[warn] |@nowarn annotation does not suppress any warnings
144[warn] -- Warning: /build/repo/src/main/scala/com/melvinlow/json/schema/generic/auto.scala:35:2
145[warn] 35 | @nowarn
146[warn] | ^^^^^^^
147[warn] | @nowarn annotation does not suppress any warnings
148[warn] -- Warning: /build/repo/src/main/scala/com/melvinlow/json/schema/generic/auto.scala:28:2
149[warn] 28 | @nowarn
150[warn] | ^^^^^^^
151[warn] | @nowarn annotation does not suppress any warnings
152[warn] 5 warnings found
153[info] done compiling
154[info] compiling 2 Scala sources to /build/repo/target/scala-3.8.0-RC5/test-classes ...
155[info] done compiling
156com.melvinlow.json.schema.JsonSchemaEncoderSuite:
157 + encode a string 0.08s
158 + encode a literal string 0.0s
159 + encode a boolean 0.001s
160 + encode a literal boolean 0.001s
161 + encode an integer 0.001s
162 + encode a literal integer 0.001s
163 + encode a long 0.001s
164 + encode a literal long 0.001s
165 + encode a double 0.001s
166 + encode a literal double 0.0s
167 + encode a float 0.001s
168 + encode a literal float 0.0s
169 + encode null 0.001s
170 + encode a list of strings 0.001s
171 + encode an array of integers 0.001s
172 + encode a new type with an custom field 0.01s
173 + encode with various syntax 0.007s
174 + encode a product type 0.003s
175 + encode a sum type 0.005s
176 + encode a nested product 0.004s
177 + encode a nested sum 0.006s
178 + encode an oldschool ADT 0.005s
179 + encode a newschool ADT 0.004s
180 + encode with constructor custom field 0.001s
181 + encode with multiple constructor custom fields 0.001s
182 + encode with child custom field 0.004s
183 + encode with multiple child custom fields 0.002s
184 + encode with nested custom fields 0.004s
185 + must handle alias types 0.002s
186 + must handle alias type 2 0.0s
187 + must override type field 0.002s
188 + must override constructor field 0.001s
189 + must override child field 0.003s
190
191************************
192Build summary:
193[{
194 "module": "scala-json-schema",
195 "compile": {"status": "ok", "tookMs": 6420, "warnings": 5, "errors": 0, "sourceVersion": "3.8"},
196 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
197 "test-compile": {"status": "ok", "tookMs": 5464, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
198 "test": {"status": "ok", "tookMs": 594, "passed": 33, "failed": 0, "ignored": 0, "skipped": 0, "total": 33, "byFramework": [{"framework": "munit", "stats": {"passed": 33, "failed": 0, "ignored": 0, "skipped": 0, "total": 33}}]},
199 "publish": {"status": "skipped", "tookMs": 0},
200 "metadata": {
201 "crossScalaVersions": ["3.3.3"]
202}
203}]
204************************
205[success] Total time: 14 s, completed Dec 31, 2025, 10:57:00 PM
206[0JChecking patch project/plugins.sbt...
207Checking patch project/build.properties...
208Checking patch build.sbt...
209Applied patch project/plugins.sbt cleanly.
210Applied patch project/build.properties cleanly.
211Applied patch build.sbt cleanly.