Build Logs

zeal18/zio-mongodb • 3.8.0:2026-01-13

Errors

30

Warnings

1834

Total Lines

2904

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.0
24Scala binary version found: 3.8
25Implicitly using source version 3.8
26Scala binary version found: 3.8
27Implicitly using source version 3.8
28Would try to apply common scalacOption (best-effort, sbt/mill only):
29Append: ,REQUIRE:-source:3.8
30Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
31
32Try apply source patch:
33Path: build.sbt
34Pattern: val scala3 = "3.3.7"
35Replacement: val scala3 = "3.8.0"
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.0
46Execute tests: true
47sbt project found:
48No prepare script found for project zeal18/zio-mongodb
49##################################
50Scala version: 3.8.0
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":"full","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.0
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.0"
72"++3.8.0 -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.0 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"25"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","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.335s.
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.0
101OpenCB::Changing crossVersion 3.8.0 -> 3.8.0 in driverItTests/crossScalaVersions
102OpenCB::Changing crossVersion 3.8.0 -> 3.8.0 in bson/crossScalaVersions
103OpenCB::Changing crossVersion 3.8.0 -> 3.8.0 in driver/crossScalaVersions
104OpenCB::Changing crossVersion 3.8.0 -> 3.8.0 in root/crossScalaVersions
105OpenCB::Changing crossVersion 3.8.0 -> 3.8.0 in testkit/crossScalaVersions
106[info] set current project to root (in build file:/build/repo/)
107[info] Setting Scala version to 3.8.0 on 5 projects.
108[info] Switching Scala version on:
109[info] * root (2.13.17, 3.8.0)
110[info] bson (2.13.17, 3.8.0)
111[info] driver (2.13.17, 3.8.0)
112[info] driverItTests (2.13.17, 3.8.0)
113[info] testkit (2.13.17, 3.8.0)
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 Jan 13, 2026, 3:23:11 PM
138Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"25"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.7\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
139Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,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.0/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.0/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
611WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
612WARNING: sun.misc.Unsafe::objectFieldOffset has been called by scala.runtime.LazyVals$ (file:/root/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/3.8.0/scala-library-3.8.0.jar)
613WARNING: Please consider reporting this to the maintainers of class scala.runtime.LazyVals$
614WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
615+ OptionsCodecsSpec
616 + OptionCodec
617 + None
618 + Some(1)
619 + nested options four times
620 + None
621 + Some(Some(Some(None)))
622 + Some(Some(None))
623 + Some(None)
624 + Some(Some(Some(Some(1))))
625 + nested options twice
626 + None
627 + Some(None)
628 + Some(Some(1))
629 + Option List
630 + Some(empty)
631 + None
632 + Some(1)
633 + Some(1, 2)
634 + nested options thrice
635 + None
636 + Some(None)
637 + Some(Some(None))
638 + Some(Some(Some(1)))
639+ ImmutableDocumentCodecSpec
640 + should encoder class should work as expected
641 + should determine if document has an _id
642 + should respect encodeIdFirst property in encoder context
643 + should encode and decode all default types with readers and writers
644 + should get the document_id
645 + should generate document id if absent but not mutate original document
646 + should not generate document id if present
647+ TemporalCodecsSpec
648 + LocalDate
649 + epoch
650 + min
651 + max
652 + epoch 1657524265825
653 + LocalTime
654 + 1 second
655 + epoch 1657524265825
656 + epoch
657 + max
658 + min
659 + LocalDateTime
660 + epoch
661 + epoch 1657524265825
662 + max
663 + min
664 + Instant
665 + epoch
666 + epoch 1657524265825
667 + max millis
668 + min millis
669+ BsonValueSpec
670 + BsonDateTime companion should create a BsonDateTime
671 + BsonArray companion should create a BsonArray
672 + BsonBinary companion should create a BsonBinary
673 + BsonBoolean companion should create a BsonBoolean
674 + BsonDouble companion should create a BsonDouble
675 + BsonInt32 companion should create a BsonInt32
676 + BsonDocument companion should create a BsonDocument
677 + BsonJavaScript companion should create a BsonJavaScript
678 + BsonInt64 companion should create a BsonInt64
679 + BsonDecimal128 companion should create a BsonDecimal128
680 + BsonJavaScriptWithScope companion should create a BsonJavaScriptWithScope
681 + BsonMinKey companion should create a BsonMinKey
682 + BsonMaxKey companion should create a BsonMaxKey
683 + BsonNull companion should create a BsonNull
684 + BsonNumber companion should create a BsonNumber
685 + BsonString companion should create a BsonString
686 + BsonObjectId companion should create a BsonObjectId
687 + BsonRegularExpression companion should create a BsonRegularExpression
688 + BsonSymbol companion should create a BsonSymbol
689 + BsonTimestamp companion should create a BsonTimestamp
690 + BsonUndefined companion should create a BsonUndefined
691+ DocumentImplicitTypeConversionSpec
692 + Document additions and updates
693 + should support updated
694 + should support multiple additions
695 + should support addition of a traversable
696 + should support simple additions
697 + should be creatable from mixed types
698+ DerivedSpec
699 + case class
700 + recursive type
701 + Leaf
702 + nested case class
703 + varargs field
704 + simple case class
705 + default field
706 + set
707 + not set
708 + generic
709 + case class with an option
710 + Some
711 + None
712 + bson annotations
713 + id
714 + ignore value
715 + ignore
716 + property
717 + case object
718 + case object
719 + opaque type
720 + string opaque type
721 + int opaque type
722 + mixed sealed trait coproduct
723 + C
724 + A
725 + B
726 + simple sealed trait enum
727 + A
728 + B
729 + C
730 + scala 3 enum
731 + A
732 + C
733 + B
734 + scala 3 parametrised enum
735 + B
736 + C
737 + A
738 + scala 3 coproduct enum
739 + B
740 + C
741 + A
742 + recursive type with a collection
743 + Leaf
744 + Node
745 + recursive type
746 + Leaf
747 + Node
748 + case class with overrided child codec
749 + Some
750 + None
751 + complex coproduct
752 + SubCoproduct.B
753 + SubCoproduct.C
754 + A
755 + D
756 + SubEnum.E
757 + SubEnum.F
758 + SubScala3Enum.G
759 + SubScala3Enum.H
760 + SubScala3CoproductEnum.L
761 + SubScala3CoproductEnum.K
762 + case class with an option list
763 + Some(List)
764 + None
765 + Some(List.empty)
766+ MutableDocumentSpec
767 + Document lookups
768 + should be the same as empty documents
769 + should support get()
770 + should support construction via json
771 + should support contains
772 + should support direct lookup
773 + should support getOrElse
774 + Document removals
775 + should support multiple inline subtractions
776 + should support inline subtraction
777 + should support inline subtraction of a traversable
778 + should support remove
779 + should support multiple inline subtractions
780 + should support clear
781 + should support multiple inline subtractions of a traversable
782 + should support retain
783 + should support transform
784 + Document additions and updates
785 + should support multiple additions
786 + should support addition of a traversable
787 + should support simple additions
788 + should support updated
789 + Document removals
790 + should support subtractions
791 + should support multiple subtractions
792 + should support subtraction of a traversable
793 + Document transformations
794 + should be filterable by keys
795 + Document subcollections
796 + should provide keys in the order set
797 + should provide a keySet in the order set
798 + should provide a keysIterator in the order set
799 + should provide values in the order set
800 + should provide a valueSet in the order set
801 + Documents
802 + support Traversable like builders
803 + Traversable helpers
804 + should be mappable thanks to CanBuildFrom
805 + should return a BsonDocument
806 + should work as expected
807 + should be able to create new Documents from iterable
808 + should return a Json representation
809 + Mutable Documents
810 + should support inline additions
811 + should support multiple inline additions
812 + should have maplike mutability
813 + should support inline addition of a traversable
814 + should support put
815 + should support inline update
816 + should support multiple inline addition of a traversable
817 + should support multiple inline updates
818 + should support getOrElseUpdate
819+ ImmutableDocumentSpec
820 + Document lookups
821 + should be the same as empty documents
822 + should support getOrElse
823 + should support get()
824 + should support construction via json
825 + should support direct lookup
826 + should support contains
827 + Document subcollections
828 + should provide a keysIterator in the order set
829 + should provide values in the order set
830 + should provide keys in the order set
831 + should provide a keySet in the order set
832 + should provide a valueSet in the order set
833 + Traversable helpers
834 + should work as expected
835 + should be able to create new Documents from iterable
836 + should be mappable thanks to CanBuildFrom
837 + should return a BsonDocument
838 + should return a Json representation
839 + Document removals
840 + should support subtractions
841 + should support multiple subtractions
842 + should support subtraction of a traversable
843 + Document additions and updates
844 + should support multiple additions
845 + should support addition of a traversable
846 + should support simple additions
847 + should support updated
848 + Document transformations
849 + should be filterable by keys
850 + Documents
851 + support Traversable like builders
852+ DerivedCodecErrorsSpec
853 + enum
854 + wrong enum value
855 + coproduct
856 + missing descriminator field
857 + wrong descriminator value
858 + wrong value type
859 + case class
860 + wrong field type
861 + collection
862 + unexpected type
863+ BsonTransformerSpec
864 + The BsonTransformer companion
865 + should transform Boolean
866 + should transform BigDecmial
867 + should transform Binary
868 + should not transform BsonValues
869 + should transform DateTime
870 + should transform Double
871 + should transform Decimal128
872 + should transform ImmutableDocument
873 + should transform Int
874 + should transform Long
875 + should transform None
876 + should transform KeyValuePairs[T]
877 + should transform MutableDocument
878 + should transform ObjectId
879 + should transform Seq[T]
880 + should transform Option[T]
881 + should transform Regex
882 + should transform String
883+ MutableDocumentCodecSpec
884 + should encoder class should work as expected
885 + should respect encodeIdFirst property in encoder context
886 + should determine if document has an _id
887 + should encode and decode all default types with readers and writers
888 + should not generate document id if present
889 + should get the document_id
890+ BsonCodecsSpec
891 + BsonBinary
892 + empty
893 + BsonBinary(1)
894 + BsonBinary(1, 2, 3)
895 + BsonInt64
896 + 0
897 + min
898 + max
899 + BsonMinKey
900 + minKey
901 + BsonString
902 + empty
903 + non-empty
904 + BsonTimestamp
905 + 0
906 + min long
907 + max long
908 + min seconds + increment
909 + max seconds + increment
910 + Decimal128
911 + negative zero
912 + positive infinity
913 + positive zero
914 + negative infinity
915 + 1, 1
916 + NaN
917 + negative NaN
918 + BsonBoolean
919 + false
920 + true
921 + BsonArray
922 + BsonArray(1)
923 + BsonArray(1, 2, 3)
924 + empty
925 + BsonDateTime
926 + 0
927 + min
928 + max
929 + BsonDecimal128
930 + positive zero
931 + negative zero
932 + NaN
933 + positive infinity
934 + negative infinity
935 + 1, 1
936 + negative NaN
937 + BsonDocument
938 + empty
939 + BsonDocument(1)
940 + BsonDocument(1, 2, 3)
941 + BsonDouble
942 + 0
943 + min
944 + max
945 + BsonInt32
946 + min
947 + 0
948 + max
949 + BsonJavaScriptWithScope
950 + empty
951 + non-empty
952 + BsonMaxKey
953 + maxKey
954 + BsonJavaScript
955 + empty
956 + non-empty
957 + BsonObjectId
958 + non-empty
959 + BsonRegularExpression
960 + non-empty
961 + BsonNull
962 + null
963 + BsonUndefined
964 + undefined
965 + BsonValue
966 + BsonBoolean
967 + BsonSymbol
968 + empty
969 + non-empty
970 + ObjectId
971 + non-empty
972+ DocumentCodecProviderSpec
973 + get the correct codec
974+ CollectionsCodecsSpec
975 + SeqCodec
976 + Seq(1, 2, 3)
977 + Seq(1)
978 + empty Seq
979 + VectorCodec
980 + empty Vector
981 + Vector(1)
982 + Vector(1, 2, 3)
983 + SetCodec
984 + Set(1)
985 + empty Set
986 + Set(1, 2, 3)
987 + ListCodec
988 + List(1, 2, 3)
989 + empty List
990 + List(1)
991+ PrimitiveCodecsSpec
992 + IntCodec
993 + -1
994 + 0
995 + 1
996 + Int.MaxValue
997 + Int.MinValue
998 + ByteCodec
999 + -1
1000 + Byte.MinValue
1001 + 1
1002 + Byte.MaxValue
1003 + 0
1004 + BooleanCodec
1005 + true
1006 + false
1007 + ShortCodec
1008 + Short.MaxValue
1009 + 1
1010 + -1
1011 + 0
1012 + Short.MinValue
1013 + LongCodec
1014 + 1
1015 + -1
1016 + 0
1017 + Long.MaxValue
1018 + Long.MinValue
1019 + DoubleCodec
1020 + 0.0
1021 + 1.0
1022 + -1.0
1023 + Double.MaxValue
1024 + Double.MinValue
1025 + FloatCodec
1026 + 0.0
1027 + 1.0
1028 + -1.0
1029 + Float.MaxValue
1030 + Float.MinValue
1031 + StringCodec
1032 + Hello world
1033 + empty string
1034321 tests passed. 0 tests failed. 0 tests ignored.
1035
1036Executed in 2 s 155 ms
1037
1038[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:3:20
1039[warn] 3 |import EasierValDef.*
1040[warn] | ^
1041[warn] | unused import
1042[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:7:54
1043[warn] 7 |import io.github.zeal18.zio.mongodb.bson.codecs.error.BsonError
1044[warn] | ^^^^^^^^^
1045[warn] | unused import
1046[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:8:16
1047[warn] 8 |import org.bson.BsonInvalidOperationException
1048[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1049[warn] | unused import
1050[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:10:16
1051[warn] 10 |import org.bson.BsonSerializationException
1052[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
1053[warn] | unused import
1054[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:11:16
1055[warn] 11 |import org.bson.BsonType
1056[warn] | ^^^^^^^^
1057[warn] | unused import
1058[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:16:24
1059[warn] 16 |import scala.annotation.tailrec
1060[warn] | ^^^^^^^
1061[warn] | unused import
1062[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:18:22
1063[warn] 18 |import scala.deriving.*
1064[warn] | ^
1065[warn] | unused import
1066[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:115:10
1067[warn] 115 | val fieldTypes = filedsToProcess.map(t => caseClass.memberType(t))
1068[warn] | ^^^^^^^^^^
1069[warn] | unused local definition
1070[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:121:16
1071[warn] 121 | val paramTypeInfo = TypeInfo[t]
1072[warn] | ^^^^^^^^^^^^^
1073[warn] | unused local definition
1074[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:181:8
1075[warn] 181 | val caseClass = TypeRepr.of[A]
1076[warn] | ^^^^^^^^^
1077[warn] | unused local definition
1078[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:187:23
1079[warn] 187 | import f.{Type as F, typeInstance}
1080[warn] | ^^^^^^^^^
1081[warn] | unused import
1082[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:296:8
1083[warn] 296 | val enumSymbol = TypeRepr.of[A].typeSymbol
1084[warn] | ^^^^^^^^^^
1085[warn] | unused local definition
1086[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:358:25
1087[warn] 358 | import field.{Type as F, typeInstance}
1088[warn] | ^^^^^^^^^
1089[warn] | unused import
1090[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:390:29
1091[warn] 390 | import field.{Type as F, typeInstance}
1092[warn] | ^^^^^^^^^
1093[warn] | unused import
1094[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:392:14
1095[warn] 392 | val symbol = fieldSymbol(field)
1096[warn] | ^^^^^^
1097[warn] | unused local definition
1098[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:505:21
1099[warn] 505 | import f.{Type as F, typeInstance}
1100[warn] | ^^^^^^^^^
1101[warn] | unused import
1102[warn] -- [E175] Potential Issue Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/mutable/Document.scala:249:37
1103[warn] 249 | if (!p(k, v)) underlying.remove(k)
1104[warn] | ^^^^^^^^^^^^^^^^^^^^
1105[warn] |discarded non-Unit value of type org.bson.BsonValue. Add `: Unit` to discard silently.
1106[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Field.scala:24:6
1107[warn] 24 | (Type.of[Ls], Type.of[Ts]) match
1108[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
1109[warn] | match may not be exhaustive.
1110[warn] |
1111[warn] | It would fail on pattern case: (_, _)
1112[warn] |
1113[warn] | longer explanation available when compiling with `-explain`
1114[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/EasierValDef.scala:41:28
1115[warn] 41 | import quotes.reflect.*
1116[warn] | ^
1117[warn] | unused import
1118[warn] -- Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/BaseDocument.scala:143:10
1119[warn] 143 | @nowarn("cat=unused")
1120[warn] | ^^^^^^^^^^^^
1121[warn] | Invalid message filter
1122[warn] | unknown category: unused
1123[warn] 20 warnings found
1124[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:7:24
1125[warn] 7 |import scala.annotation.nowarn
1126[warn] | ^^^^^^
1127[warn] | unused import
1128[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:43:9
1129[warn] 43 | ),
1130[warn] | ^
1131[warn] | unused local definition
1132[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:78:9
1133[warn] 78 | ),
1134[warn] | ^
1135[warn] | unused local definition
1136[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:103:9
1137[warn] 103 | ),
1138[warn] | ^
1139[warn] | unused local definition
1140[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:136:9
1141[warn] 136 | ),
1142[warn] | ^
1143[warn] | unused local definition
1144[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:169:9
1145[warn] 169 | ),
1146[warn] | ^
1147[warn] | unused local definition
1148[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:193:9
1149[warn] 193 | ),
1150[warn] | ^
1151[warn] | unused local definition
1152[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:20:65
1153[warn] 20 | case class DefaultField(a: Int, d: String = "default") derives Codec
1154[warn] | ^
1155[warn] | unused local definition
1156[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:45:23
1157[warn] 45 | enum Scala3ParamEnum(a: Int) derives Codec:
1158[warn] | ^
1159[warn] | unused explicit parameter
1160[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:56:47
1161[warn] 56 | given Codec[MixedCoproduct] = Codec.derived[MixedCoproduct]
1162[warn] | ^^^
1163[warn] | unused local definition
1164[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:64:52
1165[warn] 64 | given Codec[Scala3CoproductEnum] = Codec.derived[Scala3CoproductEnum]
1166[warn] | ^^^
1167[warn] | unused local definition
1168[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:67:48
1169[warn] 67 | sealed private trait ComplexCoproduct derives Codec
1170[warn] | ^
1171[warn] | unused local definition
1172[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:106:42
1173[warn] 106 | case class WithoutCodec(a: Int) derives Codec
1174[warn] | ^
1175[warn] | unused local definition
1176[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:107:74
1177[warn] 107 | case class CaseClassWithOption(a: Option[WithoutCodec], b: Int) derives Codec
1178[warn] | ^
1179[warn] | unused local definition
1180[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:114:84
1181[warn] 114 | case class CaseClassWithOverridedChild(a: Option[OverridedChild], b: Int) derives Codec
1182[warn] | ^
1183[warn] | unused local definition
1184[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:116:39
1185[warn] 116 | case class ListChild(a: Int) derives Codec
1186[warn] | ^
1187[warn] | unused local definition
1188[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:117:81
1189[warn] 117 | case class CaseClassWithOptionList(a: Option[List[ListChild]], b: Int) derives Codec
1190[warn] | ^
1191[warn] | unused local definition
1192[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:119:67
1193[warn] 119 | case class PropertyAnnotation(@BsonProperty("b") a: Int) derives Codec
1194[warn] | ^
1195[warn] | unused local definition
1196[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:120:70
1197[warn] 120 | case class IgnoreAnnotation(a: Int, @BsonIgnore b: Int = 0) derives Codec
1198[warn] | ^
1199[warn] | unused local definition
1200[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:121:50
1201[warn] 121 | case class IdAnnotation(@BsonId a: Int) derives Codec
1202[warn] | ^
1203[warn] | unused local definition
1204[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:126:89
1205[warn] 126 | testCodecRoundtrip("simple case class", Simple(1, "2"), """{"a": 1, "b": "2"}"""),
1206[warn] | ^
1207[warn] | unused local definition
1208[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:131:9
1209[warn] 131 | ),
1210[warn] | ^
1211[warn] | unused local definition
1212[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:137:11
1213[warn] 137 | ),
1214[warn] | ^
1215[warn] | unused local definition
1216[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:139:72
1217[warn] 139 | testCodecRoundtrip("generic", Generic[Int](43), """{"a": 43}"""),
1218[warn] | ^
1219[warn] | unused local definition
1220[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:140:93
1221[warn] 140 | testCodecRoundtrip("varargs field", VarargsField(1, 3, 42), """{"va": [1, 3, 42]}"""),
1222[warn] | ^
1223[warn] | unused local definition
1224[warn] 25 warnings found
1225[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:3:20
1226[warn] 3 |import EasierValDef.*
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:7:54
1230[warn] 7 |import io.github.zeal18.zio.mongodb.bson.codecs.error.BsonError
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:8:16
1234[warn] 8 |import org.bson.BsonInvalidOperationException
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:10:16
1238[warn] 10 |import org.bson.BsonSerializationException
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:11:16
1242[warn] 11 |import org.bson.BsonType
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:16:24
1246[warn] 16 |import scala.annotation.tailrec
1247[warn] | ^^^^^^^
1248[warn] | unused import
1249[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:18:22
1250[warn] 18 |import scala.deriving.*
1251[warn] | ^
1252[warn] | unused import
1253[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:115:10
1254[warn] 115 | val fieldTypes = filedsToProcess.map(t => caseClass.memberType(t))
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:121:16
1258[warn] 121 | val paramTypeInfo = TypeInfo[t]
1259[warn] | ^^^^^^^^^^^^^
1260[warn] | unused local definition
1261[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:181:8
1262[warn] 181 | val caseClass = TypeRepr.of[A]
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:187:23
1266[warn] 187 | import f.{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:296:8
1270[warn] 296 | val enumSymbol = TypeRepr.of[A].typeSymbol
1271[warn] | ^^^^^^^^^^
1272[warn] | unused local definition
1273[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:358:25
1274[warn] 358 | import field.{Type as F, typeInstance}
1275[warn] | ^^^^^^^^^
1276[warn] | unused import
1277[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:390:29
1278[warn] 390 | import field.{Type as F, typeInstance}
1279[warn] | ^^^^^^^^^
1280[warn] | unused import
1281[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:392:14
1282[warn] 392 | val symbol = fieldSymbol(field)
1283[warn] | ^^^^^^
1284[warn] | unused local definition
1285[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:505:21
1286[warn] 505 | import f.{Type as F, typeInstance}
1287[warn] | ^^^^^^^^^
1288[warn] | unused import
1289[warn] -- [E175] Potential Issue Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/mutable/Document.scala:249:37
1290[warn] 249 | if (!p(k, v)) underlying.remove(k)
1291[warn] | ^^^^^^^^^^^^^^^^^^^^
1292[warn] |discarded non-Unit value of type org.bson.BsonValue. Add `: Unit` to discard silently.
1293[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Field.scala:24:6
1294[warn] 24 | (Type.of[Ls], Type.of[Ts]) match
1295[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
1296[warn] | match may not be exhaustive.
1297[warn] |
1298[warn] | It would fail on pattern case: (_, _)
1299[warn] |
1300[warn] | longer explanation available when compiling with `-explain`
1301[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/EasierValDef.scala:41:28
1302[warn] 41 | import quotes.reflect.*
1303[warn] | ^
1304[warn] | unused import
1305[warn] -- Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/BaseDocument.scala:143:10
1306[warn] 143 | @nowarn("cat=unused")
1307[warn] | ^^^^^^^^^^^^
1308[warn] | Invalid message filter
1309[warn] | unknown category: unused
1310[warn] 20 warnings found
1311[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:7:24
1312[warn] 7 |import scala.annotation.nowarn
1313[warn] | ^^^^^^
1314[warn] | unused import
1315[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:43:9
1316[warn] 43 | ),
1317[warn] | ^
1318[warn] | unused local definition
1319[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:78:9
1320[warn] 78 | ),
1321[warn] | ^
1322[warn] | unused local definition
1323[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:103:9
1324[warn] 103 | ),
1325[warn] | ^
1326[warn] | unused local definition
1327[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:136:9
1328[warn] 136 | ),
1329[warn] | ^
1330[warn] | unused local definition
1331[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:169:9
1332[warn] 169 | ),
1333[warn] | ^
1334[warn] | unused local definition
1335[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:193:9
1336[warn] 193 | ),
1337[warn] | ^
1338[warn] | unused local definition
1339[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:20:65
1340[warn] 20 | case class DefaultField(a: Int, d: String = "default") derives Codec
1341[warn] | ^
1342[warn] | unused local definition
1343[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:45:23
1344[warn] 45 | enum Scala3ParamEnum(a: Int) derives Codec:
1345[warn] | ^
1346[warn] | unused explicit parameter
1347[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:56:47
1348[warn] 56 | given Codec[MixedCoproduct] = Codec.derived[MixedCoproduct]
1349[warn] | ^^^
1350[warn] | unused local definition
1351[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:64:52
1352[warn] 64 | given Codec[Scala3CoproductEnum] = Codec.derived[Scala3CoproductEnum]
1353[warn] | ^^^
1354[warn] | unused local definition
1355[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:67:48
1356[warn] 67 | sealed private trait ComplexCoproduct derives Codec
1357[warn] | ^
1358[warn] | unused local definition
1359[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:106:42
1360[warn] 106 | case class WithoutCodec(a: Int) derives Codec
1361[warn] | ^
1362[warn] | unused local definition
1363[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:107:74
1364[warn] 107 | case class CaseClassWithOption(a: Option[WithoutCodec], b: Int) derives Codec
1365[warn] | ^
1366[warn] | unused local definition
1367[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:114:84
1368[warn] 114 | case class CaseClassWithOverridedChild(a: Option[OverridedChild], b: Int) derives Codec
1369[warn] | ^
1370[warn] | unused local definition
1371[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:116:39
1372[warn] 116 | case class ListChild(a: Int) derives Codec
1373[warn] | ^
1374[warn] | unused local definition
1375[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:117:81
1376[warn] 117 | case class CaseClassWithOptionList(a: Option[List[ListChild]], b: Int) derives Codec
1377[warn] | ^
1378[warn] | unused local definition
1379[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:119:67
1380[warn] 119 | case class PropertyAnnotation(@BsonProperty("b") a: Int) derives Codec
1381[warn] | ^
1382[warn] | unused local definition
1383[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:120:70
1384[warn] 120 | case class IgnoreAnnotation(a: Int, @BsonIgnore b: Int = 0) derives Codec
1385[warn] | ^
1386[warn] | unused local definition
1387[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:121:50
1388[warn] 121 | case class IdAnnotation(@BsonId a: Int) derives Codec
1389[warn] | ^
1390[warn] | unused local definition
1391[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:126:89
1392[warn] 126 | testCodecRoundtrip("simple case class", Simple(1, "2"), """{"a": 1, "b": "2"}"""),
1393[warn] | ^
1394[warn] | unused local definition
1395[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:131:9
1396[warn] 131 | ),
1397[warn] | ^
1398[warn] | unused local definition
1399[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:137:11
1400[warn] 137 | ),
1401[warn] | ^
1402[warn] | unused local definition
1403[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:139:72
1404[warn] 139 | testCodecRoundtrip("generic", Generic[Int](43), """{"a": 43}"""),
1405[warn] | ^
1406[warn] | unused local definition
1407[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:140:93
1408[warn] 140 | testCodecRoundtrip("varargs field", VarargsField(1, 3, 42), """{"va": [1, 3, 42]}"""),
1409[warn] | ^
1410[warn] | unused local definition
1411[warn] 25 warnings found
1412Starting build for ProjectRef(file:/build/repo/,driver) (zio-mongodb-driver)... [1/3]
1413Compile 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
1414[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:3:20
1415[warn] 3 |import EasierValDef.*
1416[warn] | ^
1417[warn] | unused import
1418[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:7:54
1419[warn] 7 |import io.github.zeal18.zio.mongodb.bson.codecs.error.BsonError
1420[warn] | ^^^^^^^^^
1421[warn] | unused import
1422[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:8:16
1423[warn] 8 |import org.bson.BsonInvalidOperationException
1424[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1425[warn] | unused import
1426[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:10:16
1427[warn] 10 |import org.bson.BsonSerializationException
1428[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
1429[warn] | unused import
1430[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:11:16
1431[warn] 11 |import org.bson.BsonType
1432[warn] | ^^^^^^^^
1433[warn] | unused import
1434[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:16:24
1435[warn] 16 |import scala.annotation.tailrec
1436[warn] | ^^^^^^^
1437[warn] | unused import
1438[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:18:22
1439[warn] 18 |import scala.deriving.*
1440[warn] | ^
1441[warn] | unused import
1442[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:115:10
1443[warn] 115 | val fieldTypes = filedsToProcess.map(t => caseClass.memberType(t))
1444[warn] | ^^^^^^^^^^
1445[warn] | unused local definition
1446[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:121:16
1447[warn] 121 | val paramTypeInfo = TypeInfo[t]
1448[warn] | ^^^^^^^^^^^^^
1449[warn] | unused local definition
1450[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:181:8
1451[warn] 181 | val caseClass = TypeRepr.of[A]
1452[warn] | ^^^^^^^^^
1453[warn] | unused local definition
1454[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:187:23
1455[warn] 187 | import f.{Type as F, typeInstance}
1456[warn] | ^^^^^^^^^
1457[warn] | unused import
1458[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:296:8
1459[warn] 296 | val enumSymbol = TypeRepr.of[A].typeSymbol
1460[warn] | ^^^^^^^^^^
1461[warn] | unused local definition
1462[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:358:25
1463[warn] 358 | import field.{Type as F, typeInstance}
1464[warn] | ^^^^^^^^^
1465[warn] | unused import
1466[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:390:29
1467[warn] 390 | import field.{Type as F, typeInstance}
1468[warn] | ^^^^^^^^^
1469[warn] | unused import
1470[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:392:14
1471[warn] 392 | val symbol = fieldSymbol(field)
1472[warn] | ^^^^^^
1473[warn] | unused local definition
1474[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:505:21
1475[warn] 505 | import f.{Type as F, typeInstance}
1476[warn] | ^^^^^^^^^
1477[warn] | unused import
1478[warn] -- [E175] Potential Issue Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/mutable/Document.scala:249:37
1479[warn] 249 | if (!p(k, v)) underlying.remove(k)
1480[warn] | ^^^^^^^^^^^^^^^^^^^^
1481[warn] |discarded non-Unit value of type org.bson.BsonValue. Add `: Unit` to discard silently.
1482[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Field.scala:24:6
1483[warn] 24 | (Type.of[Ls], Type.of[Ts]) match
1484[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
1485[warn] | match may not be exhaustive.
1486[warn] |
1487[warn] | It would fail on pattern case: (_, _)
1488[warn] |
1489[warn] | longer explanation available when compiling with `-explain`
1490[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/EasierValDef.scala:41:28
1491[warn] 41 | import quotes.reflect.*
1492[warn] | ^
1493[warn] | unused import
1494[warn] -- Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/BaseDocument.scala:143:10
1495[warn] 143 | @nowarn("cat=unused")
1496[warn] | ^^^^^^^^^^^^
1497[warn] | Invalid message filter
1498[warn] | unknown category: unused
1499[warn] 20 warnings found
1500[info] compiling 85 Scala sources to /build/repo/driver/target/scala-3.8.0/classes ...
1501[warn] -- [E175] Potential Issue Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/MongoClientSettings.scala:43:27
1502[warn] 43 | builder.codecRegistry(MongoClient.DEFAULT_CODEC_REGISTRY)
1503[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1504[warn] |discarded non-Unit value of type com.mongodb.MongoClientSettings#Builder. Add `: Unit` to discard silently.
1505[warn] -- [E147] Syntax Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/expressions/Expression.scala:1509:4
1506[warn] 1509 | final object Rand extends Misc
1507[warn] | ^^^^^
1508[warn] | Modifier final is redundant for this definition
1509[warn] -- [E198] Unused Symbol Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/Aggregation.scala:271:43
1510[warn] 271 | final case class Bucket[Boundary: Numeric, Default](
1511[warn] | ^
1512[warn] | unused implicit parameter
1513[info] done compiling
1514[warn] three warnings found
1515[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:3:20
1516[warn] 3 |import EasierValDef.*
1517[warn] | ^
1518[warn] | unused import
1519[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:7:54
1520[warn] 7 |import io.github.zeal18.zio.mongodb.bson.codecs.error.BsonError
1521[warn] | ^^^^^^^^^
1522[warn] | unused import
1523[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:8:16
1524[warn] 8 |import org.bson.BsonInvalidOperationException
1525[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1526[warn] | unused import
1527[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:10:16
1528[warn] 10 |import org.bson.BsonSerializationException
1529[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
1530[warn] | unused import
1531[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:11:16
1532[warn] 11 |import org.bson.BsonType
1533[warn] | ^^^^^^^^
1534[warn] | unused import
1535[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:16:24
1536[warn] 16 |import scala.annotation.tailrec
1537[warn] | ^^^^^^^
1538[warn] | unused import
1539[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:18:22
1540[warn] 18 |import scala.deriving.*
1541[warn] | ^
1542[warn] | unused import
1543[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:115:10
1544[warn] 115 | val fieldTypes = filedsToProcess.map(t => caseClass.memberType(t))
1545[warn] | ^^^^^^^^^^
1546[warn] | unused local definition
1547[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:121:16
1548[warn] 121 | val paramTypeInfo = TypeInfo[t]
1549[warn] | ^^^^^^^^^^^^^
1550[warn] | unused local definition
1551[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:181:8
1552[warn] 181 | val caseClass = TypeRepr.of[A]
1553[warn] | ^^^^^^^^^
1554[warn] | unused local definition
1555[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:187:23
1556[warn] 187 | import f.{Type as F, typeInstance}
1557[warn] | ^^^^^^^^^
1558[warn] | unused import
1559[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:296:8
1560[warn] 296 | val enumSymbol = TypeRepr.of[A].typeSymbol
1561[warn] | ^^^^^^^^^^
1562[warn] | unused local definition
1563[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:358:25
1564[warn] 358 | import field.{Type as F, typeInstance}
1565[warn] | ^^^^^^^^^
1566[warn] | unused import
1567[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:390:29
1568[warn] 390 | import field.{Type as F, typeInstance}
1569[warn] | ^^^^^^^^^
1570[warn] | unused import
1571[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:392:14
1572[warn] 392 | val symbol = fieldSymbol(field)
1573[warn] | ^^^^^^
1574[warn] | unused local definition
1575[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:505:21
1576[warn] 505 | import f.{Type as F, typeInstance}
1577[warn] | ^^^^^^^^^
1578[warn] | unused import
1579[warn] -- [E175] Potential Issue Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/mutable/Document.scala:249:37
1580[warn] 249 | if (!p(k, v)) underlying.remove(k)
1581[warn] | ^^^^^^^^^^^^^^^^^^^^
1582[warn] |discarded non-Unit value of type org.bson.BsonValue. Add `: Unit` to discard silently.
1583[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Field.scala:24:6
1584[warn] 24 | (Type.of[Ls], Type.of[Ts]) match
1585[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
1586[warn] | match may not be exhaustive.
1587[warn] |
1588[warn] | It would fail on pattern case: (_, _)
1589[warn] |
1590[warn] | longer explanation available when compiling with `-explain`
1591[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/EasierValDef.scala:41:28
1592[warn] 41 | import quotes.reflect.*
1593[warn] | ^
1594[warn] | unused import
1595[warn] -- Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/BaseDocument.scala:143:10
1596[warn] 143 | @nowarn("cat=unused")
1597[warn] | ^^^^^^^^^^^^
1598[warn] | Invalid message filter
1599[warn] | unknown category: unused
1600[warn] 20 warnings found
1601[warn] -- [E175] Potential Issue Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/MongoClientSettings.scala:43:27
1602[warn] 43 | builder.codecRegistry(MongoClient.DEFAULT_CODEC_REGISTRY)
1603[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1604[warn] |discarded non-Unit value of type com.mongodb.MongoClientSettings#Builder. Add `: Unit` to discard silently.
1605[warn] -- [E147] Syntax Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/expressions/Expression.scala:1509:4
1606[warn] 1509 | final object Rand extends Misc
1607[warn] | ^^^^^
1608[warn] | Modifier final is redundant for this definition
1609[warn] -- [E198] Unused Symbol Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/Aggregation.scala:271:43
1610[warn] 271 | final case class Bucket[Boundary: Numeric, Default](
1611[warn] | ^
1612[warn] | unused implicit parameter
1613[warn] three warnings found
1614[info] compiling 13 Scala sources to /build/repo/driver/target/scala-3.8.0/test-classes ...
1615[warn] -- [E198] Unused Symbol Warning: /build/repo/driver/src/test/scala/io/github/zeal18/zio/mongodb/driver/aggregates/AggregatesSpec.scala:5:54
1616[warn] 5 |import io.github.zeal18.zio.mongodb.driver.aggregates.expressions
1617[warn] | ^^^^^^^^^^^
1618[warn] | unused import
1619[info] done compiling
1620[warn] one warning found
1621[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:3:20
1622[warn] 3 |import EasierValDef.*
1623[warn] | ^
1624[warn] | unused import
1625[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:7:54
1626[warn] 7 |import io.github.zeal18.zio.mongodb.bson.codecs.error.BsonError
1627[warn] | ^^^^^^^^^
1628[warn] | unused import
1629[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:8:16
1630[warn] 8 |import org.bson.BsonInvalidOperationException
1631[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1632[warn] | unused import
1633[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:10:16
1634[warn] 10 |import org.bson.BsonSerializationException
1635[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
1636[warn] | unused import
1637[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:11:16
1638[warn] 11 |import org.bson.BsonType
1639[warn] | ^^^^^^^^
1640[warn] | unused import
1641[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:16:24
1642[warn] 16 |import scala.annotation.tailrec
1643[warn] | ^^^^^^^
1644[warn] | unused import
1645[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:18:22
1646[warn] 18 |import scala.deriving.*
1647[warn] | ^
1648[warn] | unused import
1649[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:115:10
1650[warn] 115 | val fieldTypes = filedsToProcess.map(t => caseClass.memberType(t))
1651[warn] | ^^^^^^^^^^
1652[warn] | unused local definition
1653[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:121:16
1654[warn] 121 | val paramTypeInfo = TypeInfo[t]
1655[warn] | ^^^^^^^^^^^^^
1656[warn] | unused local definition
1657[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:181:8
1658[warn] 181 | val caseClass = TypeRepr.of[A]
1659[warn] | ^^^^^^^^^
1660[warn] | unused local definition
1661[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:187:23
1662[warn] 187 | import f.{Type as F, typeInstance}
1663[warn] | ^^^^^^^^^
1664[warn] | unused import
1665[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:296:8
1666[warn] 296 | val enumSymbol = TypeRepr.of[A].typeSymbol
1667[warn] | ^^^^^^^^^^
1668[warn] | unused local definition
1669[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:358:25
1670[warn] 358 | import field.{Type as F, typeInstance}
1671[warn] | ^^^^^^^^^
1672[warn] | unused import
1673[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:390:29
1674[warn] 390 | import field.{Type as F, typeInstance}
1675[warn] | ^^^^^^^^^
1676[warn] | unused import
1677[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:392:14
1678[warn] 392 | val symbol = fieldSymbol(field)
1679[warn] | ^^^^^^
1680[warn] | unused local definition
1681[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:505:21
1682[warn] 505 | import f.{Type as F, typeInstance}
1683[warn] | ^^^^^^^^^
1684[warn] | unused import
1685[warn] -- [E175] Potential Issue Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/mutable/Document.scala:249:37
1686[warn] 249 | if (!p(k, v)) underlying.remove(k)
1687[warn] | ^^^^^^^^^^^^^^^^^^^^
1688[warn] |discarded non-Unit value of type org.bson.BsonValue. Add `: Unit` to discard silently.
1689[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Field.scala:24:6
1690[warn] 24 | (Type.of[Ls], Type.of[Ts]) match
1691[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
1692[warn] | match may not be exhaustive.
1693[warn] |
1694[warn] | It would fail on pattern case: (_, _)
1695[warn] |
1696[warn] | longer explanation available when compiling with `-explain`
1697[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/EasierValDef.scala:41:28
1698[warn] 41 | import quotes.reflect.*
1699[warn] | ^
1700[warn] | unused import
1701[warn] -- Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/BaseDocument.scala:143:10
1702[warn] 143 | @nowarn("cat=unused")
1703[warn] | ^^^^^^^^^^^^
1704[warn] | Invalid message filter
1705[warn] | unknown category: unused
1706[warn] 20 warnings found
1707[warn] -- [E175] Potential Issue Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/MongoClientSettings.scala:43:27
1708[warn] 43 | builder.codecRegistry(MongoClient.DEFAULT_CODEC_REGISTRY)
1709[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1710[warn] |discarded non-Unit value of type com.mongodb.MongoClientSettings#Builder. Add `: Unit` to discard silently.
1711[warn] -- [E147] Syntax Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/expressions/Expression.scala:1509:4
1712[warn] 1509 | final object Rand extends Misc
1713[warn] | ^^^^^
1714[warn] | Modifier final is redundant for this definition
1715[warn] -- [E198] Unused Symbol Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/Aggregation.scala:271:43
1716[warn] 271 | final case class Bucket[Boundary: Numeric, Default](
1717[warn] | ^
1718[warn] | unused implicit parameter
1719[warn] three warnings found
1720[warn] -- [E198] Unused Symbol Warning: /build/repo/driver/src/test/scala/io/github/zeal18/zio/mongodb/driver/aggregates/AggregatesSpec.scala:5:54
1721[warn] 5 |import io.github.zeal18.zio.mongodb.driver.aggregates.expressions
1722[warn] | ^^^^^^^^^^^
1723[warn] | unused import
1724[warn] one warning found
1725WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
1726WARNING: sun.misc.Unsafe::objectFieldOffset has been called by scala.runtime.LazyVals$ (file:/root/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/3.8.0/scala-library-3.8.0.jar)
1727WARNING: Please consider reporting this to the maintainers of class scala.runtime.LazyVals$
1728WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
1729+ EmptySubscriberSpec
1730 + fails with an initially failed `Publisher`
1731 + works with a well behaved `Publisher`
1732 + does not fail a fiber on failing `Publisher`
1733 + returns Unit when completed without elements
1734 + cancels subscription when interrupted before subscription - repeated: 100
1735 + cancels subscription when interrupted after subscription - repeated: 100
1736 + cancels subscription when interrupted during consumption - repeated: 100
1737+ UpdatesSpec
1738 + combine
1739 + setOnInsert
1740 + inc
1741 + inc long
1742 + inc double
1743 + inc int
1744 + pushEach
1745 + without options
1746 + with non-document sorting options
1747 + with document sorting options
1748 + raw
1749 + bson
1750 + json
1751 + bitwise
1752 + and int
1753 + xor long
1754 + or long
1755 + and long
1756 + or int
1757 + xor int
1758 + set
1759 + unset
1760 + min
1761 + rename
1762 + max
1763 + currentDate
1764 + addToSet
1765 + mul
1766 + mul long
1767 + mul double
1768 + mul int
1769 + addEachToSet
1770 + currentTimestamp
1771 + push
1772 + pull
1773 + pullAll
1774 + pullAll set
1775 + pullAll seq
1776 + popFirst
1777 + popLast
1778 + pullByFilter
1779+ ExpressionsSpec
1780 + literal
1781 + double
1782 + int
1783 + string
1784 + operator
1785 + boolean
1786 + and
1787 + trigonometry
1788 + not
1789 + cos
1790 + or
1791 + comparison
1792 + cmp
1793 + eq
1794 + gt
1795 + gte
1796 + sin
1797 + lt
1798 + asin
1799 + lte
1800 + tan
1801 + ne
1802 + array
1803 + arrayElemAt
1804 + arrayToObject
1805 + concatArrays
1806 + filter
1807 + first
1808 + in
1809 + firstN
1810 + indexOfArray
1811 + isArray
1812 + lastN
1813 + last
1814 + map
1815 + MaxN
1816 + MinN
1817 + objectToArray
1818 + range
1819 + reduce
1820 + reverseArray
1821 + size
1822 + slice
1823 + sortArrayByValue
1824 + sortArrayByField
1825 + zipShortest
1826 + acos
1827 + zipLongest
1828 + custom
1829 + function
1830 + data size
1831 + binarySize
1832 + bsonSize
1833 + arithmetic
1834 + divide
1835 + exp
1836 + floor
1837 + ln
1838 + log
1839 + log10
1840 + mod
1841 + atan
1842 + asinh
1843 + multiply
1844 + pow
1845 + abs
1846 + atan2
1847 + add
1848 + ceil
1849 + round
1850 + acosh
1851 + without place
1852 + with place
1853 + subtract
1854 + sqrt
1855 + trunc
1856 + without place
1857 + with place
1858 + atanh
1859 + cosh
1860 + conditional
1861 + sinh
1862 + switch
1863 + ifNull
1864 + cond
1865 + miscellaneous
1866 + getField
1867 + rand
1868 + sampleRate
1869 + object
1870 + mergeObjects
1871 + tanh
1872 + degreesToRadians
1873 + setField
1874 + text
1875 + meta
1876 + set
1877 + allElementsTrue
1878 + radiansToDegrees
1879 + anyElementTrue
1880 + setDifference
1881 + setEquals
1882 + setIntersection
1883 + setIsSubset
1884 + setUnion
1885 + date
1886 + dateAdd
1887 + dateFromParts ISO
1888 + dateDiff
1889 + dateFromParts
1890 + dateToParts
1891 + dateToString
1892 + dateFromString
1893 + dateSubtract
1894 + dateTrunc
1895 + dayOfMonth
1896 + hour
1897 + isoDayOfWeek
1898 + dayOfWeek
1899 + dayOfYear
1900 + isoWeek
1901 + isoWeekYear
1902 + millisecond
1903 + minute
1904 + month
1905 + second
1906 + toDate
1907 + week
1908 + year
1909 + type
1910 + isNumber
1911 + toBool
1912 + toDecimal
1913 + convert
1914 + toObjectId
1915 + type
1916 + toDouble
1917 + toLong
1918 + toInt
1919 + string
1920 + concat
1921 + indexOfBytes
1922 + indexOfCP
1923 + ltrim
1924 + regexFind
1925 + regexFindAll
1926 + regexMatch
1927 + replaceOne
1928 + split
1929 + strLenBytes
1930 + replaceAll
1931 + rtrim
1932 + strcasecmp
1933 + strLenCP
1934 + toLower
1935 + toString
1936 + toUpper
1937 + substrCP
1938 + substrBytes
1939 + trim
1940 + let
1941 + field path
1942 + expression object
1943 + raw
1944 + bson
1945 + json
1946+ AggregatesSpec
1947 + count
1948 + match
1949 + filter
1950 + count with field
1951 + facet
1952 + sort
1953 + limit
1954 + group
1955 + lookup
1956 + lookup join
1957 + unwind
1958 + project
1959 + unwind with options
1960 + raw
1961 + json
1962 + bson
1963 + sortByCount
1964 + bucketAuto
1965 + bucket
1966+ FiltersSpec
1967 + notEqual
1968 + notEqual
1969 + ne
1970 + and
1971 + and varargs
1972 + and set
1973 + type
1974 + type
1975 + lt/lte
1976 + lt
1977 + lte
1978 + gt/gte
1979 + gt
1980 + gte
1981 + equal
1982 + eq _id
1983 + equal field
1984 + eq field
1985 + equal _id
1986 + exists
1987 + exists false
1988 + exists
1989 + exists true
1990 + all
1991 + notNull
1992 + None
1993 + None
1994 + in
1995 + in seq
1996 + in set
1997 + isNull
1998 + None
1999 + None
2000 + nin
2001 + nin seq
2002 + nin set
2003 + or
2004 + or set
2005 + or varargs
2006 + nor
2007 + nor set
2008 + nor varargs
2009 + not
2010 + mod
2011 + all set
2012 + all seq
2013 + bits
2014 + size
2015 + regex
2016 + regex
2017 + regex flags
2018 + text
2019 + text sensitive
2020 + text insensitive
2021 + text
2022 + expr
2023 + elemMatch
2024 + bitsAllSet
2025 + bitsAnySet
2026 + bitsAllClear
2027 + bitsAnyClear
2028 + raw
2029 + json
2030 + bson
2031 + where
2032 + jsonSchema
2033+ SortSpec
2034 + desc
2035 + asc
2036 + raw
2037 + bson
2038 + json
2039 + textScore
2040 + compound
2041+ AccumulatorsSpec
2042 + first
2043 + avg
2044 + firstN
2045 + sum
2046 + last
2047 + lastN
2048 + max
2049 + min
2050 + minN
2051 + maxN
2052 + push
2053 + stdDevPop
2054 + mergeObjects
2055 + addToSet
2056 + stdDevSamp
2057 + bottomN
2058 + bottom
2059 + top
2060 + raw
2061 + bson
2062 + json
2063 + count
2064 + topN
2065 + accumulator
2066+ ProjectionsSpec
2067 + exclude
2068 + computed
2069 + include
2070 + excludeId
2071 + elemMatch filter
2072 + elemMatch
2073 + meta
2074 + metaTextScore
2075 + raw
2076 + json
2077 + bson
2078 + slice
2079 + fields
2080 + slice skip
2081+ IndexKeysSpec
2082 + ascending
2083 + geo2d
2084 + descending
2085 + compound
2086 + geo2dsphere
2087 + overriding
2088 + basic
2089 + text
2090 + hashed
2091 + raw
2092 + bson
2093 + json
2094+ IterableSubscriberSpec
2095 + fails with an initially failed `Publisher`
2096 + fails with an eventually failing `Publisher`
2097 + does not fail a fiber on failing `Publisher`
2098 + works with a well behaved `Publisher`
2099 + cancels subscription when interrupted before subscription - repeated: 100
2100 + cancels subscription when interrupted after subscription - repeated: 100
2101 + cancels subscription when interrupted during consumption - repeated: 100
2102+ SingleElementSubscriberSpec
2103 + returns None when completed without elements
2104 + fails with an initially failed `Publisher`
2105 + does not fail a fiber on failing `Publisher`
2106 + works with a well behaved `Publisher`
2107 + cancels subscription when interrupted before subscription - repeated: 100
2108 + cancels subscription when interrupted during consumption - repeated: 100
2109 + cancels subscription when interrupted after subscription - repeated: 100
2110+ WindowsSpec
2111 + firstN
2112 + avg
2113 + sum
2114 + first
2115 + last
2116 + maxN
2117 + lastN
2118 + minN
2119 + max
2120 + push
2121 + stdDevPop
2122 + addToSet
2123 + min
2124 + stdDevSamp
2125 + bottom
2126 + top
2127 + bottomN
2128 + covarianceSamp
2129 + covariancePop
2130 + topN
2131 + count
2132 + documentNumber
2133 + denceRank
2134 + expMovingAvgN
2135 + derivative
2136 + linearFill
2137 + locf
2138 + expMovingAvgAlpha
2139 + raw
2140 + integral
2141 + bson
2142 + json
2143 + rank
2144 + shift
2145+ HintsSpec
2146 + name
2147 + forwardScan
2148 + raw
2149 + bson
2150 + json
2151 + index
2152 + key
2153 + reverseScan
2154360 tests passed. 0 tests failed. 0 tests ignored.
2155
2156Executed in 2 s 567 ms
2157
2158[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:3:20
2159[warn] 3 |import EasierValDef.*
2160[warn] | ^
2161[warn] | unused import
2162[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:7:54
2163[warn] 7 |import io.github.zeal18.zio.mongodb.bson.codecs.error.BsonError
2164[warn] | ^^^^^^^^^
2165[warn] | unused import
2166[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:8:16
2167[warn] 8 |import org.bson.BsonInvalidOperationException
2168[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2169[warn] | unused import
2170[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:10:16
2171[warn] 10 |import org.bson.BsonSerializationException
2172[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
2173[warn] | unused import
2174[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:11:16
2175[warn] 11 |import org.bson.BsonType
2176[warn] | ^^^^^^^^
2177[warn] | unused import
2178[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:16:24
2179[warn] 16 |import scala.annotation.tailrec
2180[warn] | ^^^^^^^
2181[warn] | unused import
2182[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:18:22
2183[warn] 18 |import scala.deriving.*
2184[warn] | ^
2185[warn] | unused import
2186[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:115:10
2187[warn] 115 | val fieldTypes = filedsToProcess.map(t => caseClass.memberType(t))
2188[warn] | ^^^^^^^^^^
2189[warn] | unused local definition
2190[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:121:16
2191[warn] 121 | val paramTypeInfo = TypeInfo[t]
2192[warn] | ^^^^^^^^^^^^^
2193[warn] | unused local definition
2194[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:181:8
2195[warn] 181 | val caseClass = TypeRepr.of[A]
2196[warn] | ^^^^^^^^^
2197[warn] | unused local definition
2198[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:187:23
2199[warn] 187 | import f.{Type as F, typeInstance}
2200[warn] | ^^^^^^^^^
2201[warn] | unused import
2202[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:296:8
2203[warn] 296 | val enumSymbol = TypeRepr.of[A].typeSymbol
2204[warn] | ^^^^^^^^^^
2205[warn] | unused local definition
2206[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:358:25
2207[warn] 358 | import field.{Type as F, typeInstance}
2208[warn] | ^^^^^^^^^
2209[warn] | unused import
2210[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:390:29
2211[warn] 390 | import field.{Type as F, typeInstance}
2212[warn] | ^^^^^^^^^
2213[warn] | unused import
2214[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:392:14
2215[warn] 392 | val symbol = fieldSymbol(field)
2216[warn] | ^^^^^^
2217[warn] | unused local definition
2218[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:505:21
2219[warn] 505 | import f.{Type as F, typeInstance}
2220[warn] | ^^^^^^^^^
2221[warn] | unused import
2222[warn] -- [E175] Potential Issue Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/mutable/Document.scala:249:37
2223[warn] 249 | if (!p(k, v)) underlying.remove(k)
2224[warn] | ^^^^^^^^^^^^^^^^^^^^
2225[warn] |discarded non-Unit value of type org.bson.BsonValue. Add `: Unit` to discard silently.
2226[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Field.scala:24:6
2227[warn] 24 | (Type.of[Ls], Type.of[Ts]) match
2228[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
2229[warn] | match may not be exhaustive.
2230[warn] |
2231[warn] | It would fail on pattern case: (_, _)
2232[warn] |
2233[warn] | longer explanation available when compiling with `-explain`
2234[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/EasierValDef.scala:41:28
2235[warn] 41 | import quotes.reflect.*
2236[warn] | ^
2237[warn] | unused import
2238[warn] -- Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/BaseDocument.scala:143:10
2239[warn] 143 | @nowarn("cat=unused")
2240[warn] | ^^^^^^^^^^^^
2241[warn] | Invalid message filter
2242[warn] | unknown category: unused
2243[warn] 20 warnings found
2244[warn] -- [E175] Potential Issue Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/MongoClientSettings.scala:43:27
2245[warn] 43 | builder.codecRegistry(MongoClient.DEFAULT_CODEC_REGISTRY)
2246[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2247[warn] |discarded non-Unit value of type com.mongodb.MongoClientSettings#Builder. Add `: Unit` to discard silently.
2248[warn] -- [E147] Syntax Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/expressions/Expression.scala:1509:4
2249[warn] 1509 | final object Rand extends Misc
2250[warn] | ^^^^^
2251[warn] | Modifier final is redundant for this definition
2252[warn] -- [E198] Unused Symbol Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/Aggregation.scala:271:43
2253[warn] 271 | final case class Bucket[Boundary: Numeric, Default](
2254[warn] | ^
2255[warn] | unused implicit parameter
2256[warn] three warnings found
2257[warn] -- [E198] Unused Symbol Warning: /build/repo/driver/src/test/scala/io/github/zeal18/zio/mongodb/driver/aggregates/AggregatesSpec.scala:5:54
2258[warn] 5 |import io.github.zeal18.zio.mongodb.driver.aggregates.expressions
2259[warn] | ^^^^^^^^^^^
2260[warn] | unused import
2261[warn] one warning found
2262[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:3:20
2263[warn] 3 |import EasierValDef.*
2264[warn] | ^
2265[warn] | unused import
2266[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:7:54
2267[warn] 7 |import io.github.zeal18.zio.mongodb.bson.codecs.error.BsonError
2268[warn] | ^^^^^^^^^
2269[warn] | unused import
2270[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:8:16
2271[warn] 8 |import org.bson.BsonInvalidOperationException
2272[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2273[warn] | unused import
2274[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:10:16
2275[warn] 10 |import org.bson.BsonSerializationException
2276[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
2277[warn] | unused import
2278[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:11:16
2279[warn] 11 |import org.bson.BsonType
2280[warn] | ^^^^^^^^
2281[warn] | unused import
2282[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:16:24
2283[warn] 16 |import scala.annotation.tailrec
2284[warn] | ^^^^^^^
2285[warn] | unused import
2286[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:18:22
2287[warn] 18 |import scala.deriving.*
2288[warn] | ^
2289[warn] | unused import
2290[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:115:10
2291[warn] 115 | val fieldTypes = filedsToProcess.map(t => caseClass.memberType(t))
2292[warn] | ^^^^^^^^^^
2293[warn] | unused local definition
2294[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:121:16
2295[warn] 121 | val paramTypeInfo = TypeInfo[t]
2296[warn] | ^^^^^^^^^^^^^
2297[warn] | unused local definition
2298[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:181:8
2299[warn] 181 | val caseClass = TypeRepr.of[A]
2300[warn] | ^^^^^^^^^
2301[warn] | unused local definition
2302[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:187:23
2303[warn] 187 | import f.{Type as F, typeInstance}
2304[warn] | ^^^^^^^^^
2305[warn] | unused import
2306[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:296:8
2307[warn] 296 | val enumSymbol = TypeRepr.of[A].typeSymbol
2308[warn] | ^^^^^^^^^^
2309[warn] | unused local definition
2310[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:358:25
2311[warn] 358 | import field.{Type as F, typeInstance}
2312[warn] | ^^^^^^^^^
2313[warn] | unused import
2314[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:390:29
2315[warn] 390 | import field.{Type as F, typeInstance}
2316[warn] | ^^^^^^^^^
2317[warn] | unused import
2318[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:392:14
2319[warn] 392 | val symbol = fieldSymbol(field)
2320[warn] | ^^^^^^
2321[warn] | unused local definition
2322[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:505:21
2323[warn] 505 | import f.{Type as F, typeInstance}
2324[warn] | ^^^^^^^^^
2325[warn] | unused import
2326[warn] -- [E175] Potential Issue Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/mutable/Document.scala:249:37
2327[warn] 249 | if (!p(k, v)) underlying.remove(k)
2328[warn] | ^^^^^^^^^^^^^^^^^^^^
2329[warn] |discarded non-Unit value of type org.bson.BsonValue. Add `: Unit` to discard silently.
2330[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Field.scala:24:6
2331[warn] 24 | (Type.of[Ls], Type.of[Ts]) match
2332[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
2333[warn] | match may not be exhaustive.
2334[warn] |
2335[warn] | It would fail on pattern case: (_, _)
2336[warn] |
2337[warn] | longer explanation available when compiling with `-explain`
2338[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/EasierValDef.scala:41:28
2339[warn] 41 | import quotes.reflect.*
2340[warn] | ^
2341[warn] | unused import
2342[warn] -- Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/BaseDocument.scala:143:10
2343[warn] 143 | @nowarn("cat=unused")
2344[warn] | ^^^^^^^^^^^^
2345[warn] | Invalid message filter
2346[warn] | unknown category: unused
2347[warn] 20 warnings found
2348[warn] -- [E175] Potential Issue Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/MongoClientSettings.scala:43:27
2349[warn] 43 | builder.codecRegistry(MongoClient.DEFAULT_CODEC_REGISTRY)
2350[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2351[warn] |discarded non-Unit value of type com.mongodb.MongoClientSettings#Builder. Add `: Unit` to discard silently.
2352[warn] -- [E147] Syntax Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/expressions/Expression.scala:1509:4
2353[warn] 1509 | final object Rand extends Misc
2354[warn] | ^^^^^
2355[warn] | Modifier final is redundant for this definition
2356[warn] -- [E198] Unused Symbol Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/Aggregation.scala:271:43
2357[warn] 271 | final case class Bucket[Boundary: Numeric, Default](
2358[warn] | ^
2359[warn] | unused implicit parameter
2360[warn] three warnings found
2361[warn] -- [E198] Unused Symbol Warning: /build/repo/driver/src/test/scala/io/github/zeal18/zio/mongodb/driver/aggregates/AggregatesSpec.scala:5:54
2362[warn] 5 |import io.github.zeal18.zio.mongodb.driver.aggregates.expressions
2363[warn] | ^^^^^^^^^^^
2364[warn] | unused import
2365[warn] one warning found
2366Starting build for ProjectRef(file:/build/repo/,testkit) (zio-mongodb-testkit)... [2/3]
2367Compile 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
2368[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:3:20
2369[warn] 3 |import EasierValDef.*
2370[warn] | ^
2371[warn] | unused import
2372[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:7:54
2373[warn] 7 |import io.github.zeal18.zio.mongodb.bson.codecs.error.BsonError
2374[warn] | ^^^^^^^^^
2375[warn] | unused import
2376[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:8:16
2377[warn] 8 |import org.bson.BsonInvalidOperationException
2378[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2379[warn] | unused import
2380[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:10:16
2381[warn] 10 |import org.bson.BsonSerializationException
2382[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
2383[warn] | unused import
2384[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:11:16
2385[warn] 11 |import org.bson.BsonType
2386[warn] | ^^^^^^^^
2387[warn] | unused import
2388[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:16:24
2389[warn] 16 |import scala.annotation.tailrec
2390[warn] | ^^^^^^^
2391[warn] | unused import
2392[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:18:22
2393[warn] 18 |import scala.deriving.*
2394[warn] | ^
2395[warn] | unused import
2396[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:115:10
2397[warn] 115 | val fieldTypes = filedsToProcess.map(t => caseClass.memberType(t))
2398[warn] | ^^^^^^^^^^
2399[warn] | unused local definition
2400[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:121:16
2401[warn] 121 | val paramTypeInfo = TypeInfo[t]
2402[warn] | ^^^^^^^^^^^^^
2403[warn] | unused local definition
2404[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:181:8
2405[warn] 181 | val caseClass = TypeRepr.of[A]
2406[warn] | ^^^^^^^^^
2407[warn] | unused local definition
2408[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:187:23
2409[warn] 187 | import f.{Type as F, typeInstance}
2410[warn] | ^^^^^^^^^
2411[warn] | unused import
2412[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:296:8
2413[warn] 296 | val enumSymbol = TypeRepr.of[A].typeSymbol
2414[warn] | ^^^^^^^^^^
2415[warn] | unused local definition
2416[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:358:25
2417[warn] 358 | import field.{Type as F, typeInstance}
2418[warn] | ^^^^^^^^^
2419[warn] | unused import
2420[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:390:29
2421[warn] 390 | import field.{Type as F, typeInstance}
2422[warn] | ^^^^^^^^^
2423[warn] | unused import
2424[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:392:14
2425[warn] 392 | val symbol = fieldSymbol(field)
2426[warn] | ^^^^^^
2427[warn] | unused local definition
2428[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:505:21
2429[warn] 505 | import f.{Type as F, typeInstance}
2430[warn] | ^^^^^^^^^
2431[warn] | unused import
2432[warn] -- [E175] Potential Issue Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/mutable/Document.scala:249:37
2433[warn] 249 | if (!p(k, v)) underlying.remove(k)
2434[warn] | ^^^^^^^^^^^^^^^^^^^^
2435[warn] |discarded non-Unit value of type org.bson.BsonValue. Add `: Unit` to discard silently.
2436[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Field.scala:24:6
2437[warn] 24 | (Type.of[Ls], Type.of[Ts]) match
2438[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
2439[warn] | match may not be exhaustive.
2440[warn] |
2441[warn] | It would fail on pattern case: (_, _)
2442[warn] |
2443[warn] | longer explanation available when compiling with `-explain`
2444[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/EasierValDef.scala:41:28
2445[warn] 41 | import quotes.reflect.*
2446[warn] | ^
2447[warn] | unused import
2448[warn] -- Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/BaseDocument.scala:143:10
2449[warn] 143 | @nowarn("cat=unused")
2450[warn] | ^^^^^^^^^^^^
2451[warn] | Invalid message filter
2452[warn] | unknown category: unused
2453[warn] 20 warnings found
2454[warn] -- [E175] Potential Issue Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/MongoClientSettings.scala:43:27
2455[warn] 43 | builder.codecRegistry(MongoClient.DEFAULT_CODEC_REGISTRY)
2456[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2457[warn] |discarded non-Unit value of type com.mongodb.MongoClientSettings#Builder. Add `: Unit` to discard silently.
2458[warn] -- [E147] Syntax Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/expressions/Expression.scala:1509:4
2459[warn] 1509 | final object Rand extends Misc
2460[warn] | ^^^^^
2461[warn] | Modifier final is redundant for this definition
2462[warn] -- [E198] Unused Symbol Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/Aggregation.scala:271:43
2463[warn] 271 | final case class Bucket[Boundary: Numeric, Default](
2464[warn] | ^
2465[warn] | unused implicit parameter
2466[warn] three warnings found
2467[info] compiling 4 Scala sources to /build/repo/testkit/target/scala-3.8.0/classes ...
2468[info] done compiling
2469[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:3:20
2470[warn] 3 |import EasierValDef.*
2471[warn] | ^
2472[warn] | unused import
2473[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:7:54
2474[warn] 7 |import io.github.zeal18.zio.mongodb.bson.codecs.error.BsonError
2475[warn] | ^^^^^^^^^
2476[warn] | unused import
2477[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:8:16
2478[warn] 8 |import org.bson.BsonInvalidOperationException
2479[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2480[warn] | unused import
2481[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:10:16
2482[warn] 10 |import org.bson.BsonSerializationException
2483[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
2484[warn] | unused import
2485[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:11:16
2486[warn] 11 |import org.bson.BsonType
2487[warn] | ^^^^^^^^
2488[warn] | unused import
2489[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:16:24
2490[warn] 16 |import scala.annotation.tailrec
2491[warn] | ^^^^^^^
2492[warn] | unused import
2493[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:18:22
2494[warn] 18 |import scala.deriving.*
2495[warn] | ^
2496[warn] | unused import
2497[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:115:10
2498[warn] 115 | val fieldTypes = filedsToProcess.map(t => caseClass.memberType(t))
2499[warn] | ^^^^^^^^^^
2500[warn] | unused local definition
2501[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:121:16
2502[warn] 121 | val paramTypeInfo = TypeInfo[t]
2503[warn] | ^^^^^^^^^^^^^
2504[warn] | unused local definition
2505[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:181:8
2506[warn] 181 | val caseClass = TypeRepr.of[A]
2507[warn] | ^^^^^^^^^
2508[warn] | unused local definition
2509[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:187:23
2510[warn] 187 | import f.{Type as F, typeInstance}
2511[warn] | ^^^^^^^^^
2512[warn] | unused import
2513[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:296:8
2514[warn] 296 | val enumSymbol = TypeRepr.of[A].typeSymbol
2515[warn] | ^^^^^^^^^^
2516[warn] | unused local definition
2517[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:358:25
2518[warn] 358 | import field.{Type as F, typeInstance}
2519[warn] | ^^^^^^^^^
2520[warn] | unused import
2521[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:390:29
2522[warn] 390 | import field.{Type as F, typeInstance}
2523[warn] | ^^^^^^^^^
2524[warn] | unused import
2525[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:392:14
2526[warn] 392 | val symbol = fieldSymbol(field)
2527[warn] | ^^^^^^
2528[warn] | unused local definition
2529[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:505:21
2530[warn] 505 | import f.{Type as F, typeInstance}
2531[warn] | ^^^^^^^^^
2532[warn] | unused import
2533[warn] -- [E175] Potential Issue Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/mutable/Document.scala:249:37
2534[warn] 249 | if (!p(k, v)) underlying.remove(k)
2535[warn] | ^^^^^^^^^^^^^^^^^^^^
2536[warn] |discarded non-Unit value of type org.bson.BsonValue. Add `: Unit` to discard silently.
2537[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Field.scala:24:6
2538[warn] 24 | (Type.of[Ls], Type.of[Ts]) match
2539[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
2540[warn] | match may not be exhaustive.
2541[warn] |
2542[warn] | It would fail on pattern case: (_, _)
2543[warn] |
2544[warn] | longer explanation available when compiling with `-explain`
2545[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/EasierValDef.scala:41:28
2546[warn] 41 | import quotes.reflect.*
2547[warn] | ^
2548[warn] | unused import
2549[warn] -- Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/BaseDocument.scala:143:10
2550[warn] 143 | @nowarn("cat=unused")
2551[warn] | ^^^^^^^^^^^^
2552[warn] | Invalid message filter
2553[warn] | unknown category: unused
2554[warn] 20 warnings found
2555[warn] -- [E175] Potential Issue Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/MongoClientSettings.scala:43:27
2556[warn] 43 | builder.codecRegistry(MongoClient.DEFAULT_CODEC_REGISTRY)
2557[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2558[warn] |discarded non-Unit value of type com.mongodb.MongoClientSettings#Builder. Add `: Unit` to discard silently.
2559[warn] -- [E147] Syntax Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/expressions/Expression.scala:1509:4
2560[warn] 1509 | final object Rand extends Misc
2561[warn] | ^^^^^
2562[warn] | Modifier final is redundant for this definition
2563[warn] -- [E198] Unused Symbol Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/Aggregation.scala:271:43
2564[warn] 271 | final case class Bucket[Boundary: Numeric, Default](
2565[warn] | ^
2566[warn] | unused implicit parameter
2567[warn] three warnings found
2568[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:3:20
2569[warn] 3 |import EasierValDef.*
2570[warn] | ^
2571[warn] | unused import
2572[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:7:54
2573[warn] 7 |import io.github.zeal18.zio.mongodb.bson.codecs.error.BsonError
2574[warn] | ^^^^^^^^^
2575[warn] | unused import
2576[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:8:16
2577[warn] 8 |import org.bson.BsonInvalidOperationException
2578[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2579[warn] | unused import
2580[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:10:16
2581[warn] 10 |import org.bson.BsonSerializationException
2582[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
2583[warn] | unused import
2584[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:11:16
2585[warn] 11 |import org.bson.BsonType
2586[warn] | ^^^^^^^^
2587[warn] | unused import
2588[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:16:24
2589[warn] 16 |import scala.annotation.tailrec
2590[warn] | ^^^^^^^
2591[warn] | unused import
2592[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:18:22
2593[warn] 18 |import scala.deriving.*
2594[warn] | ^
2595[warn] | unused import
2596[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:115:10
2597[warn] 115 | val fieldTypes = filedsToProcess.map(t => caseClass.memberType(t))
2598[warn] | ^^^^^^^^^^
2599[warn] | unused local definition
2600[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:121:16
2601[warn] 121 | val paramTypeInfo = TypeInfo[t]
2602[warn] | ^^^^^^^^^^^^^
2603[warn] | unused local definition
2604[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:181:8
2605[warn] 181 | val caseClass = TypeRepr.of[A]
2606[warn] | ^^^^^^^^^
2607[warn] | unused local definition
2608[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:187:23
2609[warn] 187 | import f.{Type as F, typeInstance}
2610[warn] | ^^^^^^^^^
2611[warn] | unused import
2612[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:296:8
2613[warn] 296 | val enumSymbol = TypeRepr.of[A].typeSymbol
2614[warn] | ^^^^^^^^^^
2615[warn] | unused local definition
2616[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:358:25
2617[warn] 358 | import field.{Type as F, typeInstance}
2618[warn] | ^^^^^^^^^
2619[warn] | unused import
2620[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:390:29
2621[warn] 390 | import field.{Type as F, typeInstance}
2622[warn] | ^^^^^^^^^
2623[warn] | unused import
2624[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:392:14
2625[warn] 392 | val symbol = fieldSymbol(field)
2626[warn] | ^^^^^^
2627[warn] | unused local definition
2628[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:505:21
2629[warn] 505 | import f.{Type as F, typeInstance}
2630[warn] | ^^^^^^^^^
2631[warn] | unused import
2632[warn] -- [E175] Potential Issue Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/mutable/Document.scala:249:37
2633[warn] 249 | if (!p(k, v)) underlying.remove(k)
2634[warn] | ^^^^^^^^^^^^^^^^^^^^
2635[warn] |discarded non-Unit value of type org.bson.BsonValue. Add `: Unit` to discard silently.
2636[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Field.scala:24:6
2637[warn] 24 | (Type.of[Ls], Type.of[Ts]) match
2638[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
2639[warn] | match may not be exhaustive.
2640[warn] |
2641[warn] | It would fail on pattern case: (_, _)
2642[warn] |
2643[warn] | longer explanation available when compiling with `-explain`
2644[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/EasierValDef.scala:41:28
2645[warn] 41 | import quotes.reflect.*
2646[warn] | ^
2647[warn] | unused import
2648[warn] -- Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/BaseDocument.scala:143:10
2649[warn] 143 | @nowarn("cat=unused")
2650[warn] | ^^^^^^^^^^^^
2651[warn] | Invalid message filter
2652[warn] | unknown category: unused
2653[warn] 20 warnings found
2654[warn] -- [E175] Potential Issue Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/MongoClientSettings.scala:43:27
2655[warn] 43 | builder.codecRegistry(MongoClient.DEFAULT_CODEC_REGISTRY)
2656[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2657[warn] |discarded non-Unit value of type com.mongodb.MongoClientSettings#Builder. Add `: Unit` to discard silently.
2658[warn] -- [E147] Syntax Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/expressions/Expression.scala:1509:4
2659[warn] 1509 | final object Rand extends Misc
2660[warn] | ^^^^^
2661[warn] | Modifier final is redundant for this definition
2662[warn] -- [E198] Unused Symbol Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/Aggregation.scala:271:43
2663[warn] 271 | final case class Bucket[Boundary: Numeric, Default](
2664[warn] | ^
2665[warn] | unused implicit parameter
2666[warn] three warnings found
2667[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:3:20
2668[warn] 3 |import EasierValDef.*
2669[warn] | ^
2670[warn] | unused import
2671[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:7:54
2672[warn] 7 |import io.github.zeal18.zio.mongodb.bson.codecs.error.BsonError
2673[warn] | ^^^^^^^^^
2674[warn] | unused import
2675[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:8:16
2676[warn] 8 |import org.bson.BsonInvalidOperationException
2677[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2678[warn] | unused import
2679[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:10:16
2680[warn] 10 |import org.bson.BsonSerializationException
2681[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
2682[warn] | unused import
2683[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:11:16
2684[warn] 11 |import org.bson.BsonType
2685[warn] | ^^^^^^^^
2686[warn] | unused import
2687[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:16:24
2688[warn] 16 |import scala.annotation.tailrec
2689[warn] | ^^^^^^^
2690[warn] | unused import
2691[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:18:22
2692[warn] 18 |import scala.deriving.*
2693[warn] | ^
2694[warn] | unused import
2695[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:115:10
2696[warn] 115 | val fieldTypes = filedsToProcess.map(t => caseClass.memberType(t))
2697[warn] | ^^^^^^^^^^
2698[warn] | unused local definition
2699[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:121:16
2700[warn] 121 | val paramTypeInfo = TypeInfo[t]
2701[warn] | ^^^^^^^^^^^^^
2702[warn] | unused local definition
2703[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:181:8
2704[warn] 181 | val caseClass = TypeRepr.of[A]
2705[warn] | ^^^^^^^^^
2706[warn] | unused local definition
2707[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:187:23
2708[warn] 187 | import f.{Type as F, typeInstance}
2709[warn] | ^^^^^^^^^
2710[warn] | unused import
2711[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:296:8
2712[warn] 296 | val enumSymbol = TypeRepr.of[A].typeSymbol
2713[warn] | ^^^^^^^^^^
2714[warn] | unused local definition
2715[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:358:25
2716[warn] 358 | import field.{Type as F, typeInstance}
2717[warn] | ^^^^^^^^^
2718[warn] | unused import
2719[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:390:29
2720[warn] 390 | import field.{Type as F, typeInstance}
2721[warn] | ^^^^^^^^^
2722[warn] | unused import
2723[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:392:14
2724[warn] 392 | val symbol = fieldSymbol(field)
2725[warn] | ^^^^^^
2726[warn] | unused local definition
2727[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:505:21
2728[warn] 505 | import f.{Type as F, typeInstance}
2729[warn] | ^^^^^^^^^
2730[warn] | unused import
2731[warn] -- [E175] Potential Issue Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/mutable/Document.scala:249:37
2732[warn] 249 | if (!p(k, v)) underlying.remove(k)
2733[warn] | ^^^^^^^^^^^^^^^^^^^^
2734[warn] |discarded non-Unit value of type org.bson.BsonValue. Add `: Unit` to discard silently.
2735[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Field.scala:24:6
2736[warn] 24 | (Type.of[Ls], Type.of[Ts]) match
2737[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
2738[warn] | match may not be exhaustive.
2739[warn] |
2740[warn] | It would fail on pattern case: (_, _)
2741[warn] |
2742[warn] | longer explanation available when compiling with `-explain`
2743[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/EasierValDef.scala:41:28
2744[warn] 41 | import quotes.reflect.*
2745[warn] | ^
2746[warn] | unused import
2747[warn] -- Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/BaseDocument.scala:143:10
2748[warn] 143 | @nowarn("cat=unused")
2749[warn] | ^^^^^^^^^^^^
2750[warn] | Invalid message filter
2751[warn] | unknown category: unused
2752[warn] 20 warnings found
2753[warn] -- [E175] Potential Issue Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/MongoClientSettings.scala:43:27
2754[warn] 43 | builder.codecRegistry(MongoClient.DEFAULT_CODEC_REGISTRY)
2755[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2756[warn] |discarded non-Unit value of type com.mongodb.MongoClientSettings#Builder. Add `: Unit` to discard silently.
2757[warn] -- [E147] Syntax Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/expressions/Expression.scala:1509:4
2758[warn] 1509 | final object Rand extends Misc
2759[warn] | ^^^^^
2760[warn] | Modifier final is redundant for this definition
2761[warn] -- [E198] Unused Symbol Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/Aggregation.scala:271:43
2762[warn] 271 | final case class Bucket[Boundary: Numeric, Default](
2763[warn] | ^
2764[warn] | unused implicit parameter
2765[warn] three warnings found
2766[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:3:20
2767[warn] 3 |import EasierValDef.*
2768[warn] | ^
2769[warn] | unused import
2770[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:7:54
2771[warn] 7 |import io.github.zeal18.zio.mongodb.bson.codecs.error.BsonError
2772[warn] | ^^^^^^^^^
2773[warn] | unused import
2774[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:8:16
2775[warn] 8 |import org.bson.BsonInvalidOperationException
2776[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2777[warn] | unused import
2778[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:10:16
2779[warn] 10 |import org.bson.BsonSerializationException
2780[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
2781[warn] | unused import
2782[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:11:16
2783[warn] 11 |import org.bson.BsonType
2784[warn] | ^^^^^^^^
2785[warn] | unused import
2786[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:16:24
2787[warn] 16 |import scala.annotation.tailrec
2788[warn] | ^^^^^^^
2789[warn] | unused import
2790[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:18:22
2791[warn] 18 |import scala.deriving.*
2792[warn] | ^
2793[warn] | unused import
2794[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:115:10
2795[warn] 115 | val fieldTypes = filedsToProcess.map(t => caseClass.memberType(t))
2796[warn] | ^^^^^^^^^^
2797[warn] | unused local definition
2798[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:121:16
2799[warn] 121 | val paramTypeInfo = TypeInfo[t]
2800[warn] | ^^^^^^^^^^^^^
2801[warn] | unused local definition
2802[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:181:8
2803[warn] 181 | val caseClass = TypeRepr.of[A]
2804[warn] | ^^^^^^^^^
2805[warn] | unused local definition
2806[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:187:23
2807[warn] 187 | import f.{Type as F, typeInstance}
2808[warn] | ^^^^^^^^^
2809[warn] | unused import
2810[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:296:8
2811[warn] 296 | val enumSymbol = TypeRepr.of[A].typeSymbol
2812[warn] | ^^^^^^^^^^
2813[warn] | unused local definition
2814[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:358:25
2815[warn] 358 | import field.{Type as F, typeInstance}
2816[warn] | ^^^^^^^^^
2817[warn] | unused import
2818[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:390:29
2819[warn] 390 | import field.{Type as F, typeInstance}
2820[warn] | ^^^^^^^^^
2821[warn] | unused import
2822[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:392:14
2823[warn] 392 | val symbol = fieldSymbol(field)
2824[warn] | ^^^^^^
2825[warn] | unused local definition
2826[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:505:21
2827[warn] 505 | import f.{Type as F, typeInstance}
2828[warn] | ^^^^^^^^^
2829[warn] | unused import
2830[warn] -- [E175] Potential Issue Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/mutable/Document.scala:249:37
2831[warn] 249 | if (!p(k, v)) underlying.remove(k)
2832[warn] | ^^^^^^^^^^^^^^^^^^^^
2833[warn] |discarded non-Unit value of type org.bson.BsonValue. Add `: Unit` to discard silently.
2834[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Field.scala:24:6
2835[warn] 24 | (Type.of[Ls], Type.of[Ts]) match
2836[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
2837[warn] | match may not be exhaustive.
2838[warn] |
2839[warn] | It would fail on pattern case: (_, _)
2840[warn] |
2841[warn] | longer explanation available when compiling with `-explain`
2842[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/EasierValDef.scala:41:28
2843[warn] 41 | import quotes.reflect.*
2844[warn] | ^
2845[warn] | unused import
2846[warn] -- Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/BaseDocument.scala:143:10
2847[warn] 143 | @nowarn("cat=unused")
2848[warn] | ^^^^^^^^^^^^
2849[warn] | Invalid message filter
2850[warn] | unknown category: unused
2851[warn] 20 warnings found
2852[warn] -- [E175] Potential Issue Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/MongoClientSettings.scala:43:27
2853[warn] 43 | builder.codecRegistry(MongoClient.DEFAULT_CODEC_REGISTRY)
2854[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2855[warn] |discarded non-Unit value of type com.mongodb.MongoClientSettings#Builder. Add `: Unit` to discard silently.
2856[warn] -- [E147] Syntax Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/expressions/Expression.scala:1509:4
2857[warn] 1509 | final object Rand extends Misc
2858[warn] | ^^^^^
2859[warn] | Modifier final is redundant for this definition
2860[warn] -- [E198] Unused Symbol Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/Aggregation.scala:271:43
2861[warn] 271 | final case class Bucket[Boundary: Numeric, Default](
2862[warn] | ^
2863[warn] | unused implicit parameter
2864[warn] three warnings found
2865
2866************************
2867Build summary:
2868[{
2869 "module": "zio-mongodb-bson",
2870 "compile": {"status": "ok", "tookMs": 11291, "warnings": 20, "errors": 0, "sourceVersion": "3.8"},
2871 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
2872 "test-compile": {"status": "ok", "tookMs": 14094, "warnings": 25, "errors": 0, "sourceVersion": "3.8"},
2873 "test": {"status": "ok", "tookMs": 3431, "passed": 321, "failed": 0, "ignored": 0, "skipped": 0, "total": 321, "byFramework": [{"framework": "unknown", "stats": {"passed": 321, "failed": 0, "ignored": 0, "skipped": 0, "total": 321}}]},
2874 "publish": {"status": "skipped", "tookMs": 0},
2875 "metadata": {
2876 "crossScalaVersions": ["2.13.17", "3.3.7"]
2877}
2878},{
2879 "module": "zio-mongodb-driver",
2880 "compile": {"status": "ok", "tookMs": 10009, "warnings": 3, "errors": 0, "sourceVersion": "3.8"},
2881 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
2882 "test-compile": {"status": "ok", "tookMs": 2525, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
2883 "test": {"status": "ok", "tookMs": 3774, "passed": 360, "failed": 0, "ignored": 0, "skipped": 0, "total": 360, "byFramework": [{"framework": "unknown", "stats": {"passed": 360, "failed": 0, "ignored": 0, "skipped": 0, "total": 360}}]},
2884 "publish": {"status": "skipped", "tookMs": 0},
2885 "metadata": {
2886 "crossScalaVersions": ["2.13.17", "3.3.7"]
2887}
2888},{
2889 "module": "zio-mongodb-testkit",
2890 "compile": {"status": "ok", "tookMs": 871, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
2891 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
2892 "test-compile": {"status": "ok", "tookMs": 198, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
2893 "test": {"status": "ok", "tookMs": 195, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
2894 "publish": {"status": "skipped", "tookMs": 0},
2895 "metadata": {
2896 "crossScalaVersions": ["2.13.17", "3.3.7"]
2897}
2898}]
2899************************
2900[success] Total time: 50 s, completed Jan 13, 2026, 3:24:01 PM
2901[0JChecking patch project/plugins.sbt...
2902Checking patch build.sbt...
2903Applied patch project/plugins.sbt cleanly.
2904Applied patch build.sbt cleanly.