Build Logs
zeal18/zio-mongodb • scheduled_3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY
Errors
24
Warnings
1442
Total Lines
1654
1##################################
2Clonning https://github.com/zeal18/zio-mongodb.git into /build/repo using revision v0.11.4
3##################################
4Note: switching to '5ac84fc8bc406e7bee4809028c7b9d5c9b6b372d'.
5
6You are in 'detached HEAD' state. You can look around, make experimental
7changes and commit them, and you can discard any commits you make in this
8state without impacting any branches by switching back to a branch.
9
10If you want to create a new branch to retain commits you create, you may
11do so (now or later) by using -c with the switch command. Example:
12
13 git switch -c <new-branch-name>
14
15Or undo this operation with:
16
17 git switch -
18
19Turn off this advice by setting config variable advice.detachedHead to false
20
21Would override fixed Scala version: 3.3.7
22----
23Preparing build for 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY
24Scala binary version found: 3.8
25Implicitly using source version 3.8
26Scala binary version found: 3.8
27Implicitly using source version 3.8
28Would try to apply common scalacOption (best-effort, sbt/mill only):
29Append: ,REQUIRE:-source:3.8
30Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
31
32Try apply source patch:
33Path: build.sbt
34Pattern: val scala3 = "3.3.7"
35Replacement: val scala3 = "3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY"
36Starting compilation server
37Compiling project (Scala 3.7.3, JVM (25))
38Compiled project (Scala 3.7.3, JVM (25))
39WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
40WARNING: sun.misc.Unsafe::objectFieldOffset has been called by scala.runtime.LazyVals$ (file:/root/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala3-library_3/3.7.3/scala3-library_3-3.7.3.jar)
41WARNING: Please consider reporting this to the maintainers of class scala.runtime.LazyVals$
42WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
43Successfully applied pattern 'val scala3 = "3.3.7"' in build.sbt
44----
45Starting build for 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY
46Execute tests: false
47sbt project found:
48No prepare script found for project zeal18/zio-mongodb
49##################################
50Scala version: 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY
51Targets: io.github.zeal18%zio-mongodb-bson io.github.zeal18%zio-mongodb-driver io.github.zeal18%zio-mongodb-testkit
52Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"25"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.7\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
53##################################
54Using extra scalacOptions: ,REQUIRE:-source:3.8
55Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
56[sbt_options] declare -a sbt_options=()
57[process_args] java_version = '25'
58[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_25/rt.jar'
59# Executing command line:
60java
61-Dfile.encoding=UTF-8
62-Dcommunitybuild.scala=3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY
63-Dcommunitybuild.project.dependencies.add=
64-Xmx7G
65-Xms4G
66-Xss8M
67-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
68-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_25
69-jar
70/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
71"setCrossScalaVersions 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY"
72"++3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY -v"
73"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
74"set every credentials := Nil"
75"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
76"removeScalacOptionsStartingWith -P:wartremover"
77
78moduleMappings
79"runBuild 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"25"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.7\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}""" io.github.zeal18%zio-mongodb-bson io.github.zeal18%zio-mongodb-driver io.github.zeal18%zio-mongodb-testkit"
80
81[info] [launcher] getting org.scala-sbt sbt 1.11.7 (this may take some time)...
82WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
83WARNING: 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)
84WARNING: Please consider reporting this to the maintainers of class net.openhft.hashing.UnsafeAccess
85WARNING: sun.misc.Unsafe::arrayBaseOffset will be removed in a future release
86WARNING: A restricted method in java.lang.System has been called
87WARNING: 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)
88WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
89WARNING: Restricted methods will be blocked in a future release unless native access is enabled
90
91[info] welcome to sbt 1.11.7 (Eclipse Adoptium Java 25)
92[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
93[info] loading project definition from /build/repo/project
94[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
95[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
96[info] Compilation completed in 8.503s.
97[info] done compiling
98[info] loading settings for project root from build.sbt...
99[info] set current project to root (in build file:/build/repo/)
100Execute setCrossScalaVersions: 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY
101OpenCB::Changing crossVersion 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY -> 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY in driver/crossScalaVersions
102OpenCB::Changing crossVersion 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY -> 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY in driverItTests/crossScalaVersions
103OpenCB::Changing crossVersion 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY -> 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY in bson/crossScalaVersions
104OpenCB::Changing crossVersion 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY -> 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY in root/crossScalaVersions
105OpenCB::Changing crossVersion 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY -> 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY in testkit/crossScalaVersions
106[info] set current project to root (in build file:/build/repo/)
107[info] Setting Scala version to 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY on 5 projects.
108[info] Switching Scala version on:
109[info] * root (2.13.17, 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY)
110[info] bson (2.13.17, 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY)
111[info] driver (2.13.17, 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY)
112[info] driverItTests (2.13.17, 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY)
113[info] testkit (2.13.17, 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY)
114[info] Excluding projects:
115[info] Reapplying settings...
116[info] set current project to root (in build file:/build/repo/)
117Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
118[info] Reapplying settings...
119[info] set current project to root (in build file:/build/repo/)
120[info] Defining Global / credentials, bson / credentials and 3 others.
121[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 44 others.
122[info] Run `last` for details.
123[info] Reapplying settings...
124[info] set current project to root (in build file:/build/repo/)
125Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
126[info] Reapplying settings...
127OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
128
129 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
130 Did you mean allExcludeDependencies ?
131 , retry without global scopes
132[info] Reapplying settings...
133[info] set current project to root (in build file:/build/repo/)
134Execute removeScalacOptionsStartingWith: -P:wartremover
135[info] Reapplying settings...
136[info] set current project to root (in build file:/build/repo/)
137[success] Total time: 0 s, completed Dec 28, 2025, 5:07:28 PM
138Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"25"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.7\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
139Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
140Starting build...
141Projects: Set(bson, driver, testkit)
142Starting build for ProjectRef(file:/build/repo/,bson) (zio-mongodb-bson)... [0/3]
143OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
144OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
145OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
146Compile 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, -Xmax-inlines:64, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
147[info] compiling 43 Scala sources to /build/repo/bson/target/scala-3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY/classes ...
148[warn] -- Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/BaseDocument.scala:143:10
149[warn] 143 | @nowarn("cat=unused")
150[warn] | ^^^^^^^^^^^^
151[warn] | Invalid message filter
152[warn] | unknown category: unused
153[warn] -- [E175] Potential Issue Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/mutable/Document.scala:249:37
154[warn] 249 | if (!p(k, v)) underlying.remove(k)
155[warn] | ^^^^^^^^^^^^^^^^^^^^
156[warn] |discarded non-Unit value of type org.bson.BsonValue. Add `: Unit` to discard silently.
157[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/EasierValDef.scala:41:28
158[warn] 41 | import quotes.reflect.*
159[warn] | ^
160[warn] | unused import
161[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:3:20
162[warn] 3 |import EasierValDef.*
163[warn] | ^
164[warn] | unused import
165[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:7:54
166[warn] 7 |import io.github.zeal18.zio.mongodb.bson.codecs.error.BsonError
167[warn] | ^^^^^^^^^
168[warn] | unused import
169[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:8:16
170[warn] 8 |import org.bson.BsonInvalidOperationException
171[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
172[warn] | unused import
173[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:10:16
174[warn] 10 |import org.bson.BsonSerializationException
175[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
176[warn] | unused import
177[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:11:16
178[warn] 11 |import org.bson.BsonType
179[warn] | ^^^^^^^^
180[warn] | unused import
181[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:16:24
182[warn] 16 |import scala.annotation.tailrec
183[warn] | ^^^^^^^
184[warn] | unused import
185[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:18:22
186[warn] 18 |import scala.deriving.*
187[warn] | ^
188[warn] | unused import
189[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:115:10
190[warn] 115 | val fieldTypes = filedsToProcess.map(t => caseClass.memberType(t))
191[warn] | ^^^^^^^^^^
192[warn] | unused local definition
193[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:121:16
194[warn] 121 | val paramTypeInfo = TypeInfo[t]
195[warn] | ^^^^^^^^^^^^^
196[warn] | unused local definition
197[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:181:8
198[warn] 181 | val caseClass = TypeRepr.of[A]
199[warn] | ^^^^^^^^^
200[warn] | unused local definition
201[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:187:23
202[warn] 187 | import f.{Type as F, typeInstance}
203[warn] | ^^^^^^^^^
204[warn] | unused import
205[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:296:8
206[warn] 296 | val enumSymbol = TypeRepr.of[A].typeSymbol
207[warn] | ^^^^^^^^^^
208[warn] | unused local definition
209[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:358:25
210[warn] 358 | import field.{Type as F, typeInstance}
211[warn] | ^^^^^^^^^
212[warn] | unused import
213[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:390:29
214[warn] 390 | import field.{Type as F, typeInstance}
215[warn] | ^^^^^^^^^
216[warn] | unused import
217[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:392:14
218[warn] 392 | val symbol = fieldSymbol(field)
219[warn] | ^^^^^^
220[warn] | unused local definition
221[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:505:21
222[warn] 505 | import f.{Type as F, typeInstance}
223[warn] | ^^^^^^^^^
224[warn] | unused import
225[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Field.scala:24:6
226[warn] 24 | (Type.of[Ls], Type.of[Ts]) match
227[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
228[warn] | match may not be exhaustive.
229[warn] |
230[warn] | It would fail on pattern case: (_, _)
231[warn] |
232[warn] | longer explanation available when compiling with `-explain`
233[info] done compiling
234[warn] 20 warnings found
235[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:3:20
236[warn] 3 |import EasierValDef.*
237[warn] | ^
238[warn] | unused import
239[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:7:54
240[warn] 7 |import io.github.zeal18.zio.mongodb.bson.codecs.error.BsonError
241[warn] | ^^^^^^^^^
242[warn] | unused import
243[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:8:16
244[warn] 8 |import org.bson.BsonInvalidOperationException
245[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
246[warn] | unused import
247[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:10:16
248[warn] 10 |import org.bson.BsonSerializationException
249[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
250[warn] | unused import
251[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:11:16
252[warn] 11 |import org.bson.BsonType
253[warn] | ^^^^^^^^
254[warn] | unused import
255[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:16:24
256[warn] 16 |import scala.annotation.tailrec
257[warn] | ^^^^^^^
258[warn] | unused import
259[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:18:22
260[warn] 18 |import scala.deriving.*
261[warn] | ^
262[warn] | unused import
263[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:115:10
264[warn] 115 | val fieldTypes = filedsToProcess.map(t => caseClass.memberType(t))
265[warn] | ^^^^^^^^^^
266[warn] | unused local definition
267[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:121:16
268[warn] 121 | val paramTypeInfo = TypeInfo[t]
269[warn] | ^^^^^^^^^^^^^
270[warn] | unused local definition
271[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:181:8
272[warn] 181 | val caseClass = TypeRepr.of[A]
273[warn] | ^^^^^^^^^
274[warn] | unused local definition
275[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:187:23
276[warn] 187 | import f.{Type as F, typeInstance}
277[warn] | ^^^^^^^^^
278[warn] | unused import
279[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:296:8
280[warn] 296 | val enumSymbol = TypeRepr.of[A].typeSymbol
281[warn] | ^^^^^^^^^^
282[warn] | unused local definition
283[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:358:25
284[warn] 358 | import field.{Type as F, typeInstance}
285[warn] | ^^^^^^^^^
286[warn] | unused import
287[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:390:29
288[warn] 390 | import field.{Type as F, typeInstance}
289[warn] | ^^^^^^^^^
290[warn] | unused import
291[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:392:14
292[warn] 392 | val symbol = fieldSymbol(field)
293[warn] | ^^^^^^
294[warn] | unused local definition
295[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:505:21
296[warn] 505 | import f.{Type as F, typeInstance}
297[warn] | ^^^^^^^^^
298[warn] | unused import
299[warn] -- [E175] Potential Issue Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/mutable/Document.scala:249:37
300[warn] 249 | if (!p(k, v)) underlying.remove(k)
301[warn] | ^^^^^^^^^^^^^^^^^^^^
302[warn] |discarded non-Unit value of type org.bson.BsonValue. Add `: Unit` to discard silently.
303[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Field.scala:24:6
304[warn] 24 | (Type.of[Ls], Type.of[Ts]) match
305[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
306[warn] | match may not be exhaustive.
307[warn] |
308[warn] | It would fail on pattern case: (_, _)
309[warn] |
310[warn] | longer explanation available when compiling with `-explain`
311[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/EasierValDef.scala:41:28
312[warn] 41 | import quotes.reflect.*
313[warn] | ^
314[warn] | unused import
315[warn] -- Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/BaseDocument.scala:143:10
316[warn] 143 | @nowarn("cat=unused")
317[warn] | ^^^^^^^^^^^^
318[warn] | Invalid message filter
319[warn] | unknown category: unused
320[warn] 20 warnings found
321[info] compiling 17 Scala sources to /build/repo/bson/target/scala-3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY/test-classes ...
322[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:7:24
323[warn] 7 |import scala.annotation.nowarn
324[warn] | ^^^^^^
325[warn] | unused import
326[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:43:9
327[warn] 43 | ),
328[warn] | ^
329[warn] | unused local definition
330[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:78:9
331[warn] 78 | ),
332[warn] | ^
333[warn] | unused local definition
334[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:103:9
335[warn] 103 | ),
336[warn] | ^
337[warn] | unused local definition
338[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:136:9
339[warn] 136 | ),
340[warn] | ^
341[warn] | unused local definition
342[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:169:9
343[warn] 169 | ),
344[warn] | ^
345[warn] | unused local definition
346[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:193:9
347[warn] 193 | ),
348[warn] | ^
349[warn] | unused local definition
350[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:20:65
351[warn] 20 | case class DefaultField(a: Int, d: String = "default") derives Codec
352[warn] | ^
353[warn] | unused local definition
354[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:45:23
355[warn] 45 | enum Scala3ParamEnum(a: Int) derives Codec:
356[warn] | ^
357[warn] | unused explicit parameter
358[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:56:47
359[warn] 56 | given Codec[MixedCoproduct] = Codec.derived[MixedCoproduct]
360[warn] | ^^^
361[warn] | unused local definition
362[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:64:52
363[warn] 64 | given Codec[Scala3CoproductEnum] = Codec.derived[Scala3CoproductEnum]
364[warn] | ^^^
365[warn] | unused local definition
366[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:67:48
367[warn] 67 | sealed private trait ComplexCoproduct derives Codec
368[warn] | ^
369[warn] | unused local definition
370[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:106:42
371[warn] 106 | case class WithoutCodec(a: Int) derives Codec
372[warn] | ^
373[warn] | unused local definition
374[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:107:74
375[warn] 107 | case class CaseClassWithOption(a: Option[WithoutCodec], b: Int) derives Codec
376[warn] | ^
377[warn] | unused local definition
378[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:114:84
379[warn] 114 | case class CaseClassWithOverridedChild(a: Option[OverridedChild], b: Int) derives Codec
380[warn] | ^
381[warn] | unused local definition
382[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:116:39
383[warn] 116 | case class ListChild(a: Int) derives Codec
384[warn] | ^
385[warn] | unused local definition
386[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:117:81
387[warn] 117 | case class CaseClassWithOptionList(a: Option[List[ListChild]], b: Int) derives Codec
388[warn] | ^
389[warn] | unused local definition
390[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:119:67
391[warn] 119 | case class PropertyAnnotation(@BsonProperty("b") a: Int) derives Codec
392[warn] | ^
393[warn] | unused local definition
394[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:120:70
395[warn] 120 | case class IgnoreAnnotation(a: Int, @BsonIgnore b: Int = 0) derives Codec
396[warn] | ^
397[warn] | unused local definition
398[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:121:50
399[warn] 121 | case class IdAnnotation(@BsonId a: Int) derives Codec
400[warn] | ^
401[warn] | unused local definition
402[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:126:89
403[warn] 126 | testCodecRoundtrip("simple case class", Simple(1, "2"), """{"a": 1, "b": "2"}"""),
404[warn] | ^
405[warn] | unused local definition
406[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:131:9
407[warn] 131 | ),
408[warn] | ^
409[warn] | unused local definition
410[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:137:11
411[warn] 137 | ),
412[warn] | ^
413[warn] | unused local definition
414[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:139:72
415[warn] 139 | testCodecRoundtrip("generic", Generic[Int](43), """{"a": 43}"""),
416[warn] | ^
417[warn] | unused local definition
418[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:140:93
419[warn] 140 | testCodecRoundtrip("varargs field", VarargsField(1, 3, 42), """{"va": [1, 3, 42]}"""),
420[warn] | ^
421[warn] | unused local definition
422[info] done compiling
423[warn] 25 warnings found
424[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:3:20
425[warn] 3 |import EasierValDef.*
426[warn] | ^
427[warn] | unused import
428[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:7:54
429[warn] 7 |import io.github.zeal18.zio.mongodb.bson.codecs.error.BsonError
430[warn] | ^^^^^^^^^
431[warn] | unused import
432[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:8:16
433[warn] 8 |import org.bson.BsonInvalidOperationException
434[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
435[warn] | unused import
436[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:10:16
437[warn] 10 |import org.bson.BsonSerializationException
438[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
439[warn] | unused import
440[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:11:16
441[warn] 11 |import org.bson.BsonType
442[warn] | ^^^^^^^^
443[warn] | unused import
444[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:16:24
445[warn] 16 |import scala.annotation.tailrec
446[warn] | ^^^^^^^
447[warn] | unused import
448[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:18:22
449[warn] 18 |import scala.deriving.*
450[warn] | ^
451[warn] | unused import
452[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:115:10
453[warn] 115 | val fieldTypes = filedsToProcess.map(t => caseClass.memberType(t))
454[warn] | ^^^^^^^^^^
455[warn] | unused local definition
456[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:121:16
457[warn] 121 | val paramTypeInfo = TypeInfo[t]
458[warn] | ^^^^^^^^^^^^^
459[warn] | unused local definition
460[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:181:8
461[warn] 181 | val caseClass = TypeRepr.of[A]
462[warn] | ^^^^^^^^^
463[warn] | unused local definition
464[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:187:23
465[warn] 187 | import f.{Type as F, typeInstance}
466[warn] | ^^^^^^^^^
467[warn] | unused import
468[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:296:8
469[warn] 296 | val enumSymbol = TypeRepr.of[A].typeSymbol
470[warn] | ^^^^^^^^^^
471[warn] | unused local definition
472[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:358:25
473[warn] 358 | import field.{Type as F, typeInstance}
474[warn] | ^^^^^^^^^
475[warn] | unused import
476[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:390:29
477[warn] 390 | import field.{Type as F, typeInstance}
478[warn] | ^^^^^^^^^
479[warn] | unused import
480[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:392:14
481[warn] 392 | val symbol = fieldSymbol(field)
482[warn] | ^^^^^^
483[warn] | unused local definition
484[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:505:21
485[warn] 505 | import f.{Type as F, typeInstance}
486[warn] | ^^^^^^^^^
487[warn] | unused import
488[warn] -- [E175] Potential Issue Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/mutable/Document.scala:249:37
489[warn] 249 | if (!p(k, v)) underlying.remove(k)
490[warn] | ^^^^^^^^^^^^^^^^^^^^
491[warn] |discarded non-Unit value of type org.bson.BsonValue. Add `: Unit` to discard silently.
492[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Field.scala:24:6
493[warn] 24 | (Type.of[Ls], Type.of[Ts]) match
494[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
495[warn] | match may not be exhaustive.
496[warn] |
497[warn] | It would fail on pattern case: (_, _)
498[warn] |
499[warn] | longer explanation available when compiling with `-explain`
500[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/EasierValDef.scala:41:28
501[warn] 41 | import quotes.reflect.*
502[warn] | ^
503[warn] | unused import
504[warn] -- Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/BaseDocument.scala:143:10
505[warn] 143 | @nowarn("cat=unused")
506[warn] | ^^^^^^^^^^^^
507[warn] | Invalid message filter
508[warn] | unknown category: unused
509[warn] 20 warnings found
510[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:7:24
511[warn] 7 |import scala.annotation.nowarn
512[warn] | ^^^^^^
513[warn] | unused import
514[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:43:9
515[warn] 43 | ),
516[warn] | ^
517[warn] | unused local definition
518[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:78:9
519[warn] 78 | ),
520[warn] | ^
521[warn] | unused local definition
522[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:103:9
523[warn] 103 | ),
524[warn] | ^
525[warn] | unused local definition
526[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:136:9
527[warn] 136 | ),
528[warn] | ^
529[warn] | unused local definition
530[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:169:9
531[warn] 169 | ),
532[warn] | ^
533[warn] | unused local definition
534[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:193:9
535[warn] 193 | ),
536[warn] | ^
537[warn] | unused local definition
538[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:20:65
539[warn] 20 | case class DefaultField(a: Int, d: String = "default") derives Codec
540[warn] | ^
541[warn] | unused local definition
542[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:45:23
543[warn] 45 | enum Scala3ParamEnum(a: Int) derives Codec:
544[warn] | ^
545[warn] | unused explicit parameter
546[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:56:47
547[warn] 56 | given Codec[MixedCoproduct] = Codec.derived[MixedCoproduct]
548[warn] | ^^^
549[warn] | unused local definition
550[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:64:52
551[warn] 64 | given Codec[Scala3CoproductEnum] = Codec.derived[Scala3CoproductEnum]
552[warn] | ^^^
553[warn] | unused local definition
554[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:67:48
555[warn] 67 | sealed private trait ComplexCoproduct derives Codec
556[warn] | ^
557[warn] | unused local definition
558[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:106:42
559[warn] 106 | case class WithoutCodec(a: Int) derives Codec
560[warn] | ^
561[warn] | unused local definition
562[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:107:74
563[warn] 107 | case class CaseClassWithOption(a: Option[WithoutCodec], b: Int) derives Codec
564[warn] | ^
565[warn] | unused local definition
566[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:114:84
567[warn] 114 | case class CaseClassWithOverridedChild(a: Option[OverridedChild], b: Int) derives Codec
568[warn] | ^
569[warn] | unused local definition
570[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:116:39
571[warn] 116 | case class ListChild(a: Int) derives Codec
572[warn] | ^
573[warn] | unused local definition
574[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:117:81
575[warn] 117 | case class CaseClassWithOptionList(a: Option[List[ListChild]], b: Int) derives Codec
576[warn] | ^
577[warn] | unused local definition
578[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:119:67
579[warn] 119 | case class PropertyAnnotation(@BsonProperty("b") a: Int) derives Codec
580[warn] | ^
581[warn] | unused local definition
582[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:120:70
583[warn] 120 | case class IgnoreAnnotation(a: Int, @BsonIgnore b: Int = 0) derives Codec
584[warn] | ^
585[warn] | unused local definition
586[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:121:50
587[warn] 121 | case class IdAnnotation(@BsonId a: Int) derives Codec
588[warn] | ^
589[warn] | unused local definition
590[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:126:89
591[warn] 126 | testCodecRoundtrip("simple case class", Simple(1, "2"), """{"a": 1, "b": "2"}"""),
592[warn] | ^
593[warn] | unused local definition
594[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:131:9
595[warn] 131 | ),
596[warn] | ^
597[warn] | unused local definition
598[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:137:11
599[warn] 137 | ),
600[warn] | ^
601[warn] | unused local definition
602[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:139:72
603[warn] 139 | testCodecRoundtrip("generic", Generic[Int](43), """{"a": 43}"""),
604[warn] | ^
605[warn] | unused local definition
606[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:140:93
607[warn] 140 | testCodecRoundtrip("varargs field", VarargsField(1, 3, 42), """{"va": [1, 3, 42]}"""),
608[warn] | ^
609[warn] | unused local definition
610[warn] 25 warnings found
611[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:3:20
612[warn] 3 |import EasierValDef.*
613[warn] | ^
614[warn] | unused import
615[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:7:54
616[warn] 7 |import io.github.zeal18.zio.mongodb.bson.codecs.error.BsonError
617[warn] | ^^^^^^^^^
618[warn] | unused import
619[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:8:16
620[warn] 8 |import org.bson.BsonInvalidOperationException
621[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
622[warn] | unused import
623[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:10:16
624[warn] 10 |import org.bson.BsonSerializationException
625[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
626[warn] | unused import
627[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:11:16
628[warn] 11 |import org.bson.BsonType
629[warn] | ^^^^^^^^
630[warn] | unused import
631[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:16:24
632[warn] 16 |import scala.annotation.tailrec
633[warn] | ^^^^^^^
634[warn] | unused import
635[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:18:22
636[warn] 18 |import scala.deriving.*
637[warn] | ^
638[warn] | unused import
639[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:115:10
640[warn] 115 | val fieldTypes = filedsToProcess.map(t => caseClass.memberType(t))
641[warn] | ^^^^^^^^^^
642[warn] | unused local definition
643[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:121:16
644[warn] 121 | val paramTypeInfo = TypeInfo[t]
645[warn] | ^^^^^^^^^^^^^
646[warn] | unused local definition
647[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:181:8
648[warn] 181 | val caseClass = TypeRepr.of[A]
649[warn] | ^^^^^^^^^
650[warn] | unused local definition
651[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:187:23
652[warn] 187 | import f.{Type as F, typeInstance}
653[warn] | ^^^^^^^^^
654[warn] | unused import
655[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:296:8
656[warn] 296 | val enumSymbol = TypeRepr.of[A].typeSymbol
657[warn] | ^^^^^^^^^^
658[warn] | unused local definition
659[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:358:25
660[warn] 358 | import field.{Type as F, typeInstance}
661[warn] | ^^^^^^^^^
662[warn] | unused import
663[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:390:29
664[warn] 390 | import field.{Type as F, typeInstance}
665[warn] | ^^^^^^^^^
666[warn] | unused import
667[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:392:14
668[warn] 392 | val symbol = fieldSymbol(field)
669[warn] | ^^^^^^
670[warn] | unused local definition
671[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:505:21
672[warn] 505 | import f.{Type as F, typeInstance}
673[warn] | ^^^^^^^^^
674[warn] | unused import
675[warn] -- [E175] Potential Issue Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/mutable/Document.scala:249:37
676[warn] 249 | if (!p(k, v)) underlying.remove(k)
677[warn] | ^^^^^^^^^^^^^^^^^^^^
678[warn] |discarded non-Unit value of type org.bson.BsonValue. Add `: Unit` to discard silently.
679[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Field.scala:24:6
680[warn] 24 | (Type.of[Ls], Type.of[Ts]) match
681[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
682[warn] | match may not be exhaustive.
683[warn] |
684[warn] | It would fail on pattern case: (_, _)
685[warn] |
686[warn] | longer explanation available when compiling with `-explain`
687[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/EasierValDef.scala:41:28
688[warn] 41 | import quotes.reflect.*
689[warn] | ^
690[warn] | unused import
691[warn] -- Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/BaseDocument.scala:143:10
692[warn] 143 | @nowarn("cat=unused")
693[warn] | ^^^^^^^^^^^^
694[warn] | Invalid message filter
695[warn] | unknown category: unused
696[warn] 20 warnings found
697[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:7:24
698[warn] 7 |import scala.annotation.nowarn
699[warn] | ^^^^^^
700[warn] | unused import
701[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:43:9
702[warn] 43 | ),
703[warn] | ^
704[warn] | unused local definition
705[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:78:9
706[warn] 78 | ),
707[warn] | ^
708[warn] | unused local definition
709[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:103:9
710[warn] 103 | ),
711[warn] | ^
712[warn] | unused local definition
713[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:136:9
714[warn] 136 | ),
715[warn] | ^
716[warn] | unused local definition
717[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:169:9
718[warn] 169 | ),
719[warn] | ^
720[warn] | unused local definition
721[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:193:9
722[warn] 193 | ),
723[warn] | ^
724[warn] | unused local definition
725[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:20:65
726[warn] 20 | case class DefaultField(a: Int, d: String = "default") derives Codec
727[warn] | ^
728[warn] | unused local definition
729[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:45:23
730[warn] 45 | enum Scala3ParamEnum(a: Int) derives Codec:
731[warn] | ^
732[warn] | unused explicit parameter
733[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:56:47
734[warn] 56 | given Codec[MixedCoproduct] = Codec.derived[MixedCoproduct]
735[warn] | ^^^
736[warn] | unused local definition
737[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:64:52
738[warn] 64 | given Codec[Scala3CoproductEnum] = Codec.derived[Scala3CoproductEnum]
739[warn] | ^^^
740[warn] | unused local definition
741[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:67:48
742[warn] 67 | sealed private trait ComplexCoproduct derives Codec
743[warn] | ^
744[warn] | unused local definition
745[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:106:42
746[warn] 106 | case class WithoutCodec(a: Int) derives Codec
747[warn] | ^
748[warn] | unused local definition
749[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:107:74
750[warn] 107 | case class CaseClassWithOption(a: Option[WithoutCodec], b: Int) derives Codec
751[warn] | ^
752[warn] | unused local definition
753[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:114:84
754[warn] 114 | case class CaseClassWithOverridedChild(a: Option[OverridedChild], b: Int) derives Codec
755[warn] | ^
756[warn] | unused local definition
757[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:116:39
758[warn] 116 | case class ListChild(a: Int) derives Codec
759[warn] | ^
760[warn] | unused local definition
761[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:117:81
762[warn] 117 | case class CaseClassWithOptionList(a: Option[List[ListChild]], b: Int) derives Codec
763[warn] | ^
764[warn] | unused local definition
765[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:119:67
766[warn] 119 | case class PropertyAnnotation(@BsonProperty("b") a: Int) derives Codec
767[warn] | ^
768[warn] | unused local definition
769[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:120:70
770[warn] 120 | case class IgnoreAnnotation(a: Int, @BsonIgnore b: Int = 0) derives Codec
771[warn] | ^
772[warn] | unused local definition
773[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:121:50
774[warn] 121 | case class IdAnnotation(@BsonId a: Int) derives Codec
775[warn] | ^
776[warn] | unused local definition
777[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:126:89
778[warn] 126 | testCodecRoundtrip("simple case class", Simple(1, "2"), """{"a": 1, "b": "2"}"""),
779[warn] | ^
780[warn] | unused local definition
781[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:131:9
782[warn] 131 | ),
783[warn] | ^
784[warn] | unused local definition
785[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:137:11
786[warn] 137 | ),
787[warn] | ^
788[warn] | unused local definition
789[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:139:72
790[warn] 139 | testCodecRoundtrip("generic", Generic[Int](43), """{"a": 43}"""),
791[warn] | ^
792[warn] | unused local definition
793[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:140:93
794[warn] 140 | testCodecRoundtrip("varargs field", VarargsField(1, 3, 42), """{"va": [1, 3, 42]}"""),
795[warn] | ^
796[warn] | unused local definition
797[warn] 25 warnings found
798Starting build for ProjectRef(file:/build/repo/,driver) (zio-mongodb-driver)... [1/3]
799Compile 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, -Xmax-inlines:64, -Wconf:msg=While parsing annotations in:silent, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
800[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:3:20
801[warn] 3 |import EasierValDef.*
802[warn] | ^
803[warn] | unused import
804[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:7:54
805[warn] 7 |import io.github.zeal18.zio.mongodb.bson.codecs.error.BsonError
806[warn] | ^^^^^^^^^
807[warn] | unused import
808[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:8:16
809[warn] 8 |import org.bson.BsonInvalidOperationException
810[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
811[warn] | unused import
812[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:10:16
813[warn] 10 |import org.bson.BsonSerializationException
814[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
815[warn] | unused import
816[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:11:16
817[warn] 11 |import org.bson.BsonType
818[warn] | ^^^^^^^^
819[warn] | unused import
820[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:16:24
821[warn] 16 |import scala.annotation.tailrec
822[warn] | ^^^^^^^
823[warn] | unused import
824[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:18:22
825[warn] 18 |import scala.deriving.*
826[warn] | ^
827[warn] | unused import
828[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:115:10
829[warn] 115 | val fieldTypes = filedsToProcess.map(t => caseClass.memberType(t))
830[warn] | ^^^^^^^^^^
831[warn] | unused local definition
832[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:121:16
833[warn] 121 | val paramTypeInfo = TypeInfo[t]
834[warn] | ^^^^^^^^^^^^^
835[warn] | unused local definition
836[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:181:8
837[warn] 181 | val caseClass = TypeRepr.of[A]
838[warn] | ^^^^^^^^^
839[warn] | unused local definition
840[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:187:23
841[warn] 187 | import f.{Type as F, typeInstance}
842[warn] | ^^^^^^^^^
843[warn] | unused import
844[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:296:8
845[warn] 296 | val enumSymbol = TypeRepr.of[A].typeSymbol
846[warn] | ^^^^^^^^^^
847[warn] | unused local definition
848[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:358:25
849[warn] 358 | import field.{Type as F, typeInstance}
850[warn] | ^^^^^^^^^
851[warn] | unused import
852[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:390:29
853[warn] 390 | import field.{Type as F, typeInstance}
854[warn] | ^^^^^^^^^
855[warn] | unused import
856[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:392:14
857[warn] 392 | val symbol = fieldSymbol(field)
858[warn] | ^^^^^^
859[warn] | unused local definition
860[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:505:21
861[warn] 505 | import f.{Type as F, typeInstance}
862[warn] | ^^^^^^^^^
863[warn] | unused import
864[warn] -- [E175] Potential Issue Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/mutable/Document.scala:249:37
865[warn] 249 | if (!p(k, v)) underlying.remove(k)
866[warn] | ^^^^^^^^^^^^^^^^^^^^
867[warn] |discarded non-Unit value of type org.bson.BsonValue. Add `: Unit` to discard silently.
868[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Field.scala:24:6
869[warn] 24 | (Type.of[Ls], Type.of[Ts]) match
870[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
871[warn] | match may not be exhaustive.
872[warn] |
873[warn] | It would fail on pattern case: (_, _)
874[warn] |
875[warn] | longer explanation available when compiling with `-explain`
876[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/EasierValDef.scala:41:28
877[warn] 41 | import quotes.reflect.*
878[warn] | ^
879[warn] | unused import
880[warn] -- Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/BaseDocument.scala:143:10
881[warn] 143 | @nowarn("cat=unused")
882[warn] | ^^^^^^^^^^^^
883[warn] | Invalid message filter
884[warn] | unknown category: unused
885[warn] 20 warnings found
886[info] compiling 85 Scala sources to /build/repo/driver/target/scala-3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY/classes ...
887[warn] -- [E175] Potential Issue Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/MongoClientSettings.scala:43:27
888[warn] 43 | builder.codecRegistry(MongoClient.DEFAULT_CODEC_REGISTRY)
889[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
890[warn] |discarded non-Unit value of type com.mongodb.MongoClientSettings#Builder. Add `: Unit` to discard silently.
891[warn] -- [E147] Syntax Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/expressions/Expression.scala:1509:4
892[warn] 1509 | final object Rand extends Misc
893[warn] | ^^^^^
894[warn] | Modifier final is redundant for this definition
895[warn] -- [E198] Unused Symbol Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/Aggregation.scala:271:43
896[warn] 271 | final case class Bucket[Boundary: Numeric, Default](
897[warn] | ^
898[warn] | unused implicit parameter
899[info] done compiling
900[warn] three warnings found
901[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:3:20
902[warn] 3 |import EasierValDef.*
903[warn] | ^
904[warn] | unused import
905[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:7:54
906[warn] 7 |import io.github.zeal18.zio.mongodb.bson.codecs.error.BsonError
907[warn] | ^^^^^^^^^
908[warn] | unused import
909[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:8:16
910[warn] 8 |import org.bson.BsonInvalidOperationException
911[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
912[warn] | unused import
913[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:10:16
914[warn] 10 |import org.bson.BsonSerializationException
915[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
916[warn] | unused import
917[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:11:16
918[warn] 11 |import org.bson.BsonType
919[warn] | ^^^^^^^^
920[warn] | unused import
921[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:16:24
922[warn] 16 |import scala.annotation.tailrec
923[warn] | ^^^^^^^
924[warn] | unused import
925[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:18:22
926[warn] 18 |import scala.deriving.*
927[warn] | ^
928[warn] | unused import
929[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:115:10
930[warn] 115 | val fieldTypes = filedsToProcess.map(t => caseClass.memberType(t))
931[warn] | ^^^^^^^^^^
932[warn] | unused local definition
933[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:121:16
934[warn] 121 | val paramTypeInfo = TypeInfo[t]
935[warn] | ^^^^^^^^^^^^^
936[warn] | unused local definition
937[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:181:8
938[warn] 181 | val caseClass = TypeRepr.of[A]
939[warn] | ^^^^^^^^^
940[warn] | unused local definition
941[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:187:23
942[warn] 187 | import f.{Type as F, typeInstance}
943[warn] | ^^^^^^^^^
944[warn] | unused import
945[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:296:8
946[warn] 296 | val enumSymbol = TypeRepr.of[A].typeSymbol
947[warn] | ^^^^^^^^^^
948[warn] | unused local definition
949[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:358:25
950[warn] 358 | import field.{Type as F, typeInstance}
951[warn] | ^^^^^^^^^
952[warn] | unused import
953[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:390:29
954[warn] 390 | import field.{Type as F, typeInstance}
955[warn] | ^^^^^^^^^
956[warn] | unused import
957[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:392:14
958[warn] 392 | val symbol = fieldSymbol(field)
959[warn] | ^^^^^^
960[warn] | unused local definition
961[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:505:21
962[warn] 505 | import f.{Type as F, typeInstance}
963[warn] | ^^^^^^^^^
964[warn] | unused import
965[warn] -- [E175] Potential Issue Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/mutable/Document.scala:249:37
966[warn] 249 | if (!p(k, v)) underlying.remove(k)
967[warn] | ^^^^^^^^^^^^^^^^^^^^
968[warn] |discarded non-Unit value of type org.bson.BsonValue. Add `: Unit` to discard silently.
969[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Field.scala:24:6
970[warn] 24 | (Type.of[Ls], Type.of[Ts]) match
971[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
972[warn] | match may not be exhaustive.
973[warn] |
974[warn] | It would fail on pattern case: (_, _)
975[warn] |
976[warn] | longer explanation available when compiling with `-explain`
977[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/EasierValDef.scala:41:28
978[warn] 41 | import quotes.reflect.*
979[warn] | ^
980[warn] | unused import
981[warn] -- Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/BaseDocument.scala:143:10
982[warn] 143 | @nowarn("cat=unused")
983[warn] | ^^^^^^^^^^^^
984[warn] | Invalid message filter
985[warn] | unknown category: unused
986[warn] 20 warnings found
987[warn] -- [E175] Potential Issue Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/MongoClientSettings.scala:43:27
988[warn] 43 | builder.codecRegistry(MongoClient.DEFAULT_CODEC_REGISTRY)
989[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
990[warn] |discarded non-Unit value of type com.mongodb.MongoClientSettings#Builder. Add `: Unit` to discard silently.
991[warn] -- [E147] Syntax Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/expressions/Expression.scala:1509:4
992[warn] 1509 | final object Rand extends Misc
993[warn] | ^^^^^
994[warn] | Modifier final is redundant for this definition
995[warn] -- [E198] Unused Symbol Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/Aggregation.scala:271:43
996[warn] 271 | final case class Bucket[Boundary: Numeric, Default](
997[warn] | ^
998[warn] | unused implicit parameter
999[warn] three warnings found
1000[info] compiling 13 Scala sources to /build/repo/driver/target/scala-3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY/test-classes ...
1001[warn] -- [E198] Unused Symbol Warning: /build/repo/driver/src/test/scala/io/github/zeal18/zio/mongodb/driver/aggregates/AggregatesSpec.scala:5:54
1002[warn] 5 |import io.github.zeal18.zio.mongodb.driver.aggregates.expressions
1003[warn] | ^^^^^^^^^^^
1004[warn] | unused import
1005[info] done compiling
1006[warn] one warning found
1007[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:3:20
1008[warn] 3 |import EasierValDef.*
1009[warn] | ^
1010[warn] | unused import
1011[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:7:54
1012[warn] 7 |import io.github.zeal18.zio.mongodb.bson.codecs.error.BsonError
1013[warn] | ^^^^^^^^^
1014[warn] | unused import
1015[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:8:16
1016[warn] 8 |import org.bson.BsonInvalidOperationException
1017[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1018[warn] | unused import
1019[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:10:16
1020[warn] 10 |import org.bson.BsonSerializationException
1021[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
1022[warn] | unused import
1023[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:11:16
1024[warn] 11 |import org.bson.BsonType
1025[warn] | ^^^^^^^^
1026[warn] | unused import
1027[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:16:24
1028[warn] 16 |import scala.annotation.tailrec
1029[warn] | ^^^^^^^
1030[warn] | unused import
1031[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:18:22
1032[warn] 18 |import scala.deriving.*
1033[warn] | ^
1034[warn] | unused import
1035[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:115:10
1036[warn] 115 | val fieldTypes = filedsToProcess.map(t => caseClass.memberType(t))
1037[warn] | ^^^^^^^^^^
1038[warn] | unused local definition
1039[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:121:16
1040[warn] 121 | val paramTypeInfo = TypeInfo[t]
1041[warn] | ^^^^^^^^^^^^^
1042[warn] | unused local definition
1043[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:181:8
1044[warn] 181 | val caseClass = TypeRepr.of[A]
1045[warn] | ^^^^^^^^^
1046[warn] | unused local definition
1047[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:187:23
1048[warn] 187 | import f.{Type as F, typeInstance}
1049[warn] | ^^^^^^^^^
1050[warn] | unused import
1051[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:296:8
1052[warn] 296 | val enumSymbol = TypeRepr.of[A].typeSymbol
1053[warn] | ^^^^^^^^^^
1054[warn] | unused local definition
1055[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:358:25
1056[warn] 358 | import field.{Type as F, typeInstance}
1057[warn] | ^^^^^^^^^
1058[warn] | unused import
1059[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:390:29
1060[warn] 390 | import field.{Type as F, typeInstance}
1061[warn] | ^^^^^^^^^
1062[warn] | unused import
1063[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:392:14
1064[warn] 392 | val symbol = fieldSymbol(field)
1065[warn] | ^^^^^^
1066[warn] | unused local definition
1067[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:505:21
1068[warn] 505 | import f.{Type as F, typeInstance}
1069[warn] | ^^^^^^^^^
1070[warn] | unused import
1071[warn] -- [E175] Potential Issue Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/mutable/Document.scala:249:37
1072[warn] 249 | if (!p(k, v)) underlying.remove(k)
1073[warn] | ^^^^^^^^^^^^^^^^^^^^
1074[warn] |discarded non-Unit value of type org.bson.BsonValue. Add `: Unit` to discard silently.
1075[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Field.scala:24:6
1076[warn] 24 | (Type.of[Ls], Type.of[Ts]) match
1077[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
1078[warn] | match may not be exhaustive.
1079[warn] |
1080[warn] | It would fail on pattern case: (_, _)
1081[warn] |
1082[warn] | longer explanation available when compiling with `-explain`
1083[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/EasierValDef.scala:41:28
1084[warn] 41 | import quotes.reflect.*
1085[warn] | ^
1086[warn] | unused import
1087[warn] -- Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/BaseDocument.scala:143:10
1088[warn] 143 | @nowarn("cat=unused")
1089[warn] | ^^^^^^^^^^^^
1090[warn] | Invalid message filter
1091[warn] | unknown category: unused
1092[warn] 20 warnings found
1093[warn] -- [E175] Potential Issue Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/MongoClientSettings.scala:43:27
1094[warn] 43 | builder.codecRegistry(MongoClient.DEFAULT_CODEC_REGISTRY)
1095[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1096[warn] |discarded non-Unit value of type com.mongodb.MongoClientSettings#Builder. Add `: Unit` to discard silently.
1097[warn] -- [E147] Syntax Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/expressions/Expression.scala:1509:4
1098[warn] 1509 | final object Rand extends Misc
1099[warn] | ^^^^^
1100[warn] | Modifier final is redundant for this definition
1101[warn] -- [E198] Unused Symbol Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/Aggregation.scala:271:43
1102[warn] 271 | final case class Bucket[Boundary: Numeric, Default](
1103[warn] | ^
1104[warn] | unused implicit parameter
1105[warn] three warnings found
1106[warn] -- [E198] Unused Symbol Warning: /build/repo/driver/src/test/scala/io/github/zeal18/zio/mongodb/driver/aggregates/AggregatesSpec.scala:5:54
1107[warn] 5 |import io.github.zeal18.zio.mongodb.driver.aggregates.expressions
1108[warn] | ^^^^^^^^^^^
1109[warn] | unused import
1110[warn] one warning found
1111[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:3:20
1112[warn] 3 |import EasierValDef.*
1113[warn] | ^
1114[warn] | unused import
1115[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:7:54
1116[warn] 7 |import io.github.zeal18.zio.mongodb.bson.codecs.error.BsonError
1117[warn] | ^^^^^^^^^
1118[warn] | unused import
1119[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:8:16
1120[warn] 8 |import org.bson.BsonInvalidOperationException
1121[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1122[warn] | unused import
1123[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:10:16
1124[warn] 10 |import org.bson.BsonSerializationException
1125[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
1126[warn] | unused import
1127[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:11:16
1128[warn] 11 |import org.bson.BsonType
1129[warn] | ^^^^^^^^
1130[warn] | unused import
1131[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:16:24
1132[warn] 16 |import scala.annotation.tailrec
1133[warn] | ^^^^^^^
1134[warn] | unused import
1135[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:18:22
1136[warn] 18 |import scala.deriving.*
1137[warn] | ^
1138[warn] | unused import
1139[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:115:10
1140[warn] 115 | val fieldTypes = filedsToProcess.map(t => caseClass.memberType(t))
1141[warn] | ^^^^^^^^^^
1142[warn] | unused local definition
1143[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:121:16
1144[warn] 121 | val paramTypeInfo = TypeInfo[t]
1145[warn] | ^^^^^^^^^^^^^
1146[warn] | unused local definition
1147[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:181:8
1148[warn] 181 | val caseClass = TypeRepr.of[A]
1149[warn] | ^^^^^^^^^
1150[warn] | unused local definition
1151[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:187:23
1152[warn] 187 | import f.{Type as F, typeInstance}
1153[warn] | ^^^^^^^^^
1154[warn] | unused import
1155[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:296:8
1156[warn] 296 | val enumSymbol = TypeRepr.of[A].typeSymbol
1157[warn] | ^^^^^^^^^^
1158[warn] | unused local definition
1159[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:358:25
1160[warn] 358 | import field.{Type as F, typeInstance}
1161[warn] | ^^^^^^^^^
1162[warn] | unused import
1163[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:390:29
1164[warn] 390 | import field.{Type as F, typeInstance}
1165[warn] | ^^^^^^^^^
1166[warn] | unused import
1167[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:392:14
1168[warn] 392 | val symbol = fieldSymbol(field)
1169[warn] | ^^^^^^
1170[warn] | unused local definition
1171[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:505:21
1172[warn] 505 | import f.{Type as F, typeInstance}
1173[warn] | ^^^^^^^^^
1174[warn] | unused import
1175[warn] -- [E175] Potential Issue Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/mutable/Document.scala:249:37
1176[warn] 249 | if (!p(k, v)) underlying.remove(k)
1177[warn] | ^^^^^^^^^^^^^^^^^^^^
1178[warn] |discarded non-Unit value of type org.bson.BsonValue. Add `: Unit` to discard silently.
1179[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Field.scala:24:6
1180[warn] 24 | (Type.of[Ls], Type.of[Ts]) match
1181[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
1182[warn] | match may not be exhaustive.
1183[warn] |
1184[warn] | It would fail on pattern case: (_, _)
1185[warn] |
1186[warn] | longer explanation available when compiling with `-explain`
1187[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/EasierValDef.scala:41:28
1188[warn] 41 | import quotes.reflect.*
1189[warn] | ^
1190[warn] | unused import
1191[warn] -- Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/BaseDocument.scala:143:10
1192[warn] 143 | @nowarn("cat=unused")
1193[warn] | ^^^^^^^^^^^^
1194[warn] | Invalid message filter
1195[warn] | unknown category: unused
1196[warn] 20 warnings found
1197[warn] -- [E175] Potential Issue Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/MongoClientSettings.scala:43:27
1198[warn] 43 | builder.codecRegistry(MongoClient.DEFAULT_CODEC_REGISTRY)
1199[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1200[warn] |discarded non-Unit value of type com.mongodb.MongoClientSettings#Builder. Add `: Unit` to discard silently.
1201[warn] -- [E147] Syntax Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/expressions/Expression.scala:1509:4
1202[warn] 1509 | final object Rand extends Misc
1203[warn] | ^^^^^
1204[warn] | Modifier final is redundant for this definition
1205[warn] -- [E198] Unused Symbol Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/Aggregation.scala:271:43
1206[warn] 271 | final case class Bucket[Boundary: Numeric, Default](
1207[warn] | ^
1208[warn] | unused implicit parameter
1209[warn] three warnings found
1210[warn] -- [E198] Unused Symbol Warning: /build/repo/driver/src/test/scala/io/github/zeal18/zio/mongodb/driver/aggregates/AggregatesSpec.scala:5:54
1211[warn] 5 |import io.github.zeal18.zio.mongodb.driver.aggregates.expressions
1212[warn] | ^^^^^^^^^^^
1213[warn] | unused import
1214[warn] one warning found
1215Starting build for ProjectRef(file:/build/repo/,testkit) (zio-mongodb-testkit)... [2/3]
1216Compile 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, -Xmax-inlines:64, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
1217[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:3:20
1218[warn] 3 |import EasierValDef.*
1219[warn] | ^
1220[warn] | unused import
1221[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:7:54
1222[warn] 7 |import io.github.zeal18.zio.mongodb.bson.codecs.error.BsonError
1223[warn] | ^^^^^^^^^
1224[warn] | unused import
1225[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:8:16
1226[warn] 8 |import org.bson.BsonInvalidOperationException
1227[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1228[warn] | unused import
1229[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:10:16
1230[warn] 10 |import org.bson.BsonSerializationException
1231[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
1232[warn] | unused import
1233[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:11:16
1234[warn] 11 |import org.bson.BsonType
1235[warn] | ^^^^^^^^
1236[warn] | unused import
1237[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:16:24
1238[warn] 16 |import scala.annotation.tailrec
1239[warn] | ^^^^^^^
1240[warn] | unused import
1241[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:18:22
1242[warn] 18 |import scala.deriving.*
1243[warn] | ^
1244[warn] | unused import
1245[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:115:10
1246[warn] 115 | val fieldTypes = filedsToProcess.map(t => caseClass.memberType(t))
1247[warn] | ^^^^^^^^^^
1248[warn] | unused local definition
1249[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:121:16
1250[warn] 121 | val paramTypeInfo = TypeInfo[t]
1251[warn] | ^^^^^^^^^^^^^
1252[warn] | unused local definition
1253[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:181:8
1254[warn] 181 | val caseClass = TypeRepr.of[A]
1255[warn] | ^^^^^^^^^
1256[warn] | unused local definition
1257[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:187:23
1258[warn] 187 | import f.{Type as F, typeInstance}
1259[warn] | ^^^^^^^^^
1260[warn] | unused import
1261[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:296:8
1262[warn] 296 | val enumSymbol = TypeRepr.of[A].typeSymbol
1263[warn] | ^^^^^^^^^^
1264[warn] | unused local definition
1265[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:358:25
1266[warn] 358 | import field.{Type as F, typeInstance}
1267[warn] | ^^^^^^^^^
1268[warn] | unused import
1269[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:390:29
1270[warn] 390 | import field.{Type as F, typeInstance}
1271[warn] | ^^^^^^^^^
1272[warn] | unused import
1273[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:392:14
1274[warn] 392 | val symbol = fieldSymbol(field)
1275[warn] | ^^^^^^
1276[warn] | unused local definition
1277[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:505:21
1278[warn] 505 | import f.{Type as F, typeInstance}
1279[warn] | ^^^^^^^^^
1280[warn] | unused import
1281[warn] -- [E175] Potential Issue Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/mutable/Document.scala:249:37
1282[warn] 249 | if (!p(k, v)) underlying.remove(k)
1283[warn] | ^^^^^^^^^^^^^^^^^^^^
1284[warn] |discarded non-Unit value of type org.bson.BsonValue. Add `: Unit` to discard silently.
1285[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Field.scala:24:6
1286[warn] 24 | (Type.of[Ls], Type.of[Ts]) match
1287[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
1288[warn] | match may not be exhaustive.
1289[warn] |
1290[warn] | It would fail on pattern case: (_, _)
1291[warn] |
1292[warn] | longer explanation available when compiling with `-explain`
1293[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/EasierValDef.scala:41:28
1294[warn] 41 | import quotes.reflect.*
1295[warn] | ^
1296[warn] | unused import
1297[warn] -- Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/BaseDocument.scala:143:10
1298[warn] 143 | @nowarn("cat=unused")
1299[warn] | ^^^^^^^^^^^^
1300[warn] | Invalid message filter
1301[warn] | unknown category: unused
1302[warn] 20 warnings found
1303[warn] -- [E175] Potential Issue Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/MongoClientSettings.scala:43:27
1304[warn] 43 | builder.codecRegistry(MongoClient.DEFAULT_CODEC_REGISTRY)
1305[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1306[warn] |discarded non-Unit value of type com.mongodb.MongoClientSettings#Builder. Add `: Unit` to discard silently.
1307[warn] -- [E147] Syntax Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/expressions/Expression.scala:1509:4
1308[warn] 1509 | final object Rand extends Misc
1309[warn] | ^^^^^
1310[warn] | Modifier final is redundant for this definition
1311[warn] -- [E198] Unused Symbol Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/Aggregation.scala:271:43
1312[warn] 271 | final case class Bucket[Boundary: Numeric, Default](
1313[warn] | ^
1314[warn] | unused implicit parameter
1315[warn] three warnings found
1316[info] compiling 4 Scala sources to /build/repo/testkit/target/scala-3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY/classes ...
1317[info] done compiling
1318[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:3:20
1319[warn] 3 |import EasierValDef.*
1320[warn] | ^
1321[warn] | unused import
1322[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:7:54
1323[warn] 7 |import io.github.zeal18.zio.mongodb.bson.codecs.error.BsonError
1324[warn] | ^^^^^^^^^
1325[warn] | unused import
1326[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:8:16
1327[warn] 8 |import org.bson.BsonInvalidOperationException
1328[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1329[warn] | unused import
1330[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:10:16
1331[warn] 10 |import org.bson.BsonSerializationException
1332[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
1333[warn] | unused import
1334[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:11:16
1335[warn] 11 |import org.bson.BsonType
1336[warn] | ^^^^^^^^
1337[warn] | unused import
1338[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:16:24
1339[warn] 16 |import scala.annotation.tailrec
1340[warn] | ^^^^^^^
1341[warn] | unused import
1342[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:18:22
1343[warn] 18 |import scala.deriving.*
1344[warn] | ^
1345[warn] | unused import
1346[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:115:10
1347[warn] 115 | val fieldTypes = filedsToProcess.map(t => caseClass.memberType(t))
1348[warn] | ^^^^^^^^^^
1349[warn] | unused local definition
1350[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:121:16
1351[warn] 121 | val paramTypeInfo = TypeInfo[t]
1352[warn] | ^^^^^^^^^^^^^
1353[warn] | unused local definition
1354[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:181:8
1355[warn] 181 | val caseClass = TypeRepr.of[A]
1356[warn] | ^^^^^^^^^
1357[warn] | unused local definition
1358[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:187:23
1359[warn] 187 | import f.{Type as F, typeInstance}
1360[warn] | ^^^^^^^^^
1361[warn] | unused import
1362[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:296:8
1363[warn] 296 | val enumSymbol = TypeRepr.of[A].typeSymbol
1364[warn] | ^^^^^^^^^^
1365[warn] | unused local definition
1366[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:358:25
1367[warn] 358 | import field.{Type as F, typeInstance}
1368[warn] | ^^^^^^^^^
1369[warn] | unused import
1370[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:390:29
1371[warn] 390 | import field.{Type as F, typeInstance}
1372[warn] | ^^^^^^^^^
1373[warn] | unused import
1374[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:392:14
1375[warn] 392 | val symbol = fieldSymbol(field)
1376[warn] | ^^^^^^
1377[warn] | unused local definition
1378[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:505:21
1379[warn] 505 | import f.{Type as F, typeInstance}
1380[warn] | ^^^^^^^^^
1381[warn] | unused import
1382[warn] -- [E175] Potential Issue Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/mutable/Document.scala:249:37
1383[warn] 249 | if (!p(k, v)) underlying.remove(k)
1384[warn] | ^^^^^^^^^^^^^^^^^^^^
1385[warn] |discarded non-Unit value of type org.bson.BsonValue. Add `: Unit` to discard silently.
1386[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Field.scala:24:6
1387[warn] 24 | (Type.of[Ls], Type.of[Ts]) match
1388[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
1389[warn] | match may not be exhaustive.
1390[warn] |
1391[warn] | It would fail on pattern case: (_, _)
1392[warn] |
1393[warn] | longer explanation available when compiling with `-explain`
1394[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/EasierValDef.scala:41:28
1395[warn] 41 | import quotes.reflect.*
1396[warn] | ^
1397[warn] | unused import
1398[warn] -- Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/BaseDocument.scala:143:10
1399[warn] 143 | @nowarn("cat=unused")
1400[warn] | ^^^^^^^^^^^^
1401[warn] | Invalid message filter
1402[warn] | unknown category: unused
1403[warn] 20 warnings found
1404[warn] -- [E175] Potential Issue Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/MongoClientSettings.scala:43:27
1405[warn] 43 | builder.codecRegistry(MongoClient.DEFAULT_CODEC_REGISTRY)
1406[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1407[warn] |discarded non-Unit value of type com.mongodb.MongoClientSettings#Builder. Add `: Unit` to discard silently.
1408[warn] -- [E147] Syntax Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/expressions/Expression.scala:1509:4
1409[warn] 1509 | final object Rand extends Misc
1410[warn] | ^^^^^
1411[warn] | Modifier final is redundant for this definition
1412[warn] -- [E198] Unused Symbol Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/Aggregation.scala:271:43
1413[warn] 271 | final case class Bucket[Boundary: Numeric, Default](
1414[warn] | ^
1415[warn] | unused implicit parameter
1416[warn] three warnings found
1417[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:3:20
1418[warn] 3 |import EasierValDef.*
1419[warn] | ^
1420[warn] | unused import
1421[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:7:54
1422[warn] 7 |import io.github.zeal18.zio.mongodb.bson.codecs.error.BsonError
1423[warn] | ^^^^^^^^^
1424[warn] | unused import
1425[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:8:16
1426[warn] 8 |import org.bson.BsonInvalidOperationException
1427[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1428[warn] | unused import
1429[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:10:16
1430[warn] 10 |import org.bson.BsonSerializationException
1431[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
1432[warn] | unused import
1433[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:11:16
1434[warn] 11 |import org.bson.BsonType
1435[warn] | ^^^^^^^^
1436[warn] | unused import
1437[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:16:24
1438[warn] 16 |import scala.annotation.tailrec
1439[warn] | ^^^^^^^
1440[warn] | unused import
1441[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:18:22
1442[warn] 18 |import scala.deriving.*
1443[warn] | ^
1444[warn] | unused import
1445[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:115:10
1446[warn] 115 | val fieldTypes = filedsToProcess.map(t => caseClass.memberType(t))
1447[warn] | ^^^^^^^^^^
1448[warn] | unused local definition
1449[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:121:16
1450[warn] 121 | val paramTypeInfo = TypeInfo[t]
1451[warn] | ^^^^^^^^^^^^^
1452[warn] | unused local definition
1453[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:181:8
1454[warn] 181 | val caseClass = TypeRepr.of[A]
1455[warn] | ^^^^^^^^^
1456[warn] | unused local definition
1457[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:187:23
1458[warn] 187 | import f.{Type as F, typeInstance}
1459[warn] | ^^^^^^^^^
1460[warn] | unused import
1461[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:296:8
1462[warn] 296 | val enumSymbol = TypeRepr.of[A].typeSymbol
1463[warn] | ^^^^^^^^^^
1464[warn] | unused local definition
1465[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:358:25
1466[warn] 358 | import field.{Type as F, typeInstance}
1467[warn] | ^^^^^^^^^
1468[warn] | unused import
1469[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:390:29
1470[warn] 390 | import field.{Type as F, typeInstance}
1471[warn] | ^^^^^^^^^
1472[warn] | unused import
1473[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:392:14
1474[warn] 392 | val symbol = fieldSymbol(field)
1475[warn] | ^^^^^^
1476[warn] | unused local definition
1477[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:505:21
1478[warn] 505 | import f.{Type as F, typeInstance}
1479[warn] | ^^^^^^^^^
1480[warn] | unused import
1481[warn] -- [E175] Potential Issue Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/mutable/Document.scala:249:37
1482[warn] 249 | if (!p(k, v)) underlying.remove(k)
1483[warn] | ^^^^^^^^^^^^^^^^^^^^
1484[warn] |discarded non-Unit value of type org.bson.BsonValue. Add `: Unit` to discard silently.
1485[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Field.scala:24:6
1486[warn] 24 | (Type.of[Ls], Type.of[Ts]) match
1487[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
1488[warn] | match may not be exhaustive.
1489[warn] |
1490[warn] | It would fail on pattern case: (_, _)
1491[warn] |
1492[warn] | longer explanation available when compiling with `-explain`
1493[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/EasierValDef.scala:41:28
1494[warn] 41 | import quotes.reflect.*
1495[warn] | ^
1496[warn] | unused import
1497[warn] -- Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/BaseDocument.scala:143:10
1498[warn] 143 | @nowarn("cat=unused")
1499[warn] | ^^^^^^^^^^^^
1500[warn] | Invalid message filter
1501[warn] | unknown category: unused
1502[warn] 20 warnings found
1503[warn] -- [E175] Potential Issue Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/MongoClientSettings.scala:43:27
1504[warn] 43 | builder.codecRegistry(MongoClient.DEFAULT_CODEC_REGISTRY)
1505[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1506[warn] |discarded non-Unit value of type com.mongodb.MongoClientSettings#Builder. Add `: Unit` to discard silently.
1507[warn] -- [E147] Syntax Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/expressions/Expression.scala:1509:4
1508[warn] 1509 | final object Rand extends Misc
1509[warn] | ^^^^^
1510[warn] | Modifier final is redundant for this definition
1511[warn] -- [E198] Unused Symbol Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/Aggregation.scala:271:43
1512[warn] 271 | final case class Bucket[Boundary: Numeric, Default](
1513[warn] | ^
1514[warn] | unused implicit parameter
1515[warn] three warnings found
1516[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:3:20
1517[warn] 3 |import EasierValDef.*
1518[warn] | ^
1519[warn] | unused import
1520[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:7:54
1521[warn] 7 |import io.github.zeal18.zio.mongodb.bson.codecs.error.BsonError
1522[warn] | ^^^^^^^^^
1523[warn] | unused import
1524[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:8:16
1525[warn] 8 |import org.bson.BsonInvalidOperationException
1526[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1527[warn] | unused import
1528[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:10:16
1529[warn] 10 |import org.bson.BsonSerializationException
1530[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
1531[warn] | unused import
1532[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:11:16
1533[warn] 11 |import org.bson.BsonType
1534[warn] | ^^^^^^^^
1535[warn] | unused import
1536[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:16:24
1537[warn] 16 |import scala.annotation.tailrec
1538[warn] | ^^^^^^^
1539[warn] | unused import
1540[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:18:22
1541[warn] 18 |import scala.deriving.*
1542[warn] | ^
1543[warn] | unused import
1544[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:115:10
1545[warn] 115 | val fieldTypes = filedsToProcess.map(t => caseClass.memberType(t))
1546[warn] | ^^^^^^^^^^
1547[warn] | unused local definition
1548[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:121:16
1549[warn] 121 | val paramTypeInfo = TypeInfo[t]
1550[warn] | ^^^^^^^^^^^^^
1551[warn] | unused local definition
1552[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:181:8
1553[warn] 181 | val caseClass = TypeRepr.of[A]
1554[warn] | ^^^^^^^^^
1555[warn] | unused local definition
1556[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:187:23
1557[warn] 187 | import f.{Type as F, typeInstance}
1558[warn] | ^^^^^^^^^
1559[warn] | unused import
1560[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:296:8
1561[warn] 296 | val enumSymbol = TypeRepr.of[A].typeSymbol
1562[warn] | ^^^^^^^^^^
1563[warn] | unused local definition
1564[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:358:25
1565[warn] 358 | import field.{Type as F, typeInstance}
1566[warn] | ^^^^^^^^^
1567[warn] | unused import
1568[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:390:29
1569[warn] 390 | import field.{Type as F, typeInstance}
1570[warn] | ^^^^^^^^^
1571[warn] | unused import
1572[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:392:14
1573[warn] 392 | val symbol = fieldSymbol(field)
1574[warn] | ^^^^^^
1575[warn] | unused local definition
1576[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:505:21
1577[warn] 505 | import f.{Type as F, typeInstance}
1578[warn] | ^^^^^^^^^
1579[warn] | unused import
1580[warn] -- [E175] Potential Issue Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/mutable/Document.scala:249:37
1581[warn] 249 | if (!p(k, v)) underlying.remove(k)
1582[warn] | ^^^^^^^^^^^^^^^^^^^^
1583[warn] |discarded non-Unit value of type org.bson.BsonValue. Add `: Unit` to discard silently.
1584[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Field.scala:24:6
1585[warn] 24 | (Type.of[Ls], Type.of[Ts]) match
1586[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
1587[warn] | match may not be exhaustive.
1588[warn] |
1589[warn] | It would fail on pattern case: (_, _)
1590[warn] |
1591[warn] | longer explanation available when compiling with `-explain`
1592[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/EasierValDef.scala:41:28
1593[warn] 41 | import quotes.reflect.*
1594[warn] | ^
1595[warn] | unused import
1596[warn] -- Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/BaseDocument.scala:143:10
1597[warn] 143 | @nowarn("cat=unused")
1598[warn] | ^^^^^^^^^^^^
1599[warn] | Invalid message filter
1600[warn] | unknown category: unused
1601[warn] 20 warnings found
1602[warn] -- [E175] Potential Issue Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/MongoClientSettings.scala:43:27
1603[warn] 43 | builder.codecRegistry(MongoClient.DEFAULT_CODEC_REGISTRY)
1604[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1605[warn] |discarded non-Unit value of type com.mongodb.MongoClientSettings#Builder. Add `: Unit` to discard silently.
1606[warn] -- [E147] Syntax Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/expressions/Expression.scala:1509:4
1607[warn] 1509 | final object Rand extends Misc
1608[warn] | ^^^^^
1609[warn] | Modifier final is redundant for this definition
1610[warn] -- [E198] Unused Symbol Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/Aggregation.scala:271:43
1611[warn] 271 | final case class Bucket[Boundary: Numeric, Default](
1612[warn] | ^
1613[warn] | unused implicit parameter
1614[warn] three warnings found
1615
1616************************
1617Build summary:
1618[{
1619 "module": "zio-mongodb-bson",
1620 "compile": {"status": "ok", "tookMs": 14433, "warnings": 20, "errors": 0, "sourceVersion": "3.8"},
1621 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1622 "test-compile": {"status": "ok", "tookMs": 13401, "warnings": 25, "errors": 0, "sourceVersion": "3.8"},
1623 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
1624 "publish": {"status": "skipped", "tookMs": 0},
1625 "metadata": {
1626 "crossScalaVersions": ["2.13.17", "3.3.7"]
1627}
1628},{
1629 "module": "zio-mongodb-driver",
1630 "compile": {"status": "ok", "tookMs": 9630, "warnings": 3, "errors": 0, "sourceVersion": "3.8"},
1631 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1632 "test-compile": {"status": "ok", "tookMs": 2221, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
1633 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
1634 "publish": {"status": "skipped", "tookMs": 0},
1635 "metadata": {
1636 "crossScalaVersions": ["2.13.17", "3.3.7"]
1637}
1638},{
1639 "module": "zio-mongodb-testkit",
1640 "compile": {"status": "ok", "tookMs": 1009, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
1641 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1642 "test-compile": {"status": "ok", "tookMs": 207, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
1643 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
1644 "publish": {"status": "skipped", "tookMs": 0},
1645 "metadata": {
1646 "crossScalaVersions": ["2.13.17", "3.3.7"]
1647}
1648}]
1649************************
1650[success] Total time: 90 s (0:01:30.0), completed Dec 28, 2025, 5:08:58 PM
1651[0JChecking patch project/plugins.sbt...
1652Checking patch build.sbt...
1653Applied patch project/plugins.sbt cleanly.
1654Applied patch build.sbt cleanly.