Build Logs

lambdaworks/zio-elasticsearch • 3.8.0-RC2:2025-11-28

Errors

0

Warnings

38

Total Lines

431

1##################################
2Clonning https://github.com/lambdaworks/zio-elasticsearch.git into /build/repo using revision v0.4.0
3##################################
4Note: switching to '8fe4df4620ce01d9f7e09f7e45e342e3ee64eb3c'.
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
21Would override fixed Scala version: 3.4.2
22----
23Preparing build for 3.8.0-RC2
24Scala binary version found: 3.8
25Implicitly using source version 3.8
26Scala binary version found: 3.8
27Implicitly using source version 3.8
28Would try to apply common scalacOption (best-effort, sbt/mill only):
29Append: ,REQUIRE:-source:3.8
30Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
31
32Try apply source patch:
33Path: project/BuildHelper.scala
34Pattern: val Scala3: String = "3.4.2"
35Replacement: val Scala3: String = "3.8.0-RC2"
36Starting compilation server
37Compiling project (Scala 3.7.3, JVM (17))
38Compiled project (Scala 3.7.3, JVM (17))
39Successfully applied pattern 'val Scala3: String = "3.4.2"' in project/BuildHelper.scala
40----
41Starting build for 3.8.0-RC2
42Execute tests: true
43sbt project found:
44Sbt version 1.10.0 is not supported, minimal supported version is 1.11.5
45Enforcing usage of sbt in version 1.11.5
46No prepare script found for project lambdaworks/zio-elasticsearch
47##################################
48Scala version: 3.8.0-RC2
49Targets: io.lambdaworks%zio-elasticsearch
50Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"project/BuildHelper.scala","pattern":"val Scala3: String = \"3.4.2\"","replaceWith":"val Scala3: String = \"<SCALA_VERSION>\""}]}
51##################################
52Using extra scalacOptions: ,REQUIRE:-source:3.8
53Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
54[sbt_options] declare -a sbt_options=()
55[process_args] java_version = '17'
56[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
57# Executing command line:
58java
59-Dfile.encoding=UTF-8
60-Dcommunitybuild.scala=3.8.0-RC2
61-Dcommunitybuild.project.dependencies.add=
62-Xmx7G
63-Xms4G
64-Xss8M
65-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
66-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
67-jar
68/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
69"setCrossScalaVersions 3.8.0-RC2"
70"++3.8.0-RC2 -v"
71"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
72"set every credentials := Nil"
73"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
74"removeScalacOptionsStartingWith -P:wartremover"
75
76moduleMappings
77"runBuild 3.8.0-RC2 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"project/BuildHelper.scala","pattern":"val Scala3: String = \"3.4.2\"","replaceWith":"val Scala3: String = \"<SCALA_VERSION>\""}]}""" io.lambdaworks%zio-elasticsearch"
78
79[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
80[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
81[info] loading project definition from /build/repo/project
82[info] compiling 3 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
83[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
84[info] Compilation completed in 8.762s.
85[warn] /build/repo/project/BuildHelper.scala:22:19: value scalafixScalaBinaryVersion in object autoImport is deprecated (since 0.12.1): scalafixScalaBinaryVersion now follows scalaVersion by default
86[warn] ThisBuild / scalafixScalaBinaryVersion := CrossVersion.binaryScalaVersion(scalaVersion.value),
87[warn] ^
88[warn] one warning found
89[info] done compiling
90[info] loading settings for project root from build.sbt...
91[info] set current project to root (in build file:/build/repo/)
92[warn] there's a key that's not used by any other settings/tasks:
93[warn]
94[warn] * ThisBuild / scalafixScalaBinaryVersion
95[warn] +- /build/repo/project/BuildHelper.scala:22
96[warn]
97[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
98[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
99Execute setCrossScalaVersions: 3.8.0-RC2
100OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in library/crossScalaVersions
101OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in integration/crossScalaVersions
102[info] set current project to root (in build file:/build/repo/)
103[info] Setting Scala version to 3.8.0-RC2 on 2 projects.
104[info] Switching Scala version on:
105[info] integration (2.12.19, 2.13.14, 3.8.0-RC2)
106[info] library (2.12.19, 2.13.14, 3.8.0-RC2)
107[info] Excluding projects:
108[info] * root (2.13.14)
109[info] docs (2.13.14)
110[info] example (2.13.14)
111[info] Reapplying settings...
112[info] set current project to root (in build file:/build/repo/)
113Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
114[info] Reapplying settings...
115[info] set current project to root (in build file:/build/repo/)
116[info] Defining Global / credentials, credentials and 3 others.
117[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 40 others.
118[info] Run `last` for details.
119[info] Reapplying settings...
120[info] set current project to root (in build file:/build/repo/)
121Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
122[info] Reapplying settings...
123OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
124
125 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
126 Did you mean allExcludeDependencies ?
127 , retry without global scopes
128[info] Reapplying settings...
129[info] set current project to root (in build file:/build/repo/)
130Execute removeScalacOptionsStartingWith: -P:wartremover
131[info] Reapplying settings...
132[info] set current project to root (in build file:/build/repo/)
133[success] Total time: 0 s, completed Nov 28, 2025, 3:25:14 PM
134Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"project/BuildHelper.scala","pattern":"val Scala3: String = \"3.4.2\"","replaceWith":"val Scala3: String = \"<SCALA_VERSION>\""}]}
135Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
136Starting build...
137Projects: Set(library)
138Starting build for ProjectRef(file:/build/repo/,library) (zio-elasticsearch)... [0/1]
139OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
140OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
141Compile scalacOptions: -encoding, UTF-8, -unchecked, -language:higherKinds, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
142[info] compiling 92 Scala sources to /build/repo/modules/library/target/scala-3.8.0-RC2/classes ...
143[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/modules/library/src/main/scala/zio/elasticsearch/executor/response/AggregationResponse.scala:31:4
144[warn] 31 | aggregationResponse match {
145[warn] | ^^^^^^^^^^^^^^^^^^^
146[warn] |match may not be exhaustive.
147[warn] |
148[warn] |It would fail on pattern case: zio.elasticsearch.executor.response.StdDeviationBoundsResponse(_, _, _, _, _, _)
149[warn] |
150[warn] | longer explanation available when compiling with `-explain`
151[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/modules/library/src/main/scala/zio/elasticsearch/result/AggregationResult.scala:50:16
152[warn] 50 | case Some(agg: A) => Right(Some(agg))
153[warn] | ^
154[warn] |the type test for A cannot be checked at runtime because it refers to an abstract type member or type parameter
155[warn] |
156[warn] | longer explanation available when compiling with `-explain`
157[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/modules/library/src/main/scala/zio/elasticsearch/result/AggregationResult.scala:101:16
158[warn] 101 | case Some(agg: A) => Right(Some(agg))
159[warn] | ^
160[warn] |the type test for A cannot be checked at runtime because it refers to an abstract type member or type parameter
161[warn] |
162[warn] | longer explanation available when compiling with `-explain`
163[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/modules/library/src/main/scala/zio/elasticsearch/result/ElasticResult.scala:33:20
164[warn] 33 | case Some(agg: A) => Right(Some(agg))
165[warn] | ^
166[warn] |the type test for A cannot be checked at runtime because it refers to an abstract type member or type parameter
167[warn] |
168[warn] | longer explanation available when compiling with `-explain`
169[warn] four warnings found
170[info] done compiling
171[info] compiling 20 Scala sources to /build/repo/modules/library/target/scala-3.8.0-RC2/test-classes ...
172[info] done compiling
173+ InnerHits
174 + constructing
175 + encoding as JSON
176+ ElasticPrimitive
177 + BigDecimal
178 + Boolean
179 + Double
180 + Int
181 + Long
182 + String
183 + UUID
184+ FunctionScore
185 + constructing
186 + fieldValueFactor
187 + gaussDecayFunction
188 + linearDecayFunction
189 + expDecayFunction
190 + randomScoreFunction
191 + weightFunction
192 + scriptScoreFunction
193 + encoding as JSON
194 + linearDecayFunction
195 + expDecayFunction
196 + fieldValueFactor
197 + gaussDecayFunction
198 + scriptScoreFunction
199 + weightFunction
200 + randomScoreFunction
201+ HttpElasticExecutor
202 + aggregation
203 + create
204 + count
205 + create with ID
206 + deleteById
207 + bulk
208 + exists
209 + createIndex
210 + deleteIndex
211 + getById
212 + knnSearch
213 + deleteByQuery
214 + search
215 + search + aggregate
216 + refresh
217 + update
218 + updateAllByQuery
219 + updateByQuery
220 + updateByScript
221 + upsert
222+ ElasticRequest
223 + constructing
224 + count
225 + aggregate
226 + bulk
227 + create
228 + createIndex
229 + deleteByQuery
230 + deleteById
231 + create with ID
232 + exists
233 + getById
234 + refresh
235 + search
236 + knnSearch
237 + search + aggregate
238 + updateAllByQuery
239 + deleteIndex
240 + updateByScript
241 + updateByQuery
242 + upsert
243 + update
244 + encoding as JSON
245 + aggregate
246 + bulk
247 + count
248 + create
249 + create with ID
250 + createIndex
251 + deleteByQuery
252 + knnSearch
253 + update
254 + updateByQuery
255 + updateByScript
256 + upsert
257 + search
258 + search + aggregate
259+ Highlight
260 + constructing
261 + highlight
262 + encoding as JSON
263 + highlight
264+ ElasticSort
265 + constructing
266 + sortByField
267 + sortByScript
268 + encoding as JSON
269 + sortByField
270 + sortByScript
271+ Script
272 + constructing
273 + script
274 + encoding as JSON
275 + script
276+ Field DSL
277 + constructing
278 + field
279 + path
280+ ElasticQuery
281 + constructing
282 + constantScore
283 + contains
284 + boosting
285 + disjunctionMax
286 + exists
287 + fuzzy
288 + geoDistance
289 + functionScore
290 + bool
291 + should
292 + filter
293 + must
294 + mustNot
295 + filter + must + mustNot + should
296 + geoPolygon
297 + hasChild
298 + kNN
299 + matchAll
300 + hasParent
301 + ids
302 + matchBooleanPrefix
303 + matches
304 + matchPhrase
305 + matchPhrasePrefix
306 + multiMatch
307 + nested
308 + prefix
309 + range
310 + regexp
311 + script
312 + startsWith
313 + term
314 + termsSetScript
315 + wildcard
316 + terms
317 + termsSet
318 + encoding as JSON
319 + boosting
320 + constantScore
321 + contains
322 + bool
323 + filter
324 + must
325 + mustNot
326 + should
327 + filter + must + mustNot + should
328 + disjunctionMax
329 + exists
330 + functionScore
331 + fuzzy
332 + hasParent
333 + ids
334 + geoDistance
335 + geoPolygon
336 + hasChild
337 + kNN
338 + matchAll
339 + matchBooleanPrefix
340 + matches
341 + matchPhrase
342 + matchPhrasePrefix
343 + multiMatch
344 + nested
345 + prefix
346 + range
347 + regexp
348 + script
349 + term
350 + terms
351 + termsSet
352 + termsSetScript
353 + wildcard
354 + startsWith
355+ ElasticAggregation
356 + encoding as JSON
357 + bucketSort
358 + cardinality
359 + avg
360 + bucketSelector
361 + extendedStats
362 + filter
363 + missing
364 + multiple
365 + max
366 + min
367 + percentileRanks
368 + percentiles
369 + stats
370 + subAggregation
371 + sum
372 + terms
373 + valueCount
374 + weightedAvg
375 + constructing
376 + avg
377 + bucketSelector
378 + bucketSort
379 + cardinality
380 + extendedStats
381 + filter
382 + max
383 + min
384 + missing
385 + multiple
386 + percentileRanks
387 + percentiles
388 + stats
389 + subAggregation
390 + sum
391 + terms
392 + valueCount
393 + weightedAvg
394+ IndexName
395 + constructing
396 + fail for empty string
397 + fail for string '.'
398 + fail for string containing character '*'
399 + fail for string containing upper letter
400 + fail for string containing character ':'
401 + fail for string starting with character '-'
402 + succeed for valid string
403 + fail for string longer than 255 bytes
404201 tests passed. 0 tests failed. 0 tests ignored.
405
406Executed in 7 s 121 ms
407
408
409************************
410Build summary:
411[{
412 "module": "zio-elasticsearch",
413 "compile": {"status": "ok", "tookMs": 29779, "warnings": 4, "errors": 0, "sourceVersion": "3.8"},
414 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
415 "test-compile": {"status": "ok", "tookMs": 9052, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
416 "test": {"status": "ok", "tookMs": 8353, "passed": 201, "failed": 0, "ignored": 0, "skipped": 0, "total": 201, "byFramework": [{"framework": "unknown", "stats": {"passed": 201, "failed": 0, "ignored": 0, "skipped": 0, "total": 201}}]},
417 "publish": {"status": "skipped", "tookMs": 0},
418 "metadata": {
419 "crossScalaVersions": ["2.12.19", "2.13.14", "3.4.2"]
420}
421}]
422************************
423[success] Total time: 97 s (0:01:37.0), completed Nov 28, 2025, 3:26:51 PM
424[0JChecking patch project/plugins.sbt...
425Checking patch project/build.properties...
426Checking patch project/BuildHelper.scala...
427Checking patch build.sbt...
428Applied patch project/plugins.sbt cleanly.
429Applied patch project/build.properties cleanly.
430Applied patch project/BuildHelper.scala cleanly.
431Applied patch build.sbt cleanly.