Build Logs

arturopala/gitignore • 3.8.0-RC3:2025-12-04

Errors

0

Warnings

53

Total Lines

355

1##################################
2Clonning https://github.com/arturopala/gitignore.git into /build/repo using revision v0.6.0
3##################################
4Note: switching to '1cbe450bb4b7ceacb1f4f3bc6480159bc0b4261b'.
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.0
22----
23Preparing build for 3.8.0-RC3
24Scala binary version found: 3.8
25Implicitly using source version 3.8
26Scala binary version found: 3.8
27Implicitly using source version 3.8
28Would try to apply common scalacOption (best-effort, sbt/mill only):
29Append: ,REQUIRE:-source:3.8
30Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
31
32Try apply source patch:
33Path: .{sbtopts,jvmopts}
34Pattern: (-J)?-XX:\+CMSClassUnloadingEnabled
35Replacement:
36Starting compilation server
37Compiling project (Scala 3.7.3, JVM (17))
38Compiled project (Scala 3.7.3, JVM (17))
39Using globing pattern .{sbtopts,jvmopts} from /build/repo
40Successfully applied pattern '(-J)?-XX:\+CMSClassUnloadingEnabled' in /build/repo/.sbtopts
41Successfully applied pattern '(-J)?-XX:\+CMSClassUnloadingEnabled' in /build/repo/.jvmopts
42
43Try apply source patch:
44Path: build.sbt
45Pattern: val scala3 = "3.3.0"
46Replacement: val scala3 = "3.8.0-RC3"
47Successfully applied pattern 'val scala3 = "3.3.0"' in build.sbt
48----
49Starting build for 3.8.0-RC3
50Execute tests: true
51sbt project found:
52Sbt version 1.9.0 is not supported, minimal supported version is 1.11.5
53Enforcing usage of sbt in version 1.11.5
54No prepare script found for project arturopala/gitignore
55##################################
56Scala version: 3.8.0-RC3
57Targets: com.github.arturopala%gitignore
58Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":".{sbtopts,jvmopts}","pattern":"(-J)?-XX:\\+CMSClassUnloadingEnabled","replaceWith":""},{"path":"build.sbt","pattern":"val scala3 = \"3.3.0\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
59##################################
60Using extra scalacOptions: ,REQUIRE:-source:3.8
61Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
62[sbt_options] declare -a sbt_options=()
63[process_args] java_version = '17'
64[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
65# Executing command line:
66java
67-XX:+TieredCompilation
68-Dfile.encoding=UTF-8
69-XX:+UseG1GC
70-Xmx2G
71-Dcommunitybuild.scala=3.8.0-RC3
72-Dcommunitybuild.project.dependencies.add=
73-Xmx7G
74-Xms4G
75-Xss8M
76-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
77-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
78-jar
79/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
80"setCrossScalaVersions 3.8.0-RC3"
81"++3.8.0-RC3 -v"
82"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
83"set every credentials := Nil"
84"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
85"removeScalacOptionsStartingWith -P:wartremover"
86
87moduleMappings
88"runBuild 3.8.0-RC3 """{"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":".{sbtopts,jvmopts}","pattern":"(-J)?-XX:\\+CMSClassUnloadingEnabled","replaceWith":""},{"path":"build.sbt","pattern":"val scala3 = \"3.3.0\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}""" com.github.arturopala%gitignore"
89
90[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
91[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
92[info] loading project definition from /build/repo/project
93[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
94[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
95[info] Compilation completed in 8.845s.
96[info] done compiling
97/build/repo/build.sbt:38: warning: value scalafixScalaBinaryVersion in object autoImport is deprecated (since 0.12.1): scalafixScalaBinaryVersion now follows scalaVersion by default
98 scalafixScalaBinaryVersion := "2.13",
99 ^
100[info] loading settings for project repo from build.sbt...
101[info] set current project to repo (in build file:/build/repo/)
102[warn] there are 5 keys that are not used by any other settings/tasks:
103[warn]
104[warn] * ThisBuild / scalafixScalaBinaryVersion
105[warn] +- /build/repo/build.sbt:18
106[warn] * docs / doc / scalacOptions
107[warn] +- /build/repo/build.sbt:51
108[warn] * rootJS / doc / scalacOptions
109[warn] +- /build/repo/build.sbt:51
110[warn] * rootJVM / doc / scalacOptions
111[warn] +- /build/repo/build.sbt:51
112[warn] * rootNative / doc / scalacOptions
113[warn] +- /build/repo/build.sbt:51
114[warn]
115[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
116[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
117Execute setCrossScalaVersions: 3.8.0-RC3
118OpenCB::Limitting incorrect crossVersions List() -> List(2.13.11) in repo/crossScalaVersions
119OpenCB::Changing crossVersion 3.8.0-RC3 -> 3.8.0-RC3 in rootJVM/crossScalaVersions
120OpenCB::Changing crossVersion 3.8.0-RC3 -> 3.8.0-RC3 in rootJS/crossScalaVersions
121[info] set current project to repo (in build file:/build/repo/)
122[info] Setting Scala version to 3.8.0-RC3 on 2 projects.
123[info] Switching Scala version on:
124[info] rootJS (2.13.11, 2.12.18, 3.8.0-RC3)
125[info] rootJVM (2.13.11, 2.12.18, 3.8.0-RC3)
126[info] Excluding projects:
127[info] docs (2.13.11)
128[info] rootNative (2.13.11, 2.12.18)
129[info] * repo (2.13.11)
130[info] Reapplying settings...
131[info] set current project to repo (in build file:/build/repo/)
132Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
133[info] Reapplying settings...
134[info] set current project to repo (in build file:/build/repo/)
135[info] Defining Global / credentials, credentials and 3 others.
136[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 25 others.
137[info] Run `last` for details.
138[info] Reapplying settings...
139[info] set current project to repo (in build file:/build/repo/)
140Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
141[info] Reapplying settings...
142OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
143
144 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
145 Did you mean rootJVM / allExcludeDependencies ?
146 , retry without global scopes
147[info] Reapplying settings...
148[info] set current project to repo (in build file:/build/repo/)
149Execute removeScalacOptionsStartingWith: -P:wartremover
150[info] Reapplying settings...
151[info] set current project to repo (in build file:/build/repo/)
152[success] Total time: 0 s, completed Dec 4, 2025, 2:55:07 PM
153Build config: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":".{sbtopts,jvmopts}","pattern":"(-J)?-XX:\\+CMSClassUnloadingEnabled","replaceWith":""},{"path":"build.sbt","pattern":"val scala3 = \"3.3.0\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
154Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
155Starting build...
156Projects: Set(rootJVM)
157Starting build for ProjectRef(file:/build/repo/,rootJVM) (gitignore)... [0/1]
158OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
159Compile scalacOptions: -Ywarn-unused, -Xsemanticdb, -semanticdb-target, /build/repo/.jvm/target/scala-3.8.0-RC3/meta, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
160Never$: top-level presets deprecated; use 'preset' subsection
161[info] scalafmt: Formatting 5 Scala sources (/build/repo/.jvm)...
162[info] scalafmt: Formatting 4 Scala sources (/build/repo/.jvm)...
163[info] compiling 4 Scala sources to /build/repo/.jvm/target/scala-3.8.0-RC3/classes ...
164[warn] bad option '-Ywarn-unused' was ignored
165[warn] -- [E147] Syntax Warning: /build/repo/src/main/scala/com/github/arturopala/gitignore/Glob.scala:185:2
166[warn] 185 | final case object AnyStringPattern extends Pattern with WildcardPattern {
167[warn] | ^^^^^
168[warn] | Modifier final is redundant for this definition
169[warn] -- [E147] Syntax Warning: /build/repo/src/main/scala/com/github/arturopala/gitignore/Glob.scala:190:2
170[warn] 190 | final case object AnythingPattern extends Pattern with WildcardPattern {
171[warn] | ^^^^^
172[warn] | Modifier final is redundant for this definition
173[warn] -- [E147] Syntax Warning: /build/repo/src/main/scala/com/github/arturopala/gitignore/Glob.scala:195:2
174[warn] 195 | final object AnySingleCharacterPattern extends Pattern with SingleCharacterPattern {
175[warn] | ^^^^^
176[warn] | Modifier final is redundant for this definition
177[warn] -- [E147] Syntax Warning: /build/repo/src/main/scala/com/github/arturopala/gitignore/Glob.scala:207:2
178[warn] 207 | final object CharacterCheck {
179[warn] | ^^^^^
180[warn] | Modifier final is redundant for this definition
181[warn] -- [E147] Syntax Warning: /build/repo/src/main/scala/com/github/arturopala/gitignore/Glob.scala:299:2
182[warn] 299 | final object Matcher {
183[warn] | ^^^^^
184[warn] | Modifier final is redundant for this definition
185[warn] there were 6 deprecation warnings; re-run with -deprecation for details
186[warn] 7 warnings found
187[info] done compiling
188[info] compiling 5 Scala sources to /build/repo/.jvm/target/scala-3.8.0-RC3/test-classes ...
189[warn] bad option '-Ywarn-unused' was ignored
190[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/test/scala/com/github/arturopala/gitignore/AnyWordSpecCompat.scala:47:12
191[warn] 47 | if (a.isInstanceOf[Iterable[T]] && b.isInstanceOf[Iterable[T]])
192[warn] | ^
193[warn] |the type test for Iterable[T] cannot be checked at runtime because its type arguments can't be determined from T
194[warn] |
195[warn] | longer explanation available when compiling with `-explain`
196[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/test/scala/com/github/arturopala/gitignore/AnyWordSpecCompat.scala:47:43
197[warn] 47 | if (a.isInstanceOf[Iterable[T]] && b.isInstanceOf[Iterable[T]])
198[warn] | ^
199[warn] |the type test for Iterable[T] cannot be checked at runtime because its type arguments can't be determined from T
200[warn] |
201[warn] | longer explanation available when compiling with `-explain`
202[warn] three warnings found
203[info] done compiling
204com.github.arturopala.gitignore.ZoomSpec:
205 + Zoom should calculate indexOf 0.012s
206 + Zoom should calculate lastIndexOf 0.0s
207 + Zoom should wrap the string and report initial focus details 0.001s
208 + Zoom should have contourLength and frameWidth 0.0s
209 + Zoom should lookup string from the left side, and adjust focus and contour 0.001s
210 + Zoom should try lookup string from the left side and leave zoom unchanged 0.0s
211 + Zoom should try lookup string from the left side and leave zoom unchanged if max distance reached 0.001s
212 + Zoom should lookup string from the right side, and adjust focus and contour 0.0s
213 + Zoom should try lookup string from the right side and leave zoom unchanged 0.001s
214 + Zoom should try lookup string from the right side and leave zoom unchanged if max distance reached 0.0s
215 + Zoom should lookup while condition met from the left side with max steps 0.001s
216 + Zoom should lookup while condition met from the left side 0.001s
217 + Zoom should do nothing if while condition not met from the left side 0.0s
218 + Zoom should lookup while condition met from the right side with max steps 0.001s
219 + Zoom should lookup while condition met from the right side 0.001s
220 + Zoom should do nothing if while condition not met from the right side 0.0s
221 + Zoom should lookup until condition met from the left side with max steps 0.0s
222 + Zoom should lookup until condition met from the left side 0.0s
223 + Zoom should lookup until condition met from the left side for an empty zoom 0.001s
224 + Zoom should lookup until condition met from the left side for a zoom with only disallowed character 0.001s
225 + Zoom should lookup until condition met from the left side for a zoom starting with disallowed character 0.0s
226 + Zoom should do nothing if until condition not met from the left side 0.001s
227 + Zoom should lookup until condition met from the right side with max steps 0.001s
228 + Zoom should lookup until condition met from the right side 0.0s
229 + Zoom should lookup until condition met from the right side for an empty zoom 0.001s
230 + Zoom should lookup until condition met from the right side for a zoom with only disallowed character 0.0s
231 + Zoom should lookup until condition met from the right side for a zoom ending with disallowed character 0.001s
232 + Zoom should do nothing if until condition not met from the right side 0.0s
233 + Zoom should take all from the left side 0.001s
234 + Zoom should take all from the right side 0.001s
235 + Zoom should report no overlap and gap between contours 0.0s
236 + Zoom should report overlap and no gap between contours 0.001s
237 + Zoom should frame left of other zoom 0.001s
238 + Zoom should frame right of other zoom 0.0s
239 + Zoom should merge with other zoom 0.001s
240 + Zoom should merge with other zoom - 2 0.0s
241 + Zoom should lookup for 0.0s
242 + Zoom should lookup while 0.001s
243 + Zoom should lookup while not 0.001s
244 + Zoom should lookup while not positive condition 0.002s
245 + Zoom should lookup while not negative condition 0.0s
246 + Zoom should intersect contour 0.0s
247 + Zoom should union contour 0.0s
248 + Zoom should close up frame and reset contour 0.0s
249 + Zoom should squeeze right or left 0.001s
250com.github.arturopala.gitignore.GlobCheckSpec:
251 + finds a 0.143s
252 + finds a? 0.063s
253 + finds ?a 0.028s
254 + finds a?a 0.363s
255 + finds a?b 0.081s
256 + finds a??b 0.298s
257 + finds a*b 0.293s
258 + finds a?*?b 0.179s
259 + finds a**b 0.011s
260 + finds abc123 0.011s
261 + finds ac1b? 0.013s
262 + finds ?a2bc 0.012s
263 + finds ab2c?cb1a 0.016s
264 + finds aa7bc?cbb 0.014s
265 + finds abc??cb3a 0.013s
266 + finds ab6c*ccb 0.012s
267 + finds aaa?*?bc8a 0.013s
268 + finds ab0a**ab12a 0.015s
269 + finds a?b?c?d?e?f?g?h 1.002s
270 + finds ?a?b?c?d?e?f?g?h? 0.162s
271 + finds [a] 0.019s
272 + finds [abc] 0.01s
273 + finds [A-Z] 0.009s
274 + finds [a-fG-Z] 0.026s
275 + finds [!a] 0.01s
276 + finds [!f-p] 0.007s
277 + finds [A-Z]???[0-9] 0.93s
278 + finds [ghj]*[0-9] 1.178s
279 + finds /* 0.005s
280 + finds /*/* 0.005s
281 + finds /*/*/? 0.017s
282 + finds /*/?/? 0.194s
283 + finds /*/?/* 0.493s
284 + finds /*/ 0.01s
285 + finds /*/*/ 0.014s
286 + finds /*/*/?/ 0.998s
287 + finds /*/?/?/ 0.738s
288 + finds /*/?/*/ 0.44s
289 + finds */ 0.005s
290 + finds */*/ 0.012s
291 + finds */*/?/ 0.399s
292 + finds */?/?/ 0.21s
293 + finds */?/*/ 0.746s
294 + finds */* 0.005s
295 + finds */*/* 0.014s
296 + finds */*/?/* 0.743s
297 + finds */?/?/* 0.426s
298 + finds */?/*/* 0.809s
299com.github.arturopala.gitignore.GlobSpec:
300 + Glob.Matcher should compute match contour 0.001s
301 + Glob should check if pattern has wildcards 0.001s
302 + Glob should reject an empty pattern 0.003s
303 + Glob should compile the pattern 0.0s
304 + Glob should compile literal pattern and match the string 0.001s
305 + Glob should compile single ? wildcard pattern and match the string 0.0s
306 + Glob should compile single * wildcard pattern and match the string 0.0s
307 + Glob should compile mixed ? pattern and match the string 0.002s
308 + Glob should compile mixed literal and * pattern, and match the string 0.001s
309 + Glob should compile mixed * and literal pattern, and match the string 0.001s
310 + Glob should compile mixed ? and * and literal pattern, and match the string 0.0s
311 + Glob should compile path wildcard ** and match the string 0.001s
312 + Glob should reject an empty character pattern 0.001s
313 + Glob should compile character class check 0.0s
314 + Glob should compile combined character class and range check 0.0s
315 + Glob should reject charecter class containg explict / 0.0s
316 + Glob should compile character range check 0.0s
317 + Glob should compile character check negation 0.001s
318 + Glob should compile wildcard range pattern and match the string 0.001s
319 + Glob should not match path separator / with ? and * 0.001s
320 + Glob should compile wildcard pattern and match the string recursively 0.001s
321com.github.arturopala.gitignore.GitIgnoreSpec:
322 + GitIgnore should process top directory: target 0.016s
323 + GitIgnore should process top hidden directory: .git 0.001s
324 + GitIgnore should process top file: build.sbt 0.001s
325 + GitIgnore should process top hidden file: .scalafmt.conf 0.0s
326 + GitIgnore should process nested directory: project/target 0.002s
327 + GitIgnore should process nested file: project/plugins.sbt 0.0s
328 + GitIgnore should process nested file: src/main/resources/application.conf 0.026s
329 + GitIgnore should process nested file: foo/bar/baz/[*?].txt 0.003s
330
331************************
332Build summary:
333[{
334 "module": "gitignore",
335 "compile": {"status": "ok", "tookMs": 18252, "warnings": 5, "errors": 0, "sourceVersion": "3.8"},
336 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
337 "test-compile": {"status": "ok", "tookMs": 7108, "warnings": 2, "errors": 0, "sourceVersion": "3.8"},
338 "test": {"status": "ok", "tookMs": 11957, "passed": 122, "failed": 0, "ignored": 0, "skipped": 0, "total": 122, "byFramework": [{"framework": "munit", "stats": {"passed": 122, "failed": 0, "ignored": 0, "skipped": 0, "total": 122}}]},
339 "publish": {"status": "skipped", "tookMs": 0},
340 "metadata": {
341 "crossScalaVersions": ["2.13.11", "2.12.18", "3.3.0"]
342}
343}]
344************************
345[success] Total time: 44 s, completed Dec 4, 2025, 2:55:51 PM
346[0JChecking patch project/plugins.sbt...
347Checking patch project/build.properties...
348Checking patch build.sbt...
349Checking patch .sbtopts...
350Checking patch .jvmopts...
351Applied patch project/plugins.sbt cleanly.
352Applied patch project/build.properties cleanly.
353Applied patch build.sbt cleanly.
354Applied patch .sbtopts cleanly.
355Applied patch .jvmopts cleanly.