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