Build Logs

lichess-org/lila-search • 3.8.0-RC2:2025-11-25

Errors

0

Warnings

296

Total Lines

668

1##################################
2Clonning https://github.com/lichess-org/lila-search.git into /build/repo using revision
3##################################
4----
5Preparing build for 3.8.0-RC2
6Scala binary version found: 3.8
7Implicitly using source version 3.8
8Scala binary version found: 3.8
9Implicitly using source version 3.8
10Would try to apply common scalacOption (best-effort, sbt/mill only):
11Append: ,REQUIRE:-source:3.8
12Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
13----
14Starting build for 3.8.0-RC2
15Execute tests: false
16sbt project found:
17No prepare script found for project lichess-org/lila-search
18/opencb/project-builder/sbt/prepare-project.sh: line 107: /root/.ssh/config: No such file or directory
19##################################
20Scala version: 3.8.0-RC2
21Targets: *%*
22Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"25"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}
23##################################
24Using extra scalacOptions: ,REQUIRE:-source:3.8
25Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
26[sbt_options] declare -a sbt_options=()
27[process_args] java_version = '25'
28[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_25/rt.jar'
29# Executing command line:
30java
31-Dfile.encoding=UTF-8
32-Dcommunitybuild.scala=3.8.0-RC2
33-Dcommunitybuild.project.dependencies.add=
34-Xmx7G
35-Xms4G
36-Xss8M
37-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
38-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_25
39-jar
40/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
41"setCrossScalaVersions 3.8.0-RC2"
42"++3.8.0-RC2 -v"
43"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
44"set every credentials := Nil"
45"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
46"removeScalacOptionsStartingWith -P:wartremover"
47
48moduleMappings
49"runBuild 3.8.0-RC2 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"25"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}""" *%*"
50
51[info] [launcher] getting org.scala-sbt sbt 1.11.7 (this may take some time)...
52WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
53WARNING: sun.misc.Unsafe::arrayBaseOffset has been called by net.openhft.hashing.UnsafeAccess (file:/root/.sbt/boot/scala-2.12.20/org.scala-sbt/sbt/1.11.7/zero-allocation-hashing-0.16.jar)
54WARNING: Please consider reporting this to the maintainers of class net.openhft.hashing.UnsafeAccess
55WARNING: sun.misc.Unsafe::arrayBaseOffset will be removed in a future release
56WARNING: A restricted method in java.lang.System has been called
57WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/root/.sbt/boot/scala-2.12.20/org.scala-sbt/sbt/1.11.7/jna-5.12.0.jar)
58WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
59WARNING: Restricted methods will be blocked in a future release unless native access is enabled
60
61[info] welcome to sbt 1.11.7 (Eclipse Adoptium Java 25)
62[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
63[info] loading project definition from /build/repo/project
64[info] compiling 4 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
65[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
66[info] Compilation completed in 8.342s.
67[info] done compiling
68[info] loading settings for project root from build.sbt, version.sbt...
69[info] resolving key references (14739 settings) ...
70[info] set current project to root (in build file:/build/repo/)
71[warn] there's a key that's not used by any other settings/tasks:
72[warn]
73[warn] * ThisBuild / Docker / maintainer
74[warn] +- /build/repo/build.sbt:4
75[warn]
76[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
77[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
78Execute setCrossScalaVersions: 3.8.0-RC2
79OpenCB::Changing crossVersion 3.7.4 -> 3.8.0-RC2 in core/crossScalaVersions
80OpenCB::Changing crossVersion 3.7.4 -> 3.8.0-RC2 in ingestor-app/crossScalaVersions
81OpenCB::Changing crossVersion 3.7.4 -> 3.8.0-RC2 in e2e/crossScalaVersions
82OpenCB::Changing crossVersion 3.7.4 -> 3.8.0-RC2 in elastic/crossScalaVersions
83OpenCB::Changing crossVersion 3.7.4 -> 3.8.0-RC2 in app/crossScalaVersions
84OpenCB::Changing crossVersion 3.7.4 -> 3.8.0-RC2 in client/crossScalaVersions
85OpenCB::Changing crossVersion 3.7.4 -> 3.8.0-RC2 in api/crossScalaVersions
86OpenCB::Changing crossVersion 3.7.4 -> 3.8.0-RC2 in ingestor-core/crossScalaVersions
87OpenCB::Changing crossVersion 3.7.4 -> 3.8.0-RC2 in lila-mongo/crossScalaVersions
88OpenCB::Changing crossVersion 3.7.4 -> 3.8.0-RC2 in ingestor-cli/crossScalaVersions
89OpenCB::Changing crossVersion 3.7.4 -> 3.8.0-RC2 in lila-game-export/crossScalaVersions
90OpenCB::Changing crossVersion 3.7.4 -> 3.8.0-RC2 in root/crossScalaVersions
91[info] set current project to root (in build file:/build/repo/)
92[info] Setting Scala version to 3.8.0-RC2 on 12 projects.
93[info] Switching Scala version on:
94[info] ingestor-core (3.8.0-RC2)
95[info] * root (3.8.0-RC2)
96[info] ingestor-app (3.8.0-RC2)
97[info] elastic (3.8.0-RC2)
98[info] ingestor-cli (3.8.0-RC2)
99[info] lila-mongo (3.8.0-RC2)
100[info] lila-game-export (3.8.0-RC2)
101[info] client (3.8.0-RC2)
102[info] app (3.8.0-RC2)
103[info] api (3.8.0-RC2)
104[info] core (3.8.0-RC2)
105[info] e2e (3.8.0-RC2)
106[info] Excluding projects:
107[info] Reapplying settings...
108[info] set current project to root (in build file:/build/repo/)
109Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
110[info] Reapplying settings...
111[info] set current project to root (in build file:/build/repo/)
112[info] Defining Global / credentials, api / credentials and 10 others.
113[info] The new values will be used by Compile / scalafmtOnly, IntegrationTest / scalafmtOnly and 94 others.
114[info] Run `last` for details.
115[info] Reapplying settings...
116[info] set current project to root (in build file:/build/repo/)
117Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
118[info] Reapplying settings...
119OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
120
121 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:336)
122 Did you mean app / allExcludeDependencies ?
123 , retry without global scopes
124[info] Reapplying settings...
125[info] set current project to root (in build file:/build/repo/)
126Execute removeScalacOptionsStartingWith: -P:wartremover
127[info] Reapplying settings...
128[info] set current project to root (in build file:/build/repo/)
129[success] Total time: 0 s, completed Nov 25, 2025, 4:59:17 PM
130Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"25"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}
131Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
132Starting build...
133Projects: Set(ingestor-core, root, ingestor-app, elastic, ingestor-cli, lila-mongo, lila-game-export, client, app, api, core, e2e)
134Starting build for ProjectRef(file:/build/repo/,client) (client)... [0/12]
135OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
136OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
137OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
138OpenCB::Filter out '-Xfatal-warnings', matches setting pattern '^-?-Xfatal-warnings'
139Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -release, 21, -indent, -rewrite, -explain, -Wall, -Xsemanticdb, -semanticdb-target, /build/repo/modules/client/target/scala-3.8.0-RC2/meta, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
140[info] compiling 16 Scala sources to /build/repo/modules/core/target/scala-3.8.0-RC2/classes ...
141[info] [patched file /build/repo/modules/core/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/core/SizeFormat.scala]
142[info] [patched file /build/repo/modules/core/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/core/FromFormat.scala]
143[info] [patched file /build/repo/modules/core/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/core/IdString.scala]
144[info] [patched file /build/repo/modules/core/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/core/IndexString.scala]
145[info] [patched file /build/repo/modules/core/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/core/IndexFormat.scala]
146[info] [patched file /build/repo/modules/core/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/core/SizeInt.scala]
147[info] [patched file /build/repo/modules/core/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/core/Ids.scala]
148[info] [patched file /build/repo/modules/core/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/core/FromInt.scala]
149[info] [patched file /build/repo/modules/core/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/core/IdFormat.scala]
150[info] [patched file /build/repo/modules/core/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/core/DateTimeFormat.scala]
151[info] [patched file /build/repo/modules/core/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/core/PlayerIds.scala]
152[info] [patched file /build/repo/modules/core/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/core/DateTime.scala]
153[info] [patched file /build/repo/modules/core/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/core/Strings.scala]
154[info] done compiling
155Nov 25, 2025 5:00:01 PM software.amazon.smithy.openapi.fromsmithy.mappers.RemoveUnusedComponents removalRound
156INFO: Removing unused OpenAPI components: [#/components/schemas/HealthCheckOutput]
157Nov 25, 2025 5:00:01 PM software.amazon.smithy.openapi.fromsmithy.mappers.RemoveUnusedComponents removalRound
158INFO: Removing unused OpenAPI components: [#/components/schemas/CountInput, #/components/schemas/SearchOutput, #/components/schemas/InternalServerError, #/components/schemas/SearchInput, #/components/schemas/CountOutput]
159[info] compiling 19 Scala sources to /build/repo/modules/api/target/scala-3.8.0-RC2/classes ...
160[info] [patched file /build/repo/modules/api/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/spec/ElasticStatus.scala]
161[info] [patched file /build/repo/modules/api/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/spec/SearchInput.scala]
162[info] [patched file /build/repo/modules/api/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/spec/StudySorting.scala]
163[info] [patched file /build/repo/modules/api/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/spec/Order.scala]
164[info] [patched file /build/repo/modules/api/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/spec/DateRange.scala]
165[info] [patched file /build/repo/modules/api/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/spec/CountOutput.scala]
166[info] [patched file /build/repo/modules/api/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/spec/HealthService.scala]
167[info] [patched file /build/repo/modules/api/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/spec/SortBlogsBy.scala]
168[info] [patched file /build/repo/modules/api/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/spec/Query.scala]
169[info] [patched file /build/repo/modules/api/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/spec/SearchService.scala]
170[info] [patched file /build/repo/modules/api/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/spec/CountInput.scala]
171[info] [patched file /build/repo/modules/api/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/spec/Perfs.scala]
172[info] [patched file /build/repo/modules/api/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/spec/StudySortField.scala]
173[info] [patched file /build/repo/modules/api/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/spec/InternalServerError.scala]
174[info] [patched file /build/repo/modules/api/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/spec/IntRange.scala]
175[info] [patched file /build/repo/modules/api/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/spec/GameSorting.scala]
176[info] [patched file /build/repo/modules/api/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/spec/SearchOutput.scala]
177[info] [patched file /build/repo/modules/api/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/spec/HealthCheckOutput.scala]
178[info] done compiling
179[info] compiling 3 Scala sources to /build/repo/modules/client/target/scala-3.8.0-RC2/classes ...
180[info] done compiling
181[info] compiling 16 Scala sources to /build/repo/modules/core/target/scala-3.8.0-RC2/classes ...
182[info] done compiling
183Nov 25, 2025 5:00:12 PM software.amazon.smithy.openapi.fromsmithy.mappers.RemoveUnusedComponents removalRound
184INFO: Removing unused OpenAPI components: [#/components/schemas/HealthCheckOutput]
185Nov 25, 2025 5:00:12 PM software.amazon.smithy.openapi.fromsmithy.mappers.RemoveUnusedComponents removalRound
186INFO: Removing unused OpenAPI components: [#/components/schemas/CountInput, #/components/schemas/SearchOutput, #/components/schemas/InternalServerError, #/components/schemas/SearchInput, #/components/schemas/CountOutput]
187Starting build for ProjectRef(file:/build/repo/,lila-mongo) (lila-mongo)... [1/12]
188Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -release, 21, -indent, -rewrite, -explain, -Wall, -Xsemanticdb, -semanticdb-target, /build/repo/modules/lila-mongo/target/scala-3.8.0-RC2/meta, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
189[info] compiling 10 Scala sources to /build/repo/modules/lila-mongo/target/scala-3.8.0-RC2/classes ...
190[warn] -- [E222] Syntax Warning: /build/repo/modules/lila-mongo/src/main/scala/mongo.game.scala:2:8
191[warn] 2 |package ingestor
192[warn] |^
193[warn] |The package name `mongo.game$package` will be encoded on the classpath, and can lead to undefined behaviour.
194[warn] 3 |import cats.effect.*
195[warn] 4 |import cats.syntax.all.*
196[warn] 5 |import chess.Clock.Config
197[warn] 6 |import chess.Speed
198[warn] 7 |import chess.variant.*
199[warn] 8 |import com.mongodb.client.model.changestream.FullDocument
200[warn] 9 |import com.mongodb.client.model.changestream.OperationType.*
201[warn] 10 |import io.circe.*
202[warn] 11 |import mongo4cats.circe.*
203[warn] 12 |import mongo4cats.collection.MongoCollection
204[warn] 13 |import mongo4cats.database.MongoDatabase
205[warn] 14 |import mongo4cats.models.collection.ChangeStreamDocument
206[warn] 15 |import mongo4cats.operations.{ Aggregate, Filter, Projection }
207[warn] 16 |import org.typelevel.log4cats.syntax.*
208[warn] 17 |import org.typelevel.log4cats.{ Logger, LoggerFactory }
209[warn] 18 |import java.time.Instant
210[warn] 19 |import scala.concurrent.duration.*
211[warn] 20 |import Repo.{ *, given }
212[warn] 21 |object GameRepo:
213[warn] 22 | private val interestedOperations = List(UPDATE, DELETE).map(_.getValue)
214[warn] 23 | private val eventFilter = Filter.in("operationType", interestedOperations)
215[warn] 24 | private val interestedEventFields =
216[warn] 25 | List(
217[warn] 26 | "operationType",
218[warn] 27 | "clusterTime",
219[warn] 28 | "documentKey._id",
220[warn] 29 | "fullDocument"
221[warn] 30 | ) // TODO only include interestedFields
222[warn] 31 | private val eventProjection = Projection.include(interestedEventFields)
223[warn] 32 | // https://github.com/lichess-org/lila/blob/65e6dd88e99cfa0068bc790a4518a6edb3513f54/modules/gameSearch/src/main/GameSearchApi.scala#L52
224[warn] 33 | val gameFilter: Filter =
225[warn] 34 | // Filter games that finished
226[warn] 35 | // https://github.com/lichess-org/scalachess/blob/18edf46a50445048fdc2ee5a83752e5b3884f490/core/src/main/scala/Status.scala#L18-L27
227[warn] 36 | val statusFilter = Filter.gte("s", 30)
228[warn] 37 | val noImportFilter = Filter.ne("so", 7)
229[warn] 38 | // us fields is the list of player ids, if it's missing then it's
230[warn] 39 | // an all anonymous (or anonymous vs stockfish) game
231[warn] 40 | val noAllAnonFilter = Filter.exists("us")
232[warn] 41 | statusFilter.and(noImportFilter).and(noAllAnonFilter)
233[warn] 42 | // https://github.com/lichess-org/lila/blob/65e6dd88e99cfa0068bc790a4518a6edb3513f54/modules/gameSearch/src/main/GameSearchApi.scala#L52
234[warn] 43 | val changeFilter: Filter =
235[warn] 44 | // Filter games that finished
236[warn] 45 | // https://github.com/lichess-org/scalachess/blob/18edf46a50445048fdc2ee5a83752e5b3884f490/core/src/main/scala/Status.scala#L18-L27
237[warn] 46 | val statusFilter = Filter.gte("fullDocument.s", 30)
238[warn] 47 | val noImportFilter = Filter.ne("fullDocument.so", 7)
239[warn] 48 | // us fields is the list of player ids, if it's missing then it's
240[warn] 49 | // an all anonymous (or anonymous vs stockfish) game
241[warn] 50 | val noAllAnonFilter = Filter.exists("fullDocument.us")
242[warn] 51 | statusFilter.and(noImportFilter).and(noAllAnonFilter)
243[warn] 52 | private val aggregate =
244[warn] 53 | Aggregate.matchBy(eventFilter.and(changeFilter)).combinedWith(Aggregate.project(eventProjection))
245[warn] 54 | def apply(mongo: MongoDatabase[IO], config: IngestorConfig.Game)(using
246[warn] 55 | LoggerFactory[IO]
247[warn] 56 | ): IO[Repo[DbGame]] =
248[warn] 57 | given Logger[IO] = LoggerFactory[IO].getLogger
249[warn] 58 | mongo.getCollectionWithCodec[DbGame]("game5").map(apply(config))
250[warn] 59 | def apply(config: IngestorConfig.Game)(games: MongoCollection[IO, DbGame])(using
251[warn] 60 | Logger[IO]
252[warn] 61 | ): Repo[DbGame] = new:
253[warn] 62 | def watch(since: Option[Instant]): fs2.Stream[IO, Result[DbGame]] =
254[warn] 63 | changes(since)
255[warn] 64 | .map: events =>
256[warn] 65 | val lastEventTimestamp = events.lastOption.flatMap(_.clusterTime).flatMap(_.asInstant)
257[warn] 66 | val (toDelete, toIndex) = events.partition(_.operationType == DELETE)
258[warn] 67 | Result(
259[warn] 68 | toIndex.flatMap(_.fullDocument),
260[warn] 69 | toDelete.flatMap(_.docId.map(Id.apply)),
261[warn] 70 | Nil,
262[warn] 71 | lastEventTimestamp
263[warn] 72 | )
264[warn] 73 | def fetch(since: Instant, until: Instant): fs2.Stream[IO, Result[DbGame]] =
265[warn] 74 | val filter = range(F.createdAt)(since, until.some)
266[warn] 75 | fs2.Stream.eval(info"Fetching games from $since to $until") *>
267[warn] 76 | games
268[warn] 77 | .find(filter.and(gameFilter))
269[warn] 78 | // .hint("ca_-1")
270[warn] 79 | .boundedStream(config.batchSize)
271[warn] 80 | .chunkN(config.batchSize)
272[warn] 81 | .map(_.toList)
273[warn] 82 | .metered(1.second) // to avoid overloading the elasticsearch
274[warn] 83 | .map(ds => Result(ds, Nil, Nil, None))
275[warn] 84 | private def changes(since: Option[Instant]): fs2.Stream[IO, List[ChangeStreamDocument[DbGame]]] =
276[warn] 85 | val builder = games.watch(aggregate)
277[warn] 86 | since
278[warn] 87 | .fold(builder)(x => builder.startAtOperationTime(x.asBsonTimestamp))
279[warn] 88 | .fullDocument(FullDocument.UPDATE_LOOKUP) // this is required for update event
280[warn] 89 | .batchSize(config.batchSize)
281[warn] 90 | .boundedStream(config.batchSize)
282[warn] 91 | .groupWithin(config.batchSize, config.timeWindows.second)
283[warn] 92 | .evalTap(
284[warn] 93 | _.traverse_(x =>
285[warn] 94 | info"Received $x without p0 or p1 fields".whenA(x.fullDocument.exists(_.shouldDebug))
286[warn] 95 | )
287[warn] 96 | )
288[warn] 97 | .map(_.toList.distincByDocId)
289[warn] 98 | object F:
290[warn] 99 | val createdAt = "ca"
291[warn] 100 | val updatedAt = "ua"
292[warn] 101 |type PlayerId = String
293[warn] 102 |case class DbGame(
294[warn] 103 | id: String, // _id
295[warn] 104 | players: List[PlayerId], // us
296[warn] 105 | winnerId: Option[PlayerId], // wid
297[warn] 106 | createdAt: Instant, // ca
298[warn] 107 | movedAt: Instant, // ua
299[warn] 108 | ply: Int, // t
300[warn] 109 | analysed: Option[Boolean], // an
301[warn] 110 | whitePlayer: Option[DbPlayer], // p0
302[warn] 111 | blackPlayer: Option[DbPlayer], // p1
303[warn] 112 | playerIds: String, // is
304[warn] 113 | binaryPieces: Option[Array[Byte]], // ps
305[warn] 114 | huffmanPgn: Option[Array[Byte]], // hp
306[warn] 115 | status: Int, // s
307[warn] 116 | encodedClock: Option[Array[Byte]], // c
308[warn] 117 | moveTimes: Option[Array[Byte]], // mt
309[warn] 118 | encodedWhiteClock: Option[Array[Byte]], // cw
310[warn] 119 | encodedBlackClock: Option[Array[Byte]], // cb
311[warn] 120 | rated: Option[Boolean], // ra
312[warn] 121 | variant: Option[Int], // v
313[warn] 122 | source: Option[Int], // so
314[warn] 123 | winnerColor: Option[Boolean] // w
315[warn] 124 |):
316[warn] 125 | def clockConfig: Option[Config] = encodedClock.flatMap(ClockDecoder.read)
317[warn] 126 | def clockInit: Option[Int] = clockConfig.map(_.limitSeconds.value)
318[warn] 127 | def clockInc: Option[Int] = clockConfig.map(_.incrementSeconds.value)
319[warn] 128 | def whiteId: Option[PlayerId] = players.headOption
320[warn] 129 | def blackId: Option[PlayerId] = players.lift(1)
321[warn] 130 | def variantOrDefault: Variant = Variant.idOrDefault(variant.map(Variant.Id.apply))
322[warn] 131 | def speed: Speed = Speed(clockConfig)
323[warn] 132 | def loser: Option[PlayerId] = players.find(_.some != winnerId)
324[warn] 133 | def aiLevel: Option[Int] = whitePlayer.flatMap(_.aiLevel).orElse(blackPlayer.flatMap(_.aiLevel))
325[warn] 134 | def shouldDebug =
326[warn] 135 | whitePlayer.isEmpty || blackPlayer.isEmpty
327[warn] 136 |object DbGame:
328[warn] 137 | // format: off
329[warn] 138 | given Decoder[DbGame] = Decoder.forProduct21(
330[warn] 139 | "_id", "us", "wid", "ca", "ua", "t", "an", "p0", "p1", "is", "ps",
331[warn] 140 | "hp", "s", "c", "mt", "cw", "cb", "ra", "v", "so", "w")(DbGame.apply)
332[warn] 141 | // format: on
333[warn] 142 | // We don't write to the database so We don't need to implement this
334[warn] 143 | given Encoder[DbGame] = new Encoder[DbGame]:
335[warn] 144 | def apply(a: DbGame): Json = ???
336[warn] 145 |case class DbPlayer(
337[warn] 146 | rating: Option[Int],
338[warn] 147 | ratingDiff: Option[Int],
339[warn] 148 | berserk: Option[Boolean],
340[warn] 149 | aiLevel: Option[Int],
341[warn] 150 | provisional: Option[Boolean],
342[warn] 151 | name: Option[String]
343[warn] 152 |)
344[warn] 153 |object DbPlayer:
345[warn] 154 | given Decoder[DbPlayer] = Decoder.forProduct6("e", "d", "be", "ai", "p", "na")(DbPlayer.apply)
346[warn] 155 | given Encoder[DbPlayer] = Encoder.forProduct6("e", "d", "be", "ai", "p", "na")(p =>
347[warn] 156 | (p.rating, p.ratingDiff, p.berserk, p.aiLevel, p.provisional, p.name)
348[warn] 157 | )
349[warn] 158 |object ClockDecoder:
350[warn] 159 | import chess.*
351[warn] 160 | private def readClockLimit(i: Int) = Clock.LimitSeconds(if i < 181 then i * 60 else (i - 180) * 15)
352[warn] 161 | private inline def toInt(inline b: Byte): Int = b & 0xff
353[warn] 162 | def read(ba: Array[Byte]): Option[Clock.Config] =
354[warn] 163 | ba.take(2).map(toInt) match
355[warn] 164 | case Array(b1, b2) => Clock.Config(readClockLimit(b1), Clock.IncrementSeconds(b2)).some
356[warn] 165 | case _ => None
357[warn] |---------------------------------------------------------------------------
358[warn] | Explanation (enabled by `-explain`)
359[warn] |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
360[warn] | Tools may not handle directories whose names differ from their corresponding package names.
361[warn] | For example, `p-q` is encoded as `p$minusq` when written to the file system.
362[warn] |
363[warn] | Package objects derive their names from the file names, so files such as `myfile.test.scala`
364[warn] | or `myfile-test.scala` can produce encoded names for the generated package objects.
365[warn] |
366[warn] | In this case, the name `mongo.game$package` is encoded as `mongo$u002Egame$package`.
367[warn] ---------------------------------------------------------------------------
368[warn] one warning found
369[info] done compiling
370Starting build for ProjectRef(file:/build/repo/,core) (core)... [2/12]
371Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -release, 21, -indent, -rewrite, -explain, -Wall, -Xsemanticdb, -semanticdb-target, /build/repo/modules/core/target/scala-3.8.0-RC2/meta, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
372Starting build for ProjectRef(file:/build/repo/,api) (api)... [3/12]
373Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -release, 21, -indent, -rewrite, -explain, -Wall, -Xsemanticdb, -semanticdb-target, /build/repo/modules/api/target/scala-3.8.0-RC2/meta, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
374Starting build for ProjectRef(file:/build/repo/,lila-game-export) (lila-game-export)... [4/12]
375Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -release, 21, -indent, -rewrite, -explain, -Wall, -Xsemanticdb, -semanticdb-target, /build/repo/modules/lila-game-export/target/scala-3.8.0-RC2/meta, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
376[info] compiling 3 Scala sources to /build/repo/modules/lila-game-export/target/scala-3.8.0-RC2/classes ...
377[info] done compiling
378[info] compiling 1 Scala source to /build/repo/modules/lila-game-export/target/scala-3.8.0-RC2/test-classes ...
379[info] done compiling
380Starting build for ProjectRef(file:/build/repo/,root) (root)... [5/12]
381Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -Xsemanticdb, -semanticdb-target, /build/repo/target/scala-3.8.0-RC2/meta, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
382Starting build for ProjectRef(file:/build/repo/,e2e) (e2e)... [6/12]
383Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -Xsemanticdb, -semanticdb-target, /build/repo/modules/e2e/target/scala-3.8.0-RC2/meta, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
384[info] compiling 22 Scala sources to /build/repo/modules/elastic/target/scala-3.8.0-RC2/classes ...
385[info] [patched file /build/repo/modules/elastic/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/es/TextField.scala]
386[info] [patched file /build/repo/modules/elastic/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/es/BooleanField.scala]
387[info] [patched file /build/repo/modules/elastic/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/es/KeywordField.scala]
388[info] [patched file /build/repo/modules/elastic/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/es/DateField.scala]
389[info] [patched file /build/repo/modules/elastic/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/es/StudySource.scala]
390[info] [patched file /build/repo/modules/elastic/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/es/ForumSource.scala]
391[info] [patched file /build/repo/modules/elastic/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/es/IntField.scala]
392[info] [patched file /build/repo/modules/elastic/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/es/UblogSource.scala]
393[info] [patched file /build/repo/modules/elastic/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/es/GameSource.scala]
394[info] [patched file /build/repo/modules/elastic/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/es/ShortField.scala]
395[info] [patched file /build/repo/modules/elastic/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/es/TeamSource.scala]
396[info] [patched file /build/repo/modules/elastic/target/scala-3.8.0-RC2/src_managed/main/smithy4s/lila/search/es/KeywordSubfield.scala]
397[info] done compiling
398[info] compiling 11 Scala sources to /build/repo/modules/app/target/scala-3.8.0-RC2/classes ...
399[info] compiling 7 Scala sources to /build/repo/modules/ingestor-core/target/scala-3.8.0-RC2/classes ...
400[warn] -- [E222] Syntax Warning: /build/repo/modules/app/src/main/scala/http.middleware.scala:2:8
401[warn] 2 |package app
402[warn] |^
403[warn] |The package name `http.middleware$package` will be encoded on the classpath, and can lead to undefined behaviour.
404[warn] 3 |import cats.effect.IO
405[warn] 4 |import org.http4s.*
406[warn] 5 |import org.http4s.otel4s.middleware.metrics.OtelMetrics
407[warn] 6 |import org.http4s.server.middleware.*
408[warn] 7 |import org.typelevel.log4cats.LoggerFactory
409[warn] 8 |import org.typelevel.otel4s.metrics.MeterProvider
410[warn] 9 |import scala.concurrent.duration.*
411[warn] 10 |type Middleware = HttpRoutes[IO] => HttpRoutes[IO]
412[warn] 11 |def MkMiddleware(config: HttpServerConfig)(using LoggerFactory[IO], MeterProvider[IO]): IO[Middleware] =
413[warn] 12 | def verboseLogger =
414[warn] 13 | RequestLogger.httpRoutes[IO](true, true).andThen(ResponseLogger.httpRoutes[IO, Request[IO]](true, true))
415[warn] 14 | def logger =
416[warn] 15 | if config.apiLogger then verboseLogger
417[warn] 16 | else ApiErrorLogger.instance(using LoggerFactory[IO].getLogger)
418[warn] 17 | OtelMetrics
419[warn] 18 | .serverMetricsOps[IO]()
420[warn] 19 | .map(org.http4s.server.middleware.Metrics[IO](_))
421[warn] 20 | .map: metrics =>
422[warn] 21 | logger.andThen(AutoSlash(_)).andThen(Timeout(60.seconds)).andThen(metrics)
423[warn] |----------------------------------------------------------------------------
424[warn] | Explanation (enabled by `-explain`)
425[warn] |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
426[warn] | Tools may not handle directories whose names differ from their corresponding package names.
427[warn] | For example, `p-q` is encoded as `p$minusq` when written to the file system.
428[warn] |
429[warn] | Package objects derive their names from the file names, so files such as `myfile.test.scala`
430[warn] | or `myfile-test.scala` can produce encoded names for the generated package objects.
431[warn] |
432[warn] | In this case, the name `http.middleware$package` is encoded as `http$u002Emiddleware$package`.
433[warn] ----------------------------------------------------------------------------
434[warn] -- [E222] Syntax Warning: /build/repo/modules/app/src/main/scala/http.routes.prometheus.scala:2:8
435[warn] 2 |package app
436[warn] |^
437[warn] |The package name `http.routes.prometheus$package` will be encoded on the classpath, and can lead to undefined behaviour.
438[warn] 3 |import cats.effect.IO
439[warn] 4 |import org.http4s.HttpRoutes
440[warn] 5 |import org.http4s.server.Router
441[warn] 6 |import org.typelevel.otel4s.sdk.exporter.prometheus.*
442[warn] 7 |import org.typelevel.otel4s.sdk.metrics.exporter.MetricExporter
443[warn] 8 |def MkPrometheusRoutes(using exporter: MetricExporter.Pull[IO]): HttpRoutes[IO] =
444[warn] 9 | val writerConfig = PrometheusWriter.Config.default
445[warn] 10 | val prometheusRoutes = PrometheusHttpRoutes.routes[IO](exporter, writerConfig)
446[warn] 11 | Router("/metrics" -> prometheusRoutes)
447[warn] |----------------------------------------------------------------------------
448[warn] | Explanation (enabled by `-explain`)
449[warn] |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
450[warn] | Tools may not handle directories whose names differ from their corresponding package names.
451[warn] | For example, `p-q` is encoded as `p$minusq` when written to the file system.
452[warn] |
453[warn] | Package objects derive their names from the file names, so files such as `myfile.test.scala`
454[warn] | or `myfile-test.scala` can produce encoded names for the generated package objects.
455[warn] |
456[warn] | In this case, the name `http.routes.prometheus$package` is encoded as `http$u002Eroutes$u002Eprometheus$package`.
457[warn] ----------------------------------------------------------------------------
458[warn] -- [E222] Syntax Warning: /build/repo/modules/app/src/main/scala/http.routes.scala:2:8
459[warn] 2 |package app
460[warn] |^
461[warn] |The package name `http.routes$package` will be encoded on the classpath, and can lead to undefined behaviour.
462[warn] 3 |import cats.data.NonEmptyList
463[warn] 4 |import cats.effect.{ IO, Resource }
464[warn] 5 |import cats.syntax.all.*
465[warn] 6 |import lila.search.spec.*
466[warn] 7 |import org.http4s.HttpRoutes
467[warn] 8 |import org.typelevel.log4cats.LoggerFactory
468[warn] 9 |import org.typelevel.otel4s.metrics.MeterProvider
469[warn] 10 |import smithy4s.http4s.SimpleRestJsonBuilder
470[warn] 11 |def Routes(
471[warn] 12 | resources: AppResources,
472[warn] 13 | config: HttpServerConfig
473[warn] 14 |)(using LoggerFactory[IO], MeterProvider[IO]): Resource[IO, HttpRoutes[IO]] =
474[warn] 15 | val healthServiceImpl = HealthServiceImpl(resources.esClient)
475[warn] 16 | val searchServiceImpl = SearchServiceImpl(resources.esClient)
476[warn] 17 | val search: Resource[IO, HttpRoutes[IO]] =
477[warn] 18 | SimpleRestJsonBuilder.routes(searchServiceImpl).resource
478[warn] 19 | val health: Resource[IO, HttpRoutes[IO]] =
479[warn] 20 | SimpleRestJsonBuilder.routes(healthServiceImpl).resource
480[warn] 21 | def docs = smithy4s.http4s.swagger.docs[IO](SearchService, HealthService)
481[warn] 22 | val apiRoutes =
482[warn] 23 | NonEmptyList
483[warn] 24 | .of(search, health)
484[warn] 25 | .sequence
485[warn] 26 | .map(_.reduceK)
486[warn] 27 | val allRoutes =
487[warn] 28 | if config.enableDocs then apiRoutes.map(_ <+> docs)
488[warn] 29 | else apiRoutes
489[warn] 30 | allRoutes.evalMap(routes => MkMiddleware(config).map(md => md.apply(routes)))
490[warn] |----------------------------------------------------------------------------
491[warn] | Explanation (enabled by `-explain`)
492[warn] |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
493[warn] | Tools may not handle directories whose names differ from their corresponding package names.
494[warn] | For example, `p-q` is encoded as `p$minusq` when written to the file system.
495[warn] |
496[warn] | Package objects derive their names from the file names, so files such as `myfile.test.scala`
497[warn] | or `myfile-test.scala` can produce encoded names for the generated package objects.
498[warn] |
499[warn] | In this case, the name `http.routes$package` is encoded as `http$u002Eroutes$package`.
500[warn] ----------------------------------------------------------------------------
501[info] done compiling
502[info] [patched file /build/repo/modules/app/target/scala-3.8.0-RC2/src_managed/main/sbt-buildinfo/BuildInfo.scala]
503[warn] three warnings found
504[info] done compiling
505[info] compiling 22 Scala sources to /build/repo/modules/elastic/target/scala-3.8.0-RC2/classes ...
506[info] done compiling
507[info] compiling 2 Scala sources to /build/repo/modules/app/target/scala-3.8.0-RC2/classes ...
508[info] compiling 1 Scala source to /build/repo/modules/ingestor-core/target/scala-3.8.0-RC2/classes ...
509[info] done compiling
510[info] done compiling
511[info] compiling 4 Scala sources to /build/repo/modules/e2e/target/scala-3.8.0-RC2/test-classes ...
512[info] done compiling
513Starting build for ProjectRef(file:/build/repo/,ingestor-cli) (lila-search-cli)... [7/12]
514Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -release, 21, -indent, -rewrite, -explain, -Wall, -Xsemanticdb, -semanticdb-target, /build/repo/modules/ingestor-cli/target/scala-3.8.0-RC2/meta, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
515[info] compiling 3 Scala sources to /build/repo/modules/ingestor-cli/target/scala-3.8.0-RC2/classes ...
516[info] [patched file /build/repo/modules/ingestor-cli/target/scala-3.8.0-RC2/src_managed/main/sbt-buildinfo/BuildInfo.scala]
517[info] done compiling
518[info] compiling 1 Scala source to /build/repo/modules/ingestor-cli/target/scala-3.8.0-RC2/classes ...
519[info] done compiling
520[info] compiling 1 Scala source to /build/repo/modules/ingestor-cli/target/scala-3.8.0-RC2/test-classes ...
521[info] done compiling
522Starting build for ProjectRef(file:/build/repo/,app) (lila-search-app)... [8/12]
523Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -release, 21, -indent, -rewrite, -explain, -Wall, -Xsemanticdb, -semanticdb-target, /build/repo/modules/app/target/scala-3.8.0-RC2/meta, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
524Starting build for ProjectRef(file:/build/repo/,ingestor-app) (lila-search-ingestor)... [9/12]
525Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -release, 21, -indent, -rewrite, -explain, -Wall, -Xsemanticdb, -semanticdb-target, /build/repo/modules/ingestor-app/target/scala-3.8.0-RC2/meta, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
526[info] compiling 2 Scala sources to /build/repo/modules/ingestor-app/target/scala-3.8.0-RC2/classes ...
527[info] [patched file /build/repo/modules/ingestor-app/target/scala-3.8.0-RC2/src_managed/main/sbt-buildinfo/BuildInfo.scala]
528[info] done compiling
529[info] compiling 1 Scala source to /build/repo/modules/ingestor-app/target/scala-3.8.0-RC2/classes ...
530[info] done compiling
531Starting build for ProjectRef(file:/build/repo/,ingestor-core) (ingestor-core)... [10/12]
532Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -release, 21, -indent, -rewrite, -explain, -Wall, -Xsemanticdb, -semanticdb-target, /build/repo/modules/ingestor-core/target/scala-3.8.0-RC2/meta, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
533[info] compiling 1 Scala source to /build/repo/modules/ingestor-core/target/scala-3.8.0-RC2/test-classes ...
534[info] done compiling
535Starting build for ProjectRef(file:/build/repo/,elastic) (elastic)... [11/12]
536Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -release, 21, -indent, -rewrite, -explain, -Wall, -Xsemanticdb, -semanticdb-target, /build/repo/modules/elastic/target/scala-3.8.0-RC2/meta, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
537[info] compiling 2 Scala sources to /build/repo/modules/elastic/target/scala-3.8.0-RC2/test-classes ...
538[info] done compiling
539
540************************
541Build summary:
542[{
543 "module": "client",
544 "compile": {"status": "ok", "tookMs": 24321, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
545 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
546 "test-compile": {"status": "ok", "tookMs": 2284, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
547 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
548 "publish": {"status": "skipped", "tookMs": 0},
549 "metadata": {
550 "crossScalaVersions": ["3.7.4"]
551}
552},{
553 "module": "lila-mongo",
554 "compile": {"status": "ok", "tookMs": 5956, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
555 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
556 "test-compile": {"status": "ok", "tookMs": 209, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
557 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
558 "publish": {"status": "ok", "tookMs": 3},
559 "metadata": {
560 "crossScalaVersions": ["3.7.4"]
561}
562},{
563 "module": "core",
564 "compile": {"status": "ok", "tookMs": 126, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
565 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
566 "test-compile": {"status": "ok", "tookMs": 165, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
567 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
568 "publish": {"status": "skipped", "tookMs": 0},
569 "metadata": {
570 "crossScalaVersions": ["3.7.4"]
571}
572},{
573 "module": "api",
574 "compile": {"status": "ok", "tookMs": 220, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
575 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
576 "test-compile": {"status": "ok", "tookMs": 261, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
577 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
578 "publish": {"status": "skipped", "tookMs": 0},
579 "metadata": {
580 "crossScalaVersions": ["3.7.4"]
581}
582},{
583 "module": "lila-game-export",
584 "compile": {"status": "ok", "tookMs": 2112, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
585 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
586 "test-compile": {"status": "ok", "tookMs": 1600, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
587 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
588 "publish": {"status": "ok", "tookMs": 3},
589 "metadata": {
590 "crossScalaVersions": ["3.7.4"]
591}
592},{
593 "module": "root",
594 "compile": {"status": "ok", "tookMs": 51, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
595 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
596 "test-compile": {"status": "ok", "tookMs": 59, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
597 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
598 "publish": {"status": "ok", "tookMs": 2},
599 "metadata": {
600 "crossScalaVersions": ["3.7.4"]
601}
602},{
603 "module": "e2e",
604 "compile": {"status": "ok", "tookMs": 11038, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
605 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
606 "test-compile": {"status": "ok", "tookMs": 9295, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
607 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
608 "publish": {"status": "ok", "tookMs": 3},
609 "metadata": {
610 "crossScalaVersions": ["3.7.4"]
611}
612},{
613 "module": "lila-search-cli",
614 "compile": {"status": "ok", "tookMs": 1551, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
615 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
616 "test-compile": {"status": "ok", "tookMs": 1824, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
617 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
618 "publish": {"status": "ok", "tookMs": 2},
619 "metadata": {
620 "crossScalaVersions": ["3.7.4"]
621}
622},{
623 "module": "lila-search-app",
624 "compile": {"status": "ok", "tookMs": 318, "warnings": 3, "errors": 0, "sourceVersion": "3.8"},
625 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
626 "test-compile": {"status": "ok", "tookMs": 367, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
627 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
628 "publish": {"status": "ok", "tookMs": 3},
629 "metadata": {
630 "crossScalaVersions": ["3.7.4"]
631}
632},{
633 "module": "lila-search-ingestor",
634 "compile": {"status": "ok", "tookMs": 1154, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
635 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
636 "test-compile": {"status": "ok", "tookMs": 838, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
637 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
638 "publish": {"status": "ok", "tookMs": 2},
639 "metadata": {
640 "crossScalaVersions": ["3.7.4"]
641}
642},{
643 "module": "ingestor-core",
644 "compile": {"status": "ok", "tookMs": 541, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
645 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
646 "test-compile": {"status": "ok", "tookMs": 1582, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
647 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
648 "publish": {"status": "ok", "tookMs": 2},
649 "metadata": {
650 "crossScalaVersions": ["3.7.4"]
651}
652},{
653 "module": "elastic",
654 "compile": {"status": "ok", "tookMs": 261, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
655 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
656 "test-compile": {"status": "ok", "tookMs": 1507, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
657 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
658 "publish": {"status": "ok", "tookMs": 2},
659 "metadata": {
660 "crossScalaVersions": ["3.7.4"]
661}
662}]
663************************
664[success] Total time: 182 s (0:03:02.0), completed Nov 25, 2025, 5:02:19 PM
665[0JChecking patch project/plugins.sbt...
666Checking patch build.sbt...
667Applied patch project/plugins.sbt cleanly.
668Applied patch build.sbt cleanly.