Build Logs

herminiogg/xmlschema2shex • 3.8.0-RC6:2026-01-08

Errors

0

Warnings

104

Total Lines

250

1##################################
2Clonning https://github.com/herminiogg/xmlschema2shex.git into /build/repo using revision v0.1.0
3##################################
4Note: switching to 'b0268e25e0eb5ce26e063ad03dbde5935ade5e2e'.
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-RC6
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-RC6
32Execute tests: true
33sbt project found:
34Sbt version 1.7.2 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 herminiogg/xmlschema2shex
37##################################
38Scala version: 3.8.0-RC6
39Targets: com.herminiogarcia%xmlschema2shex
40Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","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 = '17'
46[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
47# Executing command line:
48java
49-Dfile.encoding=UTF-8
50-Dcommunitybuild.scala=3.8.0-RC6
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_17_0_8
57-jar
58/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
59"setCrossScalaVersions 3.8.0-RC6"
60"++3.8.0-RC6 -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-RC6 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}""" com.herminiogarcia%xmlschema2shex"
68
69[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
70[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
71[info] loading project definition from /build/repo/project
72[info] loading settings for project xmlschema2shex from build.sbt...
73[info] set current project to xmlschema2shex (in build file:/build/repo/)
74Execute setCrossScalaVersions: 3.8.0-RC6
75OpenCB::Changing crossVersion 3.2.0 -> 3.8.0-RC6 in xmlschema2shex/crossScalaVersions
76[info] set current project to xmlschema2shex (in build file:/build/repo/)
77[info] Setting Scala version to 3.8.0-RC6 on 1 projects.
78[info] Switching Scala version on:
79[info] * xmlschema2shex (2.12.17, 2.13.9, 3.8.0-RC6)
80[info] Excluding projects:
81[info] Reapplying settings...
82[info] set current project to xmlschema2shex (in build file:/build/repo/)
83Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
84[info] Reapplying settings...
85[info] set current project to xmlschema2shex (in build file:/build/repo/)
86[info] Defining Global / credentials, credentials
87[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 4 others.
88[info] Run `last` for details.
89[info] Reapplying settings...
90[info] set current project to xmlschema2shex (in build file:/build/repo/)
91Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
92[info] Reapplying settings...
93OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
94
95 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
96 Did you mean allExcludeDependencies ?
97 , retry without global scopes
98[info] Reapplying settings...
99[info] set current project to xmlschema2shex (in build file:/build/repo/)
100Execute removeScalacOptionsStartingWith: -P:wartremover
101[info] Reapplying settings...
102[info] set current project to xmlschema2shex (in build file:/build/repo/)
103[success] Total time: 0 s, completed Jan 8, 2026, 2:05:16 AM
104Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
105Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
106Starting build...
107Projects: Set(xmlschema2shex)
108Starting build for ProjectRef(file:/build/repo/,xmlschema2shex) (xmlschema2shex)... [0/1]
109OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
110Compile scalacOptions: -Wconf:msg=can be rewritten automatically under:s, -source:3.8
111[info] compiling 20 Scala sources to /build/repo/target/scala-3.8.0-RC6/classes ...
112[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/src/main/scala/com/herminiogarcia/xmlschema2shex/ast/Tag.scala:22:10
113[warn] 22 | case me: MinExclusive => me.value.map(_ + 1).map(_.toString).get
114[warn] | ^
115[warn] |match may not be exhaustive.
116[warn] |
117[warn] |It would fail on pattern case: com.herminiogarcia.xmlschema2shex.ast.MaxExclusive(_), com.herminiogarcia.xmlschema2shex.ast.MaxInclusive(_), com.herminiogarcia.xmlschema2shex.ast.Pattern(_), com.herminiogarcia.xmlschema2shex.ast.Enumeration(_)
118[warn] |
119[warn] | longer explanation available when compiling with `-explain`
120[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/src/main/scala/com/herminiogarcia/xmlschema2shex/ast/Tag.scala:37:10
121[warn] 37 | case me: MaxExclusive => me.value.map(_ - 1).map(_.toString).get
122[warn] | ^
123[warn] |match may not be exhaustive.
124[warn] |
125[warn] |It would fail on pattern case: com.herminiogarcia.xmlschema2shex.ast.MinExclusive(_), com.herminiogarcia.xmlschema2shex.ast.MinInclusive(_), com.herminiogarcia.xmlschema2shex.ast.Pattern(_), com.herminiogarcia.xmlschema2shex.ast.Enumeration(_)
126[warn] |
127[warn] | longer explanation available when compiling with `-explain`
128[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/src/main/scala/com/herminiogarcia/xmlschema2shex/check/SemanticChecker.scala:21:6
129[warn] 21 | tag match {
130[warn] | ^^^
131[warn] |match may not be exhaustive.
132[warn] |
133[warn] |It would fail on pattern case: com.herminiogarcia.xmlschema2shex.ast.XSDInteger(_), com.herminiogarcia.xmlschema2shex.ast.XSDDecimal(_), com.herminiogarcia.xmlschema2shex.ast.XSDString(_), com.herminiogarcia.xmlschema2shex.ast.XSDDate(_), com.herminiogarcia.xmlschema2shex.ast.XSDPositiveInteger(_), com.herminiogarcia.xmlschema2shex.ast.XSDBoolean(_)
134[warn] |(More unmatched cases are elided)
135[warn] |
136[warn] | longer explanation available when compiling with `-explain`
137[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/src/main/scala/com/herminiogarcia/xmlschema2shex/check/SemanticChecker.scala:41:48
138[warn] 41 | case SimpleType(attributes, restriction) => restriction match {
139[warn] | ^^^^^^^^^^^
140[warn] | match may not be exhaustive.
141[warn] |
142[warn] | It would fail on pattern case: None
143[warn] |
144[warn] | longer explanation available when compiling with `-explain`
145[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/src/main/scala/com/herminiogarcia/xmlschema2shex/check/SemanticChecker.scala:39:38
146[warn] 39 | def checkType(aType: Type): Unit = aType match {
147[warn] | ^^^^^
148[warn] |match may not be exhaustive.
149[warn] |
150[warn] |It would fail on pattern case: com.herminiogarcia.xmlschema2shex.ast.XSDInteger(_), com.herminiogarcia.xmlschema2shex.ast.XSDDecimal(_), com.herminiogarcia.xmlschema2shex.ast.XSDString(_), com.herminiogarcia.xmlschema2shex.ast.XSDDate(_), com.herminiogarcia.xmlschema2shex.ast.XSDPositiveInteger(_), com.herminiogarcia.xmlschema2shex.ast.XSDBoolean(_)
151[warn] |(More unmatched cases are elided)
152[warn] |
153[warn] | longer explanation available when compiling with `-explain`
154[warn] -- [E121] Pattern Match Warning: /build/repo/src/main/scala/com/herminiogarcia/xmlschema2shex/generation/CodeGenerator.scala:99:11
155[warn] 99 | case _ => Some("")
156[warn] | ^
157[warn] |Unreachable case except for null (if this is intentional, consider writing case null => instead).
158[warn] -- [E121] Pattern Match Warning: /build/repo/src/main/scala/com/herminiogarcia/xmlschema2shex/generation/CodeGeneratorShExML.scala:37:11
159[warn] 37 | case _ => List("") // to implement
160[warn] | ^
161[warn] |Unreachable case except for null (if this is intentional, consider writing case null => instead).
162[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/src/main/scala/com/herminiogarcia/xmlschema2shex/generation/ShExMLPrinter.scala:9:48
163[warn] 9 | case Declaration(declarationStatement) => declarationStatement match {
164[warn] | ^^^^^^^^^^^^^^^^^^^^
165[warn] |match may not be exhaustive.
166[warn] |
167[warn] |It would fail on pattern case: com.herminiogarcia.shexml.ast.Query(_, _), com.herminiogarcia.shexml.ast.Functions(_, _), com.herminiogarcia.shexml.ast.NestedIterator(_, _, _, _), com.herminiogarcia.shexml.ast.Matchers(_, _)
168[warn] |
169[warn] | longer explanation available when compiling with `-explain`
170[warn] -- [E121] Pattern Match Warning: /build/repo/src/main/scala/com/herminiogarcia/xmlschema2shex/generation/ShExMLPrinter.scala:57:11
171[warn] 57 | case _ => ""
172[warn] | ^
173[warn] |Unreachable case except for null (if this is intentional, consider writing case null => instead).
174[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/src/main/scala/com/herminiogarcia/xmlschema2shex/generation/ShExMLPrinter.scala:71:24
175[warn] 71 | val objectPart = po.objectOrShapeLink match {
176[warn] | ^^^^^^^^^^^^^^^^^^^^
177[warn] |match may not be exhaustive.
178[warn] |
179[warn] |It would fail on pattern case: com.herminiogarcia.shexml.ast.LiteralObject(_, _), com.herminiogarcia.shexml.ast.LiteralObjectValue(_), com.herminiogarcia.shexml.ast.ObjectElement(_, _, _, _, Some(_), _, _, _), com.herminiogarcia.shexml.ast.ObjectElement(_, _, _, _, _, _, _, Some(_))
180[warn] |
181[warn] | longer explanation available when compiling with `-explain`
182[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/src/main/scala/com/herminiogarcia/xmlschema2shex/generation/XMLSchema2ShExMLShapesGeneration.scala:80:27
183[warn] 80 | case None => element.ref match {
184[warn] | ^^^^^^^^^^^
185[warn] | match may not be exhaustive.
186[warn] |
187[warn] | It would fail on pattern case: None
188[warn] |
189[warn] | longer explanation available when compiling with `-explain`
190[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/src/main/scala/com/herminiogarcia/xmlschema2shex/generation/XMLSchema2ShExMLShapesGeneration.scala:110:27
191[warn] 110 | case None => element.theType match {
192[warn] | ^^^^^^^^^^^^^^^
193[warn] | match may not be exhaustive.
194[warn] |
195[warn] | It would fail on pattern case: None
196[warn] |
197[warn] | longer explanation available when compiling with `-explain`
198[warn] -- [E121] Pattern Match Warning: /build/repo/src/main/scala/com/herminiogarcia/xmlschema2shex/generation/XMLSchema2ShExMLShapesGeneration.scala:118:11
199[warn] 118 | case _ => Some("")
200[warn] | ^
201[warn] |Unreachable case except for null (if this is intentional, consider writing case null => instead).
202[warn] -- [E030] Match case Unreachable Warning: /build/repo/src/main/scala/com/herminiogarcia/xmlschema2shex/parser/XMLSchemaParser.scala:40:51
203[warn] 40 | case _ ~ attributes ~ _ ~ all ~ attributesList ~_ =>
204[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
205[warn] | Unreachable case
206[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/src/main/scala/com/herminiogarcia/xmlschema2shex/parser/XMLSchemaParser.scala:67:34
207[warn] 67 | Attributes(a.map(_.split("=").toList match {
208[warn] | ^^^^^^^^^^^^^^^^^^^
209[warn] | match may not be exhaustive.
210[warn] |
211[warn] | It would fail on pattern case: Nil
212[warn] |
213[warn] | longer explanation available when compiling with `-explain`
214[warn] there was 1 deprecation warning; re-run with -deprecation for details
215[warn] 16 warnings found
216[info] done compiling
217[info] compiling 2 Scala sources to /build/repo/target/scala-3.8.0-RC6/test-classes ...
218[info] done compiling
219[info] ShExGenerationTests:
220[info] - XML Schema conversion from Microsoft example
221[info] - XML Schema conversion for addresses
222[info] - Xml1 version
223[info] - Xml2 version
224[info] ShExMLGenerationTests:
225[info] - Xml1 version
226[info] - Xml2 version
227[info] - XML Schema conversion for addresses
228[info] - XML Schema conversion from Microsoft example
229
230************************
231Build summary:
232[{
233 "module": "xmlschema2shex",
234 "compile": {"status": "ok", "tookMs": 10041, "warnings": 15, "errors": 0, "sourceVersion": "3.8"},
235 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
236 "test-compile": {"status": "ok", "tookMs": 2305, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
237 "test": {"status": "ok", "tookMs": 838, "passed": 8, "failed": 0, "ignored": 0, "skipped": 0, "total": 8, "byFramework": [{"framework": "unknown", "stats": {"passed": 8, "failed": 0, "ignored": 0, "skipped": 0, "total": 8}}]},
238 "publish": {"status": "skipped", "tookMs": 0},
239 "metadata": {
240 "crossScalaVersions": ["2.12.17", "2.13.9", "3.2.0"]
241}
242}]
243************************
244[success] Total time: 18 s, completed Jan 8, 2026, 2:05:34 AM
245[0JChecking patch project/plugins.sbt...
246Checking patch project/build.properties...
247Checking patch build.sbt...
248Applied patch project/plugins.sbt cleanly.
249Applied patch project/build.properties cleanly.
250Applied patch build.sbt cleanly.