Build Logs

codedx/mapk • 3.8.0-RC2:2025-11-28

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.076s.
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 Nov 28, 2025, 2:30:03 PM
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": 5403, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
148 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
149 "test-compile": {"status": "ok", "tookMs": 5643, "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: 27 s, completed Nov 28, 2025, 2:30:30 PM
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 1f4074e] 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-RC2
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-RC2
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-RC2
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-RC2
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-RC2"
207"++3.8.0-RC2 -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-RC2 """{"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-RC2
231OpenCB::Changing crossVersion 3.0.0 -> 3.8.0-RC2 in repo/crossScalaVersions
232[info] set current project to mapk (in build file:/build/repo/)
233[info] Setting Scala version to 3.8.0-RC2 on 1 projects.
234[info] Switching Scala version on:
235[info] * repo (2.12.14, 2.13.6, 3.8.0-RC2)
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 Nov 28, 2025, 2:30:38 PM
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-RC2/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-RC2/test-classes ...
273[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
274[warn] one warning found
275[info] done compiling
276[info] MapKSpec:
277[info] MapK
278[info] entrySyntax
279[info] - should allow for a convenient MapK.apply with cats.Id value types
280[info] - should allow for a convenient MapK.apply with higher-kinded value types
281[info] equals and hashCode
282[info] - should behave properly for identical MapK instances
283[info] - should behave properly for non-identical MapK instances
284[info] .untyped
285[info] - should return a regular Map containing the same entries, minus the explicit type information
286[info] .contains(key)
287[info] - should return false when the map does not contain the given key
288[info] - should return true when the map contains the given key
289[info] .get(key)
290[info] - should return Some with an appropriately-typed value if the key is present
291[info] - should return None if the key is not present
292[info] .apply(key)
293[info] - should return an appropriately-typed value if the key is present
294[info] - should throw an exception if the key is absent
295[info] .updated(key, value)
296[info] - should create a new MapK which includes the key and value
297[info] - should replace the value for the given key if an entry with that key already existed
298[info] + (key, value)
299[info] - should create a new MapK which includes the key and value
300[info] - should replace the value for the given key if an entry with that key already existed
301[info] ++ (that)
302[info] - should create a new MapK which includes values from both, with priority to the map on the RHS of the operator
303[info] .foreach(f)
304[info] - should pass each entry to the callback function, in no particular order
305[info] .mapValues(f)
306[info] - should create a new MapK whose values correspond to the original map values, transformed by f
307[info] .map(f)
308[info] - should create a new MapK whose entries correspond to the original map entries, transformed by f
309[info] .keys
310[info] - should return an iterable collection of the map's keys
311[info] .values
312[info] - should return an interable collection of the map's values
313[info] .merge
314[info] - should create a new MapK which combines values from both operands via the combiner function
315[info] .isEmpty / .nonEmpty
316[info] - should indicate whether the map is empty or not
317[info] Monoid instance
318[info] - should be able to create an empty MapK
319[info] - should use the value's SemigroupK to combine values
320[info] MutableMapKSpec:
321[info] MutableMapK
322[info] equals and hashCode
323[info] - should behave properly for identical MutableMapK instances
324[info] - should behave properly for non-identical MutableMapK instances
325[info] .contains(key)
326[info] - should return whether or not the map contains the given key
327[info] .get(key)
328[info] - should return Some with an appropriately-typed value if the key is present
329[info] - should return None if the key is not present
330[info] .apply(key)
331[info] - should return an appropriately-typed value if the key is present
332[info] - should throw an exception if the key is absent
333[info] .add(key, value)
334[info] - should mutate the map, adding an entry for the given key and value
335[info] - should replace existing entries when adding a key that is already present
336[info] .remove(key)
337[info] - should mutate the map, removing the entry for the given key, returning the removed value
338[info] - should no-op if the key is already not present
339[info] .getOrElseUpdate(key, =>value)
340[info] - should get an existing value if the key is present
341[info] - should update the map with the default value if the key is missing
342[info] .mapValues(f)
343[info] - should create a new MutableMapK whose values correspond to the original map values, transformed by f
344[info] .addFrom(that)
345[info] - should .add an entry for each entry in 'that' map
346[info] .keys
347[info] - should return an iterable collection of keys from the map
348[info] .values
349[info] - should return an iterable collection of values from the map
350[info] .foreach(f)
351[info] - should pass each entry to the callback function, in no particular order
352[info] .toMap
353[info] - should convert the map to an immutable MapK
354[info] .isEmpty / .nonEmpty
355[info] - should indicate whether the map is currently empty
356
357************************
358Build summary:
359[{
360 "module": "mapk",
361 "compile": {"status": "ok", "tookMs": 8027, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
362 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
363 "test-compile": {"status": "ok", "tookMs": 5204, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
364 "test": {"status": "ok", "tookMs": 776, "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: 24 s, completed Nov 28, 2025, 2:31:01 PM
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.