Build Logs

scala/scala-xml • 3.8.0-RC2:2025-11-27

Errors

0

Warnings

47

Total Lines

195

1##################################
2Clonning https://github.com/scala/scala-xml.git into /build/repo using revision v2.4.0
3##################################
4Note: switching to 'c2c76c8ea43eda9fc0913f909eb2cbea05249c1f'.
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-RC2
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-RC2
32Execute tests: false
33sbt project found:
34Sbt version 1.11.0 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 scala/scala-xml
37##################################
38Scala version: 3.8.0-RC2
39Targets: org.scala-lang.modules%scala-xml
40Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","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 = '21'
46[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21/rt.jar'
47# Executing command line:
48java
49-Dfile.encoding=UTF-8
50-Dcommunitybuild.scala=3.8.0-RC2
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_21
57-jar
58/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
59"setCrossScalaVersions 3.8.0-RC2"
60"++3.8.0-RC2 -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-RC2 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}""" org.scala-lang.modules%scala-xml"
68
69[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 21)
70[info] loading settings for project repo-build from akka.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.09s.
75[info] done compiling
76[info] loading settings for project repo from build.sbt...
77[info] set current project to repo (in build file:/build/repo/)
78Execute setCrossScalaVersions: 3.8.0-RC2
79OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC2 in xmlJS/crossScalaVersions
80OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC2 in xml/crossScalaVersions
81OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC2 in xmlNative/crossScalaVersions
82[info] set current project to repo (in build file:/build/repo/)
83[info] Setting Scala version to 3.8.0-RC2 on 3 projects.
84[info] Switching Scala version on:
85[info] xmlJS (2.13.16, 2.12.20, 3.8.0-RC2)
86[info] xml (2.13.16, 2.12.20, 3.8.0-RC2)
87[info] xmlNative (2.13.16, 2.12.20, 3.8.0-RC2)
88[info] Excluding projects:
89[info] * repo (2.12.20)
90[info] Reapplying settings...
91[info] set current project to repo (in build file:/build/repo/)
92Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
93[info] Reapplying settings...
94[info] set current project to repo (in build file:/build/repo/)
95[info] Defining Global / credentials, credentials and 2 others.
96[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 19 others.
97[info] Run `last` for details.
98[info] Reapplying settings...
99[info] set current project to repo (in build file:/build/repo/)
100Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
101[info] Reapplying settings...
102OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
103
104 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
105 Did you mean allExcludeDependencies ?
106 , retry without global scopes
107[info] Reapplying settings...
108[info] set current project to repo (in build file:/build/repo/)
109Execute removeScalacOptionsStartingWith: -P:wartremover
110[info] Reapplying settings...
111[info] set current project to repo (in build file:/build/repo/)
112[success] Total time: 0 s, completed Nov 27, 2025, 9:54:09 PM
113Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}
114Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
115Starting build...
116Projects: Set(xml)
117Starting build for ProjectRef(file:/build/repo/,xml) (scala-xml)... [0/1]
118OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
119OpenCB::Filter out '-language:Scala2', matches setting pattern '^-?-language:Scala2'
120Compile scalacOptions: -Wconf:msg=can be rewritten automatically under:s, -source:3.8
121OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
122OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
123[info] compiling 76 Scala sources to /build/repo/jvm/target/scala-3.8.0-RC2/classes ...
124[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/shared/src/main/scala/scala/xml/Utility.scala:225:129
125[warn] 225 | @tailrec def ser(nss: List[List[Node]], pscopes: List[NamespaceBinding], spaced: List[Boolean], toClose: List[Node]): Unit = nss match {
126[warn] | ^^^
127[warn] | match may not be exhaustive.
128[warn] |
129[warn] | It would fail on pattern case: Nil
130[warn] |
131[warn] | longer explanation available when compiling with `-explain`
132[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/shared/src/main/scala/scala/xml/parsing/ElementContentModel.scala:62:4
133[warn] 62 | occurrence match {
134[warn] | ^^^^^^^^^^
135[warn] | match may not be exhaustive.
136[warn] |
137[warn] | It would fail on pattern case: _: Occurrence
138[warn] |
139[warn] | longer explanation available when compiling with `-explain`
140[warn] there were 13 deprecation warnings; re-run with -deprecation for details
141[warn] three warnings found
142[info] done compiling
143[info] compiling 29 Scala sources to /build/repo/jvm/target/scala-3.8.0-RC2/test-classes ...
144[warn] bad option '-Xxml:coalescing' was ignored
145[warn] -- Warning: /build/repo/shared/src/test/scala/scala/xml/PrintEmptyElementsTest.scala:21:0
146[warn] 21 |<xml:group>
147[warn] |^
148[warn] |Line is indented too far to the left, or a `}` is missing
149[warn] -- [E030] Match case Unreachable Warning: /build/repo/shared/src/test/scala/scala/xml/NodeSeqTest.scala:17:11
150[warn] 17 | case _: Seq[Node] => fail("Should be NodeSeq was Seq[Node]") // Unreachable code?
151[warn] | ^^^^^^^^^^^^
152[warn] | Unreachable case
153[warn] -- [E030] Match case Unreachable Warning: /build/repo/shared/src/test/scala/scala/xml/NodeSeqTest.scala:30:11
154[warn] 30 | case _: NodeSeq => fail("Should be Seq[Node] was NodeSeq") // Unreachable code?
155[warn] | ^^^^^^^^^^
156[warn] | Unreachable case
157[warn] -- [E030] Match case Unreachable Warning: /build/repo/shared/src/test/scala/scala/xml/NodeSeqTest.scala:43:11
158[warn] 43 | case _: NodeSeq => fail("Should be Seq[Node] was NodeSeq") // Unreachable code?
159[warn] | ^^^^^^^^^^
160[warn] | Unreachable case
161[warn] -- [E030] Match case Unreachable Warning: /build/repo/shared/src/test/scala/scala/xml/NodeSeqTest.scala:59:11
162[warn] 59 | case _: NodeSeq => fail("Should be Seq[Node] was NodeSeq") // Unreachable code?
163[warn] | ^^^^^^^^^^
164[warn] | Unreachable case
165[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/shared/src/test/scala/scala/xml/NodeSeqTest.scala:42:11
166[warn] 42 | case res: Seq[Node] => assertEquals(2, res.size.toLong)
167[warn] | ^
168[warn] |the type test for Seq[scala.xml.Node] cannot be checked at runtime because its type arguments can't be determined from Seq[scala.xml.NodeSeq]
169[warn] |
170[warn] | longer explanation available when compiling with `-explain`
171[warn] there were 2 deprecation warnings; re-run with -deprecation for details
172[warn] 8 warnings found
173[info] done compiling
174
175************************
176Build summary:
177[{
178 "module": "scala-xml",
179 "compile": {"status": "ok", "tookMs": 15521, "warnings": 2, "errors": 0, "sourceVersion": "3.8"},
180 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
181 "test-compile": {"status": "ok", "tookMs": 4868, "warnings": 6, "errors": 0, "sourceVersion": "3.8"},
182 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
183 "publish": {"status": "skipped", "tookMs": 0},
184 "metadata": {
185 "crossScalaVersions": ["2.13.16", "2.12.20", "3.3.6"]
186}
187}]
188************************
189[success] Total time: 28 s, completed Nov 27, 2025, 9:54:38 PM
190[0JChecking patch project/plugins.sbt...
191Checking patch project/build.properties...
192Checking patch build.sbt...
193Applied patch project/plugins.sbt cleanly.
194Applied patch project/build.properties cleanly.
195Applied patch build.sbt cleanly.