Build Logs
geirolz/scope • 3.8.0-RC2:2025-11-28
Errors
5
Warnings
21
Total Lines
229
1##################################
2Clonning https://github.com/geirolz/scope.git into /build/repo using revision v0.0.12
3##################################
4Note: switching to '8480ffd415335df00b1324f050ba8a82793fea2a'.
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.0 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 geirolz/scope
37##################################
38Scala version: 3.8.0-RC2
39Targets: com.github.geirolz%scope-core com.github.geirolz%scope-generic
40Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"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 = '17'
46[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/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_17_0_8
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":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}""" com.github.geirolz%scope-core com.github.geirolz%scope-generic"
68
69[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
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 5 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.708s.
75[warn] /build/repo/project/ProjectResolvers.scala:8:16: method sonatypeOssRepos in class ResolverFunctions is deprecated (since 1.11.2): Sonatype OSS Repository Hosting (OSSRH) was sunset on 2025-06-30; remove this resolver. If snapshots are required, use:
76[warn] resolvers += Resolver.sonatypeCentralSnapshots
77[warn] Resolver.sonatypeOssRepos("public"),
78[warn] ^
79[warn] /build/repo/project/ProjectResolvers.scala:9:16: method sonatypeOssRepos in class ResolverFunctions is deprecated (since 1.11.2): Sonatype OSS Repository Hosting (OSSRH) was sunset on 2025-06-30; remove this resolver. If snapshots are required, use:
80[warn] resolvers += Resolver.sonatypeCentralSnapshots
81[warn] Resolver.sonatypeOssRepos("snapshots"),
82[warn] ^
83[warn] /build/repo/project/ProjectResolvers.scala:10:16: method sonatypeOssRepos in class ResolverFunctions is deprecated (since 1.11.2): Sonatype OSS Repository Hosting (OSSRH) was sunset on 2025-06-30; remove this resolver. If snapshots are required, use:
84[warn] resolvers += Resolver.sonatypeCentralSnapshots
85[warn] Resolver.sonatypeOssRepos("releases"),
86[warn] ^
87[warn] three warnings found
88[info] done compiling
89[info] loading settings for project scope from build.sbt...
90[info] set current project to scope (in build file:/build/repo/)
91Execute setCrossScalaVersions: 3.8.0-RC2
92OpenCB::Changing crossVersion 3.3.3 -> 3.8.0-RC2 in generic/crossScalaVersions
93OpenCB::Changing crossVersion 3.3.3 -> 3.8.0-RC2 in core/crossScalaVersions
94OpenCB::Limitting incorrect crossVersions List() -> List(2.13.14) in scope/crossScalaVersions
95OpenCB::Changing crossVersion 3.3.3 -> 3.8.0-RC2 in docs/crossScalaVersions
96[info] set current project to scope (in build file:/build/repo/)
97[info] Setting Scala version to 3.8.0-RC2 on 3 projects.
98[info] Switching Scala version on:
99[info] docs (2.13.14, 3.8.0-RC2)
100[info] core (2.13.14, 3.8.0-RC2)
101[info] generic (2.13.14, 3.8.0-RC2)
102[info] Excluding projects:
103[info] * scope (2.13.14)
104[info] Reapplying settings...
105[info] set current project to scope (in build file:/build/repo/)
106Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
107[info] Reapplying settings...
108[info] set current project to scope (in build file:/build/repo/)
109[info] Defining Global / credentials, core / credentials and 2 others.
110[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 31 others.
111[info] Run `last` for details.
112[info] Reapplying settings...
113[info] set current project to scope (in build file:/build/repo/)
114Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
115[info] Reapplying settings...
116OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
117
118 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
119 Did you mean docs / allExcludeDependencies ?
120 , retry without global scopes
121[info] Reapplying settings...
122[info] set current project to scope (in build file:/build/repo/)
123Execute removeScalacOptionsStartingWith: -P:wartremover
124[info] Reapplying settings...
125[info] set current project to scope (in build file:/build/repo/)
126[success] Total time: 0 s, completed Nov 28, 2025, 2:51:54 PM
127Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
128Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
129Starting build...
130Projects: Set(core, generic)
131Starting build for ProjectRef(file:/build/repo/,core) (scope-core)... [0/2]
132OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
133OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
134OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
135OpenCB::Filter out '-Xfatal-warnings', matches setting pattern '^-?-Xfatal-warnings'
136Compile scalacOptions: -encoding, utf-8, -language:existentials, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -language:dynamics, -Ykind-projector, -explain-types, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
137[info] scalafmt: Formatting 4 Scala sources (/build/repo/core)...
138[info] scalafmt: Formatting 7 Scala sources (/build/repo/core)...
139[info] compiling 7 Scala sources to /build/repo/core/target/scala-3.8.0-RC2/classes ...
140[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
141[warn] one warning found
142[info] done compiling
143[info] compiling 4 Scala sources to /build/repo/core/target/scala-3.8.0-RC2/test-classes ...
144[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
145[warn] one warning found
146[info] done compiling
147scope.ModelMapperKTest:
148 + Using ModelMapperK with a wrong ScopeContext in scope should not compile 0.012s
149 + Using ModelMapperK without a ScopeContext in scope should not compile 0.008s
150 + ModelMapper is assignable to ModelMapperK with Id 0.001s
151scope.ScopeTest:
152 + Can create custom scope 0.022s
153scope.ScopeContextTest:
154 + Multiple ScopeContext for same Scope must be equals 0.01s
155==> X scope.ScopeContextTest.Cannot create a ScopeContext for the wrong Scope type 0.039s munit.ComparisonFailException: /build/repo/core/src/test/scala-3/scope/ScopeContextTest.scala:26
15625: |""".stripMargin
15726: )
15827: }
159diff assertion failed
160=> Obtained
161 """|error:
162 |Found: scope.TypedScopeContext[scope.Scope.Endpoint]
163 |Required: scope.TypedScopeContext[scope.Scope.Domain]
164 | given TypedScopeContext[Scope.Domain] = ScopeContext.of[Scope.Endpoint]
165 | ^
166 |""".stripMargin
167=> Diff (- obtained, + expected)
168 Required: scope.TypedScopeContext[scope.Scope.Domain]
169+
170+The following import might make progress towards fixing the problem:
171+
172+ import munit.Clue.generate
173+
174 given TypedScopeContext[Scope.Domain] = ScopeContext.of[Scope.Endpoint]
175 at munit.Assertions.failComparison(Assertions.scala:278)
176 + Cannot have multiple ScopeContext in the same scope 0.002s
177scope.ModelMapperTest:
178 + Summon an implicit ModelMapper 0.156s
179 + Creating a ModelMapper from function A => B 0.001s
180 + Creating a ModelMapper with Pure 0.002s
181 + Creating a ModelMapper with Id 0.0s
182 + Using ModelMapper with a ScopeContext provided 0.001s
183 + Using ModelMapper wit a wrong ScopeContext in scope should not compile 0.001s
184 + Using ModelMapper without a ScopeContext in scope should not compile 0.0s
185 + ModelMapperK with Id is assignable to ModelMapper 0.0s
186Starting build for ProjectRef(file:/build/repo/,generic) (scope-generic)... [1/2]
187Compile scalacOptions: -encoding, utf-8, -language:existentials, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -language:dynamics, -Ykind-projector, -explain-types, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
188[info] scalafmt: Formatting 1 Scala sources (/build/repo/modules/generic)...
189[info] scalafmt: Formatting 5 Scala sources (/build/repo/modules/generic)...
190[info] compiling 5 Scala sources to /build/repo/modules/generic/target/scala-3.8.0-RC2/classes ...
191[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
192[warn] one warning found
193[info] done compiling
194[info] compiling 1 Scala source to /build/repo/modules/generic/target/scala-3.8.0-RC2/test-classes ...
195[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
196[warn] one warning found
197[info] done compiling
198scope.generic.ModelMapperIdTest:
199 + ModelMapper.deriveId 0.074s
200 + ModelMapper.deriveId should not compile if the 2 types doesn't have the same constructor 0.006s
201
202************************
203Build summary:
204[{
205 "module": "scope-core",
206 "compile": {"status": "ok", "tookMs": 16622, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
207 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
208 "test-compile": {"status": "ok", "tookMs": 5662, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
209 "test": {"status": "failed", "tookMs": 568, "passed": 14, "failed": 1, "ignored": 0, "skipped": 0, "total": 15, "byFramework": [{"framework": "munit", "stats": {"passed": 14, "failed": 1, "ignored": 0, "skipped": 0, "total": 15}}]},
210 "publish": {"status": "skipped", "tookMs": 0},
211 "metadata": {
212 "crossScalaVersions": ["2.13.14", "3.3.3"]
213}
214},{
215 "module": "scope-generic",
216 "compile": {"status": "ok", "tookMs": 1646, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
217 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
218 "test-compile": {"status": "ok", "tookMs": 1179, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
219 "test": {"status": "ok", "tookMs": 311, "passed": 2, "failed": 0, "ignored": 0, "skipped": 0, "total": 2, "byFramework": [{"framework": "munit", "stats": {"passed": 2, "failed": 0, "ignored": 0, "skipped": 0, "total": 2}}]},
220 "publish": {"status": "skipped", "tookMs": 0},
221 "metadata": {
222 "crossScalaVersions": ["2.13.14", "3.3.3"]
223}
224}]
225************************
226[error] Scala3CommunityBuild$ProjectBuildFailureException: 1 module(s) finished with failures: scope-core
227[error] (Global / runBuild) Scala3CommunityBuild$ProjectBuildFailureException: 1 module(s) finished with failures: scope-core
228[error] Total time: 40 s, completed Nov 28, 2025, 2:52:34 PM
229[0JBuild failed, not retrying.