Build Logs

zeal18/zio-mongodb • 3.8.0-RC2:2025-11-28

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-RC2
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-RC2"
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-RC2
46Execute tests: true
47sbt project found:
48No prepare script found for project zeal18/zio-mongodb
49##################################
50Scala version: 3.8.0-RC2
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-RC2
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-RC2"
72"++3.8.0-RC2 -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-RC2 """{"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.604s.
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-RC2
101OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in bson/crossScalaVersions
102OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in driverItTests/crossScalaVersions
103OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in driver/crossScalaVersions
104OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in root/crossScalaVersions
105OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in testkit/crossScalaVersions
106[info] set current project to root (in build file:/build/repo/)
107[info] Setting Scala version to 3.8.0-RC2 on 5 projects.
108[info] Switching Scala version on:
109[info] * root (2.13.17, 3.8.0-RC2)
110[info] bson (2.13.17, 3.8.0-RC2)
111[info] driver (2.13.17, 3.8.0-RC2)
112[info] driverItTests (2.13.17, 3.8.0-RC2)
113[info] testkit (2.13.17, 3.8.0-RC2)
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 Nov 28, 2025, 12:26:50 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-RC2/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-RC2/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/repo.scala-lang.org/artifactory/maven-nightlies/org/scala-lang/scala-library/3.8.0-RC2/scala-library-3.8.0-RC2.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 + Some(None)
620 + nested options four times
621 + None
622 + Some(Some(None))
623 + Some(Some(Some(None)))
624 + Some(Some(Some(Some(1))))
625 + Option List
626 + Some(empty)
627 + Some(1)
628 + None
629 + Some(1, 2)
630 + nested options thrice
631 + None
632 + Some(None)
633 + Some(Some(None))
634 + Some(Some(Some(1)))
635 + nested options twice
636 + None
637 + Some(None)
638 + Some(Some(1))
639+ ImmutableDocumentCodecSpec
640 + should encoder class should work as expected
641 + should determine if document has an _id
642 + should generate document id if absent but not mutate original document
643 + should encode and decode all default types with readers and writers
644 + should get the document_id
645 + should respect encodeIdFirst property in encoder context
646 + should not generate document id if present
647+ TemporalCodecsSpec
648 + Instant
649 + max millis
650 + min millis
651 + epoch 1657524265825
652 + epoch
653 + LocalTime
654 + epoch
655 + epoch 1657524265825
656 + 1 second
657 + min
658 + max
659 + LocalDate
660 + epoch
661 + min
662 + epoch 1657524265825
663 + max
664 + LocalDateTime
665 + epoch
666 + epoch 1657524265825
667 + min
668 + max
669+ BsonValueSpec
670 + BsonArray companion should create a BsonArray
671 + BsonDateTime companion should create a BsonDateTime
672 + BsonBinary companion should create a BsonBinary
673 + BsonBoolean companion should create a BsonBoolean
674 + BsonDouble companion should create a BsonDouble
675 + BsonInt64 companion should create a BsonInt64
676 + BsonInt32 companion should create a BsonInt32
677 + BsonDocument companion should create a BsonDocument
678 + BsonJavaScript companion should create a BsonJavaScript
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 + BsonObjectId companion should create a BsonObjectId
686 + BsonRegularExpression companion should create a BsonRegularExpression
687 + BsonString companion should create a BsonString
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 simple additions
694 + should support multiple additions
695 + should support updated
696 + should support addition of a traversable
697 + should be creatable from mixed types
698+ DerivedSpec
699 + case class
700 + recursive type
701 + Leaf
702 + simple case class
703 + nested case class
704 + generic
705 + varargs field
706 + default field
707 + set
708 + not set
709 + recursive type
710 + Leaf
711 + Node
712 + bson annotations
713 + property
714 + ignore
715 + ignore value
716 + id
717 + case object
718 + case object
719 + opaque type
720 + string opaque type
721 + int opaque type
722 + mixed sealed trait coproduct
723 + A
724 + B
725 + C
726 + simple sealed trait enum
727 + A
728 + B
729 + C
730 + scala 3 enum
731 + A
732 + B
733 + C
734 + scala 3 parametrised enum
735 + A
736 + C
737 + B
738 + recursive type with a collection
739 + Leaf
740 + Node
741 + scala 3 coproduct enum
742 + A
743 + B
744 + C
745 + case class with an option
746 + None
747 + Some
748 + case class with overrided child codec
749 + None
750 + Some
751 + complex coproduct
752 + SubCoproduct.B
753 + A
754 + SubCoproduct.C
755 + D
756 + SubEnum.E
757 + SubScala3CoproductEnum.K
758 + SubScala3CoproductEnum.L
759 + SubEnum.F
760 + SubScala3Enum.G
761 + SubScala3Enum.H
762 + case class with an option list
763 + None
764 + Some(List)
765 + Some(List.empty)
766+ MutableDocumentSpec
767 + Document lookups
768 + should be the same as empty documents
769 + should support get()
770 + should support getOrElse
771 + should support construction via json
772 + should support direct lookup
773 + should support contains
774 + Document removals
775 + should support inline subtraction
776 + should support multiple inline subtractions
777 + should support inline subtraction of a traversable
778 + should support multiple inline subtractions of a traversable
779 + should support remove
780 + should support multiple inline subtractions
781 + should support retain
782 + should support transform
783 + should support clear
784 + Mutable Documents
785 + should have maplike mutability
786 + should support multiple inline additions
787 + should support inline addition of a traversable
788 + should support inline additions
789 + should support multiple inline addition of a traversable
790 + should support inline update
791 + should support getOrElseUpdate
792 + should support multiple inline updates
793 + should support put
794 + Document removals
795 + should support subtractions
796 + should support subtraction of a traversable
797 + should support multiple subtractions
798 + Document transformations
799 + should be filterable by keys
800 + Document additions and updates
801 + should support multiple additions
802 + should support simple additions
803 + should support addition of a traversable
804 + should support updated
805 + Documents
806 + support Traversable like builders
807 + Document subcollections
808 + should provide keys in the order set
809 + should provide a keySet in the order set
810 + should provide a keysIterator in the order set
811 + should provide values in the order set
812 + should provide a valueSet in the order set
813 + Traversable helpers
814 + should return a BsonDocument
815 + should be mappable thanks to CanBuildFrom
816 + should return a Json representation
817 + should work as expected
818 + should be able to create new Documents from iterable
819+ ImmutableDocumentSpec
820 + Document lookups
821 + should support construction via json
822 + should be the same as empty documents
823 + should support get()
824 + should support contains
825 + should support getOrElse
826 + should support direct lookup
827 + Traversable helpers
828 + should work as expected
829 + should return a BsonDocument
830 + should be able to create new Documents from iterable
831 + should be mappable thanks to CanBuildFrom
832 + should return a Json representation
833 + Document removals
834 + should support subtractions
835 + should support multiple subtractions
836 + should support subtraction of a traversable
837 + Document additions and updates
838 + should support simple additions
839 + should support updated
840 + should support multiple additions
841 + should support addition of a traversable
842 + Document transformations
843 + should be filterable by keys
844 + Document subcollections
845 + should provide a keysIterator in the order set
846 + should provide values in the order set
847 + should provide keys in the order set
848 + should provide a keySet in the order set
849 + should provide a valueSet in the order set
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 + collection
860 + unexpected type
861 + case class
862 + wrong field type
863+ BsonTransformerSpec
864 + The BsonTransformer companion
865 + should transform BigDecmial
866 + should transform Boolean
867 + should not transform BsonValues
868 + should transform Binary
869 + should transform DateTime
870 + should transform Double
871 + should transform Decimal128
872 + should transform ImmutableDocument
873 + should transform Int
874 + should transform None
875 + should transform KeyValuePairs[T]
876 + should transform Long
877 + should transform ObjectId
878 + should transform Option[T]
879 + should transform MutableDocument
880 + should transform Regex
881 + should transform Seq[T]
882 + should transform String
883+ MutableDocumentCodecSpec
884 + should encoder class should work as expected
885 + should encode and decode all default types with readers and writers
886 + should get the document_id
887 + should determine if document has an _id
888 + should not generate document id if present
889 + should respect encodeIdFirst property in encoder context
890+ BsonCodecsSpec
891 + BsonArray
892 + BsonArray(1, 2, 3)
893 + BsonArray(1)
894 + empty
895 + BsonInt32
896 + max
897 + 0
898 + min
899 + BsonMaxKey
900 + maxKey
901 + BsonSymbol
902 + empty
903 + non-empty
904 + Decimal128
905 + positive infinity
906 + positive zero
907 + negative zero
908 + negative infinity
909 + negative NaN
910 + NaN
911 + 1, 1
912 + BsonBoolean
913 + true
914 + false
915 + BsonBinary
916 + BsonBinary(1)
917 + BsonBinary(1, 2, 3)
918 + empty
919 + BsonDateTime
920 + 0
921 + min
922 + max
923 + BsonDouble
924 + 0
925 + min
926 + max
927 + BsonDocument
928 + empty
929 + BsonDocument(1)
930 + BsonDocument(1, 2, 3)
931 + BsonDecimal128
932 + positive infinity
933 + negative infinity
934 + positive zero
935 + negative zero
936 + 1, 1
937 + negative NaN
938 + NaN
939 + BsonJavaScript
940 + empty
941 + non-empty
942 + BsonJavaScriptWithScope
943 + non-empty
944 + empty
945 + BsonMinKey
946 + minKey
947 + BsonInt64
948 + min
949 + max
950 + 0
951 + BsonObjectId
952 + non-empty
953 + BsonNull
954 + null
955 + BsonRegularExpression
956 + non-empty
957 + BsonUndefined
958 + undefined
959 + BsonValue
960 + BsonBoolean
961 + BsonTimestamp
962 + max long
963 + min seconds + increment
964 + max seconds + increment
965 + 0
966 + min long
967 + BsonString
968 + non-empty
969 + empty
970 + ObjectId
971 + non-empty
972+ DocumentCodecProviderSpec
973 + get the correct codec
974+ CollectionsCodecsSpec
975 + SeqCodec
976 + Seq(1, 2, 3)
977 + empty Seq
978 + Seq(1)
979 + ListCodec
980 + List(1, 2, 3)
981 + empty List
982 + List(1)
983 + SetCodec
984 + Set(1, 2, 3)
985 + empty Set
986 + Set(1)
987 + VectorCodec
988 + Vector(1)
989 + Vector(1, 2, 3)
990 + empty Vector
991+ PrimitiveCodecsSpec
992 + BooleanCodec
993 + false
994 + true
995 + FloatCodec
996 + 0.0
997 + Float.MaxValue
998 + 1.0
999 + -1.0
1000 + Float.MinValue
1001 + DoubleCodec
1002 + 1.0
1003 + -1.0
1004 + 0.0
1005 + Double.MaxValue
1006 + Double.MinValue
1007 + ShortCodec
1008 + 1
1009 + -1
1010 + 0
1011 + Short.MaxValue
1012 + Short.MinValue
1013 + IntCodec
1014 + 1
1015 + -1
1016 + 0
1017 + Int.MaxValue
1018 + Int.MinValue
1019 + LongCodec
1020 + 1
1021 + 0
1022 + Long.MaxValue
1023 + -1
1024 + Long.MinValue
1025 + StringCodec
1026 + empty string
1027 + Hello world
1028 + ByteCodec
1029 + -1
1030 + Byte.MinValue
1031 + 1
1032 + 0
1033 + Byte.MaxValue
1034321 tests passed. 0 tests failed. 0 tests ignored.
1035
1036Executed in 2 s 292 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-RC2/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-RC2/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/repo.scala-lang.org/artifactory/maven-nightlies/org/scala-lang/scala-library/3.8.0-RC2/scala-library-3.8.0-RC2.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 + does not fail a fiber on failing `Publisher`
1731 + returns Unit when completed without elements
1732 + fails with an initially failed `Publisher`
1733 + works with a well behaved `Publisher`
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 + unset
1739 + setOnInsert
1740 + inc
1741 + combine
1742 + set
1743 + inc double
1744 + inc long
1745 + inc int
1746 + min
1747 + mul
1748 + rename
1749 + mul long
1750 + mul double
1751 + mul int
1752 + max
1753 + currentTimestamp
1754 + currentDate
1755 + pushEach
1756 + without options
1757 + with non-document sorting options
1758 + with document sorting options
1759 + addToSet
1760 + addEachToSet
1761 + push
1762 + pull
1763 + pullByFilter
1764 + bitwise
1765 + and int
1766 + and long
1767 + or long
1768 + or int
1769 + xor int
1770 + xor long
1771 + popFirst
1772 + pullAll
1773 + pullAll set
1774 + pullAll seq
1775 + popLast
1776 + raw
1777 + json
1778 + bson
1779+ ExpressionsSpec
1780 + literal
1781 + string
1782 + int
1783 + double
1784 + operator
1785 + boolean
1786 + and
1787 + not
1788 + or
1789 + arithmetic
1790 + ceil
1791 + divide
1792 + floor
1793 + ln
1794 + date
1795 + dateAdd
1796 + exp
1797 + log
1798 + abs
1799 + isoWeekYear
1800 + add
1801 + log10
1802 + mod
1803 + sqrt
1804 + subtract
1805 + round
1806 + toDate
1807 + isoWeek
1808 + dateDiff
1809 + dateFromParts
1810 + dateFromParts ISO
1811 + dateFromString
1812 + dateSubtract
1813 + dateTrunc
1814 + dayOfMonth
1815 + dayOfWeek
1816 + dayOfYear
1817 + without place
1818 + with place
1819 + multiply
1820 + pow
1821 + trunc
1822 + without place
1823 + with place
1824 + comparison
1825 + dateToParts
1826 + dateToString
1827 + hour
1828 + isoDayOfWeek
1829 + millisecond
1830 + minute
1831 + month
1832 + second
1833 + week
1834 + year
1835 + gt
1836 + gte
1837 + cmp
1838 + eq
1839 + lt
1840 + lte
1841 + ne
1842 + string
1843 + concat
1844 + indexOfBytes
1845 + conditional
1846 + indexOfCP
1847 + cond
1848 + ifNull
1849 + ltrim
1850 + switch
1851 + regexFind
1852 + custom
1853 + regexFindAll
1854 + function
1855 + regexMatch
1856 + miscellaneous
1857 + getField
1858 + rand
1859 + sampleRate
1860 + replaceOne
1861 + substrBytes
1862 + rtrim
1863 + split
1864 + array
1865 + substrCP
1866 + arrayElemAt
1867 + strLenBytes
1868 + strLenCP
1869 + first
1870 + arrayToObject
1871 + firstN
1872 + concatArrays
1873 + replaceAll
1874 + toString
1875 + filter
1876 + toLower
1877 + indexOfArray
1878 + strcasecmp
1879 + lastN
1880 + trim
1881 + map
1882 + MaxN
1883 + isArray
1884 + last
1885 + in
1886 + MinN
1887 + reverseArray
1888 + objectToArray
1889 + size
1890 + range
1891 + toUpper
1892 + sortArrayByField
1893 + slice
1894 + zipShortest
1895 + sortArrayByValue
1896 + reduce
1897 + zipLongest
1898 + data size
1899 + binarySize
1900 + bsonSize
1901 + object
1902 + mergeObjects
1903 + setField
1904 + text
1905 + meta
1906 + set
1907 + allElementsTrue
1908 + anyElementTrue
1909 + setDifference
1910 + setEquals
1911 + setIntersection
1912 + setIsSubset
1913 + setUnion
1914 + trigonometry
1915 + sin
1916 + cos
1917 + tan
1918 + asin
1919 + acos
1920 + atan
1921 + atan2
1922 + asinh
1923 + acosh
1924 + atanh
1925 + sinh
1926 + cosh
1927 + tanh
1928 + degreesToRadians
1929 + radiansToDegrees
1930 + type
1931 + convert
1932 + isNumber
1933 + toBool
1934 + toDecimal
1935 + toInt
1936 + toLong
1937 + toDouble
1938 + toObjectId
1939 + type
1940 + let
1941 + expression object
1942 + raw
1943 + bson
1944 + json
1945 + field path
1946+ AggregatesSpec
1947 + count with field
1948 + filter
1949 + count
1950 + match
1951 + limit
1952 + sort
1953 + facet
1954 + group
1955 + lookup join
1956 + lookup
1957 + project
1958 + unwind
1959 + unwind with options
1960 + raw
1961 + bson
1962 + json
1963 + bucketAuto
1964 + sortByCount
1965 + bucket
1966+ FiltersSpec
1967 + equal
1968 + equal _id
1969 + eq _id
1970 + eq field
1971 + equal field
1972 + nin
1973 + nin seq
1974 + nin set
1975 + exists
1976 + exists true
1977 + exists false
1978 + exists
1979 + notEqual
1980 + ne
1981 + notEqual
1982 + gt/gte
1983 + gt
1984 + gte
1985 + regex
1986 + regex
1987 + lt/lte
1988 + lt
1989 + lte
1990 + isNull
1991 + None
1992 + None
1993 + notNull
1994 + None
1995 + None
1996 + in
1997 + in set
1998 + in seq
1999 + and
2000 + and varargs
2001 + and set
2002 + or
2003 + or set
2004 + regex flags
2005 + or varargs
2006 + nor
2007 + nor set
2008 + nor varargs
2009 + not
2010 + mod
2011 + expr
2012 + type
2013 + type
2014 + text
2015 + text sensitive
2016 + text
2017 + text insensitive
2018 + raw
2019 + bson
2020 + json
2021 + bits
2022 + bitsAllSet
2023 + bitsAnyClear
2024 + bitsAllClear
2025 + bitsAnySet
2026 + all
2027 + all set
2028 + all seq
2029 + size
2030 + elemMatch
2031 + jsonSchema
2032 + where
2033+ SortSpec
2034 + asc
2035 + raw
2036 + json
2037 + bson
2038 + textScore
2039 + compound
2040 + desc
2041+ AccumulatorsSpec
2042 + sum
2043 + first
2044 + avg
2045 + lastN
2046 + firstN
2047 + maxN
2048 + max
2049 + last
2050 + minN
2051 + push
2052 + addToSet
2053 + min
2054 + mergeObjects
2055 + stdDevSamp
2056 + accumulator
2057 + stdDevPop
2058 + bottomN
2059 + top
2060 + raw
2061 + json
2062 + bson
2063 + bottom
2064 + topN
2065 + count
2066+ ProjectionsSpec
2067 + computed
2068 + include
2069 + exclude
2070 + excludeId
2071 + elemMatch
2072 + elemMatch filter
2073 + metaTextScore
2074 + meta
2075 + raw
2076 + slice
2077 + json
2078 + bson
2079 + fields
2080 + slice skip
2081+ IndexKeysSpec
2082 + ascending
2083 + descending
2084 + geo2d
2085 + geo2dsphere
2086 + compound
2087 + overriding
2088 + basic
2089 + text
2090 + hashed
2091 + raw
2092 + bson
2093 + json
2094+ IterableSubscriberSpec
2095 + does not fail a fiber on failing `Publisher`
2096 + fails with an initially failed `Publisher`
2097 + fails with an eventually 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 + fails with an initially failed `Publisher`
2104 + does not fail a fiber on failing `Publisher`
2105 + works with a well behaved `Publisher`
2106 + returns None when completed without elements
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 + avg
2112 + sum
2113 + firstN
2114 + last
2115 + first
2116 + max
2117 + lastN
2118 + min
2119 + minN
2120 + maxN
2121 + push
2122 + addToSet
2123 + stdDevPop
2124 + stdDevSamp
2125 + bottom
2126 + bottomN
2127 + topN
2128 + count
2129 + top
2130 + covariancePop
2131 + covarianceSamp
2132 + documentNumber
2133 + denceRank
2134 + derivative
2135 + integral
2136 + expMovingAvgN
2137 + expMovingAvgAlpha
2138 + shift
2139 + locf
2140 + raw
2141 + bson
2142 + json
2143 + rank
2144 + linearFill
2145+ HintsSpec
2146 + forwardScan
2147 + index
2148 + raw
2149 + key
2150 + json
2151 + bson
2152 + name
2153 + reverseScan
2154360 tests passed. 0 tests failed. 0 tests ignored.
2155
2156Executed in 2 s 711 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-RC2/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": 13628, "warnings": 20, "errors": 0, "sourceVersion": "3.8"},
2871 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
2872 "test-compile": {"status": "ok", "tookMs": 13606, "warnings": 25, "errors": 0, "sourceVersion": "3.8"},
2873 "test": {"status": "ok", "tookMs": 3605, "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": 10420, "warnings": 3, "errors": 0, "sourceVersion": "3.8"},
2881 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
2882 "test-compile": {"status": "ok", "tookMs": 2539, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
2883 "test": {"status": "ok", "tookMs": 3939, "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": 1175, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
2891 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
2892 "test-compile": {"status": "ok", "tookMs": 194, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
2893 "test": {"status": "ok", "tookMs": 214, "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: 83 s (0:01:23.0), completed Nov 28, 2025, 12:28:13 PM
2901[0JChecking patch project/plugins.sbt...
2902Checking patch build.sbt...
2903Applied patch project/plugins.sbt cleanly.
2904Applied patch build.sbt cleanly.