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