Build Logs

rssh/scala-appcontext • 3.8.0-RC2:2025-11-28

Errors

0

Warnings

11

Total Lines

195

1##################################
2Clonning https://github.com/rssh/scala-appcontext.git into /build/repo using revision 0.1.0
3##################################
4Note: switching to 'd1dacba275df280c87bdbd556c883e26240accab'.
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-RC2
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-RC2
32Execute tests: true
33sbt project found:
34Sbt version 1.10.1 is not supported, minimal supported version is 1.11.5
35Enforcing usage of sbt in version 1.11.5
36No prepare script found for project rssh/scala-appcontext
37##################################
38Scala version: 3.8.0-RC2
39Targets: com.github.rssh%appcontext
40Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
41##################################
42Using extra scalacOptions: ,REQUIRE:-source:3.8
43Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
44[sbt_options] declare -a sbt_options=()
45[process_args] java_version = '21'
46[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21/rt.jar'
47# Executing command line:
48java
49-Dfile.encoding=UTF-8
50-Dcommunitybuild.scala=3.8.0-RC2
51-Dcommunitybuild.project.dependencies.add=
52-Xmx7G
53-Xms4G
54-Xss8M
55-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
56-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21
57-jar
58/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
59"setCrossScalaVersions 3.8.0-RC2"
60"++3.8.0-RC2 -v"
61"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
62"set every credentials := Nil"
63"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
64"removeScalacOptionsStartingWith -P:wartremover"
65
66moduleMappings
67"runBuild 3.8.0-RC2 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}""" com.github.rssh%appcontext"
68
69[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 21)
70[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
71[info] loading project definition from /build/repo/project
72[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
73[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
74[info] Compilation completed in 8.599s.
75[info] done compiling
76/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:
77 resolvers += Resolver.sonatypeCentralSnapshots
78ThisBuild/resolvers ++= Opts.resolver.sonatypeOssSnapshots
79 ^
80/build/repo/publish.sbt:26: warning: constructor URL in class URL is deprecated
81ThisBuild / licenses := List("Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt"))
82 ^
83[info] loading settings for project root from build.sbt, publish.sbt...
84[info] set current project to root (in build file:/build/repo/)
85[warn] there's a key that's not used by any other settings/tasks:
86[warn]
87[warn] * root / gitRemoteRepo
88[warn] +- /build/repo/build.sbt:27
89[warn]
90[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
91[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
92Execute setCrossScalaVersions: 3.8.0-RC2
93OpenCB::Changing crossVersion 3.3.4 -> 3.8.0-RC2 in appcontextJS/crossScalaVersions
94OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC2) in appcontextJS/crossScalaVersions
95OpenCB::Changing crossVersion 3.3.4 -> 3.8.0-RC2 in appcontextNative/crossScalaVersions
96OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC2) in appcontextNative/crossScalaVersions
97OpenCB::Changing crossVersion 3.3.4 -> 3.8.0-RC2 in appcontextJVM/crossScalaVersions
98OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC2) in appcontextJVM/crossScalaVersions
99[info] set current project to root (in build file:/build/repo/)
100[info] Setting Scala version to 3.8.0-RC2 on 3 projects.
101[info] Switching Scala version on:
102[info] appcontextJS (3.8.0-RC2)
103[info] appcontextJVM (3.8.0-RC2)
104[info] appcontextNative (3.8.0-RC2)
105[info] Excluding projects:
106[info] * root (2.12.20)
107[info] Reapplying settings...
108[info] set current project to root (in build file:/build/repo/)
109Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
110[info] Reapplying settings...
111[info] set current project to root (in build file:/build/repo/)
112[info] Defining Global / credentials, appcontextJS / credentials and 2 others.
113[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 19 others.
114[info] Run `last` for details.
115[info] Reapplying settings...
116[info] set current project to root (in build file:/build/repo/)
117Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
118[info] Reapplying settings...
119OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
120
121 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
122 Did you mean allExcludeDependencies ?
123 , retry without global scopes
124[info] Reapplying settings...
125[info] set current project to root (in build file:/build/repo/)
126Execute removeScalacOptionsStartingWith: -P:wartremover
127[info] Reapplying settings...
128[info] set current project to root (in build file:/build/repo/)
129[success] Total time: 0 s, completed Nov 28, 2025, 3:39:34 PM
130Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
131Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
132Starting build...
133Projects: Set(appcontextJVM)
134Starting build for ProjectRef(file:/build/repo/,appcontextJVM) (appcontext)... [0/1]
135OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
136Compile scalacOptions: -Xcheck-macros, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
137[info] compiling 6 Scala sources to /build/repo/jvm/target/scala-3.8.0-RC2/classes ...
138[warn] there were 4 deprecation warnings; re-run with -deprecation for details
139[warn] one warning found
140[info] done compiling
141[info] compiling 5 Scala sources to /build/repo/jvm/target/scala-3.8.0-RC2/test-classes ...
142[info] done compiling
143Sending email to john@example.com with message: You have been subscribed
144Running query: insert into subscribers(name, email) values John john@example.com
145ISO003: c1.doSomething()=2
146ISO003 summon[AppContextProvider[Dependency1]].get.name=1
147Sending email to john@example.com with message: You have been subscribed
148Running query: insert into subscribers(name, email) values John john@example.com
149c1=com.github.rssh.appcontext.ConcreteComponent@4b3d6230, c2=com.github.rssh.appcontext.ConcreteComponent@4b3d6230
150IS005 Dependency1:From module, dep2:local
151Sending email to john@example.com with message: You have been subscribed
152Running query: insert into subscribers(name, email) values John john@example.com
153com.github.rssh.appcontext.AppContextNameTests:
154 + AppContextName 0.021s
155com.github.rssh.appcontext.AppContextExampleTest:
156 + AppContext Example1 0.011s
157 + AppContext Example2 0.008s
158 + AppContext Example3 0.002s
159com.github.rssh.appcontext.AppContextCacheTest:
160 + AppContextCache 0.02s
161ISO006 L1Dependency1:From module, L0Connection:From local
162ISO007 L1Dependency1:From module, L0Connection:From local
163com.github.rssh.appcontext.ImplicitsSearchOrderTest:
164 + ISO001: given instance in scope is not preffered over module 0.011s
165 + ISO002 given instance of AppProvider scope is preffered over module 0.0s
166 + ISO003 component definition with provider 0.002s
167 + ISO004 component definition with providers 0.003s
168 + ISO005 component definition with providers and given 0.006s
169 + ISO006 layered component definition 0.003s
170 + ISO007 layered component definition with l0 0.001s
171com.github.rssh.appcontext.AppContextCheckUsageTest:
172 + AppContextProviders.checkAllAreNeeded macros shpuld check - are all dependencies needed 0.003s
173 + when dependenciea are really needed, macro should not report any errors 0.001s
174
175************************
176Build summary:
177[{
178 "module": "appcontext",
179 "compile": {"status": "ok", "tookMs": 9094, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
180 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
181 "test-compile": {"status": "ok", "tookMs": 2959, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
182 "test": {"status": "ok", "tookMs": 433, "passed": 14, "failed": 0, "ignored": 0, "skipped": 0, "total": 14, "byFramework": [{"framework": "munit", "stats": {"passed": 14, "failed": 0, "ignored": 0, "skipped": 0, "total": 14}}]},
183 "publish": {"status": "skipped", "tookMs": 0},
184 "metadata": {
185 "crossScalaVersions": ["2.12.20"]
186}
187}]
188************************
189[success] Total time: 23 s, completed Nov 28, 2025, 3:39:58 PM
190[0JChecking patch project/plugins.sbt...
191Checking patch project/build.properties...
192Checking patch build.sbt...
193Applied patch project/plugins.sbt cleanly.
194Applied patch project/build.properties cleanly.
195Applied patch build.sbt cleanly.