Build Logs

scala-interop/slinc • 3.8.0-RC5:2025-12-31

Errors

78

Warnings

21

Total Lines

221

1##################################
2Clonning https://github.com/scala-interop/slinc.git into /build/repo using revision master
3##################################
4Using target Scala version for migration: 3.7.4
5Migrating project for -source:3.7 using Scala 3.7.4
6----
7Preparing build for 3.7.4
8Would try to apply common scalacOption (best-effort, sbt/mill only):
9Append: -rewrite,REQUIRE:-source:3.7-migration
10Remove: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
11----
12Starting build for 3.7.4
13Execute tests: false
14sbt project found:
15Sbt version 1.9.7 is not supported, minimal supported version is 1.11.5
16Enforcing usage of sbt in version 1.11.5
17No prepare script found for project scala-interop/slinc
18##################################
19Scala version: 3.7.4
20Targets: fr.hammons%slinc-core fr.hammons%slinc-j17 fr.hammons%slinc-j19 fr.hammons%slinc-runtime
21Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":["mapScalacOptions \"-experimental\" \"\" "],"options":[]},"mill":{"options":[]},"tests":"compile-only","sourceVersion":"3.3","migrationVersions":["3.7"],"sourcePatches":[]}
22##################################
23Using extra scalacOptions: -rewrite,REQUIRE:-source:3.7-migration
24Filtering out scalacOptions: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
25[sbt_options] declare -a sbt_options=()
26[process_args] java_version = '21'
27[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21/rt.jar'
28# Executing command line:
29java
30-Dfile.encoding=UTF-8
31-Dcommunitybuild.scala=3.7.4
32-Dcommunitybuild.project.dependencies.add=
33-Xmx7G
34-Xms4G
35-Xss8M
36-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
37-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21
38-jar
39/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
40"setCrossScalaVersions 3.7.4"
41"++3.7.4 -v"
42"mapScalacOptions "-rewrite,REQUIRE:-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s" "-indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
43"set every credentials := Nil"
44"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
45"removeScalacOptionsStartingWith -P:wartremover"
46"mapScalacOptions "-experimental" "" "
47moduleMappings
48"runBuild 3.7.4 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":["mapScalacOptions \"-experimental\" \"\" "],"options":[]},"mill":{"options":[]},"tests":"compile-only","sourceVersion":"3.3","migrationVersions":["3.7"],"sourcePatches":[]}""" fr.hammons%slinc-core fr.hammons%slinc-j17 fr.hammons%slinc-j19 fr.hammons%slinc-runtime"
49
50[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 21)
51[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
52[info] loading project definition from /build/repo/project
53[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
54[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
55[info] Compilation completed in 8.412s.
56[info] done compiling
57[info] loading settings for project repo from build.sbt...
58[info] set current project to repo (in build file:/build/repo/)
59Execute setCrossScalaVersions: 3.7.4
60OpenCB::Changing crossVersion 3.3.1 -> 3.7.4 in repo/crossScalaVersions
61[info] set current project to repo (in build file:/build/repo/)
62[info] Setting Scala version to 3.7.4 on 1 projects.
63[info] Switching Scala version on:
64[info] * repo (3.7.4)
65[info] Excluding projects:
66[info] Reapplying settings...
67[info] set current project to repo (in build file:/build/repo/)
68Execute mapScalacOptions: -rewrite,REQUIRE:-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
69[info] Reapplying settings...
70[info] set current project to repo (in build file:/build/repo/)
71[info] Defining Global / credentials, credentials
72[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 4 others.
73[info] Run `last` for details.
74[info] Reapplying settings...
75[info] set current project to repo (in build file:/build/repo/)
76Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
77[info] Reapplying settings...
78OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
79
80 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
81 Did you mean allExcludeDependencies ?
82 , retry without global scopes
83[info] Reapplying settings...
84[info] set current project to repo (in build file:/build/repo/)
85Execute removeScalacOptionsStartingWith: -P:wartremover
86[info] Reapplying settings...
87[info] set current project to repo (in build file:/build/repo/)
88Execute mapScalacOptions: -experimental
89[info] Reapplying settings...
90[info] set current project to repo (in build file:/build/repo/)
91[success] Total time: 0 s, completed Dec 31, 2025, 9:49:34 PM
92Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":["mapScalacOptions \"-experimental\" \"\" "],"options":[]},"mill":{"options":[]},"tests":"compile-only","sourceVersion":"3.3","migrationVersions":["3.7"],"sourcePatches":[]}
93Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
94Starting build...
95Projects: Set(repo)
96Starting build for ProjectRef(file:/build/repo/,repo) (repo)... [0/1]
97OpenCB::Exclude Scala3 specific scalacOption `-rewrite` in Scala 2.12.20 module Global
98OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.7-migration` in Scala 2.12.20 module Global
99OpenCB::Exclude Scala3 specific scalacOption `-experimental` in Scala 2.12.20 module Global
100OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
101OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
102OpenCB::Filter out '-source:future', matches setting pattern '^-?-source(:.*)?'
103Compile scalacOptions: -Wunused:all, -unchecked, -Xcheck-macros, -Xprint-suspension, -Xsemanticdb, -Yexplicit-nulls, -Ysafe-init, -Ykind-projector, -Vprofile, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration, -experimental
104[info] compiling 61 Scala sources and 2 Java sources to /build/repo/target/scala-3.7.4/classes ...
105[warn] Option -Ysafe-init is deprecated: Use -Wsafe-init instead.
106[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
107[warn] -- [E216] Syntax Warning: /build/repo/src/main/scala/fr/hammons/slinc/CUnion.scala:54:45
108[warn] 54 | val maxDescriptor = applyHelper[T](null).nn
109[warn] | ^^^^^^^^^^^^^^^^^^^^^^^
110[warn] | Unnecessary .nn: qualifier is already not null
111[error] -- [E007] Type Mismatch Error: /build/repo/src/main/scala/fr/hammons/slinc/Struct.scala:61:10
112[error] 61 | tuple.head
113[error] | ^^^^^^^^^^
114[error] |Found: Tuple.Head[A & h *: t]
115[error] |Required: h
116[error] |
117[error] |where: A is a type in method writeGenHelper with bounds <: Tuple
118[error] | h is a type in method writeGenHelper
119[error] | t is a type in method writeGenHelper with bounds <: Tuple
120[error] |
121[error] |
122[error] |Note: a match type could not be fully reduced:
123[error] |
124[error] | trying to reduce Tuple.Head[A & h *: t]
125[error] | failed since selector A & h *: t
126[error] | does not uniquely determine parameter x in
127[error] | case x *: _ => x
128[error] | The computed bounds for the parameter are:
129[error] | x <: h
130[error] |Note that implicit conversions were not tried because the result of an implicit conversion
131[error] |must be more specific than h
132[error] |
133[error] | longer explanation available when compiling with `-explain`
134[warn] three warnings found
135[error] one error found
136[error] (Compile / compileIncremental) Compilation failed
137[info] compiling 61 Scala sources and 2 Java sources to /build/repo/target/scala-3.7.4/classes ...
138[warn] Option -Ysafe-init is deprecated: Use -Wsafe-init instead.
139[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
140[warn] -- [E216] Syntax Warning: /build/repo/src/main/scala/fr/hammons/slinc/CUnion.scala:54:45
141[warn] 54 | val maxDescriptor = applyHelper[T](null).nn
142[warn] | ^^^^^^^^^^^^^^^^^^^^^^^
143[warn] | Unnecessary .nn: qualifier is already not null
144[error] -- [E007] Type Mismatch Error: /build/repo/src/main/scala/fr/hammons/slinc/Struct.scala:61:10
145[error] 61 | tuple.head
146[error] | ^^^^^^^^^^
147[error] |Found: Tuple.Head[A & h *: t]
148[error] |Required: h
149[error] |
150[error] |where: A is a type in method writeGenHelper with bounds <: Tuple
151[error] | h is a type in method writeGenHelper
152[error] | t is a type in method writeGenHelper with bounds <: Tuple
153[error] |
154[error] |
155[error] |Note: a match type could not be fully reduced:
156[error] |
157[error] | trying to reduce Tuple.Head[A & h *: t]
158[error] | failed since selector A & h *: t
159[error] | does not uniquely determine parameter x in
160[error] | case x *: _ => x
161[error] | The computed bounds for the parameter are:
162[error] | x <: h
163[error] |Note that implicit conversions were not tried because the result of an implicit conversion
164[error] |must be more specific than h
165[error] |
166[error] | longer explanation available when compiling with `-explain`
167[warn] three warnings found
168[error] one error found
169[error] (Compile / compileIncremental) Compilation failed
170[info] compiling 61 Scala sources and 2 Java sources to /build/repo/target/scala-3.7.4/classes ...
171[warn] Option -Ysafe-init is deprecated: Use -Wsafe-init instead.
172[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
173[warn] -- [E216] Syntax Warning: /build/repo/src/main/scala/fr/hammons/slinc/CUnion.scala:54:45
174[warn] 54 | val maxDescriptor = applyHelper[T](null).nn
175[warn] | ^^^^^^^^^^^^^^^^^^^^^^^
176[warn] | Unnecessary .nn: qualifier is already not null
177[error] -- [E007] Type Mismatch Error: /build/repo/src/main/scala/fr/hammons/slinc/Struct.scala:61:10
178[error] 61 | tuple.head
179[error] | ^^^^^^^^^^
180[error] |Found: Tuple.Head[A & h *: t]
181[error] |Required: h
182[error] |
183[error] |where: A is a type in method writeGenHelper with bounds <: Tuple
184[error] | h is a type in method writeGenHelper
185[error] | t is a type in method writeGenHelper with bounds <: Tuple
186[error] |
187[error] |
188[error] |Note: a match type could not be fully reduced:
189[error] |
190[error] | trying to reduce Tuple.Head[A & h *: t]
191[error] | failed since selector A & h *: t
192[error] | does not uniquely determine parameter x in
193[error] | case x *: _ => x
194[error] | The computed bounds for the parameter are:
195[error] | x <: h
196[error] |Note that implicit conversions were not tried because the result of an implicit conversion
197[error] |must be more specific than h
198[error] |
199[error] | longer explanation available when compiling with `-explain`
200[warn] three warnings found
201[error] one error found
202[error] (Compile / compileIncremental) Compilation failed
203
204************************
205Build summary:
206[{
207 "module": "repo",
208 "compile": {"status": "failed", "failureContext": {"type": "buildError", "reasons": ["Compilation failed"]}, "tookMs": 6991, "warnings": 3, "errors": 1, "sourceVersion": "3.7-migration"},
209 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
210 "test-compile": {"status": "skipped", "tookMs": 0, "warnings": 0, "errors": 0},
211 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
212 "publish": {"status": "skipped", "tookMs": 0},
213 "metadata": {
214 "crossScalaVersions": ["3.3.1"]
215}
216}]
217************************
218[error] Scala3CommunityBuild$ProjectBuildFailureException: 1 module(s) finished with failures: repo
219[error] (Global / runBuild) Scala3CommunityBuild$ProjectBuildFailureException: 1 module(s) finished with failures: repo
220[error] Total time: 13 s, completed Dec 31, 2025, 9:49:48 PM
221[0JBuild failed, not retrying.