Build Logs
zio/zio-json • scheduled_3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY
Errors
0
Warnings
27
Total Lines
273
1##################################
2Clonning https://github.com/zio/zio-json.git into /build/repo using revision v0.7.45
3##################################
4Note: switching to 'bd1b40fb9cca051c66619da817e77f605e563f3f'.
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.7
22----
23Preparing build for 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY
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: project/BuildHelper.scala
34Pattern: val Scala3: String = "3.3.7"
35Replacement: val Scala3: String = "3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY"
36Starting compilation server
37Compiling project (Scala 3.7.3, JVM (21))
38Compiled project (Scala 3.7.3, JVM (21))
39Successfully applied pattern 'val Scala3: String = "3.3.7"' in project/BuildHelper.scala
40----
41Starting build for 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY
42Execute tests: false
43sbt project found:
44No prepare script found for project zio/zio-json
45##################################
46Scala version: 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY
47Targets: dev.zio%zio-json dev.zio%zio-json-golden dev.zio%zio-json-interop-http4s dev.zio%zio-json-interop-refined dev.zio%zio-json-yaml
48Project projectConfig: {"projects":{"exclude":[],"overrides":{"zio-json-interop-refined":{"tests":"disabled"}}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"project/BuildHelper.scala","pattern":"val Scala3: String = \"3.3.7\"","replaceWith":"val Scala3: String = \"<SCALA_VERSION>\""}]}
49##################################
50Using extra scalacOptions: ,REQUIRE:-source:3.8
51Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
52[sbt_options] declare -a sbt_options=()
53[process_args] java_version = '21'
54[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21/rt.jar'
55# Executing command line:
56java
57-Xmx6g
58-Xss2m
59-XX:+UseG1GC
60-XX:InitialCodeCacheSize=512m
61-XX:ReservedCodeCacheSize=512m
62-Dfile.encoding=UTF8
63-Dcommunitybuild.scala=3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY
64-Dcommunitybuild.project.dependencies.add=
65-Xmx7G
66-Xms4G
67-Xss8M
68-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
69-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21
70-jar
71/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
72"setCrossScalaVersions 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY"
73"++3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY -v"
74"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
75"set every credentials := Nil"
76"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
77"removeScalacOptionsStartingWith -P:wartremover"
78
79moduleMappings
80"runBuild 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY """{"projects":{"exclude":[],"overrides":{"zio-json-interop-refined":{"tests":"disabled"}}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"project/BuildHelper.scala","pattern":"val Scala3: String = \"3.3.7\"","replaceWith":"val Scala3: String = \"<SCALA_VERSION>\""}]}""" dev.zio%zio-json dev.zio%zio-json-golden dev.zio%zio-json-interop-http4s dev.zio%zio-json-interop-refined dev.zio%zio-json-yaml"
81
82[info] [launcher] getting org.scala-sbt sbt 1.11.7 (this may take some time)...
83[info] welcome to sbt 1.11.7 (Eclipse Adoptium Java 21)
84[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
85[info] loading project definition from /build/repo/project
86[info] compiling 4 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
87[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
88[info] Compilation completed in 7.725s.
89[info] done compiling
90[info] loading settings for project zioJsonRoot from build.sbt...
91[info] resolving key references (22898 settings) ...
92[info] set current project to zioJsonRoot (in build file:/build/repo/)
93Execute setCrossScalaVersions: 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY
94OpenCB::Changing crossVersion 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY -> 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY in zioJsonNative/crossScalaVersions
95OpenCB::Changing crossVersion 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY -> 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY in zioJsonInteropRefinedNative/crossScalaVersions
96OpenCB::Changing crossVersion 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY -> 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY in zioJsonInteropRefinedJS/crossScalaVersions
97OpenCB::Changing crossVersion 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY -> 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY in zioJsonInteropRefinedJVM/crossScalaVersions
98OpenCB::Changing crossVersion 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY -> 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY in zioJsonJVM/crossScalaVersions
99OpenCB::Limitting incorrect crossVersions List() -> List(2.13.17) in zioJsonRoot/crossScalaVersions
100OpenCB::Changing crossVersion 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY -> 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY in zioJsonInteropHttp4s/crossScalaVersions
101OpenCB::Changing crossVersion 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY -> 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY in zioJsonGolden/crossScalaVersions
102OpenCB::Changing crossVersion 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY -> 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY in zioJsonYaml/crossScalaVersions
103OpenCB::Changing crossVersion 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY -> 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY in zioJsonJS/crossScalaVersions
104[info] set current project to zioJsonRoot (in build file:/build/repo/)
105[info] Setting Scala version to 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY on 9 projects.
106[info] Switching Scala version on:
107[info] zioJsonJS (2.12.20, 2.13.17, 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY)
108[info] zioJsonInteropRefinedNative (2.12.20, 2.13.17, 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY)
109[info] zioJsonInteropHttp4s (2.12.20, 2.13.17, 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY)
110[info] zioJsonYaml (2.12.20, 2.13.17, 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY)
111[info] zioJsonInteropRefinedJS (2.12.20, 2.13.17, 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY)
112[info] zioJsonNative (2.12.20, 2.13.17, 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY)
113[info] zioJsonGolden (2.12.20, 2.13.17, 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY)
114[info] zioJsonJVM (2.12.20, 2.13.17, 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY)
115[info] zioJsonInteropRefinedJVM (2.12.20, 2.13.17, 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY)
116[info] Excluding projects:
117[info] zioJsonMacrosJVM (2.12.20, 2.13.17)
118[info] docs (2.13.17)
119[info] * zioJsonRoot (2.13.17)
120[info] zioJsonMacrosNative (2.12.20, 2.13.17)
121[info] zioJsonInteropScalaz7xJVM (2.12.20, 2.13.17)
122[info] zioJsonInteropScalaz7xJS (2.12.20, 2.13.17)
123[info] zioJsonInteropScalaz7xNative (2.12.20, 2.13.17)
124[info] zioJsonMacrosJS (2.12.20, 2.13.17)
125[info] Reapplying settings...
126[info] set current project to zioJsonRoot (in build file:/build/repo/)
127Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
128[info] Reapplying settings...
129[info] set current project to zioJsonRoot (in build file:/build/repo/)
130[info] Defining Global / credentials, credentials and 15 others.
131[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 156 others.
132[info] Run `last` for details.
133[info] Reapplying settings...
134[info] set current project to zioJsonRoot (in build file:/build/repo/)
135Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
136[info] Reapplying settings...
137OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
138
139 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
140 Did you mean zioJsonInteropScalaz7xNative / allExcludeDependencies ?
141 , retry without global scopes
142[info] Reapplying settings...
143[info] set current project to zioJsonRoot (in build file:/build/repo/)
144Execute removeScalacOptionsStartingWith: -P:wartremover
145[info] Reapplying settings...
146[info] set current project to zioJsonRoot (in build file:/build/repo/)
147[success] Total time: 0 s, completed Dec 6, 2025, 12:48:36 AM
148Build config: {"projects":{"exclude":[],"overrides":{"zio-json-interop-refined":{"tests":"disabled"}}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"project/BuildHelper.scala","pattern":"val Scala3: String = \"3.3.7\"","replaceWith":"val Scala3: String = \"<SCALA_VERSION>\""}]}
149Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map(zio-json-interop-refined -> ProjectOverrides(Some(Disabled)))),CompileOnly,List()))
150Starting build...
151Projects: Set(zioJsonInteropHttp4s, zioJsonYaml, zioJsonGolden, zioJsonJVM, zioJsonInteropRefinedJVM)
152Starting build for ProjectRef(file:/build/repo/,zioJsonInteropHttp4s) (zio-json-interop-http4s)... [0/5]
153OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
154OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
155OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
156Compile scalacOptions: -encoding, UTF-8, -unchecked, -language:implicitConversions, -Xignore-scala2-macros, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
157[info] compiling 36 Scala sources to /build/repo/zio-json/jvm/target/scala-3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY/classes ...
158[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/zio-json/shared/src/main/scala-3/zio/json/union_derivation.scala:53:13
159[warn] 53 | case o: Constant if o <:< bound && o.isSingleton =>
160[warn] | ^
161[warn] |the type test for x$1.reflect.Constant cannot be checked at runtime because it refers to an abstract type member or type parameter
162[warn] |
163[warn] | longer explanation available when compiling with `-explain`
164[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/zio-json/shared/src/main/scala/zio/json/ast/JsonCursor.scala:24:32
165[warn] 24 | case JsonCursor.DownField(oldParent: JsonCursor[To, Json.Obj], name) =>
166[warn] | ^
167[warn] |the type test for zio.json.ast.JsonCursor[To, zio.json.ast.Json.Obj] cannot be checked at runtime because its type arguments can't be determined from zio.json.ast.JsonCursor[?, zio.json.ast.Json.Obj]
168[warn] |
169[warn] | longer explanation available when compiling with `-explain`
170[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/zio-json/shared/src/main/scala/zio/json/ast/JsonCursor.scala:27:34
171[warn] 27 | case JsonCursor.DownElement(oldParent: JsonCursor[To, Json.Arr], index) =>
172[warn] | ^
173[warn] |the type test for zio.json.ast.JsonCursor[To, zio.json.ast.Json.Arr] cannot be checked at runtime because its type arguments can't be determined from zio.json.ast.JsonCursor[?, zio.json.ast.Json.Arr]
174[warn] |
175[warn] | longer explanation available when compiling with `-explain`
176[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/zio-json/shared/src/main/scala/zio/json/ast/JsonCursor.scala:30:33
177[warn] 30 | case JsonCursor.FilterType(oldParent: JsonCursor[To, _], tpe) =>
178[warn] | ^
179[warn] |the type test for zio.json.ast.JsonCursor[To, _] @_ cannot be checked at runtime because its type arguments can't be determined from zio.json.ast.JsonCursor[?, ? <: zio.json.ast.Json]
180[warn] |
181[warn] | longer explanation available when compiling with `-explain`
182[warn] four warnings found
183[info] done compiling
184[info] compiling 6 Scala sources to /build/repo/zio-json-interop-http4s/target/scala-3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY/classes ...
185[info] done compiling
186[info] compiling 1 Scala source to /build/repo/zio-json-interop-http4s/target/scala-3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY/test-classes ...
187[info] done compiling
188Starting build for ProjectRef(file:/build/repo/,zioJsonYaml) (zio-json-yaml)... [1/5]
189Compile scalacOptions: -encoding, UTF-8, -unchecked, -language:implicitConversions, -Xignore-scala2-macros, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
190[info] compiling 4 Scala sources to /build/repo/zio-json-yaml/target/scala-3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY/classes ...
191[info] done compiling
192[info] compiling 2 Scala sources to /build/repo/zio-json-yaml/target/scala-3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY/test-classes ...
193[info] done compiling
194Starting build for ProjectRef(file:/build/repo/,zioJsonInteropRefinedJVM) (zio-json-interop-refined)... [2/5]
195Compile scalacOptions: -encoding, UTF-8, -unchecked, -language:implicitConversions, -Xignore-scala2-macros, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
196[info] compiling 2 Scala sources to /build/repo/zio-json-interop-refined/jvm/target/scala-3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY/classes ...
197[info] done compiling
198[info] compiling 1 Scala source to /build/repo/zio-json-interop-refined/jvm/target/scala-3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY/test-classes ...
199[info] done compiling
200Starting build for ProjectRef(file:/build/repo/,zioJsonGolden) (zio-json-golden)... [3/5]
201Compile scalacOptions: -encoding, UTF-8, -unchecked, -language:implicitConversions, -Xignore-scala2-macros, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
202[info] compiling 5 Scala sources to /build/repo/zio-json-golden/target/scala-3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY/classes ...
203[info] done compiling
204[info] compiling 1 Scala source to /build/repo/zio-json-golden/target/scala-3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY/test-classes ...
205[info] done compiling
206Starting build for ProjectRef(file:/build/repo/,zioJsonJVM) (zio-json)... [4/5]
207Compile scalacOptions: -encoding, UTF-8, -unchecked, -language:implicitConversions, -Xignore-scala2-macros, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
208[info] compiling 24 Scala sources to /build/repo/zio-json/jvm/target/scala-3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY/test-classes ...
209[warn] there were 6 deprecation warnings; re-run with -deprecation for details
210[warn] one warning found
211[info] done compiling
212
213************************
214Build summary:
215[{
216 "module": "zio-json-interop-http4s",
217 "compile": {"status": "ok", "tookMs": 25143, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
218 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
219 "test-compile": {"status": "ok", "tookMs": 2122, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
220 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
221 "publish": {"status": "skipped", "tookMs": 0},
222 "metadata": {
223 "crossScalaVersions": ["2.12.20", "2.13.17", "3.3.7"]
224}
225},{
226 "module": "zio-json-yaml",
227 "compile": {"status": "ok", "tookMs": 984, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
228 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
229 "test-compile": {"status": "ok", "tookMs": 1802, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
230 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
231 "publish": {"status": "skipped", "tookMs": 0},
232 "metadata": {
233 "crossScalaVersions": ["2.12.20", "2.13.17", "3.3.7"]
234}
235},{
236 "module": "zio-json-interop-refined",
237 "compile": {"status": "ok", "tookMs": 604, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
238 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
239 "test-compile": {"status": "skipped", "tookMs": 0, "warnings": 0, "errors": 0},
240 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
241 "publish": {"status": "skipped", "tookMs": 0},
242 "metadata": {
243 "crossScalaVersions": ["2.12.20", "2.13.17", "3.3.7"]
244}
245},{
246 "module": "zio-json-golden",
247 "compile": {"status": "ok", "tookMs": 1073, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
248 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
249 "test-compile": {"status": "ok", "tookMs": 1625, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
250 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
251 "publish": {"status": "skipped", "tookMs": 0},
252 "metadata": {
253 "crossScalaVersions": ["2.12.20", "2.13.17", "3.3.7"]
254}
255},{
256 "module": "zio-json",
257 "compile": {"status": "ok", "tookMs": 62, "warnings": 4, "errors": 0, "sourceVersion": "3.8"},
258 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
259 "test-compile": {"status": "ok", "tookMs": 36060, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
260 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
261 "publish": {"status": "skipped", "tookMs": 0},
262 "metadata": {
263 "crossScalaVersions": ["2.12.20", "2.13.17", "3.3.7"]
264}
265}]
266************************
267[success] Total time: 105 s (0:01:45.0), completed Dec 6, 2025, 12:50:20 AM
268[0JChecking patch project/plugins.sbt...
269Checking patch project/BuildHelper.scala...
270Checking patch build.sbt...
271Applied patch project/plugins.sbt cleanly.
272Applied patch project/BuildHelper.scala cleanly.
273Applied patch build.sbt cleanly.