Build Logs

typelevel/jawn • scheduled_3.8.1-RC1-bin-20260102-32e416e-NIGHTLY

Errors

0

Warnings

125

Total Lines

560

1##################################
2Clonning https://github.com/typelevel/jawn.git into /build/repo using revision v1.6.0
3##################################
4Note: switching to 'af6f942efa64dc13896d562e7166db67dad99e7e'.
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
22Using target Scala version for migration: 3.7.4
23Migrating project for -source:3.7 using Scala 3.7.4
24----
25Preparing build for 3.7.4
26Would try to apply common scalacOption (best-effort, sbt/mill only):
27Append: -rewrite,REQUIRE:-source:3.7-migration
28Remove: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
29
30Try apply source patch:
31Path: build.sbt
32Pattern: val scala3 = "3.3.3"
33Replacement: val scala3 = "3.7.4"
34Starting compilation server
35Compiling project (Scala 3.7.3, JVM (17))
36Compiled project (Scala 3.7.3, JVM (17))
37Successfully applied pattern 'val scala3 = "3.3.3"' in build.sbt
38----
39Starting build for 3.7.4
40Execute tests: false
41sbt project found:
42Sbt version 1.10.0 is not supported, minimal supported version is 1.11.5
43Enforcing usage of sbt in version 1.11.5
44No prepare script found for project typelevel/jawn
45##################################
46Scala version: 3.7.4
47Targets: org.typelevel%jawn-ast org.typelevel%jawn-parser org.typelevel%jawn-util
48Project projectConfig: {"projects":{"exclude":["com.eed3si9n%shaded-jawn-parser"],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.7"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.3\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
49##################################
50Using extra scalacOptions: -rewrite,REQUIRE:-source:3.7-migration
51Filtering out scalacOptions: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
52[sbt_options] declare -a sbt_options=()
53[process_args] java_version = '17'
54[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
55# Executing command line:
56java
57-Xmx4G
58-Dcommunitybuild.scala=3.7.4
59-Dcommunitybuild.project.dependencies.add=
60-Xmx7G
61-Xms4G
62-Xss8M
63-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
64-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
65-jar
66/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
67"setCrossScalaVersions 3.7.4"
68"++3.7.4 -v"
69"mapScalacOptions "-rewrite,REQUIRE:-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s" "-indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
70"set every credentials := Nil"
71"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
72"removeScalacOptionsStartingWith -P:wartremover"
73
74moduleMappings
75"runBuild 3.7.4 """{"projects":{"exclude":["com.eed3si9n%shaded-jawn-parser"],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.7"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.3\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}""" org.typelevel%jawn-ast org.typelevel%jawn-parser org.typelevel%jawn-util"
76
77[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
78[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
79[info] loading project definition from /build/repo/project
80[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
81[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
82[info] Compilation completed in 9.108s.
83[info] done compiling
84[info] loading settings for project root from build.sbt...
85[info] loading settings for project benchmark from build.sbt...
86[info] resolving key references (14495 settings) ...
87[info] set scmInfo to https://github.com/typelevel/jawn
88[info] set current project to jawn-root (in build file:/build/repo/)
89Execute setCrossScalaVersions: 3.7.4
90OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in astJS/crossScalaVersions
91OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in benchmark/crossScalaVersions
92[info] set scmInfo to https://github.com/typelevel/jawn
93OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in astNative/crossScalaVersions
94OpenCB::Limitting incorrect crossVersions List() -> List(2.12.19) in root/crossScalaVersions
95OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in utilJS/crossScalaVersions
96OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in utilJVM/crossScalaVersions
97OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in parserJS/crossScalaVersions
98OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in rootNative/crossScalaVersions
99OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in parserJVM/crossScalaVersions
100OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in utilNative/crossScalaVersions
101OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in rootJVM/crossScalaVersions
102OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in rootJS/crossScalaVersions
103OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in astJVM/crossScalaVersions
104OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in parserNative/crossScalaVersions
105[info] set current project to jawn-root (in build file:/build/repo/)
106[info] Setting Scala version to 3.7.4 on 13 projects.
107[info] Switching Scala version on:
108[info] utilNative (3.7.4, 2.13.14, 2.12.19)
109[info] parserJVM (3.7.4, 2.13.14, 2.12.19)
110[info] rootJS (3.7.4, 2.13.14, 2.12.19)
111[info] parserJS (3.7.4, 2.13.14, 2.12.19)
112[info] astNative (3.7.4, 2.13.14, 2.12.19)
113[info] astJVM (3.7.4, 2.13.14, 2.12.19)
114[info] parserNative (3.7.4, 2.13.14, 2.12.19)
115[info] astJS (3.7.4, 2.13.14, 2.12.19)
116[info] rootJVM (3.7.4, 2.13.14, 2.12.19)
117[info] rootNative (3.7.4, 2.13.14, 2.12.19)
118[info] utilJS (3.7.4, 2.13.14, 2.12.19)
119[info] utilJVM (3.7.4, 2.13.14, 2.12.19)
120[info] benchmark (3.7.4, 2.13.14, 2.12.19)
121[info] Excluding projects:
122[info] * root (2.12.19)
123[info] Reapplying settings...
124[info] set scmInfo to https://github.com/typelevel/jawn
125[info] set current project to jawn-root (in build file:/build/repo/)
126Execute mapScalacOptions: -rewrite,REQUIRE:-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
127[info] Reapplying settings...
128[info] set scmInfo to https://github.com/typelevel/jawn
129[info] set current project to jawn-root (in build file:/build/repo/)
130[info] Defining Global / credentials, astJS / credentials and 12 others.
131[info] The new values will be used by Compile / scalafmtOnly, IntegrationTest / scalafmtOnly and 123 others.
132[info] Run `last` for details.
133[info] Reapplying settings...
134[info] set scmInfo to https://github.com/typelevel/jawn
135[info] set current project to jawn-root (in build file:/build/repo/)
136Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
137[info] Reapplying settings...
138OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
139
140 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
141 Did you mean rootJVM / allExcludeDependencies ?
142 , retry without global scopes
143[info] Reapplying settings...
144[info] set scmInfo to https://github.com/typelevel/jawn
145[info] set current project to jawn-root (in build file:/build/repo/)
146Execute removeScalacOptionsStartingWith: -P:wartremover
147[info] Reapplying settings...
148[info] set scmInfo to https://github.com/typelevel/jawn
149[info] set current project to jawn-root (in build file:/build/repo/)
150[success] Total time: 0 s, completed Jan 3, 2026, 12:40:12 AM
151Build config: {"projects":{"exclude":["com.eed3si9n%shaded-jawn-parser"],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.7"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.3\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
152Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(com.eed3si9n%shaded-jawn-parser),Map()),CompileOnly,List()))
153Starting build...
154Projects: Set(astJVM, parserJVM, utilJVM)
155Starting build for ProjectRef(file:/build/repo/,astJVM) (jawn-ast)... [0/3]
156OpenCB::Exclude Scala3 specific scalacOption `-rewrite` in Scala 2.12.20 module Global
157OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.7-migration` in Scala 2.12.20 module Global
158OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
159OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
160Compile scalacOptions: -encoding, UTF-8, -unchecked, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -Wvalue-discard, -language:implicitConversions, -Ykind-projector, -java-output-version, 8, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
161[info] compiling 17 Scala sources to /build/repo/parser/jvm/target/scala-3.7.4/classes ...
162[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
163[warn] -- [E175] Potential Issue Warning: /build/repo/parser/shared/src/main/scala/jawn/ByteBufferParser.scala:45:66
164[warn] 45 | final protected[this] def close(): Unit = (src: Buffer).position(src.limit)
165[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
166[warn] |discarded non-Unit value of type java.nio.Buffer. Add `: Unit` to discard silently.
167[warn] -- [E198] Unused Symbol Warning: /build/repo/parser/shared/src/main/scala/jawn/ByteBasedParser.scala:45:54
168[warn] 45 | final protected[this] def parseStringSimple(i: Int, ctxt: FContext[J]): Int = {
169[warn] | ^^^^
170[warn] | unused explicit parameter
171[warn] -- [E198] Unused Symbol Warning: /build/repo/parser/shared/src/main/scala/jawn/CharBasedParser.scala:43:54
172[warn] 43 | final protected[this] def parseStringSimple(i: Int, ctxt: FContext[J]): Int = {
173[warn] | ^^^^
174[warn] | unused explicit parameter
175[warn] -- [E198] Unused Symbol Warning: /build/repo/parser/shared/src/main/scala/jawn/FContext.scala:32:39
176[warn] 32 | def add(s: CharSequence, start: Int, limit: Int): Unit = add(s, start)
177[warn] | ^^^^^
178[warn] | unused explicit parameter
179[warn] -- [E198] Unused Symbol Warning: /build/repo/parser/shared/src/main/scala/jawn/Facade.scala:44:43
180[warn] 44 | def jstring(s: CharSequence, start: Int, limit: Int): J = jstring(s, start)
181[warn] | ^^^^^
182[warn] | unused explicit parameter
183[info] [patched file /build/repo/parser/shared/src/main/scala/jawn/Facade.scala]
184[info] [patched file /build/repo/parser/shared/src/main/scala/jawn/ByteBasedParser.scala]
185[info] [patched file /build/repo/parser/jvm/src/main/scala/jawn/ChannelParser.scala]
186[info] [patched file /build/repo/parser/shared/src/main/scala/jawn/Parser.scala]
187[info] [patched file /build/repo/parser/shared/src/main/scala/jawn/AsyncParser.scala]
188[info] [patched file /build/repo/parser/shared/src/main/scala/jawn/ByteArrayParser.scala]
189[info] [patched file /build/repo/parser/shared/src/main/scala/jawn/StringParser.scala]
190[info] [patched file /build/repo/parser/shared/src/main/scala/jawn/CharSequenceParser.scala]
191[info] [patched file /build/repo/parser/shared/src/main/scala/jawn/ByteBufferParser.scala]
192[info] [patched file /build/repo/parser/shared/src/main/scala/jawn/CharBasedParser.scala]
193[warn] there was 1 deprecation warning; re-run with -deprecation for details
194[warn] 7 warnings found
195[info] done compiling
196[info] compiling 3 Scala sources to /build/repo/util/jvm/target/scala-3.7.4/classes ...
197[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
198[warn] one warning found
199[info] done compiling
200[info] compiling 5 Scala sources to /build/repo/ast/jvm/target/scala-3.7.4/classes ...
201[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
202[warn] -- [E175] Potential Issue Warning: /build/repo/ast/shared/src/main/scala/jawn/ast/JValue.scala:321:10
203[warn] 321 | vs.put(k, v)
204[warn] | ^^^^^^^^^^^^
205[warn] |discarded non-Unit value of type Option[org.typelevel.jawn.ast.JValue]. Add `: Unit` to discard silently.
206[info] [patched file /build/repo/ast/shared/src/main/scala/jawn/ast/JawnFacade.scala]
207[warn] two warnings found
208[info] done compiling
209[info] compiling 17 Scala sources to /build/repo/parser/jvm/target/scala-3.7.4/classes ...
210[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
211[warn] -- [E175] Potential Issue Warning: /build/repo/parser/shared/src/main/scala/jawn/ByteBufferParser.scala:45:60
212[warn] 45 | final protected def close(): Unit = (src: Buffer).position(src.limit)
213[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
214[warn] |discarded non-Unit value of type java.nio.Buffer. Add `: Unit` to discard silently.
215[warn] -- [E198] Unused Symbol Warning: /build/repo/parser/shared/src/main/scala/jawn/ByteBasedParser.scala:45:48
216[warn] 45 | final protected def parseStringSimple(i: Int, ctxt: FContext[J]): Int = {
217[warn] | ^^^^
218[warn] | unused explicit parameter
219[warn] -- [E198] Unused Symbol Warning: /build/repo/parser/shared/src/main/scala/jawn/CharBasedParser.scala:43:48
220[warn] 43 | final protected def parseStringSimple(i: Int, ctxt: FContext[J]): Int = {
221[warn] | ^^^^
222[warn] | unused explicit parameter
223[warn] -- [E198] Unused Symbol Warning: /build/repo/parser/shared/src/main/scala/jawn/FContext.scala:32:39
224[warn] 32 | def add(s: CharSequence, start: Int, limit: Int): Unit = add(s, start)
225[warn] | ^^^^^
226[warn] | unused explicit parameter
227[warn] -- [E198] Unused Symbol Warning: /build/repo/parser/shared/src/main/scala/jawn/Facade.scala:44:43
228[warn] 44 | def jstring(s: CharSequence, start: Int, limit: Int): J = jstring(s, start)
229[warn] | ^^^^^
230[warn] | unused explicit parameter
231[warn] there was 1 deprecation warning; re-run with -deprecation for details
232[warn] 7 warnings found
233[info] done compiling
234[info] compiling 6 Scala sources to /build/repo/parser/jvm/target/scala-3.7.4/test-classes ...
235[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
236[info] compiling 1 Scala source to /build/repo/ast/jvm/target/scala-3.7.4/classes ...
237[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
238[warn] one warning found
239[info] done compiling
240[warn] -- [E175] Potential Issue Warning: /build/repo/parser/shared/src/test/scala/jawn/TestUtil.scala:34:20
241[warn] 34 | finally t.delete()
242[warn] | ^^^^^^^^^^
243[warn] |discarded non-Unit value of type Boolean. Add `: Unit` to discard silently.
244[warn] -- [E198] Unused Symbol Warning: /build/repo/parser/shared/src/test/scala/jawn/SyntaxCheck.scala:258:20
245[warn] 258 | def absorbFails(in: String): Boolean = {
246[warn] | ^^
247[warn] | unused explicit parameter
248[info] [patched file /build/repo/parser/jvm/src/test/scala/jawn/JNumIndexCheckPlatform.scala]
249[info] [patched file /build/repo/parser/jvm/src/test/scala/jawn/ChannelSpec.scala]
250[info] [patched file /build/repo/parser/shared/src/test/scala/jawn/SyntaxCheck.scala]
251[info] [patched file /build/repo/parser/jvm/src/test/scala/jawn/SyntaxCheckPlatform.scala]
252[info] [patched file /build/repo/parser/shared/src/test/scala/jawn/JNumIndexCheck.scala]
253[warn] three warnings found
254[info] done compiling
255[info] compiling 3 Scala sources to /build/repo/util/jvm/target/scala-3.7.4/test-classes ...
256[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
257[warn] one warning found
258[info] done compiling
259[info] compiling 5 Scala sources to /build/repo/ast/jvm/target/scala-3.7.4/test-classes ...
260[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
261[warn] one warning found
262[info] done compiling
263[info] compiling 6 Scala sources to /build/repo/parser/jvm/target/scala-3.7.4/test-classes ...
264[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
265[warn] -- [E175] Potential Issue Warning: /build/repo/parser/shared/src/test/scala/jawn/TestUtil.scala:34:20
266[warn] 34 | finally t.delete()
267[warn] | ^^^^^^^^^^
268[warn] |discarded non-Unit value of type Boolean. Add `: Unit` to discard silently.
269[warn] -- [E198] Unused Symbol Warning: /build/repo/parser/shared/src/test/scala/jawn/SyntaxCheck.scala:258:20
270[warn] 258 | def absorbFails(in: String): Boolean = {
271[warn] | ^^
272[warn] | unused explicit parameter
273[warn] three warnings found
274[info] done compiling
275Starting build for ProjectRef(file:/build/repo/,parserJVM) (jawn-parser)... [1/3]
276Compile scalacOptions: -encoding, UTF-8, -unchecked, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -Wvalue-discard, -language:implicitConversions, -Ykind-projector, -java-output-version, 8, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
277Starting build for ProjectRef(file:/build/repo/,utilJVM) (jawn-util)... [2/3]
278Compile scalacOptions: -encoding, UTF-8, -unchecked, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -Wvalue-discard, -language:implicitConversions, -Ykind-projector, -java-output-version, 8, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
279
280************************
281Build summary:
282[{
283 "module": "jawn-ast",
284 "compile": {"status": "ok", "tookMs": 9808, "warnings": 1, "errors": 0, "sourceVersion": "3.7-migration"},
285 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
286 "test-compile": {"status": "ok", "tookMs": 6084, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
287 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
288 "publish": {"status": "skipped", "tookMs": 0},
289 "metadata": {
290 "crossScalaVersions": ["2.13.14", "2.12.19", "3.3.3"]
291}
292},{
293 "module": "jawn-parser",
294 "compile": {"status": "ok", "tookMs": 50, "warnings": 5, "errors": 0, "sourceVersion": "3.7-migration"},
295 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
296 "test-compile": {"status": "ok", "tookMs": 90, "warnings": 2, "errors": 0, "sourceVersion": "3.7-migration"},
297 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
298 "publish": {"status": "skipped", "tookMs": 0},
299 "metadata": {
300 "crossScalaVersions": ["2.13.14", "2.12.19", "3.3.3"]
301}
302},{
303 "module": "jawn-util",
304 "compile": {"status": "ok", "tookMs": 94, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
305 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
306 "test-compile": {"status": "ok", "tookMs": 147, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
307 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
308 "publish": {"status": "skipped", "tookMs": 0},
309 "metadata": {
310 "crossScalaVersions": ["2.13.14", "2.12.19", "3.3.3"]
311}
312}]
313************************
314[success] Total time: 20 s, completed Jan 3, 2026, 12:40:32 AM
315[0JChecking patch project/plugins.sbt...
316Checking patch project/build.properties...
317Checking patch build.sbt...
318Applied patch project/plugins.sbt cleanly.
319Applied patch project/build.properties cleanly.
320Applied patch build.sbt cleanly.
321Commit migration rewrites
322Switched to a new branch 'opencb/migrate-source-3.7'
323[opencb/migrate-source-3.7 a665864] Apply Scala compiler rewrites using -source:3.7-migration using Scala 3.7.4
324 16 files changed, 159 insertions(+), 159 deletions(-)
325----
326Preparing build for 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY
327Scala binary version found: 3.8
328Implicitly using source version 3.8
329Scala binary version found: 3.8
330Implicitly using source version 3.8
331Would try to apply common scalacOption (best-effort, sbt/mill only):
332Append: ,REQUIRE:-source:3.8
333Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
334
335Try apply source patch:
336Path: build.sbt
337Pattern: val scala3 = "3.3.3"
338Replacement: val scala3 = "3.8.1-RC1-bin-20260102-32e416e-NIGHTLY"
339Successfully applied pattern 'val scala3 = "3.3.3"' in build.sbt
340----
341Starting build for 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY
342Execute tests: false
343sbt project found:
344Sbt version 1.10.0 is not supported, minimal supported version is 1.11.5
345Enforcing usage of sbt in version 1.11.5
346No prepare script found for project typelevel/jawn
347##################################
348Scala version: 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY
349Targets: org.typelevel%jawn-ast org.typelevel%jawn-parser org.typelevel%jawn-util
350Project projectConfig: {"projects":{"exclude":["com.eed3si9n%shaded-jawn-parser"],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.7"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.3\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
351##################################
352Using extra scalacOptions: ,REQUIRE:-source:3.8
353Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
354[sbt_options] declare -a sbt_options=()
355[process_args] java_version = '17'
356[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
357# Executing command line:
358java
359-Xmx4G
360-Dcommunitybuild.scala=3.8.1-RC1-bin-20260102-32e416e-NIGHTLY
361-Dcommunitybuild.project.dependencies.add=
362-Xmx7G
363-Xms4G
364-Xss8M
365-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
366-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
367-jar
368/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
369"setCrossScalaVersions 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY"
370"++3.8.1-RC1-bin-20260102-32e416e-NIGHTLY -v"
371"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
372"set every credentials := Nil"
373"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
374"removeScalacOptionsStartingWith -P:wartremover"
375
376moduleMappings
377"runBuild 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY """{"projects":{"exclude":["com.eed3si9n%shaded-jawn-parser"],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.7"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.3\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}""" org.typelevel%jawn-ast org.typelevel%jawn-parser org.typelevel%jawn-util"
378
379[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
380[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
381[info] loading project definition from /build/repo/project
382[info] loading settings for project root from build.sbt...
383[info] loading settings for project benchmark from build.sbt...
384[info] resolving key references (14495 settings) ...
385[info] set scmInfo to https://github.com/typelevel/jawn
386[info] set current project to jawn-root (in build file:/build/repo/)
387Execute setCrossScalaVersions: 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY
388OpenCB::Changing crossVersion 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY -> 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY in astJS/crossScalaVersions
389[info] set scmInfo to https://github.com/typelevel/jawn
390OpenCB::Changing crossVersion 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY -> 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY in benchmark/crossScalaVersions
391OpenCB::Changing crossVersion 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY -> 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY in astNative/crossScalaVersions
392OpenCB::Changing crossVersion 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY -> 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY in utilJS/crossScalaVersions
393OpenCB::Changing crossVersion 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY -> 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY in utilJVM/crossScalaVersions
394OpenCB::Changing crossVersion 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY -> 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY in rootNative/crossScalaVersions
395OpenCB::Limitting incorrect crossVersions List() -> List(2.12.19) in root/crossScalaVersions
396OpenCB::Changing crossVersion 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY -> 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY in parserJS/crossScalaVersions
397OpenCB::Changing crossVersion 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY -> 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY in rootJS/crossScalaVersions
398OpenCB::Changing crossVersion 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY -> 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY in utilNative/crossScalaVersions
399OpenCB::Changing crossVersion 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY -> 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY in rootJVM/crossScalaVersions
400OpenCB::Changing crossVersion 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY -> 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY in astJVM/crossScalaVersions
401OpenCB::Changing crossVersion 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY -> 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY in parserNative/crossScalaVersions
402OpenCB::Changing crossVersion 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY -> 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY in parserJVM/crossScalaVersions
403[info] set current project to jawn-root (in build file:/build/repo/)
404[info] Setting Scala version to 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY on 13 projects.
405[info] Switching Scala version on:
406[info] utilNative (3.8.1-RC1-bin-20260102-32e416e-NIGHTLY, 2.13.14, 2.12.19)
407[info] parserJVM (3.8.1-RC1-bin-20260102-32e416e-NIGHTLY, 2.13.14, 2.12.19)
408[info] rootJS (3.8.1-RC1-bin-20260102-32e416e-NIGHTLY, 2.13.14, 2.12.19)
409[info] parserJS (3.8.1-RC1-bin-20260102-32e416e-NIGHTLY, 2.13.14, 2.12.19)
410[info] astNative (3.8.1-RC1-bin-20260102-32e416e-NIGHTLY, 2.13.14, 2.12.19)
411[info] astJVM (3.8.1-RC1-bin-20260102-32e416e-NIGHTLY, 2.13.14, 2.12.19)
412[info] parserNative (3.8.1-RC1-bin-20260102-32e416e-NIGHTLY, 2.13.14, 2.12.19)
413[info] astJS (3.8.1-RC1-bin-20260102-32e416e-NIGHTLY, 2.13.14, 2.12.19)
414[info] rootJVM (3.8.1-RC1-bin-20260102-32e416e-NIGHTLY, 2.13.14, 2.12.19)
415[info] rootNative (3.8.1-RC1-bin-20260102-32e416e-NIGHTLY, 2.13.14, 2.12.19)
416[info] utilJS (3.8.1-RC1-bin-20260102-32e416e-NIGHTLY, 2.13.14, 2.12.19)
417[info] utilJVM (3.8.1-RC1-bin-20260102-32e416e-NIGHTLY, 2.13.14, 2.12.19)
418[info] benchmark (3.8.1-RC1-bin-20260102-32e416e-NIGHTLY, 2.13.14, 2.12.19)
419[info] Excluding projects:
420[info] * root (2.12.19)
421[info] Reapplying settings...
422[info] set scmInfo to https://github.com/typelevel/jawn
423[info] set current project to jawn-root (in build file:/build/repo/)
424Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
425[info] Reapplying settings...
426[info] set scmInfo to https://github.com/typelevel/jawn
427[info] set current project to jawn-root (in build file:/build/repo/)
428[info] Defining Global / credentials, astJS / credentials and 12 others.
429[info] The new values will be used by Compile / scalafmtOnly, IntegrationTest / scalafmtOnly and 123 others.
430[info] Run `last` for details.
431[info] Reapplying settings...
432[info] set scmInfo to https://github.com/typelevel/jawn
433[info] set current project to jawn-root (in build file:/build/repo/)
434Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
435[info] Reapplying settings...
436OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
437
438 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
439 Did you mean rootJVM / allExcludeDependencies ?
440 , retry without global scopes
441[info] Reapplying settings...
442[info] set scmInfo to https://github.com/typelevel/jawn
443[info] set current project to jawn-root (in build file:/build/repo/)
444Execute removeScalacOptionsStartingWith: -P:wartremover
445[info] Reapplying settings...
446[info] set scmInfo to https://github.com/typelevel/jawn
447[info] set current project to jawn-root (in build file:/build/repo/)
448[success] Total time: 0 s, completed Jan 3, 2026, 12:40:52 AM
449Build config: {"projects":{"exclude":["com.eed3si9n%shaded-jawn-parser"],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.7"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.3\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
450Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(com.eed3si9n%shaded-jawn-parser),Map()),CompileOnly,List()))
451Starting build...
452Projects: Set(astJVM, parserJVM, utilJVM)
453Starting build for ProjectRef(file:/build/repo/,astJVM) (jawn-ast)... [0/3]
454OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
455OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
456OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
457Compile scalacOptions: -encoding, UTF-8, -unchecked, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -Wvalue-discard, -language:implicitConversions, -Ykind-projector, --java-output-version:17, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
458[info] compiling 17 Scala sources to /build/repo/parser/jvm/target/scala-3.8.1-RC1-bin-20260102-32e416e-NIGHTLY/classes ...
459[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
460[warn] -- [E175] Potential Issue Warning: /build/repo/parser/shared/src/main/scala/jawn/ByteBufferParser.scala:45:60
461[warn] 45 | final protected def close(): Unit = (src: Buffer).position(src.limit)
462[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
463[warn] |discarded non-Unit value of type java.nio.Buffer. Add `: Unit` to discard silently.
464[warn] -- [E198] Unused Symbol Warning: /build/repo/parser/shared/src/main/scala/jawn/ByteBasedParser.scala:45:48
465[warn] 45 | final protected def parseStringSimple(i: Int, ctxt: FContext[J]): Int = {
466[warn] | ^^^^
467[warn] | unused explicit parameter
468[warn] -- [E198] Unused Symbol Warning: /build/repo/parser/shared/src/main/scala/jawn/CharBasedParser.scala:43:48
469[warn] 43 | final protected def parseStringSimple(i: Int, ctxt: FContext[J]): Int = {
470[warn] | ^^^^
471[warn] | unused explicit parameter
472[warn] -- [E198] Unused Symbol Warning: /build/repo/parser/shared/src/main/scala/jawn/FContext.scala:32:39
473[warn] 32 | def add(s: CharSequence, start: Int, limit: Int): Unit = add(s, start)
474[warn] | ^^^^^
475[warn] | unused explicit parameter
476[warn] -- [E198] Unused Symbol Warning: /build/repo/parser/shared/src/main/scala/jawn/Facade.scala:44:43
477[warn] 44 | def jstring(s: CharSequence, start: Int, limit: Int): J = jstring(s, start)
478[warn] | ^^^^^
479[warn] | unused explicit parameter
480[warn] there was 1 deprecation warning; re-run with -deprecation for details
481[warn] 7 warnings found
482[info] done compiling
483[info] compiling 3 Scala sources to /build/repo/util/jvm/target/scala-3.8.1-RC1-bin-20260102-32e416e-NIGHTLY/classes ...
484[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
485[warn] one warning found
486[info] done compiling
487[info] compiling 5 Scala sources to /build/repo/ast/jvm/target/scala-3.8.1-RC1-bin-20260102-32e416e-NIGHTLY/classes ...
488[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
489[warn] -- [E175] Potential Issue Warning: /build/repo/ast/shared/src/main/scala/jawn/ast/JValue.scala:321:10
490[warn] 321 | vs.put(k, v)
491[warn] | ^^^^^^^^^^^^
492[warn] |discarded non-Unit value of type Option[org.typelevel.jawn.ast.JValue]. Add `: Unit` to discard silently.
493[warn] two warnings found
494[info] done compiling
495[info] compiling 6 Scala sources to /build/repo/parser/jvm/target/scala-3.8.1-RC1-bin-20260102-32e416e-NIGHTLY/test-classes ...
496[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
497[warn] -- [E175] Potential Issue Warning: /build/repo/parser/shared/src/test/scala/jawn/TestUtil.scala:34:20
498[warn] 34 | finally t.delete()
499[warn] | ^^^^^^^^^^
500[warn] |discarded non-Unit value of type Boolean. Add `: Unit` to discard silently.
501[warn] -- [E198] Unused Symbol Warning: /build/repo/parser/shared/src/test/scala/jawn/SyntaxCheck.scala:258:20
502[warn] 258 | def absorbFails(in: String): Boolean = {
503[warn] | ^^
504[warn] | unused explicit parameter
505[warn] three warnings found
506[info] done compiling
507[info] compiling 3 Scala sources to /build/repo/util/jvm/target/scala-3.8.1-RC1-bin-20260102-32e416e-NIGHTLY/test-classes ...
508[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
509[warn] one warning found
510[info] done compiling
511[info] compiling 5 Scala sources to /build/repo/ast/jvm/target/scala-3.8.1-RC1-bin-20260102-32e416e-NIGHTLY/test-classes ...
512[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
513[warn] one warning found
514[info] done compiling
515Starting build for ProjectRef(file:/build/repo/,parserJVM) (jawn-parser)... [1/3]
516Compile scalacOptions: -encoding, UTF-8, -unchecked, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -Wvalue-discard, -language:implicitConversions, -Ykind-projector, --java-output-version:17, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
517Starting build for ProjectRef(file:/build/repo/,utilJVM) (jawn-util)... [2/3]
518Compile scalacOptions: -encoding, UTF-8, -unchecked, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -Wvalue-discard, -language:implicitConversions, -Ykind-projector, --java-output-version:17, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
519
520************************
521Build summary:
522[{
523 "module": "jawn-ast",
524 "compile": {"status": "ok", "tookMs": 11220, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
525 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
526 "test-compile": {"status": "ok", "tookMs": 4230, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
527 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
528 "publish": {"status": "skipped", "tookMs": 0},
529 "metadata": {
530 "crossScalaVersions": ["2.13.14", "2.12.19", "3.3.3"]
531}
532},{
533 "module": "jawn-parser",
534 "compile": {"status": "ok", "tookMs": 70, "warnings": 5, "errors": 0, "sourceVersion": "3.8"},
535 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
536 "test-compile": {"status": "ok", "tookMs": 96, "warnings": 2, "errors": 0, "sourceVersion": "3.8"},
537 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
538 "publish": {"status": "skipped", "tookMs": 0},
539 "metadata": {
540 "crossScalaVersions": ["2.13.14", "2.12.19", "3.3.3"]
541}
542},{
543 "module": "jawn-util",
544 "compile": {"status": "ok", "tookMs": 111, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
545 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
546 "test-compile": {"status": "ok", "tookMs": 157, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
547 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
548 "publish": {"status": "skipped", "tookMs": 0},
549 "metadata": {
550 "crossScalaVersions": ["2.13.14", "2.12.19", "3.3.3"]
551}
552}]
553************************
554[success] Total time: 26 s, completed Jan 3, 2026, 12:41:18 AM
555[0JChecking patch project/plugins.sbt...
556Checking patch project/build.properties...
557Checking patch build.sbt...
558Applied patch project/plugins.sbt cleanly.
559Applied patch project/build.properties cleanly.
560Applied patch build.sbt cleanly.