Build Logs

softwaremill/magnolia • 3.8.0-RC5:2025-12-31

Errors

0

Warnings

39

Total Lines

239

1##################################
2Clonning https://github.com/softwaremill/magnolia.git into /build/repo using revision scala3-v1.3.18
3##################################
4Note: switching to 'a7e78d9997eab5551519a3c5904117ae5b53748e'.
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.6
22----
23Preparing build for 3.8.0-RC5
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.3.6"
35Replacement: val scala3 = "3.8.0-RC5"
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.3.6"' in build.sbt
40----
41Starting build for 3.8.0-RC5
42Execute tests: true
43sbt project found:
44Sbt version 1.10.11 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 softwaremill/magnolia
47##################################
48Scala version: 3.8.0-RC5
49Targets: com.softwaremill.magnolia1_3%magnolia
50Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.6\"","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-Dfile.encoding=UTF-8
60-Dcommunitybuild.scala=3.8.0-RC5
61-Dcommunitybuild.project.dependencies.add=
62-Xmx7G
63-Xms4G
64-Xss8M
65-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
66-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
67-jar
68/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
69"setCrossScalaVersions 3.8.0-RC5"
70"++3.8.0-RC5 -v"
71"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
72"set every credentials := Nil"
73"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
74"removeScalacOptionsStartingWith -P:wartremover"
75
76moduleMappings
77"runBuild 3.8.0-RC5 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.6\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}""" com.softwaremill.magnolia1_3%magnolia"
78
79[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
80[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
81[info] loading project definition from /build/repo/project
82[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
83[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
84[info] Compilation completed in 8.096s.
85[info] done compiling
86[info] loading settings for project root from build.sbt...
87[info] resolving key references (10034 settings) ...
88[info] Not a M or RC version, using previous version for MiMa check: Some(1.3.17)
89[info] Not a M or RC version, using previous version for MiMa check: Some(1.3.17)
90[info] Not a M or RC version, using previous version for MiMa check: Some(1.3.17)
91[info] set current project to magnolia-root (in build file:/build/repo/)
92Execute setCrossScalaVersions: 3.8.0-RC5
93OpenCB::Changing crossVersion 3.8.0-RC5 -> 3.8.0-RC5 in testJS3/crossScalaVersions
94OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC5) in testJS3/crossScalaVersions
95OpenCB::Changing crossVersion 3.8.0-RC5 -> 3.8.0-RC5 in examples3/crossScalaVersions
96OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC5) in examples3/crossScalaVersions
97OpenCB::Changing crossVersion 3.8.0-RC5 -> 3.8.0-RC5 in examplesJS3/crossScalaVersions
98OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC5) in examplesJS3/crossScalaVersions
99OpenCB::Changing crossVersion 3.8.0-RC5 -> 3.8.0-RC5 in core3/crossScalaVersions
100OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC5) in core3/crossScalaVersions
101OpenCB::Changing crossVersion 3.8.0-RC5 -> 3.8.0-RC5 in coreJS3/crossScalaVersions
102OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC5) in coreJS3/crossScalaVersions
103OpenCB::Changing crossVersion 3.8.0-RC5 -> 3.8.0-RC5 in test3/crossScalaVersions
104OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC5) in test3/crossScalaVersions
105OpenCB::Changing crossVersion 3.8.0-RC5 -> 3.8.0-RC5 in root/crossScalaVersions
106OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC5) in root/crossScalaVersions
107OpenCB::Changing crossVersion 3.8.0-RC5 -> 3.8.0-RC5 in testNative3/crossScalaVersions
108OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC5) in testNative3/crossScalaVersions
109OpenCB::Changing crossVersion 3.8.0-RC5 -> 3.8.0-RC5 in coreNative3/crossScalaVersions
110OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC5) in coreNative3/crossScalaVersions
111OpenCB::Changing crossVersion 3.8.0-RC5 -> 3.8.0-RC5 in examplesNative3/crossScalaVersions
112OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC5) in examplesNative3/crossScalaVersions
113[info] Not a M or RC version, using previous version for MiMa check: Some(1.3.17)
114[info] Not a M or RC version, using previous version for MiMa check: Some(1.3.17)
115[info] Not a M or RC version, using previous version for MiMa check: Some(1.3.17)
116[info] set current project to magnolia-root (in build file:/build/repo/)
117[info] Setting Scala version to 3.8.0-RC5 on 10 projects.
118[info] Switching Scala version on:
119[info] coreNative3 (3.8.0-RC5)
120[info] testNative3 (3.8.0-RC5)
121[info] * root (3.8.0-RC5)
122[info] test3 (3.8.0-RC5)
123[info] core3 (3.8.0-RC5)
124[info] examplesJS3 (3.8.0-RC5)
125[info] examples3 (3.8.0-RC5)
126[info] testJS3 (3.8.0-RC5)
127[info] examplesNative3 (3.8.0-RC5)
128[info] coreJS3 (3.8.0-RC5)
129[info] Excluding projects:
130[info] Reapplying settings...
131[info] Not a M or RC version, using previous version for MiMa check: Some(1.3.17)
132[info] Not a M or RC version, using previous version for MiMa check: Some(1.3.17)
133[info] Not a M or RC version, using previous version for MiMa check: Some(1.3.17)
134[info] set current project to magnolia-root (in build file:/build/repo/)
135Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
136[info] Reapplying settings...
137[info] Not a M or RC version, using previous version for MiMa check: Some(1.3.17)
138[info] Not a M or RC version, using previous version for MiMa check: Some(1.3.17)
139[info] Not a M or RC version, using previous version for MiMa check: Some(1.3.17)
140[info] set current project to magnolia-root (in build file:/build/repo/)
141[info] Defining Global / credentials, core3 / credentials and 8 others.
142[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 79 others.
143[info] Run `last` for details.
144[info] Reapplying settings...
145[info] Not a M or RC version, using previous version for MiMa check: Some(1.3.17)
146[info] Not a M or RC version, using previous version for MiMa check: Some(1.3.17)
147[info] Not a M or RC version, using previous version for MiMa check: Some(1.3.17)
148[info] set current project to magnolia-root (in build file:/build/repo/)
149Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
150[info] Reapplying settings...
151OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
152
153 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
154 Did you mean allExcludeDependencies ?
155 , retry without global scopes
156[info] Reapplying settings...
157[info] Not a M or RC version, using previous version for MiMa check: Some(1.3.17)
158[info] Not a M or RC version, using previous version for MiMa check: Some(1.3.17)
159[info] Not a M or RC version, using previous version for MiMa check: Some(1.3.17)
160[info] set current project to magnolia-root (in build file:/build/repo/)
161Execute removeScalacOptionsStartingWith: -P:wartremover
162[info] Reapplying settings...
163[info] Not a M or RC version, using previous version for MiMa check: Some(1.3.17)
164[info] Not a M or RC version, using previous version for MiMa check: Some(1.3.17)
165[info] Not a M or RC version, using previous version for MiMa check: Some(1.3.17)
166[info] set current project to magnolia-root (in build file:/build/repo/)
167[success] Total time: 0 s, completed Dec 31, 2025, 8:58:24 PM
168Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.6\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
169Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
170Starting build...
171Projects: Set(core3)
172Starting build for ProjectRef(file:/build/repo/,core3) (magnolia)... [0/1]
173OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
174OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
175OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
176Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
177[info] compiling 5 Scala sources to /build/repo/core/target/jvm-3/classes ...
178[warn] -- [E198] Unused Symbol Warning: /build/repo/core/src/main/scala/magnolia1/magnolia.scala:29:6
179[warn] 29 | idx: Int = 0
180[warn] | ^^^
181[warn] | unused explicit parameter
182[warn] -- [E198] Unused Symbol Warning: /build/repo/core/src/main/scala/magnolia1/magnolia.scala:41:6
183[warn] 41 | inheritedAnnotations: Map[String, List[Any]],
184[warn] | ^^^^^^^^^^^^^^^^^^^^
185[warn] | unused explicit parameter
186[warn] -- [E197] Potential Issue Warning: /build/repo/core/src/main/scala/magnolia1/impl.scala:108:17
187[warn] 108 | val tc = new SerializableFunction0[Typeclass[p]]:
188[warn] | ^
189[warn] | New anonymous class definition will be duplicated at each inline site
190[warn] |
191[warn] | longer explanation available when compiling with `-explain`
192[warn] -- [E197] Potential Issue Warning: /build/repo/core/src/main/scala/magnolia1/impl.scala:113:14
193[warn] 113 | new SerializableFunction0[Option[p]]:
194[warn] | ^
195[warn] | New anonymous class definition will be duplicated at each inline site
196[warn] |
197[warn] | longer explanation available when compiling with `-explain`
198[warn] -- [E197] Potential Issue Warning: /build/repo/core/src/main/scala/magnolia1/impl.scala:272:21
199[warn] 272 | val tc = new SerializableFunction0[Typeclass[s]]:
200[warn] | ^
201[warn] | New anonymous class definition will be duplicated at each inline site
202[warn] |
203[warn] | longer explanation available when compiling with `-explain`
204[warn] -- [E197] Potential Issue Warning: /build/repo/core/src/main/scala/magnolia1/impl.scala:277:25
205[warn] 277 | val isType = new SerializableFunction1[A, Boolean]:
206[warn] | ^
207[warn] | New anonymous class definition will be duplicated at each inline site
208[warn] |
209[warn] | longer explanation available when compiling with `-explain`
210[warn] -- [E197] Potential Issue Warning: /build/repo/core/src/main/scala/magnolia1/impl.scala:279:25
211[warn] 279 | val asType = new SerializableFunction1[A, s & A]:
212[warn] | ^
213[warn] | New anonymous class definition will be duplicated at each inline site
214[warn] |
215[warn] | longer explanation available when compiling with `-explain`
216[warn] 7 warnings found
217[info] done compiling
218
219************************
220Build summary:
221[{
222 "module": "magnolia",
223 "compile": {"status": "ok", "tookMs": 8248, "warnings": 7, "errors": 0, "sourceVersion": "3.8"},
224 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
225 "test-compile": {"status": "ok", "tookMs": 126, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
226 "test": {"status": "ok", "tookMs": 115, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
227 "publish": {"status": "skipped", "tookMs": 0},
228 "metadata": {
229 "crossScalaVersions": ["2.12.20", "3.3.6"]
230}
231}]
232************************
233[success] Total time: 10 s, completed Dec 31, 2025, 8:58:34 PM
234[0JChecking patch project/plugins.sbt...
235Checking patch project/build.properties...
236Checking patch build.sbt...
237Applied patch project/plugins.sbt cleanly.
238Applied patch project/build.properties cleanly.
239Applied patch build.sbt cleanly.