Build Logs
pjfanning/play-json • 3.8.0-RC2:2025-11-26
Errors
0
Warnings
63
Total Lines
224
1##################################
2Clonning https://github.com/pjfanning/play-json.git into /build/repo using revision 3.3.0
3##################################
4Note: switching to '94cd472997c8ac9400072dfffd993343552901a8'.
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-RC2
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/Dependencies.scala
34Pattern: val Scala3 = "3.3.3"
35Replacement: val Scala3 = "3.8.0-RC2"
36Starting compilation server
37Compiling project (Scala 3.7.3, JVM (17))
38Compiled project (Scala 3.7.3, JVM (17))
39Successfully applied pattern 'val Scala3 = "3.3.3"' in project/Dependencies.scala
40----
41Starting build for 3.8.0-RC2
42Execute tests: false
43sbt project found:
44Sbt version 1.11.2 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 pjfanning/play-json
47/opencb/project-builder/sbt/prepare-project.sh: line 107: /root/.ssh/config: No such file or directory
48##################################
49Scala version: 3.8.0-RC2
50Targets: com.github.pjfanning%play-json
51Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"project/Dependencies.scala","pattern":"val Scala3 = \"3.3.3\"","replaceWith":"val Scala3 = \"<SCALA_VERSION>\""}]}
52##################################
53Using extra scalacOptions: ,REQUIRE:-source:3.8
54Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
55[sbt_options] declare -a sbt_options=()
56[process_args] java_version = '17'
57[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
58# Executing command line:
59java
60-Dfile.encoding=UTF-8
61-Dcommunitybuild.scala=3.8.0-RC2
62-Dcommunitybuild.project.dependencies.add=
63-Xmx7G
64-Xms4G
65-Xss8M
66-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
67-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
68-jar
69/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
70"setCrossScalaVersions 3.8.0-RC2"
71"++3.8.0-RC2 -v"
72"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
73"set every credentials := Nil"
74"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
75"removeScalacOptionsStartingWith -P:wartremover"
76
77moduleMappings
78"runBuild 3.8.0-RC2 """{"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"project/Dependencies.scala","pattern":"val Scala3 = \"3.3.3\"","replaceWith":"val Scala3 = \"<SCALA_VERSION>\""}]}""" com.github.pjfanning%play-json"
79
80[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
81[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
82[info] loading project definition from /build/repo/project
83[info] compiling 6 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
84[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
85[info] Compilation completed in 9.079s.
86[info] done compiling
87[info] loading settings for project root from build.sbt...
88[info] set current project to root (in build file:/build/repo/)
89Execute setCrossScalaVersions: 3.8.0-RC2
90OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in benchmarks/crossScalaVersions
91OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in play-jsonJVM/crossScalaVersions
92OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in docs/crossScalaVersions
93OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in root/crossScalaVersions
94[info] set current project to root (in build file:/build/repo/)
95[info] Setting Scala version to 3.8.0-RC2 on 4 projects.
96[info] Switching Scala version on:
97[info] * root (2.12.20, 2.13.16, 3.8.0-RC2)
98[info] play-jsonJVM (2.12.20, 2.13.16, 3.8.0-RC2)
99[info] benchmarks (2.12.20, 2.13.16, 3.8.0-RC2)
100[info] docs (2.12.20, 2.13.16, 3.8.0-RC2)
101[info] Excluding projects:
102[info] Reapplying settings...
103[info] set current project to root (in build file:/build/repo/)
104Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
105[info] Reapplying settings...
106[info] set current project to root (in build file:/build/repo/)
107[info] Defining Global / credentials, benchmarks / credentials and 2 others.
108[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 31 others.
109[info] Run `last` for details.
110[info] Reapplying settings...
111[info] set current project to root (in build file:/build/repo/)
112Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
113[info] Reapplying settings...
114OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
115
116 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:336)
117 Did you mean allExcludeDependencies ?
118 , retry without global scopes
119[info] Reapplying settings...
120[info] set current project to root (in build file:/build/repo/)
121Execute removeScalacOptionsStartingWith: -P:wartremover
122[info] Reapplying settings...
123[info] set current project to root (in build file:/build/repo/)
124[success] Total time: 0 s, completed Nov 26, 2025, 5:53:41 PM
125Build config: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"project/Dependencies.scala","pattern":"val Scala3 = \"3.3.3\"","replaceWith":"val Scala3 = \"<SCALA_VERSION>\""}]}
126Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
127Starting build...
128Projects: Set(play-jsonJVM)
129Starting build for ProjectRef(file:/build/repo/,play-jsonJVM) (play-json)... [0/1]
130OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
131OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
132OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
133Compile scalacOptions: -unchecked, -encoding, utf8, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
134[info] compiling 33 Scala sources to /build/repo/play-json/jvm/target/scala-3.8.0-RC2/classes ...
135[warn] -- [E197] Potential Issue Warning: /build/repo/play-json/shared/src/main/scala-3/play/api/libs/json/JsMacroImpl.scala:88:4
136[warn] 88 | new Reads[A] { self =>
137[warn] | ^
138[warn] | New anonymous class definition will be duplicated at each inline site
139[warn] |
140[warn] | longer explanation available when compiling with `-explain`
141[warn] -- [E197] Potential Issue Warning: /build/repo/play-json/shared/src/main/scala-3/play/api/libs/json/JsMacroImpl.scala:448:4
142[warn] 448 | new OWrites[A] { self =>
143[warn] | ^
144[warn] | New anonymous class definition will be duplicated at each inline site
145[warn] |
146[warn] | longer explanation available when compiling with `-explain`
147[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/play-json/shared/src/main/scala-3/play/api/libs/json/JsMacroImpl.scala:722:14
148[warn] 722 | case WritableField(param, i, optType @ OptionTypeParameter(pt)) =>
149[warn] | ^
150[warn] | match may not be exhaustive.
151[warn] |
152[warn] | It would fail on pattern case: WritableField(_, _, _)
153[warn] |
154[warn] | longer explanation available when compiling with `-explain`
155[warn] there were 17 deprecation warnings; re-run with -deprecation for details
156[warn] four warnings found
157[info] done compiling
158[info] compiling 31 Scala sources to /build/repo/play-json/jvm/target/scala-3.8.0-RC2/test-classes ...
159[warn] -- Warning: /build/repo/play-json/shared/src/test/scala/play/api/libs/json/MacroSpec.scala:107:62
160[warn] 107 | implicit val familyReads: Reads[Family] = Json.reads[Family]
161[warn] | ^^^^^^^^^^^^^^^^^^
162[warn] |Generic type play.api.libs.json.MacroSpec.Lorem[T] is not supported as member of sealed family play.api.libs.json.MacroSpec.Family.
163[warn] -- Warning: /build/repo/play-json/shared/src/test/scala/play/api/libs/json/MacroSpec.scala:206:62
164[warn] 206 | implicit val familyWrites: OWrites[Family] = Json.writes[Family]
165[warn] | ^^^^^^^^^^^^^^^^^^^
166[warn] |Generic type play.api.libs.json.MacroSpec.Lorem[T] is not supported as a member of sealed family play.api.libs.json.MacroSpec.Family
167[warn] -- Warning: /build/repo/play-json/shared/src/test/scala/play/api/libs/json/MacroSpec.scala:383:66
168[warn] 383 | implicit val familyFormat: OFormat[Family] = Json.format[Family]
169[warn] | ^^^^^^^^^^^^^^^^^^^
170[warn] |Generic type play.api.libs.json.MacroSpec.Lorem[T] is not supported as member of sealed family play.api.libs.json.MacroSpec.Family.
171[warn] -- Warning: /build/repo/play-json/shared/src/test/scala/play/api/libs/json/MacroSpec.scala:415:66
172[warn] 415 | implicit val familyFormat: OFormat[Family] = Json.format[Family]
173[warn] | ^^^^^^^^^^^^^^^^^^^
174[warn] |Generic type play.api.libs.json.MacroSpec.Lorem[T] is not supported as member of sealed family play.api.libs.json.MacroSpec.Family.
175[warn] -- Warning: /build/repo/play-json/shared/src/test/scala/play/api/libs/json/MacroSpec.scala:454:65
176[warn] 454 | implicit val familyFormat: OFormat[Family] = Json.format[Family]
177[warn] | ^^^^^^^^^^^^^^^^^^^
178[warn] |Generic type play.api.libs.json.MacroSpec.Lorem[T] is not supported as member of sealed family play.api.libs.json.MacroSpec.Family.
179[warn] -- Warning: /build/repo/play-json/shared/src/test/scala/play/api/libs/json/MacroSpec.scala:595:60
180[warn] 595 | implicit val familyWrites: OWrites[Family] = Json.writes[Family] // Failing:
181[warn] | ^^^^^^^^^^^^^^^^^^^
182[warn] |Generic type play.api.libs.json.MacroSpec.Lorem[T] is not supported as a member of sealed family play.api.libs.json.MacroSpec.Family
183[warn] -- Warning: /build/repo/play-json/shared/src/test/scala/play/api/libs/json/MacroSpec.scala:607:76
184[warn] 607 | implicit val idReads: Reads[Id] = implicitly[Reads[String]].asInstanceOf[Reads[Id]]
185[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
186[warn] | Infinite loop in function body
187[warn] | implicitly[play.api.libs.json.Reads[String]](
188[warn] | play.api.libs.json.MacroSpec.Foo.idReads).asInstanceOf[
189[warn] | play.api.libs.json.Reads[play.api.libs.json.MacroSpec.Foo.Id]]
190[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/docs/manual/working/scalaGuide/main/json/code/ScalaJsonCombinatorsSpec.scala:443:46
191[warn] 443 | userResult.must(beLike { case JsSuccess(u: User, _) => u.name === "Fiver" })
192[warn] | ^
193[warn] |the type test for User cannot be checked at runtime because it's a local class
194[warn] |
195[warn] | longer explanation available when compiling with `-explain`
196[warn] there were 6 deprecation warnings; re-run with -deprecation for details
197[warn] 9 warnings found
198[warn] there were 6 deprecation warnings; re-run with -deprecation for details
199[warn] 10 warnings found
200[info] done compiling
201
202************************
203Build summary:
204[{
205 "module": "play-json",
206 "compile": {"status": "ok", "tookMs": 22629, "warnings": 3, "errors": 0, "sourceVersion": "3.8"},
207 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
208 "test-compile": {"status": "ok", "tookMs": 27228, "warnings": 9, "errors": 0, "sourceVersion": "3.8"},
209 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
210 "publish": {"status": "skipped", "tookMs": 0},
211 "metadata": {
212 "crossScalaVersions": ["2.12.20", "2.13.16", "3.3.3"]
213}
214}]
215************************
216[success] Total time: 65 s (0:01:05.0), completed Nov 26, 2025, 5:54:46 PM
217[0JChecking patch project/plugins.sbt...
218Checking patch project/build.properties...
219Checking patch project/Dependencies.scala...
220Checking patch build.sbt...
221Applied patch project/plugins.sbt cleanly.
222Applied patch project/build.properties cleanly.
223Applied patch project/Dependencies.scala cleanly.
224Applied patch build.sbt cleanly.