Build Logs

arturopala/buffer-and-slice • scheduled_3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY

Errors

0

Warnings

38

Total Lines

201

1##################################
2Clonning https://github.com/arturopala/buffer-and-slice.git into /build/repo using revision v1.64.0
3##################################
4Note: switching to '9cf19d787a9ff0bccec33b7381c9f99ec857b12c'.
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.4.0
22----
23Preparing build for 3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY
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: build.sbt
34Pattern: val scala3 = "3.4.0"
35Replacement: val scala3 = "3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY"
36Starting compilation server
37Compiling project (Scala 3.7.3, JVM (17))
38Compiled project (Scala 3.7.3, JVM (17))
39Successfully applied pattern 'val scala3 = "3.4.0"' in build.sbt
40----
41Starting build for 3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY
42Execute tests: false
43sbt project found:
44Sbt version 1.9.9 is not supported, minimal supported version is 1.11.5
45Enforcing usage of sbt in version 1.11.5
46No prepare script found for project arturopala/buffer-and-slice
47##################################
48Scala version: 3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY
49Targets: com.github.arturopala%buffer-and-slice
50Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.4.0\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
51##################################
52Using extra scalacOptions: ,REQUIRE:-source:3.8
53Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
54[sbt_options] declare -a sbt_options=()
55[process_args] java_version = '17'
56[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
57# Executing command line:
58java
59-XX:+TieredCompilation
60-Dfile.encoding=UTF-8
61-XX:+UseG1GC
62-Xmx2G
63-Dcommunitybuild.scala=3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY
64-Dcommunitybuild.project.dependencies.add=
65-Xmx7G
66-Xms4G
67-Xss8M
68-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
69-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
70-jar
71/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
72"setCrossScalaVersions 3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY"
73"++3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY -v"
74"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
75"set every credentials := Nil"
76"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
77"removeScalacOptionsStartingWith -P:wartremover"
78
79moduleMappings
80"runBuild 3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY """{"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.4.0\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}""" com.github.arturopala%buffer-and-slice"
81
82[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
83[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
84[info] loading project definition from /build/repo/project
85[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
86[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
87[info] Compilation completed in 8.81s.
88[info] done compiling
89/build/repo/build.sbt:41: warning: value scalafixScalaBinaryVersion in object autoImport is deprecated (since 0.12.1): scalafixScalaBinaryVersion now follows scalaVersion by default
90 scalafixScalaBinaryVersion := "2.13",
91 ^
92[info] loading settings for project repo from build.sbt...
93[info] set current project to repo (in build file:/build/repo/)
94[warn] there are 5 keys that are not used by any other settings/tasks:
95[warn]
96[warn] * ThisBuild / scalafixScalaBinaryVersion
97[warn] +- /build/repo/build.sbt:21
98[warn] * docs / doc / scalacOptions
99[warn] +- /build/repo/build.sbt:54
100[warn] * rootJS / doc / scalacOptions
101[warn] +- /build/repo/build.sbt:54
102[warn] * rootJVM / doc / scalacOptions
103[warn] +- /build/repo/build.sbt:54
104[warn] * rootNative / doc / scalacOptions
105[warn] +- /build/repo/build.sbt:54
106[warn]
107[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
108[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
109Execute setCrossScalaVersions: 3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY
110OpenCB::Limitting incorrect crossVersions List() -> List(2.13.13) in repo/crossScalaVersions
111OpenCB::Changing crossVersion 3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY -> 3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY in rootJS/crossScalaVersions
112OpenCB::Changing crossVersion 3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY -> 3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY in rootJVM/crossScalaVersions
113[info] set current project to repo (in build file:/build/repo/)
114[info] Setting Scala version to 3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY on 2 projects.
115[info] Switching Scala version on:
116[info] rootJS (2.13.13, 2.12.19, 3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY)
117[info] rootJVM (2.13.13, 2.12.19, 3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY)
118[info] Excluding projects:
119[info] docs (2.13.13)
120[info] rootNative (2.13.13, 2.12.19)
121[info] * repo (2.13.13)
122[info] Reapplying settings...
123[info] set current project to repo (in build file:/build/repo/)
124Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
125[info] Reapplying settings...
126[info] set current project to repo (in build file:/build/repo/)
127[info] Defining Global / credentials, credentials and 3 others.
128[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 40 others.
129[info] Run `last` for details.
130[info] Reapplying settings...
131[info] set current project to repo (in build file:/build/repo/)
132Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
133[info] Reapplying settings...
134OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
135
136 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
137 Did you mean rootJVM / allExcludeDependencies ?
138 , retry without global scopes
139[info] Reapplying settings...
140[info] set current project to repo (in build file:/build/repo/)
141Execute removeScalacOptionsStartingWith: -P:wartremover
142[info] Reapplying settings...
143[info] set current project to repo (in build file:/build/repo/)
144[success] Total time: 0 s, completed Jan 10, 2026, 1:10:31 AM
145Build config: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.4.0\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
146Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
147Starting build...
148Projects: Set(rootJVM)
149Starting build for ProjectRef(file:/build/repo/,rootJVM) (buffer-and-slice)... [0/1]
150OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
151Compile scalacOptions: -Ywarn-unused, -Xsemanticdb, -semanticdb-target, /build/repo/.jvm/target/scala-3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY/meta, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
152[info] scalafmt: Formatting 12 Scala sources (/build/repo/.jvm)...
153[info] scalafmt: Formatting 15 Scala sources (/build/repo/.jvm)...
154[info] compiling 15 Scala sources to /build/repo/.jvm/target/scala-3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY/classes ...
155[warn] bad option '-Ywarn-unused' was ignored
156[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/com/github/arturopala/bufferandslice/Slice.scala:378:9
157[warn] 378 | case other: Slice[T] =>
158[warn] | ^
159[warn] |the type test for com.github.arturopala.bufferandslice.Slice[T] cannot be checked at runtime because its type arguments can't be determined from Any
160[warn] |
161[warn] | longer explanation available when compiling with `-explain`
162[warn] two warnings found
163[info] done compiling
164[info] compiling 12 Scala sources to /build/repo/.jvm/target/scala-3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY/test-classes ...
165[warn] bad option '-Ywarn-unused' was ignored
166[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/test/scala/com/github/arturopala/bufferandslice/AnyWordSpecCompat.scala:49:14
167[warn] 49 | if (a.isInstanceOf[Iterable[T]] && b.isInstanceOf[Iterable[T]])
168[warn] | ^
169[warn] |the type test for Iterable[T] cannot be checked at runtime because its type arguments can't be determined from T
170[warn] |
171[warn] | longer explanation available when compiling with `-explain`
172[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/test/scala/com/github/arturopala/bufferandslice/AnyWordSpecCompat.scala:49:45
173[warn] 49 | if (a.isInstanceOf[Iterable[T]] && b.isInstanceOf[Iterable[T]])
174[warn] | ^
175[warn] |the type test for Iterable[T] cannot be checked at runtime because its type arguments can't be determined from T
176[warn] |
177[warn] | longer explanation available when compiling with `-explain`
178[warn] three warnings found
179[info] done compiling
180
181************************
182Build summary:
183[{
184 "module": "buffer-and-slice",
185 "compile": {"status": "ok", "tookMs": 14582, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
186 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
187 "test-compile": {"status": "ok", "tookMs": 12376, "warnings": 2, "errors": 0, "sourceVersion": "3.8"},
188 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
189 "publish": {"status": "skipped", "tookMs": 0},
190 "metadata": {
191 "crossScalaVersions": ["2.13.13", "2.12.19", "3.4.0"]
192}
193}]
194************************
195[success] Total time: 33 s, completed Jan 10, 2026, 1:11:04 AM
196[0JChecking patch project/plugins.sbt...
197Checking patch project/build.properties...
198Checking patch build.sbt...
199Applied patch project/plugins.sbt cleanly.
200Applied patch project/build.properties cleanly.
201Applied patch build.sbt cleanly.