Build Logs
zeal18/zio-mongodb • 3.8.0-RC6:2026-01-08
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-RC6
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-RC6"
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-RC6
46Execute tests: true
47sbt project found:
48No prepare script found for project zeal18/zio-mongodb
49##################################
50Scala version: 3.8.0-RC6
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-RC6
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-RC6"
72"++3.8.0-RC6 -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-RC6 """{"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 10.016s.
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-RC6
101OpenCB::Changing crossVersion 3.8.0-RC6 -> 3.8.0-RC6 in driverItTests/crossScalaVersions
102OpenCB::Changing crossVersion 3.8.0-RC6 -> 3.8.0-RC6 in driver/crossScalaVersions
103OpenCB::Changing crossVersion 3.8.0-RC6 -> 3.8.0-RC6 in bson/crossScalaVersions
104OpenCB::Changing crossVersion 3.8.0-RC6 -> 3.8.0-RC6 in root/crossScalaVersions
105OpenCB::Changing crossVersion 3.8.0-RC6 -> 3.8.0-RC6 in testkit/crossScalaVersions
106[info] set current project to root (in build file:/build/repo/)
107[info] Setting Scala version to 3.8.0-RC6 on 5 projects.
108[info] Switching Scala version on:
109[info] * root (2.13.17, 3.8.0-RC6)
110[info] bson (2.13.17, 3.8.0-RC6)
111[info] driver (2.13.17, 3.8.0-RC6)
112[info] driverItTests (2.13.17, 3.8.0-RC6)
113[info] testkit (2.13.17, 3.8.0-RC6)
114[info] Excluding projects:
115[info] Reapplying settings...
116[info] set current project to root (in build file:/build/repo/)
117Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
118[info] Reapplying settings...
119[info] set current project to root (in build file:/build/repo/)
120[info] Defining Global / credentials, bson / credentials and 3 others.
121[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 44 others.
122[info] Run `last` for details.
123[info] Reapplying settings...
124[info] set current project to root (in build file:/build/repo/)
125Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
126[info] Reapplying settings...
127OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
128
129 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
130 Did you mean allExcludeDependencies ?
131 , retry without global scopes
132[info] Reapplying settings...
133[info] set current project to root (in build file:/build/repo/)
134Execute removeScalacOptionsStartingWith: -P:wartremover
135[info] Reapplying settings...
136[info] set current project to root (in build file:/build/repo/)
137[success] Total time: 0 s, completed Jan 8, 2026, 2:08:28 AM
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-RC6/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-RC6/test-classes ...
322[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:7:24
323[warn] 7 |import scala.annotation.nowarn
324[warn] | ^^^^^^
325[warn] | unused import
326[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:43:9
327[warn] 43 | ),
328[warn] | ^
329[warn] | unused local definition
330[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:78:9
331[warn] 78 | ),
332[warn] | ^
333[warn] | unused local definition
334[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:103:9
335[warn] 103 | ),
336[warn] | ^
337[warn] | unused local definition
338[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:136:9
339[warn] 136 | ),
340[warn] | ^
341[warn] | unused local definition
342[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:169:9
343[warn] 169 | ),
344[warn] | ^
345[warn] | unused local definition
346[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:193:9
347[warn] 193 | ),
348[warn] | ^
349[warn] | unused local definition
350[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:20:65
351[warn] 20 | case class DefaultField(a: Int, d: String = "default") derives Codec
352[warn] | ^
353[warn] | unused local definition
354[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:45:23
355[warn] 45 | enum Scala3ParamEnum(a: Int) derives Codec:
356[warn] | ^
357[warn] | unused explicit parameter
358[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:56:47
359[warn] 56 | given Codec[MixedCoproduct] = Codec.derived[MixedCoproduct]
360[warn] | ^^^
361[warn] | unused local definition
362[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:64:52
363[warn] 64 | given Codec[Scala3CoproductEnum] = Codec.derived[Scala3CoproductEnum]
364[warn] | ^^^
365[warn] | unused local definition
366[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:67:48
367[warn] 67 | sealed private trait ComplexCoproduct derives Codec
368[warn] | ^
369[warn] | unused local definition
370[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:106:42
371[warn] 106 | case class WithoutCodec(a: Int) derives Codec
372[warn] | ^
373[warn] | unused local definition
374[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:107:74
375[warn] 107 | case class CaseClassWithOption(a: Option[WithoutCodec], b: Int) derives Codec
376[warn] | ^
377[warn] | unused local definition
378[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:114:84
379[warn] 114 | case class CaseClassWithOverridedChild(a: Option[OverridedChild], b: Int) derives Codec
380[warn] | ^
381[warn] | unused local definition
382[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:116:39
383[warn] 116 | case class ListChild(a: Int) derives Codec
384[warn] | ^
385[warn] | unused local definition
386[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:117:81
387[warn] 117 | case class CaseClassWithOptionList(a: Option[List[ListChild]], b: Int) derives Codec
388[warn] | ^
389[warn] | unused local definition
390[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:119:67
391[warn] 119 | case class PropertyAnnotation(@BsonProperty("b") a: Int) derives Codec
392[warn] | ^
393[warn] | unused local definition
394[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:120:70
395[warn] 120 | case class IgnoreAnnotation(a: Int, @BsonIgnore b: Int = 0) derives Codec
396[warn] | ^
397[warn] | unused local definition
398[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:121:50
399[warn] 121 | case class IdAnnotation(@BsonId a: Int) derives Codec
400[warn] | ^
401[warn] | unused local definition
402[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:126:89
403[warn] 126 | testCodecRoundtrip("simple case class", Simple(1, "2"), """{"a": 1, "b": "2"}"""),
404[warn] | ^
405[warn] | unused local definition
406[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:131:9
407[warn] 131 | ),
408[warn] | ^
409[warn] | unused local definition
410[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:137:11
411[warn] 137 | ),
412[warn] | ^
413[warn] | unused local definition
414[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:139:72
415[warn] 139 | testCodecRoundtrip("generic", Generic[Int](43), """{"a": 43}"""),
416[warn] | ^
417[warn] | unused local definition
418[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:140:93
419[warn] 140 | testCodecRoundtrip("varargs field", VarargsField(1, 3, 42), """{"va": [1, 3, 42]}"""),
420[warn] | ^
421[warn] | unused local definition
422[info] done compiling
423[warn] 25 warnings found
424[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:3:20
425[warn] 3 |import EasierValDef.*
426[warn] | ^
427[warn] | unused import
428[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:7:54
429[warn] 7 |import io.github.zeal18.zio.mongodb.bson.codecs.error.BsonError
430[warn] | ^^^^^^^^^
431[warn] | unused import
432[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:8:16
433[warn] 8 |import org.bson.BsonInvalidOperationException
434[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
435[warn] | unused import
436[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:10:16
437[warn] 10 |import org.bson.BsonSerializationException
438[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
439[warn] | unused import
440[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:11:16
441[warn] 11 |import org.bson.BsonType
442[warn] | ^^^^^^^^
443[warn] | unused import
444[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:16:24
445[warn] 16 |import scala.annotation.tailrec
446[warn] | ^^^^^^^
447[warn] | unused import
448[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:18:22
449[warn] 18 |import scala.deriving.*
450[warn] | ^
451[warn] | unused import
452[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:115:10
453[warn] 115 | val fieldTypes = filedsToProcess.map(t => caseClass.memberType(t))
454[warn] | ^^^^^^^^^^
455[warn] | unused local definition
456[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:121:16
457[warn] 121 | val paramTypeInfo = TypeInfo[t]
458[warn] | ^^^^^^^^^^^^^
459[warn] | unused local definition
460[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:181:8
461[warn] 181 | val caseClass = TypeRepr.of[A]
462[warn] | ^^^^^^^^^
463[warn] | unused local definition
464[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:187:23
465[warn] 187 | import f.{Type as F, typeInstance}
466[warn] | ^^^^^^^^^
467[warn] | unused import
468[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:296:8
469[warn] 296 | val enumSymbol = TypeRepr.of[A].typeSymbol
470[warn] | ^^^^^^^^^^
471[warn] | unused local definition
472[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:358:25
473[warn] 358 | import field.{Type as F, typeInstance}
474[warn] | ^^^^^^^^^
475[warn] | unused import
476[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:390:29
477[warn] 390 | import field.{Type as F, typeInstance}
478[warn] | ^^^^^^^^^
479[warn] | unused import
480[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:392:14
481[warn] 392 | val symbol = fieldSymbol(field)
482[warn] | ^^^^^^
483[warn] | unused local definition
484[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:505:21
485[warn] 505 | import f.{Type as F, typeInstance}
486[warn] | ^^^^^^^^^
487[warn] | unused import
488[warn] -- [E175] Potential Issue Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/mutable/Document.scala:249:37
489[warn] 249 | if (!p(k, v)) underlying.remove(k)
490[warn] | ^^^^^^^^^^^^^^^^^^^^
491[warn] |discarded non-Unit value of type org.bson.BsonValue. Add `: Unit` to discard silently.
492[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Field.scala:24:6
493[warn] 24 | (Type.of[Ls], Type.of[Ts]) match
494[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
495[warn] | match may not be exhaustive.
496[warn] |
497[warn] | It would fail on pattern case: (_, _)
498[warn] |
499[warn] | longer explanation available when compiling with `-explain`
500[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/EasierValDef.scala:41:28
501[warn] 41 | import quotes.reflect.*
502[warn] | ^
503[warn] | unused import
504[warn] -- Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/BaseDocument.scala:143:10
505[warn] 143 | @nowarn("cat=unused")
506[warn] | ^^^^^^^^^^^^
507[warn] | Invalid message filter
508[warn] | unknown category: unused
509[warn] 20 warnings found
510[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:7:24
511[warn] 7 |import scala.annotation.nowarn
512[warn] | ^^^^^^
513[warn] | unused import
514[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:43:9
515[warn] 43 | ),
516[warn] | ^
517[warn] | unused local definition
518[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:78:9
519[warn] 78 | ),
520[warn] | ^
521[warn] | unused local definition
522[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:103:9
523[warn] 103 | ),
524[warn] | ^
525[warn] | unused local definition
526[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:136:9
527[warn] 136 | ),
528[warn] | ^
529[warn] | unused local definition
530[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:169:9
531[warn] 169 | ),
532[warn] | ^
533[warn] | unused local definition
534[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedCodecErrorsSpec.scala:193:9
535[warn] 193 | ),
536[warn] | ^
537[warn] | unused local definition
538[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:20:65
539[warn] 20 | case class DefaultField(a: Int, d: String = "default") derives Codec
540[warn] | ^
541[warn] | unused local definition
542[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:45:23
543[warn] 45 | enum Scala3ParamEnum(a: Int) derives Codec:
544[warn] | ^
545[warn] | unused explicit parameter
546[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:56:47
547[warn] 56 | given Codec[MixedCoproduct] = Codec.derived[MixedCoproduct]
548[warn] | ^^^
549[warn] | unused local definition
550[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:64:52
551[warn] 64 | given Codec[Scala3CoproductEnum] = Codec.derived[Scala3CoproductEnum]
552[warn] | ^^^
553[warn] | unused local definition
554[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:67:48
555[warn] 67 | sealed private trait ComplexCoproduct derives Codec
556[warn] | ^
557[warn] | unused local definition
558[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:106:42
559[warn] 106 | case class WithoutCodec(a: Int) derives Codec
560[warn] | ^
561[warn] | unused local definition
562[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:107:74
563[warn] 107 | case class CaseClassWithOption(a: Option[WithoutCodec], b: Int) derives Codec
564[warn] | ^
565[warn] | unused local definition
566[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:114:84
567[warn] 114 | case class CaseClassWithOverridedChild(a: Option[OverridedChild], b: Int) derives Codec
568[warn] | ^
569[warn] | unused local definition
570[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:116:39
571[warn] 116 | case class ListChild(a: Int) derives Codec
572[warn] | ^
573[warn] | unused local definition
574[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:117:81
575[warn] 117 | case class CaseClassWithOptionList(a: Option[List[ListChild]], b: Int) derives Codec
576[warn] | ^
577[warn] | unused local definition
578[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:119:67
579[warn] 119 | case class PropertyAnnotation(@BsonProperty("b") a: Int) derives Codec
580[warn] | ^
581[warn] | unused local definition
582[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:120:70
583[warn] 120 | case class IgnoreAnnotation(a: Int, @BsonIgnore b: Int = 0) derives Codec
584[warn] | ^
585[warn] | unused local definition
586[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:121:50
587[warn] 121 | case class IdAnnotation(@BsonId a: Int) derives Codec
588[warn] | ^
589[warn] | unused local definition
590[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:126:89
591[warn] 126 | testCodecRoundtrip("simple case class", Simple(1, "2"), """{"a": 1, "b": "2"}"""),
592[warn] | ^
593[warn] | unused local definition
594[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:131:9
595[warn] 131 | ),
596[warn] | ^
597[warn] | unused local definition
598[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:137:11
599[warn] 137 | ),
600[warn] | ^
601[warn] | unused local definition
602[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:139:72
603[warn] 139 | testCodecRoundtrip("generic", Generic[Int](43), """{"a": 43}"""),
604[warn] | ^
605[warn] | unused local definition
606[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/test/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/DerivedSpec.scala:140:93
607[warn] 140 | testCodecRoundtrip("varargs field", VarargsField(1, 3, 42), """{"va": [1, 3, 42]}"""),
608[warn] | ^
609[warn] | unused local definition
610[warn] 25 warnings found
611WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
612WARNING: sun.misc.Unsafe::objectFieldOffset has been called by scala.runtime.LazyVals$ (file:/root/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/3.8.0-RC6/scala-library-3.8.0-RC6.jar)
613WARNING: Please consider reporting this to the maintainers of class scala.runtime.LazyVals$
614WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
615+ OptionsCodecsSpec
616 + OptionCodec
617 + None
618 + Some(1)
619 + nested options four times
620 + None
621 + Some(None)
622 + Some(Some(None))
623 + Some(Some(Some(None)))
624 + Some(Some(Some(Some(1))))
625 + nested options twice
626 + None
627 + Some(None)
628 + Some(Some(1))
629 + Option List
630 + Some(empty)
631 + Some(1)
632 + Some(1, 2)
633 + None
634 + nested options thrice
635 + None
636 + Some(None)
637 + Some(Some(None))
638 + Some(Some(Some(1)))
639+ ImmutableDocumentCodecSpec
640 + should determine if document has an _id
641 + should encoder class should work as expected
642 + should get the document_id
643 + should respect encodeIdFirst property in encoder context
644 + should encode and decode all default types with readers and writers
645 + should generate document id if absent but not mutate original document
646 + should not generate document id if present
647+ TemporalCodecsSpec
648 + LocalTime
649 + 1 second
650 + max
651 + epoch 1657524265825
652 + min
653 + epoch
654 + LocalDateTime
655 + epoch
656 + min
657 + epoch 1657524265825
658 + max
659 + Instant
660 + max millis
661 + epoch 1657524265825
662 + min millis
663 + epoch
664 + LocalDate
665 + max
666 + epoch 1657524265825
667 + epoch
668 + min
669+ BsonValueSpec
670 + BsonDateTime companion should create a BsonDateTime
671 + BsonBinary companion should create a BsonBinary
672 + BsonBoolean companion should create a BsonBoolean
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 + BsonJavaScript companion should create a BsonJavaScript
678 + BsonDecimal128 companion should create a BsonDecimal128
679 + BsonInt64 companion should create a BsonInt64
680 + BsonMinKey companion should create a BsonMinKey
681 + BsonMaxKey companion should create a BsonMaxKey
682 + BsonJavaScriptWithScope companion should create a BsonJavaScriptWithScope
683 + BsonNull companion should create a BsonNull
684 + BsonRegularExpression companion should create a BsonRegularExpression
685 + BsonObjectId companion should create a BsonObjectId
686 + BsonNumber companion should create a BsonNumber
687 + BsonString companion should create a BsonString
688 + BsonTimestamp companion should create a BsonTimestamp
689 + BsonSymbol companion should create a BsonSymbol
690 + BsonUndefined companion should create a BsonUndefined
691+ DocumentImplicitTypeConversionSpec
692 + Document additions and updates
693 + should support simple additions
694 + should support updated
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 + simple case class
703 + nested case class
704 + varargs field
705 + generic
706 + default field
707 + set
708 + not set
709 + scala 3 coproduct enum
710 + C
711 + B
712 + A
713 + recursive type with a collection
714 + Leaf
715 + Node
716 + case class with an option list
717 + Some(List.empty)
718 + None
719 + Some(List)
720 + case object
721 + case object
722 + opaque type
723 + int opaque type
724 + string opaque type
725 + scala 3 enum
726 + C
727 + A
728 + B
729 + simple sealed trait enum
730 + B
731 + A
732 + C
733 + mixed sealed trait coproduct
734 + B
735 + C
736 + A
737 + recursive type
738 + Leaf
739 + Node
740 + scala 3 parametrised enum
741 + A
742 + B
743 + C
744 + case class with an option
745 + Some
746 + None
747 + case class with overrided child codec
748 + Some
749 + None
750 + complex coproduct
751 + A
752 + D
753 + SubCoproduct.B
754 + SubCoproduct.C
755 + SubScala3Enum.G
756 + SubScala3Enum.H
757 + SubEnum.E
758 + SubEnum.F
759 + SubScala3CoproductEnum.K
760 + SubScala3CoproductEnum.L
761 + bson annotations
762 + ignore
763 + ignore value
764 + id
765 + property
766+ MutableDocumentSpec
767 + Document additions and updates
768 + should support updated
769 + should support simple additions
770 + should support multiple additions
771 + should support addition of a traversable
772 + Documents
773 + support Traversable like builders
774 + Document removals
775 + should support multiple inline subtractions
776 + should support multiple inline subtractions
777 + should support inline subtraction of a traversable
778 + should support inline subtraction
779 + should support multiple inline subtractions of a traversable
780 + should support retain
781 + should support clear
782 + should support remove
783 + should support transform
784 + Document removals
785 + should support multiple subtractions
786 + should support subtractions
787 + should support subtraction of a traversable
788 + Document transformations
789 + should be filterable by keys
790 + Document lookups
791 + should support get()
792 + should support direct lookup
793 + should be the same as empty documents
794 + should support construction via json
795 + should support getOrElse
796 + should support contains
797 + Document subcollections
798 + should provide keys in the order set
799 + should provide a keySet in the order set
800 + should provide a keysIterator in the order set
801 + should provide values in the order set
802 + should provide a valueSet in the order set
803 + Traversable helpers
804 + should be able to create new Documents from iterable
805 + should be mappable thanks to CanBuildFrom
806 + should work as expected
807 + should return a BsonDocument
808 + should return a Json representation
809 + Mutable Documents
810 + should have maplike mutability
811 + should support inline additions
812 + should support multiple inline additions
813 + should support inline addition of a traversable
814 + should support getOrElseUpdate
815 + should support multiple inline addition of a traversable
816 + should support put
817 + should support inline update
818 + should support multiple inline updates
819+ ImmutableDocumentSpec
820 + Document lookups
821 + should be the same as empty documents
822 + should support construction via json
823 + should support direct lookup
824 + should support get()
825 + should support getOrElse
826 + should support contains
827 + Documents
828 + support Traversable like builders
829 + Document additions and updates
830 + should support simple additions
831 + should support multiple additions
832 + should support addition of a traversable
833 + should support updated
834 + Document removals
835 + should support subtractions
836 + should support multiple subtractions
837 + should support subtraction of a traversable
838 + Document transformations
839 + should be filterable by keys
840 + Document subcollections
841 + should provide a keysIterator in the order set
842 + should provide keys in the order set
843 + should provide a keySet in the order set
844 + should provide values in the order set
845 + should provide a valueSet in the order set
846 + Traversable helpers
847 + should be mappable thanks to CanBuildFrom
848 + should be able to create new Documents from iterable
849 + should work as expected
850 + should return a BsonDocument
851 + should return a Json representation
852+ DerivedCodecErrorsSpec
853 + case class
854 + wrong field type
855 + collection
856 + unexpected type
857 + enum
858 + wrong enum value
859 + coproduct
860 + wrong descriminator value
861 + missing descriminator field
862 + wrong value type
863+ BsonTransformerSpec
864 + The BsonTransformer companion
865 + should not transform BsonValues
866 + should transform BigDecmial
867 + should transform Binary
868 + should transform Boolean
869 + should transform DateTime
870 + should transform ImmutableDocument
871 + should transform Decimal128
872 + should transform Double
873 + should transform Int
874 + should transform Long
875 + should transform KeyValuePairs[T]
876 + should transform MutableDocument
877 + should transform ObjectId
878 + should transform None
879 + should transform Seq[T]
880 + should transform Regex
881 + should transform Option[T]
882 + should transform String
883+ MutableDocumentCodecSpec
884 + should determine if document has an _id
885 + should encoder class should work as expected
886 + should respect encodeIdFirst property in encoder context
887 + should encode and decode all default types with readers and writers
888 + should not generate document id if present
889 + should get the document_id
890+ BsonCodecsSpec
891 + BsonArray
892 + BsonArray(1)
893 + empty
894 + BsonArray(1, 2, 3)
895 + BsonInt32
896 + 0
897 + max
898 + min
899 + BsonNull
900 + null
901 + BsonRegularExpression
902 + non-empty
903 + BsonUndefined
904 + undefined
905 + BsonTimestamp
906 + 0
907 + max long
908 + min long
909 + min seconds + increment
910 + max seconds + increment
911 + positive zero
912 + negative zero
913 + Decimal128
914 + positive infinity
915 + negative infinity
916 + NaN
917 + negative NaN
918 + 1, 1
919 + BsonDateTime
920 + min
921 + 0
922 + max
923 + BsonBoolean
924 + true
925 + false
926 + BsonBinary
927 + empty
928 + BsonBinary(1)
929 + BsonBinary(1, 2, 3)
930 + BsonDocument
931 + empty
932 + BsonDocument(1)
933 + BsonDocument(1, 2, 3)
934 + BsonDecimal128
935 + positive zero
936 + positive infinity
937 + negative zero
938 + negative infinity
939 + 1, 1
940 + NaN
941 + negative NaN
942 + BsonDouble
943 + min
944 + 0
945 + max
946 + BsonJavaScript
947 + non-empty
948 + empty
949 + BsonJavaScriptWithScope
950 + empty
951 + non-empty
952 + BsonInt64
953 + min
954 + max
955 + 0
956 + BsonMinKey
957 + minKey
958 + BsonMaxKey
959 + maxKey
960 + BsonObjectId
961 + non-empty
962 + BsonString
963 + empty
964 + non-empty
965 + BsonValue
966 + BsonBoolean
967 + BsonSymbol
968 + empty
969 + non-empty
970 + ObjectId
971 + non-empty
972+ DocumentCodecProviderSpec
973 + get the correct codec
974+ CollectionsCodecsSpec
975 + 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 + Set(1, 2, 3)
985 + Set(1)
986 + empty Set
987 + VectorCodec
988 + Vector(1, 2, 3)
989 + empty Vector
990 + Vector(1)
991+ PrimitiveCodecsSpec
992 + BooleanCodec
993 + false
994 + true
995 + DoubleCodec
996 + 1.0
997 + Double.MaxValue
998 + -1.0
999 + 0.0
1000 + Double.MinValue
1001 + FloatCodec
1002 + 0.0
1003 + Float.MaxValue
1004 + 1.0
1005 + -1.0
1006 + Float.MinValue
1007 + ShortCodec
1008 + Short.MaxValue
1009 + 0
1010 + 1
1011 + -1
1012 + Short.MinValue
1013 + IntCodec
1014 + Int.MaxValue
1015 + 1
1016 + -1
1017 + 0
1018 + Int.MinValue
1019 + LongCodec
1020 + 1
1021 + -1
1022 + 0
1023 + Long.MaxValue
1024 + Long.MinValue
1025 + StringCodec
1026 + empty string
1027 + Hello world
1028 + ByteCodec
1029 + 1
1030 + -1
1031 + 0
1032 + Byte.MaxValue
1033 + Byte.MinValue
1034321 tests passed. 0 tests failed. 0 tests ignored.
1035
1036Executed in 2 s 786 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-RC6/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-RC6/test-classes ...
1615[warn] -- [E198] Unused Symbol Warning: /build/repo/driver/src/test/scala/io/github/zeal18/zio/mongodb/driver/aggregates/AggregatesSpec.scala:5:54
1616[warn] 5 |import io.github.zeal18.zio.mongodb.driver.aggregates.expressions
1617[warn] | ^^^^^^^^^^^
1618[warn] | unused import
1619[info] done compiling
1620[warn] one warning found
1621[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:3:20
1622[warn] 3 |import EasierValDef.*
1623[warn] | ^
1624[warn] | unused import
1625[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:7:54
1626[warn] 7 |import io.github.zeal18.zio.mongodb.bson.codecs.error.BsonError
1627[warn] | ^^^^^^^^^
1628[warn] | unused import
1629[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:8:16
1630[warn] 8 |import org.bson.BsonInvalidOperationException
1631[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1632[warn] | unused import
1633[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:10:16
1634[warn] 10 |import org.bson.BsonSerializationException
1635[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
1636[warn] | unused import
1637[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:11:16
1638[warn] 11 |import org.bson.BsonType
1639[warn] | ^^^^^^^^
1640[warn] | unused import
1641[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:16:24
1642[warn] 16 |import scala.annotation.tailrec
1643[warn] | ^^^^^^^
1644[warn] | unused import
1645[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:18:22
1646[warn] 18 |import scala.deriving.*
1647[warn] | ^
1648[warn] | unused import
1649[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:115:10
1650[warn] 115 | val fieldTypes = filedsToProcess.map(t => caseClass.memberType(t))
1651[warn] | ^^^^^^^^^^
1652[warn] | unused local definition
1653[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:121:16
1654[warn] 121 | val paramTypeInfo = TypeInfo[t]
1655[warn] | ^^^^^^^^^^^^^
1656[warn] | unused local definition
1657[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:181:8
1658[warn] 181 | val caseClass = TypeRepr.of[A]
1659[warn] | ^^^^^^^^^
1660[warn] | unused local definition
1661[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:187:23
1662[warn] 187 | import f.{Type as F, typeInstance}
1663[warn] | ^^^^^^^^^
1664[warn] | unused import
1665[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:296:8
1666[warn] 296 | val enumSymbol = TypeRepr.of[A].typeSymbol
1667[warn] | ^^^^^^^^^^
1668[warn] | unused local definition
1669[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:358:25
1670[warn] 358 | import field.{Type as F, typeInstance}
1671[warn] | ^^^^^^^^^
1672[warn] | unused import
1673[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:390:29
1674[warn] 390 | import field.{Type as F, typeInstance}
1675[warn] | ^^^^^^^^^
1676[warn] | unused import
1677[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:392:14
1678[warn] 392 | val symbol = fieldSymbol(field)
1679[warn] | ^^^^^^
1680[warn] | unused local definition
1681[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Macro.scala:505:21
1682[warn] 505 | import f.{Type as F, typeInstance}
1683[warn] | ^^^^^^^^^
1684[warn] | unused import
1685[warn] -- [E175] Potential Issue Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/mutable/Document.scala:249:37
1686[warn] 249 | if (!p(k, v)) underlying.remove(k)
1687[warn] | ^^^^^^^^^^^^^^^^^^^^
1688[warn] |discarded non-Unit value of type org.bson.BsonValue. Add `: Unit` to discard silently.
1689[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/Field.scala:24:6
1690[warn] 24 | (Type.of[Ls], Type.of[Ts]) match
1691[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
1692[warn] | match may not be exhaustive.
1693[warn] |
1694[warn] | It would fail on pattern case: (_, _)
1695[warn] |
1696[warn] | longer explanation available when compiling with `-explain`
1697[warn] -- [E198] Unused Symbol Warning: /build/repo/bson/src/main/scala-3/io/github/zeal18/zio/mongodb/bson/codecs/EasierValDef.scala:41:28
1698[warn] 41 | import quotes.reflect.*
1699[warn] | ^
1700[warn] | unused import
1701[warn] -- Warning: /build/repo/bson/src/main/scala/io/github/zeal18/zio/mongodb/bson/collection/BaseDocument.scala:143:10
1702[warn] 143 | @nowarn("cat=unused")
1703[warn] | ^^^^^^^^^^^^
1704[warn] | Invalid message filter
1705[warn] | unknown category: unused
1706[warn] 20 warnings found
1707[warn] -- [E175] Potential Issue Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/MongoClientSettings.scala:43:27
1708[warn] 43 | builder.codecRegistry(MongoClient.DEFAULT_CODEC_REGISTRY)
1709[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1710[warn] |discarded non-Unit value of type com.mongodb.MongoClientSettings#Builder. Add `: Unit` to discard silently.
1711[warn] -- [E147] Syntax Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/expressions/Expression.scala:1509:4
1712[warn] 1509 | final object Rand extends Misc
1713[warn] | ^^^^^
1714[warn] | Modifier final is redundant for this definition
1715[warn] -- [E198] Unused Symbol Warning: /build/repo/driver/src/main/scala/io/github/zeal18/zio/mongodb/driver/aggregates/Aggregation.scala:271:43
1716[warn] 271 | final case class Bucket[Boundary: Numeric, Default](
1717[warn] | ^
1718[warn] | unused implicit parameter
1719[warn] three warnings found
1720[warn] -- [E198] Unused Symbol Warning: /build/repo/driver/src/test/scala/io/github/zeal18/zio/mongodb/driver/aggregates/AggregatesSpec.scala:5:54
1721[warn] 5 |import io.github.zeal18.zio.mongodb.driver.aggregates.expressions
1722[warn] | ^^^^^^^^^^^
1723[warn] | unused import
1724[warn] one warning found
1725WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
1726WARNING: sun.misc.Unsafe::objectFieldOffset has been called by scala.runtime.LazyVals$ (file:/root/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/3.8.0-RC6/scala-library-3.8.0-RC6.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 after subscription - repeated: 100
1736 + cancels subscription when interrupted during consumption - repeated: 100
1737+ UpdatesSpec
1738 + unset
1739 + set
1740 + combine
1741 + inc
1742 + inc int
1743 + inc long
1744 + inc double
1745 + mul
1746 + mul double
1747 + mul long
1748 + setOnInsert
1749 + mul int
1750 + rename
1751 + min
1752 + currentDate
1753 + max
1754 + currentTimestamp
1755 + pushEach
1756 + without options
1757 + with non-document sorting options
1758 + with document sorting options
1759 + addToSet
1760 + push
1761 + bitwise
1762 + addEachToSet
1763 + and int
1764 + pullByFilter
1765 + pullAll
1766 + pullAll seq
1767 + or long
1768 + pullAll set
1769 + pull
1770 + popFirst
1771 + popLast
1772 + and long
1773 + xor int
1774 + or int
1775 + xor long
1776 + raw
1777 + json
1778 + bson
1779+ ExpressionsSpec
1780 + literal
1781 + int
1782 + string
1783 + double
1784 + operator
1785 + boolean
1786 + string
1787 + concat
1788 + indexOfBytes
1789 + indexOfCP
1790 + toUpper
1791 + ltrim
1792 + or
1793 + and
1794 + regexFind
1795 + not
1796 + comparison
1797 + cmp
1798 + eq
1799 + regexFindAll
1800 + replaceAll
1801 + rtrim
1802 + regexMatch
1803 + replaceOne
1804 + gt
1805 + gte
1806 + split
1807 + lt
1808 + lte
1809 + strLenBytes
1810 + substrBytes
1811 + ne
1812 + substrCP
1813 + conditional
1814 + toLower
1815 + cond
1816 + ifNull
1817 + toString
1818 + switch
1819 + strLenCP
1820 + custom
1821 + strcasecmp
1822 + function
1823 + trim
1824 + data size
1825 + binarySize
1826 + bsonSize
1827 + arithmetic
1828 + add
1829 + ceil
1830 + divide
1831 + exp
1832 + floor
1833 + ln
1834 + abs
1835 + log
1836 + log10
1837 + pow
1838 + mod
1839 + round
1840 + without place
1841 + with place
1842 + multiply
1843 + sqrt
1844 + trunc
1845 + without place
1846 + with place
1847 + subtract
1848 + object
1849 + mergeObjects
1850 + setField
1851 + miscellaneous
1852 + getField
1853 + rand
1854 + sampleRate
1855 + array
1856 + arrayElemAt
1857 + arrayToObject
1858 + concatArrays
1859 + first
1860 + firstN
1861 + in
1862 + filter
1863 + indexOfArray
1864 + isArray
1865 + lastN
1866 + last
1867 + MinN
1868 + map
1869 + objectToArray
1870 + MaxN
1871 + reverseArray
1872 + reduce
1873 + size
1874 + range
1875 + sortArrayByField
1876 + sortArrayByValue
1877 + zipLongest
1878 + slice
1879 + zipShortest
1880 + set
1881 + allElementsTrue
1882 + anyElementTrue
1883 + setDifference
1884 + setEquals
1885 + setIntersection
1886 + setIsSubset
1887 + setUnion
1888 + text
1889 + meta
1890 + date
1891 + dateAdd
1892 + dateDiff
1893 + dateFromParts
1894 + dateFromParts ISO
1895 + dateFromString
1896 + dateSubtract
1897 + dateToParts
1898 + dateToString
1899 + dateTrunc
1900 + dayOfMonth
1901 + dayOfWeek
1902 + dayOfYear
1903 + hour
1904 + isoDayOfWeek
1905 + isoWeek
1906 + isoWeekYear
1907 + millisecond
1908 + minute
1909 + month
1910 + second
1911 + toDate
1912 + week
1913 + year
1914 + trigonometry
1915 + sin
1916 + cos
1917 + tan
1918 + asin
1919 + acos
1920 + atan
1921 + atan2
1922 + asinh
1923 + acosh
1924 + atanh
1925 + sinh
1926 + cosh
1927 + tanh
1928 + radiansToDegrees
1929 + degreesToRadians
1930 + type
1931 + convert
1932 + isNumber
1933 + toBool
1934 + toDecimal
1935 + toInt
1936 + toObjectId
1937 + toDouble
1938 + toLong
1939 + type
1940 + let
1941 + field path
1942 + raw
1943 + bson
1944 + json
1945 + expression object
1946+ AggregatesSpec
1947 + count with field
1948 + match
1949 + count
1950 + filter
1951 + sort
1952 + limit
1953 + lookup
1954 + facet
1955 + group
1956 + lookup join
1957 + unwind with options
1958 + project
1959 + sortByCount
1960 + raw
1961 + unwind
1962 + bson
1963 + json
1964 + bucket
1965 + bucketAuto
1966+ FiltersSpec
1967 + equal
1968 + eq _id
1969 + equal _id
1970 + equal field
1971 + eq field
1972 + or
1973 + or set
1974 + or varargs
1975 + text
1976 + text
1977 + text sensitive
1978 + text insensitive
1979 + lt/lte
1980 + lte
1981 + lt
1982 + notEqual
1983 + bits
1984 + bitsAllSet
1985 + ne
1986 + bitsAllClear
1987 + notEqual
1988 + bitsAnyClear
1989 + gt/gte
1990 + gte
1991 + bitsAnySet
1992 + gt
1993 + isNull
1994 + None
1995 + None
1996 + in
1997 + in set
1998 + in seq
1999 + notNull
2000 + None
2001 + None
2002 + nin
2003 + nin set
2004 + nin seq
2005 + and
2006 + and set
2007 + and varargs
2008 + nor
2009 + nor set
2010 + nor varargs
2011 + not
2012 + type
2013 + type
2014 + mod
2015 + where
2016 + exists
2017 + exists
2018 + exists false
2019 + exists true
2020 + expr
2021 + regex
2022 + regex flags
2023 + regex
2024 + elemMatch
2025 + all
2026 + all set
2027 + all seq
2028 + size
2029 + jsonSchema
2030 + raw
2031 + bson
2032 + json
2033+ SortSpec
2034 + asc
2035 + raw
2036 + json
2037 + bson
2038 + compound
2039 + desc
2040 + textScore
2041+ AccumulatorsSpec
2042 + first
2043 + sum
2044 + last
2045 + firstN
2046 + avg
2047 + max
2048 + maxN
2049 + minN
2050 + push
2051 + lastN
2052 + addToSet
2053 + mergeObjects
2054 + min
2055 + stdDevPop
2056 + stdDevSamp
2057 + accumulator
2058 + bottom
2059 + bottomN
2060 + raw
2061 + json
2062 + bson
2063 + top
2064 + topN
2065 + count
2066+ ProjectionsSpec
2067 + excludeId
2068 + computed
2069 + include
2070 + exclude
2071 + elemMatch filter
2072 + elemMatch
2073 + slice
2074 + meta
2075 + raw
2076 + bson
2077 + json
2078 + metaTextScore
2079 + fields
2080 + slice skip
2081+ IndexKeysSpec
2082 + ascending
2083 + descending
2084 + geo2dsphere
2085 + geo2d
2086 + compound
2087 + overriding
2088 + basic
2089 + text
2090 + hashed
2091 + raw
2092 + bson
2093 + json
2094+ IterableSubscriberSpec
2095 + fails with an initially failed `Publisher`
2096 + fails with an eventually failing `Publisher`
2097 + does not fail a fiber on failing `Publisher`
2098 + works with a well behaved `Publisher`
2099 + cancels subscription when interrupted before subscription - repeated: 100
2100 + cancels subscription when interrupted after subscription - repeated: 100
2101 + cancels subscription when interrupted during consumption - repeated: 100
2102+ SingleElementSubscriberSpec
2103 + fails with an initially failed `Publisher`
2104 + does not fail a fiber on failing `Publisher`
2105 + returns None when completed without elements
2106 + works with a well behaved `Publisher`
2107 + cancels subscription when interrupted before subscription - repeated: 100
2108 + cancels subscription when interrupted during consumption - repeated: 100
2109 + cancels subscription when interrupted after subscription - repeated: 100
2110+ WindowsSpec
2111 + first
2112 + avg
2113 + firstN
2114 + sum
2115 + lastN
2116 + last
2117 + max
2118 + maxN
2119 + minN
2120 + min
2121 + push
2122 + stdDevPop
2123 + addToSet
2124 + bottom
2125 + stdDevSamp
2126 + bottomN
2127 + count
2128 + top
2129 + topN
2130 + covariancePop
2131 + derivative
2132 + denceRank
2133 + documentNumber
2134 + expMovingAvgN
2135 + covarianceSamp
2136 + integral
2137 + linearFill
2138 + expMovingAvgAlpha
2139 + raw
2140 + json
2141 + bson
2142 + locf
2143 + shift
2144 + rank
2145+ HintsSpec
2146 + name
2147 + index
2148 + key
2149 + raw
2150 + json
2151 + bson
2152 + forwardScan
2153 + reverseScan
2154360 tests passed. 0 tests failed. 0 tests ignored.
2155
2156Executed in 3 s 293 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-RC6/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": 14203, "warnings": 20, "errors": 0, "sourceVersion": "3.8"},
2871 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
2872 "test-compile": {"status": "ok", "tookMs": 18722, "warnings": 25, "errors": 0, "sourceVersion": "3.8"},
2873 "test": {"status": "ok", "tookMs": 4358, "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": 11241, "warnings": 3, "errors": 0, "sourceVersion": "3.8"},
2881 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
2882 "test-compile": {"status": "ok", "tookMs": 2986, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
2883 "test": {"status": "ok", "tookMs": 4865, "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": 1229, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
2891 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
2892 "test-compile": {"status": "ok", "tookMs": 275, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
2893 "test": {"status": "ok", "tookMs": 214, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
2894 "publish": {"status": "skipped", "tookMs": 0},
2895 "metadata": {
2896 "crossScalaVersions": ["2.13.17", "3.3.7"]
2897}
2898}]
2899************************
2900[success] Total time: 63 s (0:01:03.0), completed Jan 8, 2026, 2:09:31 AM
2901[0JChecking patch project/plugins.sbt...
2902Checking patch build.sbt...
2903Applied patch project/plugins.sbt cleanly.
2904Applied patch build.sbt cleanly.