Build Logs

scala/scala-xml • 3.7.4:2025-11-06

Errors

0

Warnings

47

Total Lines

196

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