Build Logs

fomkin/levsha • 3.8.0-RC5:2025-12-31

Errors

1

Warnings

29

Total Lines

231

1##################################
2Clonning https://github.com/fomkin/levsha.git into /build/repo using revision v1.4.0-M2
3##################################
4Note: switching to '1f8f96269cd06fbad10e955fb4e4e67779f0f626'.
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-RC5
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-RC5
32Execute tests: true
33sbt project found:
34Sbt version 1.6.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 fomkin/levsha
37##################################
38Scala version: 3.8.0-RC5
39Targets: com.github.fomkin%levsha-core com.github.fomkin%levsha-events
40Project projectConfig: {"tests":null}
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-RC5
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-RC5"
60"++3.8.0-RC5 -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-RC5 """{"tests":null}""" com.github.fomkin%levsha-core com.github.fomkin%levsha-events"
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[warn] found version conflict(s) in library dependencies; some are suspected to be binary incompatible:
73[warn] * org.scala-lang.modules:scala-xml_2.12:2.3.0 (early-semver) is selected over 1.2.0
74[warn] +- org.scala-lang:scala-compiler:2.12.20 (depends on 2.3.0)
75[warn] +- com.typesafe.play:twirl-api_2.12:1.5.1 (depends on 1.2.0)
76[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
77[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
78[info] Compilation completed in 7.982s.
79[info] done compiling
80/build/repo/build.sbt:12: warning: method in in trait ScopingSetting is deprecated (since 1.5.0): `in` is deprecated; migrate to slash syntax - https://www.scala-sbt.org/1.x/docs/Migrating-from-sbt-013x.html#slash
81 excludeFilter.in(headerSources) := HiddenFileFilter || "IntStringMap.scala" || "StringSet.scala",
82 ^
83[info] loading settings for project root from build.sbt...
84[info] set current project to root (in build file:/build/repo/)
85[warn] there's a key that's not used by any other settings/tasks:
86[warn]
87[warn] * root / headerLicense
88[warn] +- /build/repo/build.sbt:20
89[warn]
90[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
91[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
92Execute setCrossScalaVersions: 3.8.0-RC5
93OpenCB::Changing crossVersion 3.1.3 -> 3.8.0-RC5 in eventsJVM/crossScalaVersions
94OpenCB::Changing crossVersion 3.1.3 -> 3.8.0-RC5 in coreJVM/crossScalaVersions
95OpenCB::Changing crossVersion 3.1.3 -> 3.8.0-RC5 in eventsJS/crossScalaVersions
96OpenCB::Changing crossVersion 3.1.3 -> 3.8.0-RC5 in coreJS/crossScalaVersions
97OpenCB::Changing crossVersion 3.1.3 -> 3.8.0-RC5 in root/crossScalaVersions
98OpenCB::Changing crossVersion 3.1.3 -> 3.8.0-RC5 in dom/crossScalaVersions
99OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.6) in bench/crossScalaVersions
100[info] set current project to root (in build file:/build/repo/)
101[info] Setting Scala version to 3.8.0-RC5 on 6 projects.
102[info] Switching Scala version on:
103[info] eventsJVM (2.13.8, 2.12.15, 3.8.0-RC5)
104[info] * root (2.13.8, 2.12.15, 3.8.0-RC5)
105[info] dom (2.13.8, 2.12.15, 3.8.0-RC5)
106[info] coreJS (2.13.8, 2.12.15, 3.8.0-RC5)
107[info] coreJVM (2.13.8, 2.12.15, 3.8.0-RC5)
108[info] eventsJS (2.13.8, 2.12.15, 3.8.0-RC5)
109[info] Excluding projects:
110[info] bench (2.13.6)
111[info] Reapplying settings...
112[info] set current project to root (in build file:/build/repo/)
113Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
114[info] Reapplying settings...
115[info] set current project to root (in build file:/build/repo/)
116[info] Defining Global / credentials, bench / credentials and 5 others.
117[info] The new values will be used by allCredentials, bench / allCredentials and 39 others.
118[info] Run `last` for details.
119[info] Reapplying settings...
120[info] set current project to root (in build file:/build/repo/)
121Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
122[info] Reapplying settings...
123OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
124
125 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
126 Did you mean allExcludeDependencies ?
127 , retry without global scopes
128[info] Reapplying settings...
129[info] set current project to root (in build file:/build/repo/)
130Execute removeScalacOptionsStartingWith: -P:wartremover
131[info] Reapplying settings...
132[info] set current project to root (in build file:/build/repo/)
133[success] Total time: 0 s, completed Dec 31, 2025, 9:04:14 PM
134Build config: {"tests":null}
135Parsed config: Failure(sjsonnew.DeserializationException: Expected String as JString, but got JNull)
136Starting build...
137Projects: Set(coreJVM, eventsJVM)
138Starting build for ProjectRef(file:/build/repo/,coreJVM) (levsha-core)... [0/2]
139OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
140OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
141OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
142Compile scalacOptions: -unchecked, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
143[info] compiling 29 Scala sources to /build/repo/core/jvm/target/scala-3.8.0-RC5/classes ...
144[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/core/shared/src/main/scala/levsha/impl/PortableRenderContext.scala:224:11
145[warn] 224 | case prc: ApplyResult[M] =>
146[warn] | ^
147[warn] |the type test for levsha.impl.PortableRenderContext.ApplyResult[M] cannot be checked at runtime because its type arguments can't be determined from levsha.RenderContext[M]
148[warn] |
149[warn] | longer explanation available when compiling with `-explain`
150[warn] one warning found
151[info] done compiling
152[info] compiling 8 Scala sources to /build/repo/core/jvm/target/scala-3.8.0-RC5/test-classes ...
153[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/core/shared/src/test/scala/levsha/DiffRenderContextProperties.scala:373:8
154[warn] 373 | case (acc, Change.create(id, name, _)) =>
155[warn] | ^
156[warn] |match may not be exhaustive.
157[warn] |
158[warn] |It would fail on pattern case: (_, levsha.Change.removeAttr(_, _, _)), (_, levsha.Change.removeStyle(_, _)), (_, levsha.Change.setAttr(_, _, _, _)), (_, levsha.Change.setStyle(_, _, _))
159[warn] |
160[warn] | longer explanation available when compiling with `-explain`
161[warn] there were 10 deprecation warnings; re-run with -deprecation for details
162[warn] two warnings found
163[info] done compiling
164-------------------------------- Running Tests --------------------------------
165-------------------------------- Running Tests --------------------------------
166-------------------------------- Running Tests --------------------------------
167-------------------------------- Running Tests --------------------------------
168+ levsha.DiffRenderContextTest.should replace text to node 34ms
169+ levsha.PortableRenderContextTest.should correctly apply result to rc which has not ApplyResult trait 28ms
170+ levsha.XhtmlRenderContextTest.text nodes should be escaped 26ms
171+ levsha.XhtmlRenderContextTest.attr values should be escaped 0ms
172+ levsha.IdBuilderTest.IdCounter.should increment id on first level 14ms
173+ levsha.IdBuilderTest.IdCounter.should increment id on second level 0ms
174+ levsha.DiffRenderContextTest.should text to node with chidlren 1ms
175+ levsha.IdBuilderTest.IdCounter.should increment id on third level 0ms
176+ levsha.IdBuilderTest.IdCounter.should successfully decrement level 0ms
177+ levsha.PortableRenderContextTest.should correctly apply result to another PortableRenderContext 0ms
178+ levsha.IdBuilderTest.IdCounter.should reset level on decrement 0ms
179+ levsha.DiffRenderContextTest.should remove attribute 6ms
180+ levsha.PortableRenderContextTest.should add miscs in the right order 9ms
181+ levsha.DiffRenderContextTest.should remove only subroot, not entire tree 5ms
182+ levsha.DiffRenderContextTest.should replace node with another one 0ms
183+ levsha.DiffRenderContextTest.should save and restore state 0ms
184+ levsha.DiffRenderContextTest.should consider two identical tags with different xmlNs as different tags 5ms
185-------------------------------- Running Tests --------------------------------
186-------------------------------- Running Tests --------------------------------
187+ levsha.DefaultDslTest.if (expr) node else void 1ms
188+ levsha.DefaultDslTest.if (expr) void else node 0ms
189+ levsha.DefaultDslTest.if (expr) foo else bar 1ms
190+ levsha.DefaultDslTest.complex template 1 1ms
191+ levsha.DefaultDslTest.sort content for unoptimized templates 0ms
192+ levsha.DefaultDslTest.sort content for optimized templates 0ms
193+ levsha.TemplateTest.reuse portable result from template 27ms
194[info] + Diff.doesn't fail on arbitrary trees: OK, passed 100 tests.
195[info] + Diff.generate valid changes set: OK, passed 100 tests.
196Starting build for ProjectRef(file:/build/repo/,eventsJVM) (levsha-events)... [1/2]
197Compile scalacOptions: -unchecked, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
198[info] compiling 1 Scala source to /build/repo/events/.jvm/target/scala-3.8.0-RC5/classes ...
199[info] done compiling
200
201************************
202Build summary:
203[{
204 "module": "levsha-core",
205 "compile": {"status": "ok", "tookMs": 9246, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
206 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
207 "test-compile": {"status": "ok", "tookMs": 4389, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
208 "test": {"status": "ok", "tookMs": 2329, "passed": 26, "failed": 0, "ignored": 0, "skipped": 0, "total": 26, "byFramework": [{"framework": "unknown", "stats": {"passed": 26, "failed": 0, "ignored": 0, "skipped": 0, "total": 26}}]},
209 "publish": {"status": "skipped", "tookMs": 0},
210 "metadata": {
211 "crossScalaVersions": ["2.13.8", "2.12.15", "3.1.3"]
212}
213},{
214 "module": "levsha-events",
215 "compile": {"status": "ok", "tookMs": 647, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
216 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
217 "test-compile": {"status": "ok", "tookMs": 211, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
218 "test": {"status": "ok", "tookMs": 116, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
219 "publish": {"status": "skipped", "tookMs": 0},
220 "metadata": {
221 "crossScalaVersions": ["2.13.8", "2.12.15", "3.1.3"]
222}
223}]
224************************
225[success] Total time: 19 s, completed Dec 31, 2025, 9:04:32 PM
226[0JChecking patch project/plugins.sbt...
227Checking patch project/build.properties...
228Checking patch build.sbt...
229Applied patch project/plugins.sbt cleanly.
230Applied patch project/build.properties cleanly.
231Applied patch build.sbt cleanly.