Build Logs
codingwell/scala-guice • 3.8.0-RC4:2025-12-22
Errors
0
Warnings
18
Total Lines
359
1##################################
2Clonning https://github.com/codingwell/scala-guice.git into /build/repo using revision v7.0.0
3##################################
4Note: switching to '0e1b647e41f3c6f6668e4b1ae903c676339524ff'.
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.2.2
22----
23Preparing build for 3.8.0-RC4
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.2.2"
35Replacement: val scala3 = "3.8.0-RC4"
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.2.2"' in build.sbt
40----
41Starting build for 3.8.0-RC4
42Execute tests: true
43sbt project found:
44Sbt version 1.5.5 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 codingwell/scala-guice
47##################################
48Scala version: 3.8.0-RC4
49Targets: net.codingwell%scala-guice
50Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.2.2\"","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-RC4
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-RC4"
70"++3.8.0-RC4 -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-RC4 """{"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.2.2\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}""" net.codingwell%scala-guice"
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.462s.
85[info] done compiling
86[info] loading settings for project repo from build.sbt...
87[info] set current project to Scala Guice (in build file:/build/repo/)
88Execute setCrossScalaVersions: 3.8.0-RC4
89OpenCB::Changing crossVersion 3.8.0-RC4 -> 3.8.0-RC4 in repo/crossScalaVersions
90[info] set current project to Scala Guice (in build file:/build/repo/)
91[info] Setting Scala version to 3.8.0-RC4 on 1 projects.
92[info] Switching Scala version on:
93[info] * repo (2.11.12, 2.12.17, 2.13.10, 3.8.0-RC4)
94[info] Excluding projects:
95[info] Reapplying settings...
96[info] set current project to Scala Guice (in build file:/build/repo/)
97Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
98[info] Reapplying settings...
99[info] set current project to Scala Guice (in build file:/build/repo/)
100[info] Defining Global / credentials, credentials
101[info] The new values will be used by allCredentials, credentials and 3 others.
102[info] Run `last` for details.
103[info] Reapplying settings...
104[info] set current project to Scala Guice (in build file:/build/repo/)
105Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
106[info] Reapplying settings...
107OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
108
109 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
110 Did you mean allExcludeDependencies ?
111 , retry without global scopes
112[info] Reapplying settings...
113[info] set current project to Scala Guice (in build file:/build/repo/)
114Execute removeScalacOptionsStartingWith: -P:wartremover
115[info] Reapplying settings...
116[info] set current project to Scala Guice (in build file:/build/repo/)
117[success] Total time: 0 s, completed Dec 22, 2025, 6:52:46 PM
118Build config: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.2.2\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
119Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
120Starting build...
121Projects: Set(repo)
122Starting build for ProjectRef(file:/build/repo/,repo) (scala-guice)... [0/1]
123OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
124OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
125Compile scalacOptions: -unchecked, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
126[info] compiling 13 Scala sources to /build/repo/target/scala-3.8.0-RC4/classes ...
127[warn] -- [E197] Potential Issue Warning: /build/repo/src/main/scala-3/net/codingwell/scalaguice/ScalaModule.scala:167:59
128[warn] 167 | inline def to[TImpl <: T]: ScalaScopedBindingBuilder = new ScalaScopedBindingBuilder {
129[warn] | ^
130[warn] | New anonymous class definition will be duplicated at each inline site
131[warn] |
132[warn] | longer explanation available when compiling with `-explain`
133[warn] -- [E197] Potential Issue Warning: /build/repo/src/main/scala-3/net/codingwell/scalaguice/ScalaModule.scala:171:86
134[warn] 171 | inline def toProvider[TProvider <: Provider[_ <: T]]: ScalaScopedBindingBuilder = new ScalaScopedBindingBuilder {
135[warn] | ^
136[warn] | New anonymous class definition will be duplicated at each inline site
137[warn] |
138[warn] | longer explanation available when compiling with `-explain`
139[warn] two warnings found
140[info] done compiling
141[info] compiling 14 Scala sources and 2 Java sources to /build/repo/target/scala-3.8.0-RC4/test-classes ...
142[warn] -- [E147] Syntax Warning: /build/repo/src/test/scala/net/codingwell/scalaguice/ClassesForTesting.scala:89:0
143[warn] 89 |final case object FinalSealedTrait extends SealedTrait
144[warn] |^^^^^
145[warn] |Modifier final is redundant for this definition
146[warn] one warning found
147[info] done compiling
148[info] OptionProviderSpec:
149[info] An Option Provider
150[info] - should allow binding an Optional
151[info] - allow binding an Optional with an annotation
152[info] - allow binding an absent Optional
153[info] TypeLiteralSpec:
154[info] type literal creation
155[info] - should create a type literal from a scala wrapper of a java primitive type
156[info] - should create a type literal from a non-generic reference type
157[info] - should create a type from a scala only type
158[info] - should create a type from a innerClass type
159[info] - should create a type from a inner Trait type
160[info] - should create a type from a inner generic Trait type
161[info] - should create a type literal from an Object
162[info] - should create a type literal from a abstract type
163[info] - should create a type literal from a generic reference type
164[info] - should convert type parameters to wrapper classes
165[info] - should handle nested types
166[info] - should handle type parameters that are nested types
167[info] - should handle type parameters that are arrays
168[info] - should handle type parameters that are boxed primative arrays
169[info] - should handle Primative Arrays
170[info] - should create a type literal from a trait
171[info] - should create a type literal from a sealed trait
172[info] - should handle wildcards
173[info] - should handle embedded wildcards with constraints
174[info] - should handle Unit
175[info] - Should handle unit as a generic
176[info] - Should handle explicit function
177[info] - should handle complex type
178[info] - should handle complex type via type alias
179[info] - should handle anyval
180[info] - should handle deep nested static class
181[info] TypeLiteralScala3Spec:
182[info] type literal creation unsupported for some Scala 3 types
183[info] - Constant types are not supported
184[info] - Refinement types are not supported
185[info] - Or types are not supported
186[info] MapProviderSpec:
187[info] A Map Provider
188[info] - should allow binding a JMap[K, V]
189[info] - should allow binding a JMap[K, V] with an annotation
190[info] - should allow binding a JMap[K, JSet[V]]
191[info] - should allow binding a JMap[K, JSet[V]] with an annotation
192[info] - should allow binding an empty JMap[K, V]
193[info] - should allow binding an empty JMap[K, JSet[V]]
194[info] ScalaMultibinderSpec:
195[info] A multibinder
196[info] - should bind empty [T]
197[info] - should bind [TypeLiteral]
198[info] - should bind [Class]
199[info] - should bind [TypeLiteral, Annotation]
200[info] - should bind [Class, Annotation]
201[info] - should bind [TypeLiteral, ClassAnnotation]
202[info] - should bind [Class, ClassAnnotation]
203[info] - should deduplicate
204[info] - should permit duplicates
205[info] - should bind from multiple modules
206[info] - should bind deep parameterization in [Class]
207[info] - should bind deep parameterization in [Class, Annotation]
208[info] - should bind deep parameterization in [Class, ClassAnnotation]
209[info] - should bind deep parameterization in [TypeLiteral]
210[info] - should bind deep parameterization in [typeLiteral, Annotation]
211[info] - should bind deep parameterization in [TypeLiteral, ClassAnnotation]
212[info] - should bind [T]
213[info] - should bind [T, Ann]
214[info] - should bind [T](Ann)
215[info] - should bind deep parameterization in [T]
216[info] - should bind deep parameterization in [T, Ann]
217[info] - should bind deep parameterization in [T](annotation)
218[info] ScalaModuleSpec:
219[info] A Scala Guice module
220[info] - should allow binding source type using a type parameter
221[info] - should allow binding target type using a type parameter
222[info] - should allow binding target provider type using a type parameter
223[info] - should allow binding to provider of subtype using type parameter
224[info] - should allow binding to provider with injected type literal
225[info] - should allow binding in scope using a type parameter
226[info] - should allow binding a container with a generic singleton type
227[info] - should allow binding with annotation using a type parameter
228[info] - should allow use provider form jakarta.inject.Provider
229[info] - should give a useful error when bound on itself
230[info] - should allow use annotatedWithName
231[info] - should allow binding annotation interceptor
232[info] - should allow binding by name to Unit
233[info] - should allow binding with mixins !!! IGNORED !!!
234[info] InjectorExtensionsSpec:
235[info] Injector extensions
236[info] - should allow instance to be retrieved using a type parameter
237[info] - should allow generic instance to be retrieved using a type parameter
238[info] - should allow instance to be retrieved using a type parameter and an annotation
239[info] - should allow instance to be retrieved using a type parameter and an annotation class
240[info] - should allow existing bindings to be retrieved optionally
241[info] - should allow missing bindings to be retrieved optionally
242[info] - should allow existing annotated bindings to be retrieved optionally
243[info] - should allow missing annotated bindings to be retrieved optionally
244[info] - should allow existing named bindings to be retrieved optionally
245[info] - should allow missing named bindings to be retrieved optionally
246[info] - should allow existing bindings to be retrieved by key optionally
247[info] - should allow missing bindings to be retrieved by key optionally
248[info] - should allow provider to be retrieved using a type parameter
249[info] - should allow generic provider to be retrieved using a type parameter
250[info] - should allow provider to be retrieved using a type parameter and an annotation
251[info] - should allow provider to be retrieved using a type parameter and an annotation class
252[info] ScalaMapBinderSpec:
253[info] A MapBinder
254[info] - should bind empty [K,V]
255[info] - should bind [K,V]
256[info] - should bind [K,V](annotation)
257[info] - should bind [K,V,Ann]
258[info] - should bind typeLiteral[K], typeLiteral[V]
259[info] - should bind class[K], class[V]
260[info] - should bind typeLiteral[K], typeLiteral[V], annotation
261[info] - should bind class[K], class[V], annotation
262[info] - should bind typeLiteral[K], typeLiteral[V], class[Ann]
263[info] - should bind class[K], class[V], class[Ann]
264[info] - should bind deep parameterization in [K,V]
265[info] - should bind deep parameterization in [K,V](annotation)
266[info] - should bind deep parameterization in [K,V,Ann]
267[info] - should bind deep parameterization in typeLiteral[K], typeLiteral[V]
268[info] - should bind deep parameterization in class[K], class[V]
269[info] - should bind deep parameterization in typeLiteral[K], typeLiteral[V], annotation
270[info] - should bind deep parameterization in class[K], class[V], annotation
271[info] - should bind deep parameterization in typeLiteral[K], typeLiteral[V], class[Ann]
272[info] - should bind deep parameterization in class[K], class[V], class[Ann]
273[info] - should bind from multiple instances of the same MapBinder
274[info] - should bind duplicate keys not permitted by default
275[info] - should permit duplicate keys in empty [K,V]
276[info] - should permit duplicate keys in [K,V]
277[info] - should permit duplicate keys in [K,V](annotation)
278[info] - should permit duplicate keys in [K,V,Ann]
279[info] KeyExtensionsSpec:
280[info] Key extensions
281[info] - should build key from type literal
282[info] - should build key from type literal and annotation
283[info] - should build key from type literal and class of annotation
284[info] - should build key from type literal and annotation type
285[info] - should build key from type literal and name String
286[info] SetProviderSpec:
287[info] A Set Provider
288[info] - should allow binding a Java Set
289[info] - should allow binding a Java Set with a Java annotation
290[info] - should allow binding a Java Set with data
291[info] ScalaPrivateModuleSpec:
292[info] A Scala Guice private module
293[info] - should allow binding source type using a type parameter
294[info] - should allow binding target type using a type parameter
295[info] - should allow binding target provider type using a type parameter
296[info] - should allow binding to provider of subtype using type parameter
297[info] - should allow binding to provider with injected type literal
298[info] - should allow binding in scope using a type parameter
299[info] - should allow binding with annotation using a type parameter
300[info] - should give a useful error when bound on itself
301[info] BindingExtensionsSpec:
302[info] Binding extensions
303[info] - should allow binding source type using a type parameter
304[info] - should allow binding target type using a type parameter
305[info] - should allow binding from a generic type
306[info] - should allow binding between nested types
307[info] - should allow binding to provider using type parameter
308[info] - should allow binding to provider of subtype using type parameter
309[info] - should allow binding complex type
310[info] - should allow binding complex type with type alias
311[info] - should allow binding with Nothing type
312[info] ScalaOptionBinderSpec:
313[info] An OptionBinder
314[info] - should bind [T]
315[info] - should bind [T, Ann]
316[info] - should bind [T, Annotation]
317[info] - should bind [Class]
318[info] - should bind [TypeLiteral]
319[info] - should bind [Key]
320[info] - should bind optional without default
321[info] - should bind optional (original API) [Class]
322[info] - should bind optional (original API) [TypeLiteral]
323[info] - should bind optional (original API) [Key]
324[info] - should bind optional without default (original API)
325[info] - should override default value
326[info] - should override default value with second binder
327[info] - should allow separately annotated bindings for the same [T]
328[info] - should bind deep parameterization [T]
329[info] - should bind deep parameterization in [T, Ann]
330[info] - should bind deep parameterization in [T, Annotation]
331[info] - should bind deep parameterization in [Class]
332[info] - should bind deep parameterization in [TypeLiteral]
333[info] - should bind deep parameterization in [Key]
334[info] - should bind optional (original API) deep parameterization in [Class]
335[info] - should bind optional (original API) deep parameterization in [TypeLiteral]
336[info] - should bind optional (original API) deep parameterization in [Key]
337[info] - should bind [T] indirectly
338
339************************
340Build summary:
341[{
342 "module": "scala-guice",
343 "compile": {"status": "ok", "tookMs": 12712, "warnings": 2, "errors": 0, "sourceVersion": "3.8"},
344 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
345 "test-compile": {"status": "ok", "tookMs": 14957, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
346 "test": {"status": "ok", "tookMs": 1391, "passed": 163, "failed": 0, "ignored": 1, "skipped": 0, "total": 164, "byFramework": [{"framework": "unknown", "stats": {"passed": 163, "failed": 0, "ignored": 1, "skipped": 0, "total": 164}}]},
347 "publish": {"status": "skipped", "tookMs": 0},
348 "metadata": {
349 "crossScalaVersions": ["2.11.12", "2.12.17", "2.13.10", "3.2.2"]
350}
351}]
352************************
353[success] Total time: 58 s, completed Dec 22, 2025, 6:53:44 PM
354[0JChecking patch project/plugins.sbt...
355Checking patch project/build.properties...
356Checking patch build.sbt...
357Applied patch project/plugins.sbt cleanly.
358Applied patch project/build.properties cleanly.
359Applied patch build.sbt cleanly.