Build Logs

arturopala/gitignore • 3.8.0-RC2:2025-11-27

Errors

0

Warnings

53

Total Lines

229

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-RC2
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-RC2"
47Successfully applied pattern 'val scala3 = "3.3.0"' in build.sbt
48----
49Starting build for 3.8.0-RC2
50Execute tests: false
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-RC2
57Targets: com.github.arturopala%gitignore
58Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","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-RC2
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-RC2"
81"++3.8.0-RC2 -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-RC2 """{"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","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 9.175s.
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-RC2
118OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in rootJVM/crossScalaVersions
119OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in rootJS/crossScalaVersions
120OpenCB::Limitting incorrect crossVersions List() -> List(2.13.11) in repo/crossScalaVersions
121[info] set current project to repo (in build file:/build/repo/)
122[info] Setting Scala version to 3.8.0-RC2 on 2 projects.
123[info] Switching Scala version on:
124[info] rootJS (2.13.11, 2.12.18, 3.8.0-RC2)
125[info] rootJVM (2.13.11, 2.12.18, 3.8.0-RC2)
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 Nov 27, 2025, 9:00:00 PM
153Build config: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","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()),CompileOnly,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-RC2/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-RC2/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-RC2/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
204
205************************
206Build summary:
207[{
208 "module": "gitignore",
209 "compile": {"status": "ok", "tookMs": 20197, "warnings": 5, "errors": 0, "sourceVersion": "3.8"},
210 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
211 "test-compile": {"status": "ok", "tookMs": 6861, "warnings": 2, "errors": 0, "sourceVersion": "3.8"},
212 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
213 "publish": {"status": "skipped", "tookMs": 0},
214 "metadata": {
215 "crossScalaVersions": ["2.13.11", "2.12.18", "3.3.0"]
216}
217}]
218************************
219[success] Total time: 36 s, completed Nov 27, 2025, 9:00:36 PM
220[0JChecking patch project/plugins.sbt...
221Checking patch project/build.properties...
222Checking patch build.sbt...
223Checking patch .sbtopts...
224Checking patch .jvmopts...
225Applied patch project/plugins.sbt cleanly.
226Applied patch project/build.properties cleanly.
227Applied patch build.sbt cleanly.
228Applied patch .sbtopts cleanly.
229Applied patch .jvmopts cleanly.