Build Logs

lambdaworks/zio-elasticsearch • 3.8.0:2026-01-13

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
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"
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
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
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
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"
70"++3.8.0 -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 """{"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.958s.
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
100OpenCB::Changing crossVersion 3.8.0 -> 3.8.0 in library/crossScalaVersions
101OpenCB::Changing crossVersion 3.8.0 -> 3.8.0 in integration/crossScalaVersions
102[info] set current project to root (in build file:/build/repo/)
103[info] Setting Scala version to 3.8.0 on 2 projects.
104[info] Switching Scala version on:
105[info] integration (2.12.19, 2.13.14, 3.8.0)
106[info] library (2.12.19, 2.13.14, 3.8.0)
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 Jan 13, 2026, 4:40:05 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/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/test-classes ...
172[info] done compiling
173+ FunctionScore
174 + constructing
175 + gaussDecayFunction
176 + fieldValueFactor
177 + linearDecayFunction
178 + randomScoreFunction
179 + expDecayFunction
180 + scriptScoreFunction
181 + weightFunction
182 + encoding as JSON
183 + expDecayFunction
184 + fieldValueFactor
185 + gaussDecayFunction
186 + linearDecayFunction
187 + randomScoreFunction
188 + scriptScoreFunction
189 + weightFunction
190+ ElasticPrimitive
191 + BigDecimal
192 + Boolean
193 + Double
194 + Int
195 + Long
196 + String
197 + UUID
198+ HttpElasticExecutor
199 + aggregation
200 + create
201 + create with ID
202 + createIndex
203 + bulk
204 + count
205 + deleteById
206 + deleteByQuery
207 + deleteIndex
208 + exists
209 + getById
210 + knnSearch
211 + refresh
212 + search
213 + search + aggregate
214 + update
215 + updateByScript
216 + upsert
217 + updateAllByQuery
218 + updateByQuery
219+ Script
220 + constructing
221 + script
222 + encoding as JSON
223 + script
224+ ElasticAggregation
225 + constructing
226 + avg
227 + bucketSort
228 + extendedStats
229 + bucketSelector
230 + cardinality
231 + filter
232 + missing
233 + multiple
234 + max
235 + min
236 + percentiles
237 + subAggregation
238 + percentileRanks
239 + terms
240 + stats
241 + sum
242 + weightedAvg
243 + valueCount
244 + encoding as JSON
245 + subAggregation
246 + avg
247 + bucketSelector
248 + bucketSort
249 + sum
250 + terms
251 + cardinality
252 + extendedStats
253 + filter
254 + max
255 + min
256 + missing
257 + multiple
258 + valueCount
259 + percentileRanks
260 + percentiles
261 + stats
262 + weightedAvg
263+ ElasticRequest
264 + encoding as JSON
265 + aggregate
266 + bulk
267 + count
268 + create
269 + knnSearch
270 + create with ID
271 + createIndex
272 + deleteByQuery
273 + search
274 + updateByScript
275 + upsert
276 + search + aggregate
277 + update
278 + updateByQuery
279 + constructing
280 + aggregate
281 + count
282 + bulk
283 + create
284 + create with ID
285 + deleteById
286 + createIndex
287 + deleteByQuery
288 + deleteIndex
289 + exists
290 + refresh
291 + search
292 + search + aggregate
293 + update
294 + getById
295 + knnSearch
296 + updateAllByQuery
297 + updateByQuery
298 + updateByScript
299 + upsert
300+ InnerHits
301 + constructing
302 + encoding as JSON
303+ Highlight
304 + constructing
305 + highlight
306 + encoding as JSON
307 + highlight
308+ ElasticSort
309 + constructing
310 + sortByField
311 + sortByScript
312 + encoding as JSON
313 + sortByField
314+ ElasticQuery
315 + constructing
316 + sortByScript
317 + boosting
318 + constantScore
319 + contains
320 + disjunctionMax
321 + exists
322 + functionScore
323 + bool
324 + filter
325 + must
326 + mustNot
327 + should
328 + filter + must + mustNot + should
329 + fuzzy
330 + geoDistance
331 + geoPolygon
332 + hasChild
333 + hasParent
334 + ids
335 + kNN
336 + matchAll
337 + matchBooleanPrefix
338 + matches
339 + matchPhrase
340 + matchPhrasePrefix
341 + multiMatch
342 + nested
343 + prefix
344 + range
345 + regexp
346 + script
347 + startsWith
348 + term
349 + terms
350 + termsSet
351 + termsSetScript
352 + wildcard
353 + encoding as JSON
354 + boosting
355 + constantScore
356 + contains
357 + bool
358 + filter
359 + must
360 + mustNot
361 + should
362 + filter + must + mustNot + should
363 + fuzzy
364 + geoDistance
365 + geoPolygon
366 + hasChild
367 + hasParent
368 + ids
369 + kNN
370 + matchAll
371 + matchBooleanPrefix
372 + matches
373 + matchPhrase
374 + matchPhrasePrefix
375 + multiMatch
376 + nested
377 + prefix
378 + range
379 + regexp
380 + script
381 + startsWith
382 + term
383 + terms
384 + termsSet
385 + termsSetScript
386 + wildcard
387 + disjunctionMax
388 + exists
389 + functionScore
390+ Field DSL
391 + constructing
392 + path
393 + field
394+ IndexName
395 + constructing
396 + fail for empty string
397 + fail for string '.'
398 + fail for string containing upper letter
399 + fail for string containing character '*'
400 + fail for string containing character ':'
401 + succeed for valid string
402 + fail for string longer than 255 bytes
403 + fail for string starting with character '-'
404201 tests passed. 0 tests failed. 0 tests ignored.
405
406Executed in 7 s 13 ms
407
408
409************************
410Build summary:
411[{
412 "module": "zio-elasticsearch",
413 "compile": {"status": "ok", "tookMs": 26681, "warnings": 4, "errors": 0, "sourceVersion": "3.8"},
414 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
415 "test-compile": {"status": "ok", "tookMs": 8457, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
416 "test": {"status": "ok", "tookMs": 8537, "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: 46 s, completed Jan 13, 2026, 4:40: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.