Build Logs
fingo/spata • scheduled_3.7.1-RC1-bin-20250403-823782c-NIGHTLY
Errors
315
Warnings
0
Total Lines
457
1##################################
2Clonning https://github.com/fingo/spata.git into repo using revision v3.2.1
3##################################
4Note: switching to 'bcc3a44867d0e0eb5c69bbfcc54fe75e5c514947'.
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.7.1-RC1-bin-20250403-823782c-NIGHTLY
23Scala binary version found: 3.7
24Implicitly using source version 3.7-migration
25Scala binary version found: 3.7
26Implicitly using source version 3.7-migration
27Would try to apply common scalacOption (best-effort, sbt/mill only):
28Append: ,-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s
29Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,
30----
31Starting build for 3.7.1-RC1-bin-20250403-823782c-NIGHTLY
32Execute tests: false
33sbt project found:
34No prepare script found for project fingo/spata
35##################################
36Scala version: 3.7.1-RC1-bin-20250403-823782c-NIGHTLY
37Targets: info.fingo%spata
38Project projectConfig: { "tests": "compile-only" }
39##################################
40Using extra scalacOptions: ,-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s
41Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,
42[sbt_options] declare -a sbt_options=()
43[process_args] java_version = '17'
44[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
45# Executing command line:
46java
47-Dfile.encoding=UTF-8
48-Dcommunitybuild.scala=3.7.1-RC1-bin-20250403-823782c-NIGHTLY
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_17_0_8
55-jar
56/root/.sdkman/candidates/sbt/1.9.6/bin/sbt-launch.jar
57"setCrossScalaVersions 3.7.1-RC1-bin-20250403-823782c-NIGHTLY"
58"++3.7.1-RC1-bin-20250403-823782c-NIGHTLY -v"
59"mapScalacOptions ",-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,""
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.7.1-RC1-bin-20250403-823782c-NIGHTLY """{
66 "tests": "compile-only"
67}""" info.fingo%spata"
68
69[info] [launcher] getting org.scala-sbt sbt 1.10.2 (this may take some time)...
70[info] [launcher] getting Scala 2.12.19 (for sbt)...
71[info] welcome to sbt 1.10.2 (Eclipse Adoptium Java 17.0.8)
72[info] loading settings for project repo-build from plugins.sbt ...
73[info] loading project definition from /build/repo/project
74[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
75[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.19. Compiling...
76[info] Compilation completed in 8.868s.
77[info] done compiling
78[info] loading settings for project root from build.sbt ...
79[info] set current project to spata (in build file:/build/repo/)
80Execute setCrossScalaVersions: 3.7.1-RC1-bin-20250403-823782c-NIGHTLY
81OpenCB::Changing crossVersion 3.3.4 -> 3.7.1-RC1-bin-20250403-823782c-NIGHTLY in root/crossScalaVersions
82OpenCB::Limitting incorrect crossVersions List(2.12.19) -> List(3.7.1-RC1-bin-20250403-823782c-NIGHTLY) in root/crossScalaVersions
83[info] set current project to spata (in build file:/build/repo/)
84[info] Setting Scala version to 3.7.1-RC1-bin-20250403-823782c-NIGHTLY on 1 projects.
85[info] Switching Scala version on:
86[info] * root (3.7.1-RC1-bin-20250403-823782c-NIGHTLY)
87[info] Excluding projects:
88[info] Reapplying settings...
89[info] set current project to spata (in build file:/build/repo/)
90Execute mapScalacOptions: ,-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,
91[info] Reapplying settings...
92[info] set current project to spata (in build file:/build/repo/)
93[info] Defining Global / credentials, credentials
94[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 8 others.
95[info] Run `last` for details.
96[info] Reapplying settings...
97[info] set current project to spata (in build file:/build/repo/)
98Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
99[info] Reapplying settings...
100OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
101
102 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:315)
103 Did you mean allExcludeDependencies ?
104 , retry without global scopes
105[info] Reapplying settings...
106[info] set current project to spata (in build file:/build/repo/)
107Execute removeScalacOptionsStartingWith: -P:wartremover
108[info] Reapplying settings...
109[info] set current project to spata (in build file:/build/repo/)
110[success] Total time: 0 s, completed Apr 5, 2025, 1:55:01 AM
111Build config: {
112 "tests": "compile-only"
113}
114Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
115Starting build...
116Projects: Set(root)
117Starting build for ProjectRef(file:/build/repo/,root) (spata)...
118OpenCB::Exclude Scala3 specific scalacOption `-source:3.7-migration` in Scala 2.12.19 module Global
119OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
120OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
121OpenCB::Filter out '-Wconf:cat=deprecation:w,any:e', matches regex '.*-Wconf.*any:e'
122OpenCB::Would not apply setting `-source:3.7-migration`: Project has predefined source version: Some(-source:3.7-migration)
123Compile scalacOptions: List(-explain, -explain-types, -language:existentials, -language:higherKinds, -language:implicitConversions, -new-syntax, -pagewidth:120, -release:11, -unchecked, -Wvalue-discard, -Wunused:all, -Wnonunit-statement, -Xverify-signatures, -source:3.7-migration, -Wconf:msg=can be rewritten automatically under:s)
124[info] compiling 33 Scala sources to /build/repo/target/scala-3.7.1-RC1-bin-20250403-823782c-NIGHTLY/classes ...
125[error] -- [E172] Type Error: /build/repo/src/main/scala/info/fingo/spata/converter/ToProduct.scala:87:71 ----------------------
126[error] 87 | val instance = for (label, parser) <- elements yield r.get(label)(parser)
127[error] | ^
128[error] |Ambiguous given instances: both object bigDecimalParserFmt in object StringParser and object longParserFmt in object StringParser match type info.fingo.spata.text.StringParser[A] of a context parameter of method get in class Record
129[error] -- [E172] Type Error: /build/repo/src/main/scala/info/fingo/spata/converter/ToProduct.scala:89:72 ----------------------
130[error] 89 | left.headOption.toLeft(p.fromProduct(Tuple.fromArray(right.toArray)))
131[error] | ^
132[error] | No ClassTag available for T
133[error] |
134[error] | where: T is a type variable
135[error] -- [E007] Type Mismatch Error: /build/repo/src/main/scala/info/fingo/spata/schema/TypedRecord.scala:92:34 --------------
136[error] 92 | val vals = labels.map(l => get(l, keys, values))
137[error] | ^^^^^^^^^^^^^^^^^^^^
138[error] | Found: info.fingo.spata.schema.TypedRecord.Select[(l : String), KS, VS]
139[error] | Required: KS match {
140[error] | case ? <: String *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS]
141[error] | case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[String, t, VS]
142[error] | } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] |
143[error] | (VS match {
144[error] | case _² *: tv => info.fingo.spata.schema.TypedRecord.Select[String, Tuple, tv]
145[error] | })
146[error] |
147[error] | where: KS is a type in class TypedRecord with bounds <: Tuple
148[error] | VS is a type in class TypedRecord with bounds <: Tuple
149[error] | _ is a type variable with constraint <: Tuple
150[error] | _² is a type variable
151[error] |
152[error] |
153[error] | Note: a match type could not be fully reduced:
154[error] |
155[error] | trying to reduce info.fingo.spata.schema.TypedRecord.Select[(l : String), KS, VS]
156[error] | failed since selector KS
157[error] | does not match case (l : String) *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS]
158[error] | and cannot be shown to be disjoint from it either.
159[error] | Therefore, reduction cannot advance to the remaining case
160[error] |
161[error] | case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[(l : String), t, VS]
162[error] |--------------------------------------------------------------------------------------------------------------------
163[error] | Explanation (enabled by `-explain`)
164[error] |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
165[error] |
166[error] | Tree: this.get[(l : String), KS, VS](l, TypedRecord.this.keys, TypedRecord.this.values)
167[error] | I tried to show that
168[error] | info.fingo.spata.schema.TypedRecord.Select[(l : String), KS, VS]
169[error] | conforms to
170[error] | KS match {
171[error] | case ? <: String *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS]
172[error] | case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[String, t, VS]
173[error] | } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] |
174[error] | (VS match {
175[error] | case _ *: tv => info.fingo.spata.schema.TypedRecord.Select[String, Tuple, tv]
176[error] | })
177[error] | but none of the attempts shown below succeeded:
178[error] |
179[error] | ==> info.fingo.spata.schema.TypedRecord.Select[(l : String), KS, VS] <: KS match { case ? <: String *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS] case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[String, t, VS] } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] | (VS match { case _ *: tv => info.fingo.spata.schema.TypedRecord.Select[String, Tuple, tv] })
180[error] | ==> KS match { case (l : String) *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS] case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[(l : String), t, VS] } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] | (VS match { case _ *: tv => info.fingo.spata.schema.TypedRecord.Select[(l : String), Tuple, tv] }) <: KS match { case ? <: String *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS] case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[String, t, VS] } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] | (VS match { case _ *: tv => info.fingo.spata.schema.TypedRecord.Select[String, Tuple, tv] })
181[error] | ==> info.fingo.spata.schema.TypedRecord.SelectH[VS] | (VS match { case _ *: tv => info.fingo.spata.schema.TypedRecord.Select[(l : String), Tuple, tv] }) <: KS match { case ? <: String *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS] case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[String, t, VS] } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] | (VS match { case _ *: tv => info.fingo.spata.schema.TypedRecord.Select[String, Tuple, tv] })
182[error] | ==> info.fingo.spata.schema.TypedRecord.SelectH[VS] <: KS match { case ? <: String *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS] case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[String, t, VS] } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] | (VS match { case _ *: tv => info.fingo.spata.schema.TypedRecord.Select[String, Tuple, tv] })
183[error] | ==> VS match { case h *: _ => h } <: KS match { case ? <: String *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS] case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[String, t, VS] } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] | (VS match { case _ *: tv => info.fingo.spata.schema.TypedRecord.Select[String, Tuple, tv] })
184[error] | ==> Any <: KS match { case ? <: String *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS] case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[String, t, VS] } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] | (VS match { case _ *: tv => info.fingo.spata.schema.TypedRecord.Select[String, Tuple, tv] }) = false
185[error] | ==> VS <: KS
186[error] | ==> VS <: Nothing in frozen constraint
187[error] | ==> Tuple <: Nothing in frozen constraint = false
188[error] | ==> Tuple <: Nothing in frozen constraint = false
189[error] | ==> Tuple <: KS
190[error] | ==> Tuple <: Nothing in frozen constraint = false
191[error] | ==> Tuple <: KS in frozen constraint
192[error] | ==> Tuple <: Nothing in frozen constraint = false
193[error] | ==> [_ <: Tuple] =>> scala.runtime.MatchCase[(l : String) *: _, info.fingo.spata.schema.TypedRecord.SelectH[VS]] <: [_ <: Tuple] =>> scala.runtime.MatchCase[? <: String *: _, info.fingo.spata.schema.TypedRecord.SelectH[VS]]
194[error] | ==> scala.runtime.MatchCase[(l : String) *: _, info.fingo.spata.schema.TypedRecord.SelectH[VS]] <: scala.runtime.MatchCase[? <: String *: _, info.fingo.spata.schema.TypedRecord.SelectH[VS]]
195[error] | ==> ? <: String *: _ <: (l : String) *: _
196[error] | ==> Any <: (l : String) = false
197[error] |
198[error] | The tests were made under a constraint with:
199[error] | uninstantiated variables: B
200[error] | constrained types: [B](f: String => B): List[B], [B](f: String => B): List[B]
201[error] | bounds:
202[error] | B
203[error] | B :=
204[error] | KS match {
205[error] | case ? <: String *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS]
206[error] | case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[String, t, VS]
207[error] | } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] |
208[error] | (VS match {
209[error] | case _ *: tv => info.fingo.spata.schema.TypedRecord.Select[String, Tuple, tv]
210[error] | })
211[error] | ordering:
212[error] | co-deps:
213[error] | contra-deps:
214[error] --------------------------------------------------------------------------------------------------------------------
215[error] -- [E172] Type Error: /build/repo/src/main/scala/info/fingo/spata/schema/TypedRecord.scala:93:46 -----------------------
216[error] 93 | m.fromProduct(Tuple.fromArray(vals.toArray))
217[error] | ^
218[error] | No ClassTag available for T
219[error] |
220[error] | where: T is a type variable with constraint >: KS match {
221[error] | case ? <: String *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS]
222[error] | case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[String, t, VS]
223[error] | } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] |
224[error] | (VS match {
225[error] | case _² *: tv => info.fingo.spata.schema.TypedRecord.Select[String, Tuple, tv]
226[error] | })
227[error] four errors found
228[error] (Compile / compileIncremental) Compilation failed
229[info] compiling 33 Scala sources to /build/repo/target/scala-3.7.1-RC1-bin-20250403-823782c-NIGHTLY/classes ...
230[error] -- [E172] Type Error: /build/repo/src/main/scala/info/fingo/spata/converter/ToProduct.scala:87:71 ----------------------
231[error] 87 | val instance = for (label, parser) <- elements yield r.get(label)(parser)
232[error] | ^
233[error] |Ambiguous given instances: both object bigDecimalParserFmt in object StringParser and object longParserFmt in object StringParser match type info.fingo.spata.text.StringParser[A] of a context parameter of method get in class Record
234[error] -- [E172] Type Error: /build/repo/src/main/scala/info/fingo/spata/converter/ToProduct.scala:89:72 ----------------------
235[error] 89 | left.headOption.toLeft(p.fromProduct(Tuple.fromArray(right.toArray)))
236[error] | ^
237[error] | No ClassTag available for T
238[error] |
239[error] | where: T is a type variable
240[error] -- [E007] Type Mismatch Error: /build/repo/src/main/scala/info/fingo/spata/schema/TypedRecord.scala:92:34 --------------
241[error] 92 | val vals = labels.map(l => get(l, keys, values))
242[error] | ^^^^^^^^^^^^^^^^^^^^
243[error] | Found: info.fingo.spata.schema.TypedRecord.Select[(l : String), KS, VS]
244[error] | Required: KS match {
245[error] | case ? <: String *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS]
246[error] | case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[String, t, VS]
247[error] | } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] |
248[error] | (VS match {
249[error] | case _² *: tv => info.fingo.spata.schema.TypedRecord.Select[String, Tuple, tv]
250[error] | })
251[error] |
252[error] | where: KS is a type in class TypedRecord with bounds <: Tuple
253[error] | VS is a type in class TypedRecord with bounds <: Tuple
254[error] | _ is a type variable with constraint <: Tuple
255[error] | _² is a type variable
256[error] |
257[error] |
258[error] | Note: a match type could not be fully reduced:
259[error] |
260[error] | trying to reduce info.fingo.spata.schema.TypedRecord.Select[(l : String), KS, VS]
261[error] | failed since selector KS
262[error] | does not match case (l : String) *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS]
263[error] | and cannot be shown to be disjoint from it either.
264[error] | Therefore, reduction cannot advance to the remaining case
265[error] |
266[error] | case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[(l : String), t, VS]
267[error] |--------------------------------------------------------------------------------------------------------------------
268[error] | Explanation (enabled by `-explain`)
269[error] |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
270[error] |
271[error] | Tree: this.get[(l : String), KS, VS](l, TypedRecord.this.keys, TypedRecord.this.values)
272[error] | I tried to show that
273[error] | info.fingo.spata.schema.TypedRecord.Select[(l : String), KS, VS]
274[error] | conforms to
275[error] | KS match {
276[error] | case ? <: String *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS]
277[error] | case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[String, t, VS]
278[error] | } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] |
279[error] | (VS match {
280[error] | case _ *: tv => info.fingo.spata.schema.TypedRecord.Select[String, Tuple, tv]
281[error] | })
282[error] | but none of the attempts shown below succeeded:
283[error] |
284[error] | ==> info.fingo.spata.schema.TypedRecord.Select[(l : String), KS, VS] <: KS match { case ? <: String *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS] case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[String, t, VS] } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] | (VS match { case _ *: tv => info.fingo.spata.schema.TypedRecord.Select[String, Tuple, tv] })
285[error] | ==> KS match { case (l : String) *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS] case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[(l : String), t, VS] } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] | (VS match { case _ *: tv => info.fingo.spata.schema.TypedRecord.Select[(l : String), Tuple, tv] }) <: KS match { case ? <: String *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS] case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[String, t, VS] } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] | (VS match { case _ *: tv => info.fingo.spata.schema.TypedRecord.Select[String, Tuple, tv] })
286[error] | ==> info.fingo.spata.schema.TypedRecord.SelectH[VS] | (VS match { case _ *: tv => info.fingo.spata.schema.TypedRecord.Select[(l : String), Tuple, tv] }) <: KS match { case ? <: String *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS] case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[String, t, VS] } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] | (VS match { case _ *: tv => info.fingo.spata.schema.TypedRecord.Select[String, Tuple, tv] })
287[error] | ==> info.fingo.spata.schema.TypedRecord.SelectH[VS] <: KS match { case ? <: String *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS] case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[String, t, VS] } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] | (VS match { case _ *: tv => info.fingo.spata.schema.TypedRecord.Select[String, Tuple, tv] })
288[error] | ==> VS match { case h *: _ => h } <: KS match { case ? <: String *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS] case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[String, t, VS] } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] | (VS match { case _ *: tv => info.fingo.spata.schema.TypedRecord.Select[String, Tuple, tv] })
289[error] | ==> Any <: KS match { case ? <: String *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS] case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[String, t, VS] } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] | (VS match { case _ *: tv => info.fingo.spata.schema.TypedRecord.Select[String, Tuple, tv] }) = false
290[error] | ==> VS <: KS
291[error] | ==> VS <: Nothing in frozen constraint
292[error] | ==> Tuple <: Nothing in frozen constraint = false
293[error] | ==> Tuple <: Nothing in frozen constraint = false
294[error] | ==> Tuple <: KS
295[error] | ==> Tuple <: Nothing in frozen constraint = false
296[error] | ==> Tuple <: KS in frozen constraint
297[error] | ==> Tuple <: Nothing in frozen constraint = false
298[error] | ==> [_ <: Tuple] =>> scala.runtime.MatchCase[(l : String) *: _, info.fingo.spata.schema.TypedRecord.SelectH[VS]] <: [_ <: Tuple] =>> scala.runtime.MatchCase[? <: String *: _, info.fingo.spata.schema.TypedRecord.SelectH[VS]]
299[error] | ==> scala.runtime.MatchCase[(l : String) *: _, info.fingo.spata.schema.TypedRecord.SelectH[VS]] <: scala.runtime.MatchCase[? <: String *: _, info.fingo.spata.schema.TypedRecord.SelectH[VS]]
300[error] | ==> ? <: String *: _ <: (l : String) *: _
301[error] | ==> Any <: (l : String) = false
302[error] |
303[error] | The tests were made under a constraint with:
304[error] | uninstantiated variables: B
305[error] | constrained types: [B](f: String => B): List[B], [B](f: String => B): List[B]
306[error] | bounds:
307[error] | B
308[error] | B :=
309[error] | KS match {
310[error] | case ? <: String *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS]
311[error] | case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[String, t, VS]
312[error] | } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] |
313[error] | (VS match {
314[error] | case _ *: tv => info.fingo.spata.schema.TypedRecord.Select[String, Tuple, tv]
315[error] | })
316[error] | ordering:
317[error] | co-deps:
318[error] | contra-deps:
319[error] --------------------------------------------------------------------------------------------------------------------
320[error] -- [E172] Type Error: /build/repo/src/main/scala/info/fingo/spata/schema/TypedRecord.scala:93:46 -----------------------
321[error] 93 | m.fromProduct(Tuple.fromArray(vals.toArray))
322[error] | ^
323[error] | No ClassTag available for T
324[error] |
325[error] | where: T is a type variable with constraint >: KS match {
326[error] | case ? <: String *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS]
327[error] | case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[String, t, VS]
328[error] | } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] |
329[error] | (VS match {
330[error] | case _² *: tv => info.fingo.spata.schema.TypedRecord.Select[String, Tuple, tv]
331[error] | })
332[error] four errors found
333[error] (Compile / compileIncremental) Compilation failed
334[info] compiling 33 Scala sources to /build/repo/target/scala-3.7.1-RC1-bin-20250403-823782c-NIGHTLY/classes ...
335[error] -- [E172] Type Error: /build/repo/src/main/scala/info/fingo/spata/converter/ToProduct.scala:87:71 ----------------------
336[error] 87 | val instance = for (label, parser) <- elements yield r.get(label)(parser)
337[error] | ^
338[error] |Ambiguous given instances: both object bigDecimalParserFmt in object StringParser and object longParserFmt in object StringParser match type info.fingo.spata.text.StringParser[A] of a context parameter of method get in class Record
339[error] -- [E172] Type Error: /build/repo/src/main/scala/info/fingo/spata/converter/ToProduct.scala:89:72 ----------------------
340[error] 89 | left.headOption.toLeft(p.fromProduct(Tuple.fromArray(right.toArray)))
341[error] | ^
342[error] | No ClassTag available for T
343[error] |
344[error] | where: T is a type variable
345[error] -- [E007] Type Mismatch Error: /build/repo/src/main/scala/info/fingo/spata/schema/TypedRecord.scala:92:34 --------------
346[error] 92 | val vals = labels.map(l => get(l, keys, values))
347[error] | ^^^^^^^^^^^^^^^^^^^^
348[error] | Found: info.fingo.spata.schema.TypedRecord.Select[(l : String), KS, VS]
349[error] | Required: KS match {
350[error] | case ? <: String *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS]
351[error] | case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[String, t, VS]
352[error] | } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] |
353[error] | (VS match {
354[error] | case _² *: tv => info.fingo.spata.schema.TypedRecord.Select[String, Tuple, tv]
355[error] | })
356[error] |
357[error] | where: KS is a type in class TypedRecord with bounds <: Tuple
358[error] | VS is a type in class TypedRecord with bounds <: Tuple
359[error] | _ is a type variable with constraint <: Tuple
360[error] | _² is a type variable
361[error] |
362[error] |
363[error] | Note: a match type could not be fully reduced:
364[error] |
365[error] | trying to reduce info.fingo.spata.schema.TypedRecord.Select[(l : String), KS, VS]
366[error] | failed since selector KS
367[error] | does not match case (l : String) *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS]
368[error] | and cannot be shown to be disjoint from it either.
369[error] | Therefore, reduction cannot advance to the remaining case
370[error] |
371[error] | case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[(l : String), t, VS]
372[error] |--------------------------------------------------------------------------------------------------------------------
373[error] | Explanation (enabled by `-explain`)
374[error] |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
375[error] |
376[error] | Tree: this.get[(l : String), KS, VS](l, TypedRecord.this.keys, TypedRecord.this.values)
377[error] | I tried to show that
378[error] | info.fingo.spata.schema.TypedRecord.Select[(l : String), KS, VS]
379[error] | conforms to
380[error] | KS match {
381[error] | case ? <: String *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS]
382[error] | case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[String, t, VS]
383[error] | } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] |
384[error] | (VS match {
385[error] | case _ *: tv => info.fingo.spata.schema.TypedRecord.Select[String, Tuple, tv]
386[error] | })
387[error] | but none of the attempts shown below succeeded:
388[error] |
389[error] | ==> info.fingo.spata.schema.TypedRecord.Select[(l : String), KS, VS] <: KS match { case ? <: String *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS] case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[String, t, VS] } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] | (VS match { case _ *: tv => info.fingo.spata.schema.TypedRecord.Select[String, Tuple, tv] })
390[error] | ==> KS match { case (l : String) *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS] case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[(l : String), t, VS] } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] | (VS match { case _ *: tv => info.fingo.spata.schema.TypedRecord.Select[(l : String), Tuple, tv] }) <: KS match { case ? <: String *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS] case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[String, t, VS] } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] | (VS match { case _ *: tv => info.fingo.spata.schema.TypedRecord.Select[String, Tuple, tv] })
391[error] | ==> info.fingo.spata.schema.TypedRecord.SelectH[VS] | (VS match { case _ *: tv => info.fingo.spata.schema.TypedRecord.Select[(l : String), Tuple, tv] }) <: KS match { case ? <: String *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS] case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[String, t, VS] } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] | (VS match { case _ *: tv => info.fingo.spata.schema.TypedRecord.Select[String, Tuple, tv] })
392[error] | ==> info.fingo.spata.schema.TypedRecord.SelectH[VS] <: KS match { case ? <: String *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS] case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[String, t, VS] } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] | (VS match { case _ *: tv => info.fingo.spata.schema.TypedRecord.Select[String, Tuple, tv] })
393[error] | ==> VS match { case h *: _ => h } <: KS match { case ? <: String *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS] case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[String, t, VS] } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] | (VS match { case _ *: tv => info.fingo.spata.schema.TypedRecord.Select[String, Tuple, tv] })
394[error] | ==> Any <: KS match { case ? <: String *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS] case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[String, t, VS] } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] | (VS match { case _ *: tv => info.fingo.spata.schema.TypedRecord.Select[String, Tuple, tv] }) = false
395[error] | ==> VS <: KS
396[error] | ==> VS <: Nothing in frozen constraint
397[error] | ==> Tuple <: Nothing in frozen constraint = false
398[error] | ==> Tuple <: Nothing in frozen constraint = false
399[error] | ==> Tuple <: KS
400[error] | ==> Tuple <: Nothing in frozen constraint = false
401[error] | ==> Tuple <: KS in frozen constraint
402[error] | ==> Tuple <: Nothing in frozen constraint = false
403[error] | ==> [_ <: Tuple] =>> scala.runtime.MatchCase[(l : String) *: _, info.fingo.spata.schema.TypedRecord.SelectH[VS]] <: [_ <: Tuple] =>> scala.runtime.MatchCase[? <: String *: _, info.fingo.spata.schema.TypedRecord.SelectH[VS]]
404[error] | ==> scala.runtime.MatchCase[(l : String) *: _, info.fingo.spata.schema.TypedRecord.SelectH[VS]] <: scala.runtime.MatchCase[? <: String *: _, info.fingo.spata.schema.TypedRecord.SelectH[VS]]
405[error] | ==> ? <: String *: _ <: (l : String) *: _
406[error] | ==> Any <: (l : String) = false
407[error] |
408[error] | The tests were made under a constraint with:
409[error] | uninstantiated variables: B
410[error] | constrained types: [B](f: String => B): List[B], [B](f: String => B): List[B]
411[error] | bounds:
412[error] | B
413[error] | B :=
414[error] | KS match {
415[error] | case ? <: String *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS]
416[error] | case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[String, t, VS]
417[error] | } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] |
418[error] | (VS match {
419[error] | case _ *: tv => info.fingo.spata.schema.TypedRecord.Select[String, Tuple, tv]
420[error] | })
421[error] | ordering:
422[error] | co-deps:
423[error] | contra-deps:
424[error] --------------------------------------------------------------------------------------------------------------------
425[error] -- [E172] Type Error: /build/repo/src/main/scala/info/fingo/spata/schema/TypedRecord.scala:93:46 -----------------------
426[error] 93 | m.fromProduct(Tuple.fromArray(vals.toArray))
427[error] | ^
428[error] | No ClassTag available for T
429[error] |
430[error] | where: T is a type variable with constraint >: KS match {
431[error] | case ? <: String *: _ => info.fingo.spata.schema.TypedRecord.SelectH[VS]
432[error] | case h *: t => info.fingo.spata.schema.TypedRecord.SelectT[String, t, VS]
433[error] | } <: info.fingo.spata.schema.TypedRecord.SelectH[VS] |
434[error] | (VS match {
435[error] | case _² *: tv => info.fingo.spata.schema.TypedRecord.Select[String, Tuple, tv]
436[error] | })
437[error] four errors found
438[error] (Compile / compileIncremental) Compilation failed
439
440************************
441Build summary:
442[{
443 "module": "spata",
444 "compile": {"status": "failed", "failureContext": {"type": "buildError", "reasons": ["Compilation failed"]}, "tookMs": 9539, "warnings": 0, "errors": 4, "sourceVersion": "3.7-migration"},
445 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
446 "test-compile": {"status": "skipped", "tookMs": 0, "warnings": 0, "errors": 0},
447 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
448 "publish": {"status": "skipped", "tookMs": 0},
449 "metadata": {
450 "crossScalaVersions": ["2.12.19"]
451}
452}]
453************************
454[error] Scala3CommunityBuild$ProjectBuildFailureException: 1 module(s) finished with failures: spata
455[error] (Global / runBuild) Scala3CommunityBuild$ProjectBuildFailureException: 1 module(s) finished with failures: spata
456[error] Total time: 26 s, completed Apr 5, 2025, 1:55:27 AM
457Build failed, not retrying.