Build Logs

codedx/mapk • 3.8.0-RC6:2026-01-08

Errors

2

Warnings

30

Total Lines

377

1##################################
2Clonning https://github.com/codedx/mapk.git into /build/repo using revision 1.2.0
3##################################
4Note: switching to '2466fd6efff72f264c12b93e9c8d0a44d96e857b'.
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
21Using target Scala version for migration: 3.7.4
22Migrating project for -source:3.7 using Scala 3.7.4
23----
24Preparing build for 3.7.4
25Would try to apply common scalacOption (best-effort, sbt/mill only):
26Append: -rewrite,REQUIRE:-source:3.7-migration
27Remove: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
28----
29Starting build for 3.7.4
30Execute tests: false
31sbt project found:
32Sbt version 1.5.2 is not supported, minimal supported version is 1.11.5
33Enforcing usage of sbt in version 1.11.5
34No prepare script found for project codedx/mapk
35##################################
36Scala version: 3.7.4
37Targets: com.codedx%mapk
38Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.7"],"sourcePatches":[]}
39##################################
40Using extra scalacOptions: -rewrite,REQUIRE:-source:3.7-migration
41Filtering out scalacOptions: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
42[sbt_options] declare -a sbt_options=()
43[process_args] java_version = '17'
44[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
45# Executing command line:
46java
47-Dfile.encoding=UTF-8
48-Dcommunitybuild.scala=3.7.4
49-Dcommunitybuild.project.dependencies.add=
50-Xmx7G
51-Xms4G
52-Xss8M
53-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
54-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
55-jar
56/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
57"setCrossScalaVersions 3.7.4"
58"++3.7.4 -v"
59"mapScalacOptions "-rewrite,REQUIRE:-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s" "-indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
60"set every credentials := Nil"
61"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
62"removeScalacOptionsStartingWith -P:wartremover"
63
64moduleMappings
65"runBuild 3.7.4 """{"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.7"],"sourcePatches":[]}""" com.codedx%mapk"
66
67[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
68[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
69[info] loading project definition from /build/repo/project
70[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
71[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
72[info] Compilation completed in 9.121s.
73[info] done compiling
74[info] loading settings for project repo from build.sbt, publish.sbt...
75[info] set current project to mapk (in build file:/build/repo/)
76[warn] there are 2 keys that are not used by any other settings/tasks:
77[warn]
78[warn] * ThisBuild / pomIncludeRepository
79[warn] +- /build/repo/publish.sbt:25
80[warn] * ThisBuild / publishMavenStyle
81[warn] +- /build/repo/publish.sbt:31
82[warn]
83[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
84[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
85Execute setCrossScalaVersions: 3.7.4
86OpenCB::Changing crossVersion 3.0.0 -> 3.7.4 in repo/crossScalaVersions
87[info] set current project to mapk (in build file:/build/repo/)
88[info] Setting Scala version to 3.7.4 on 1 projects.
89[info] Switching Scala version on:
90[info] * repo (2.12.14, 2.13.6, 3.7.4)
91[info] Excluding projects:
92[info] Reapplying settings...
93[info] set current project to mapk (in build file:/build/repo/)
94Execute mapScalacOptions: -rewrite,REQUIRE:-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
95[info] Reapplying settings...
96[info] set current project to mapk (in build file:/build/repo/)
97[info] Defining Global / credentials, credentials
98[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 4 others.
99[info] Run `last` for details.
100[info] Reapplying settings...
101[info] set current project to mapk (in build file:/build/repo/)
102Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
103[info] Reapplying settings...
104OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
105
106 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
107 Did you mean allExcludeDependencies ?
108 , retry without global scopes
109[info] Reapplying settings...
110[info] set current project to mapk (in build file:/build/repo/)
111Execute removeScalacOptionsStartingWith: -P:wartremover
112[info] Reapplying settings...
113[info] set current project to mapk (in build file:/build/repo/)
114[success] Total time: 0 s, completed Jan 8, 2026, 2:08:43 AM
115Build config: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.7"],"sourcePatches":[]}
116Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
117Starting build...
118Projects: Set(repo)
119Starting build for ProjectRef(file:/build/repo/,repo) (mapk)... [0/1]
120OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
121OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
122Compile scalacOptions: -unchecked, -language:higherKinds, -Ykind-projector, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
123[info] compiling 2 Scala sources to /build/repo/target/scala-3.7.4/classes ...
124[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
125[info] [patched file /build/repo/src/main/scala/com/codedx/util/MapK.scala]
126[warn] one warning found
127[info] done compiling
128[info] compiling 1 Scala source to /build/repo/target/scala-3.7.4/classes ...
129[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
130[warn] one warning found
131[info] done compiling
132[info] compiling 2 Scala sources to /build/repo/target/scala-3.7.4/test-classes ...
133[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
134[info] [patched file /build/repo/src/test/scala/com/codedx/util/MapKSpec.scala]
135[info] [patched file /build/repo/src/test/scala/com/codedx/util/MutableMapKSpec.scala]
136[warn] one warning found
137[info] done compiling
138[info] compiling 2 Scala sources to /build/repo/target/scala-3.7.4/test-classes ...
139[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
140[warn] one warning found
141[info] done compiling
142
143************************
144Build summary:
145[{
146 "module": "mapk",
147 "compile": {"status": "ok", "tookMs": 4753, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
148 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
149 "test-compile": {"status": "ok", "tookMs": 6052, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
150 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
151 "publish": {"status": "skipped", "tookMs": 0},
152 "metadata": {
153 "crossScalaVersions": ["2.12.14", "2.13.6", "3.0.0"]
154}
155}]
156************************
157[success] Total time: 16 s, completed Jan 8, 2026, 2:08:59 AM
158[0JChecking patch project/plugins.sbt...
159Checking patch project/build.properties...
160Checking patch build.sbt...
161Applied patch project/plugins.sbt cleanly.
162Applied patch project/build.properties cleanly.
163Applied patch build.sbt cleanly.
164Commit migration rewrites
165Switched to a new branch 'opencb/migrate-source-3.7'
166[opencb/migrate-source-3.7 9945eac] Apply Scala compiler rewrites using -source:3.7-migration using Scala 3.7.4
167 3 files changed, 4 insertions(+), 4 deletions(-)
168----
169Preparing build for 3.8.0-RC6
170Scala binary version found: 3.8
171Implicitly using source version 3.8
172Scala binary version found: 3.8
173Implicitly using source version 3.8
174Would try to apply common scalacOption (best-effort, sbt/mill only):
175Append: ,REQUIRE:-source:3.8
176Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
177----
178Starting build for 3.8.0-RC6
179Execute tests: true
180sbt project found:
181Sbt version 1.5.2 is not supported, minimal supported version is 1.11.5
182Enforcing usage of sbt in version 1.11.5
183No prepare script found for project codedx/mapk
184##################################
185Scala version: 3.8.0-RC6
186Targets: com.codedx%mapk
187Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":["3.7"],"sourcePatches":[]}
188##################################
189Using extra scalacOptions: ,REQUIRE:-source:3.8
190Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
191[sbt_options] declare -a sbt_options=()
192[process_args] java_version = '17'
193[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
194# Executing command line:
195java
196-Dfile.encoding=UTF-8
197-Dcommunitybuild.scala=3.8.0-RC6
198-Dcommunitybuild.project.dependencies.add=
199-Xmx7G
200-Xms4G
201-Xss8M
202-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
203-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
204-jar
205/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
206"setCrossScalaVersions 3.8.0-RC6"
207"++3.8.0-RC6 -v"
208"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
209"set every credentials := Nil"
210"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
211"removeScalacOptionsStartingWith -P:wartremover"
212
213moduleMappings
214"runBuild 3.8.0-RC6 """{"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":["3.7"],"sourcePatches":[]}""" com.codedx%mapk"
215
216[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
217[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
218[info] loading project definition from /build/repo/project
219[info] loading settings for project repo from build.sbt, publish.sbt...
220[info] set current project to mapk (in build file:/build/repo/)
221[warn] there are 2 keys that are not used by any other settings/tasks:
222[warn]
223[warn] * ThisBuild / pomIncludeRepository
224[warn] +- /build/repo/publish.sbt:25
225[warn] * ThisBuild / publishMavenStyle
226[warn] +- /build/repo/publish.sbt:31
227[warn]
228[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
229[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
230Execute setCrossScalaVersions: 3.8.0-RC6
231OpenCB::Changing crossVersion 3.0.0 -> 3.8.0-RC6 in repo/crossScalaVersions
232[info] set current project to mapk (in build file:/build/repo/)
233[info] Setting Scala version to 3.8.0-RC6 on 1 projects.
234[info] Switching Scala version on:
235[info] * repo (2.12.14, 2.13.6, 3.8.0-RC6)
236[info] Excluding projects:
237[info] Reapplying settings...
238[info] set current project to mapk (in build file:/build/repo/)
239Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
240[info] Reapplying settings...
241[info] set current project to mapk (in build file:/build/repo/)
242[info] Defining Global / credentials, credentials
243[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 4 others.
244[info] Run `last` for details.
245[info] Reapplying settings...
246[info] set current project to mapk (in build file:/build/repo/)
247Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
248[info] Reapplying settings...
249OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
250
251 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
252 Did you mean allExcludeDependencies ?
253 , retry without global scopes
254[info] Reapplying settings...
255[info] set current project to mapk (in build file:/build/repo/)
256Execute removeScalacOptionsStartingWith: -P:wartremover
257[info] Reapplying settings...
258[info] set current project to mapk (in build file:/build/repo/)
259[success] Total time: 0 s, completed Jan 8, 2026, 2:09:07 AM
260Build config: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":["3.7"],"sourcePatches":[]}
261Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
262Starting build...
263Projects: Set(repo)
264Starting build for ProjectRef(file:/build/repo/,repo) (mapk)... [0/1]
265OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
266OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
267Compile scalacOptions: -unchecked, -language:higherKinds, -Ykind-projector, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
268[info] compiling 2 Scala sources to /build/repo/target/scala-3.8.0-RC6/classes ...
269[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
270[warn] one warning found
271[info] done compiling
272[info] compiling 2 Scala sources to /build/repo/target/scala-3.8.0-RC6/test-classes ...
273[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
274[warn] one warning found
275[info] done compiling
276[info] MutableMapKSpec:
277[info] MutableMapK
278[info] equals and hashCode
279[info] - should behave properly for identical MutableMapK instances
280[info] - should behave properly for non-identical MutableMapK instances
281[info] .contains(key)
282[info] - should return whether or not the map contains the given key
283[info] .get(key)
284[info] - should return Some with an appropriately-typed value if the key is present
285[info] - should return None if the key is not present
286[info] .apply(key)
287[info] - should return an appropriately-typed value if the key is present
288[info] - should throw an exception if the key is absent
289[info] .add(key, value)
290[info] - should mutate the map, adding an entry for the given key and value
291[info] - should replace existing entries when adding a key that is already present
292[info] .remove(key)
293[info] - should mutate the map, removing the entry for the given key, returning the removed value
294[info] - should no-op if the key is already not present
295[info] .getOrElseUpdate(key, =>value)
296[info] - should get an existing value if the key is present
297[info] - should update the map with the default value if the key is missing
298[info] .mapValues(f)
299[info] - should create a new MutableMapK whose values correspond to the original map values, transformed by f
300[info] .addFrom(that)
301[info] - should .add an entry for each entry in 'that' map
302[info] .keys
303[info] - should return an iterable collection of keys from the map
304[info] .values
305[info] - should return an iterable collection of values from the map
306[info] .foreach(f)
307[info] - should pass each entry to the callback function, in no particular order
308[info] .toMap
309[info] - should convert the map to an immutable MapK
310[info] .isEmpty / .nonEmpty
311[info] - should indicate whether the map is currently empty
312[info] MapKSpec:
313[info] MapK
314[info] entrySyntax
315[info] - should allow for a convenient MapK.apply with cats.Id value types
316[info] - should allow for a convenient MapK.apply with higher-kinded value types
317[info] equals and hashCode
318[info] - should behave properly for identical MapK instances
319[info] - should behave properly for non-identical MapK instances
320[info] .untyped
321[info] - should return a regular Map containing the same entries, minus the explicit type information
322[info] .contains(key)
323[info] - should return false when the map does not contain the given key
324[info] - should return true when the map contains the given key
325[info] .get(key)
326[info] - should return Some with an appropriately-typed value if the key is present
327[info] - should return None if the key is not present
328[info] .apply(key)
329[info] - should return an appropriately-typed value if the key is present
330[info] - should throw an exception if the key is absent
331[info] .updated(key, value)
332[info] - should create a new MapK which includes the key and value
333[info] - should replace the value for the given key if an entry with that key already existed
334[info] + (key, value)
335[info] - should create a new MapK which includes the key and value
336[info] - should replace the value for the given key if an entry with that key already existed
337[info] ++ (that)
338[info] - should create a new MapK which includes values from both, with priority to the map on the RHS of the operator
339[info] .foreach(f)
340[info] - should pass each entry to the callback function, in no particular order
341[info] .mapValues(f)
342[info] - should create a new MapK whose values correspond to the original map values, transformed by f
343[info] .map(f)
344[info] - should create a new MapK whose entries correspond to the original map entries, transformed by f
345[info] .keys
346[info] - should return an iterable collection of the map's keys
347[info] .values
348[info] - should return an interable collection of the map's values
349[info] .merge
350[info] - should create a new MapK which combines values from both operands via the combiner function
351[info] .isEmpty / .nonEmpty
352[info] - should indicate whether the map is empty or not
353[info] Monoid instance
354[info] - should be able to create an empty MapK
355[info] - should use the value's SemigroupK to combine values
356
357************************
358Build summary:
359[{
360 "module": "mapk",
361 "compile": {"status": "ok", "tookMs": 5156, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
362 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
363 "test-compile": {"status": "ok", "tookMs": 5050, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
364 "test": {"status": "ok", "tookMs": 712, "passed": 45, "failed": 0, "ignored": 0, "skipped": 0, "total": 45, "byFramework": [{"framework": "unknown", "stats": {"passed": 45, "failed": 0, "ignored": 0, "skipped": 0, "total": 45}}]},
365 "publish": {"status": "skipped", "tookMs": 0},
366 "metadata": {
367 "crossScalaVersions": ["2.12.14", "2.13.6", "3.0.0"]
368}
369}]
370************************
371[success] Total time: 14 s, completed Jan 8, 2026, 2:09:21 AM
372[0JChecking patch project/plugins.sbt...
373Checking patch project/build.properties...
374Checking patch build.sbt...
375Applied patch project/plugins.sbt cleanly.
376Applied patch project/build.properties cleanly.
377Applied patch build.sbt cleanly.