Build Logs

zeal18/zio-mongodb • 3.8.0-RC3:2025-12-04

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