Build Logs

lambdaworks/zio-elasticsearch • 3.8.0-RC5:2025-12-31

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