Build Logs

rssh/scala-appcontext • 3.8.0-RC6:2026-01-08

Errors

0

Warnings

31

Total Lines

269

1##################################
2Clonning https://github.com/rssh/scala-appcontext.git into /build/repo using revision 0.3.0
3##################################
4Note: switching to '703c5a52a90b9ae1ac2378ef6fc1fe380b89ac93'.
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
21----
22Preparing build for 3.8.0-RC6
23Scala binary version found: 3.8
24Implicitly using source version 3.8
25Scala binary version found: 3.8
26Implicitly using source version 3.8
27Would try to apply common scalacOption (best-effort, sbt/mill only):
28Append: ,REQUIRE:-source:3.8
29Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
30----
31Starting build for 3.8.0-RC6
32Execute tests: true
33sbt project found:
34No prepare script found for project rssh/scala-appcontext
35##################################
36Scala version: 3.8.0-RC6
37Targets: com.github.rssh%appcontext com.github.rssh%appcontext-tf
38Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
39##################################
40Using extra scalacOptions: ,REQUIRE:-source:3.8
41Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
42[sbt_options] declare -a sbt_options=()
43[process_args] java_version = '21'
44[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21/rt.jar'
45# Executing command line:
46java
47-Dfile.encoding=UTF-8
48-Dcommunitybuild.scala=3.8.0-RC6
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_21
55-jar
56/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
57"setCrossScalaVersions 3.8.0-RC6"
58"++3.8.0-RC6 -v"
59"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-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.8.0-RC6 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}""" com.github.rssh%appcontext com.github.rssh%appcontext-tf"
66
67[info] [launcher] getting org.scala-sbt sbt 1.11.7 (this may take some time)...
68[info] welcome to sbt 1.11.7 (Eclipse Adoptium Java 21)
69[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
70[info] loading project definition from /build/repo/project
71[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
72[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
73[info] Compilation completed in 8.484s.
74[info] done compiling
75/build/repo/build.sbt:7: warning: value sonatypeOssSnapshots in object resolver is deprecated (since 1.11.2): Sonatype OSS Repository Hosting (OSSRH) will be sunset on 2025-06-30; use the following instead:
76 resolvers += Resolver.sonatypeCentralSnapshots
77ThisBuild/resolvers ++= Opts.resolver.sonatypeOssSnapshots
78 ^
79/build/repo/publish.sbt:26: warning: constructor URL in class URL is deprecated
80ThisBuild / licenses := List("Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt"))
81 ^
82[info] loading settings for project root from build.sbt, publish.sbt...
83[info] set current project to root (in build file:/build/repo/)
84[warn] there's a key that's not used by any other settings/tasks:
85[warn]
86[warn] * root / gitRemoteRepo
87[warn] +- /build/repo/build.sbt:32
88[warn]
89[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
90[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
91Execute setCrossScalaVersions: 3.8.0-RC6
92OpenCB::Changing crossVersion 3.3.7 -> 3.8.0-RC6 in taglessFinalJVM/crossScalaVersions
93OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC6) in taglessFinalJVM/crossScalaVersions
94OpenCB::Changing crossVersion 3.3.7 -> 3.8.0-RC6 in taglessFinalJS/crossScalaVersions
95OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC6) in taglessFinalJS/crossScalaVersions
96OpenCB::Changing crossVersion 3.3.7 -> 3.8.0-RC6 in appcontextJS/crossScalaVersions
97OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC6) in appcontextJS/crossScalaVersions
98OpenCB::Changing crossVersion 3.3.7 -> 3.8.0-RC6 in taglessFinalNative/crossScalaVersions
99OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC6) in taglessFinalNative/crossScalaVersions
100OpenCB::Changing crossVersion 3.3.7 -> 3.8.0-RC6 in appcontextNative/crossScalaVersions
101OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC6) in appcontextNative/crossScalaVersions
102OpenCB::Changing crossVersion 3.3.7 -> 3.8.0-RC6 in appcontextJVM/crossScalaVersions
103OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC6) in appcontextJVM/crossScalaVersions
104[info] set current project to root (in build file:/build/repo/)
105[info] Setting Scala version to 3.8.0-RC6 on 6 projects.
106[info] Switching Scala version on:
107[info] taglessFinalJVM (3.8.0-RC6)
108[info] taglessFinalNative (3.8.0-RC6)
109[info] appcontextJVM (3.8.0-RC6)
110[info] appcontextNative (3.8.0-RC6)
111[info] appcontextJS (3.8.0-RC6)
112[info] taglessFinalJS (3.8.0-RC6)
113[info] Excluding projects:
114[info] * root (2.12.20)
115[info] Reapplying settings...
116[info] set current project to root (in build file:/build/repo/)
117Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
118[info] Reapplying settings...
119[info] set current project to root (in build file:/build/repo/)
120[info] Defining Global / credentials, appcontextJS / credentials and 5 others.
121[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 34 others.
122[info] Run `last` for details.
123[info] Reapplying settings...
124[info] set current project to root (in build file:/build/repo/)
125Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
126[info] Reapplying settings...
127OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
128
129 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
130 Did you mean taglessFinalJVM / allExcludeDependencies ?
131 , retry without global scopes
132[info] Reapplying settings...
133[info] set current project to root (in build file:/build/repo/)
134Execute removeScalacOptionsStartingWith: -P:wartremover
135[info] Reapplying settings...
136[info] set current project to root (in build file:/build/repo/)
137[success] Total time: 0 s, completed Jan 8, 2026, 2:16:55 AM
138Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
139Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
140Starting build...
141Projects: Set(appcontextJVM, taglessFinalJVM)
142Starting build for ProjectRef(file:/build/repo/,appcontextJVM) (appcontext)... [0/2]
143OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
144Compile scalacOptions: -Xcheck-macros, -Wvalue-discard, -Wnonunit-statement, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
145[info] compiling 8 Scala sources to /build/repo/core/jvm/target/scala-3.8.0-RC6/classes ...
146[warn] there were 5 deprecation warnings; re-run with -deprecation for details
147[warn] one warning found
148[info] done compiling
149[info] compiling 4 Scala sources to /build/repo/core/jvm/target/scala-3.8.0-RC6/test-classes ...
150[warn] -- [E176] Potential Issue Warning: /build/repo/core/shared/src/test/scala/com/github/rssh/appcontext/AppContextCacheTest.scala:13:13
151[warn] 13 | cache.put(1)
152[warn] | ^^^^^^^^^^^^
153[warn] | unused value of type Option[Int]
154[warn] -- [E176] Potential Issue Warning: /build/repo/core/shared/src/test/scala/com/github/rssh/appcontext/AppContextCacheTest.scala:14:21
155[warn] 14 | cache.put[String]("AAAA")
156[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^
157[warn] | unused value of type Option[String]
158[warn] -- [E176] Potential Issue Warning: /build/repo/core/shared/src/test/scala/com/github/rssh/appcontext/AppContextCacheTest.scala:16:13
159[warn] 16 | cache.put("QQQ")
160[warn] | ^^^^^^^^^^^^^^^^
161[warn] | unused value of type Option[String]
162[warn] three warnings found
163[info] done compiling
164Sending email to john@example.com with message: You have been subscribed
165c1=com.github.rssh.appcontext.ConcreteComponent@6591d0c0, c2=com.github.rssh.appcontext.ConcreteComponent@6591d0c0
166com.github.rssh.appcontext.AppContextNameTests:
167 + AppContextName 0.014s
168ISO005 dep1:local, dep2:local
169com.github.rssh.appcontext.AppContextCacheTest:
170 + AppContextCache 0.019s
171Running query: insert into subscribers(name, email) values John john@example.com
172Sending email to john@example.com with message: You have been subscribed
173Running query: insert into subscribers(name, email) values John john@example.com
174Sending email to john@example.com with message: You have been subscribed
175Running query: insert into subscribers(name, email) values John john@example.com
176com.github.rssh.appcontext.AppContextExampleTest:
177 + AppContext Example1 0.021s
178 + AppContext Example2 0.004s
179 + AppContext Example3 0.004s
180ISO008 result=Dependency1:From AppContextProviders
181ISO009 result=Dependency1:From module
182com.github.rssh.appcontext.ImplicitsSearchOrderTest:
183 + ISO001: given instance in scope is not preffered over module 0.01s
184 + ISO002 given instance of AppProvider scope is preffered over module 0.0s
185 + ISO003 component definition with provider 0.002s
186 + ISO004 component definition with providers 0.002s
187 + ISO005 component definition with providers and given 0.003s
188 + ISO005a component with mixed providers - one from companion, one local 0.002s
189 + ISO006 layered component definition 0.004s
190 + ISO007 layered component definition with l0 override 0.001s
191 + ISO008 AppContextProviders takes priority over companion-defined AppContextProvider 0.008s
192 + ISO009 fallback to companion AppContextProvider when no AppContextProviders in scope 0.001s
193Starting build for ProjectRef(file:/build/repo/,taglessFinalJVM) (appcontext-tf)... [1/2]
194Compile scalacOptions: -Xcheck-macros, -Wvalue-discard, -Wnonunit-statement, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
195[info] compiling 5 Scala sources to /build/repo/tagless-final/jvm/target/scala-3.8.0-RC6/classes ...
196[info] done compiling
197[info] compiling 12 Scala sources to /build/repo/tagless-final/jvm/target/scala-3.8.0-RC6/test-classes ...
198[warn] -- Warning: /build/repo/tagless-final/shared/src/test/scala/com/github/rssh/toymonad/ToyMonadWithResource.scala:1:24
199[warn] 1 |package com.github.rssh.toymonad
200[warn] |^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
201[warn] |No class, trait or object is defined in the compilation unit.
202[warn] |The incremental compiler cannot record the dependency information in such case.
203[warn] |Some errors like unused import referring to a non-existent class might not be reported.
204[warn] one warning found
205[info] done compiling
206insert User(John,john@example.com) with connection com.github.rssh.appcontext.ExamplesTest$MyLocalConnectionPool$1@9825b1, this=com.github.rssh.appcontext.ExamplesTest$MyLocalDatabase$1@939a027
207send-email
208com.github.rssh.appcontext.ExamplesTest:
209 + example of async provider 0.058s
210close connection
211close connection
212close connection
213log: inserted User(John,john@example.com)
214close connection
215com.github.rssh.appcontexttest.Example7Test:
216 + example of async provider 0.157s
217close connection
218send email to john@example.com with subject Welcome and body Welcome to our service
219com.github.rssh.appcontexttest.Example6Test:
220 + insert user 0.227s
221 + subscribe user 0.006s
222send email to john@example.com with subject Welcome and body Welcome to our service
223close connection
224send email to john@example.com with subject Welcome and body Welcome to our service
225com.github.rssh.appcontexttest.Example5Test:
226 + insert user 0.231s
227 + subscribe user 0.007s
228close connection
229com.github.rssh.appcontexttest.Example4Test:
230 + insert user 0.228s
231 + new subscriber 0.01s
232send-email
233com.github.rssh.appcontext.Example3Test:
234 + example of async provider 0.01s
235info[123]: Creating user with name: John and email: john@example.com
236Running query: insert into users(id, name, email) values (123, John, john@example.com)
237Closing connection
238com.github.rssh.appcontext.Example2Test:
239 + ERT001: handleRequest 0.006s
240
241************************
242Build summary:
243[{
244 "module": "appcontext",
245 "compile": {"status": "ok", "tookMs": 6110, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
246 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
247 "test-compile": {"status": "ok", "tookMs": 2630, "warnings": 3, "errors": 0, "sourceVersion": "3.8"},
248 "test": {"status": "ok", "tookMs": 397, "passed": 15, "failed": 0, "ignored": 0, "skipped": 0, "total": 15, "byFramework": [{"framework": "munit", "stats": {"passed": 15, "failed": 0, "ignored": 0, "skipped": 0, "total": 15}}]},
249 "publish": {"status": "skipped", "tookMs": 0},
250 "metadata": {
251 "crossScalaVersions": ["2.12.20"]
252}
253},{
254 "module": "appcontext-tf",
255 "compile": {"status": "ok", "tookMs": 1337, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
256 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
257 "test-compile": {"status": "ok", "tookMs": 3834, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
258 "test": {"status": "ok", "tookMs": 454, "passed": 10, "failed": 0, "ignored": 0, "skipped": 0, "total": 10, "byFramework": [{"framework": "munit", "stats": {"passed": 10, "failed": 0, "ignored": 0, "skipped": 0, "total": 10}}]},
259 "publish": {"status": "skipped", "tookMs": 0},
260 "metadata": {
261 "crossScalaVersions": ["2.12.20"]
262}
263}]
264************************
265[success] Total time: 17 s, completed Jan 8, 2026, 2:17:12 AM
266[0JChecking patch project/plugins.sbt...
267Checking patch build.sbt...
268Applied patch project/plugins.sbt cleanly.
269Applied patch build.sbt cleanly.