Build Logs

mongocamp/mongodb-driver • scheduled_3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY

Errors

1

Warnings

129

Total Lines

276

1##################################
2Clonning https://github.com/mongocamp/mongodb-driver.git into /build/repo using revision v3.0.12
3##################################
4Note: switching to '1315bf3464cbdefdb9cd32d3c600a0bfeac1e603'.
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
21----
22Preparing build for 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY
23Scala binary version found: 3.8
24Implicitly using source version 3.8
25Scala binary version found: 3.8
26Implicitly using source version 3.8
27Would try to apply common scalacOption (best-effort, sbt/mill only):
28Append: ,REQUIRE:-source:3.8
29Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
30----
31Starting build for 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY
32Execute tests: false
33sbt project found:
34No prepare script found for project mongocamp/mongodb-driver
35##################################
36Scala version: 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY
37Targets: dev.mongocamp%mongodb-driver
38Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"25"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}
39##################################
40Using extra scalacOptions: ,REQUIRE:-source:3.8
41Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
42[sbt_options] declare -a sbt_options=()
43[process_args] java_version = '25'
44[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_25/rt.jar'
45# Executing command line:
46java
47-Dfile.encoding=UTF-8
48-Dcommunitybuild.scala=3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY
49-Dcommunitybuild.project.dependencies.add=
50-Xmx7G
51-Xms4G
52-Xss8M
53-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
54-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_25
55-jar
56/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
57"setCrossScalaVersions 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY"
58"++3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY -v"
59"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
60"set every credentials := Nil"
61"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
62"removeScalacOptionsStartingWith -P:wartremover"
63
64moduleMappings
65"runBuild 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"25"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}""" dev.mongocamp%mongodb-driver"
66
67WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
68WARNING: 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.5/zero-allocation-hashing-0.16.jar)
69WARNING: Please consider reporting this to the maintainers of class net.openhft.hashing.UnsafeAccess
70WARNING: sun.misc.Unsafe::arrayBaseOffset will be removed in a future release
71WARNING: A restricted method in java.lang.System has been called
72WARNING: 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.5/jna-5.12.0.jar)
73WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
74WARNING: Restricted methods will be blocked in a future release unless native access is enabled
75
76[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 25)
77[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
78[info] loading project definition from /build/repo/project
79[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
80[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
81[info] Compilation completed in 8.023s.
82[info] done compiling
83/build/repo/build_release.sbt:40: warning: method process in object Command is deprecated (since 1.9.4): Use overload that takes the onParseError callback
84 Command.process("release with-defaults", state)
85 ^
86[info] loading settings for project mongodb from build.sbt, build_docu.sbt, build_release.sbt, build_test.sbt, version.sbt...
87[info] set current project to mongodb-driver (in build file:/build/repo/)
88Execute setCrossScalaVersions: 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY
89OpenCB::Changing crossVersion 3.7.2 -> 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY in mongodb/crossScalaVersions
90[info] set current project to mongodb-driver (in build file:/build/repo/)
91[info] Setting Scala version to 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY on 1 projects.
92[info] Switching Scala version on:
93[info] * mongodb (3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY, 2.13.17)
94[info] Excluding projects:
95[info] Reapplying settings...
96[info] set current project to mongodb-driver (in build file:/build/repo/)
97Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
98[info] Reapplying settings...
99[info] set current project to mongodb-driver (in build file:/build/repo/)
100[info] Defining Global / credentials, credentials
101[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 8 others.
102[info] Run `last` for details.
103[info] Reapplying settings...
104[info] set current project to mongodb-driver (in build file:/build/repo/)
105Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
106[info] Reapplying settings...
107OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
108
109 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
110 Did you mean allExcludeDependencies ?
111 , retry without global scopes
112[info] Reapplying settings...
113[info] set current project to mongodb-driver (in build file:/build/repo/)
114Execute removeScalacOptionsStartingWith: -P:wartremover
115[info] Reapplying settings...
116[info] set current project to mongodb-driver (in build file:/build/repo/)
117[success] Total time: 0 s, completed Dec 28, 2025, 5:00:03 PM
118Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"25"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}
119Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
120Starting build...
121Projects: Set(mongodb)
122Starting build for ProjectRef(file:/build/repo/,mongodb) (mongodb-driver)... [0/1]
123OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
124OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
125Compile scalacOptions: -Wconf:msg=can be rewritten automatically under:s, -source:3.8
126[info] compiling 86 Scala sources to /build/repo/target/scala-3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY/classes ...
127[warn] -- [E129] Potential Issue Warning: /build/repo/src/main/scala/dev/mongocamp/driver/mongodb/sql/MongoSqlQueryHolder.scala:139:4
128[warn] 139 | ""
129[warn] | ^^
130[warn] | A pure expression does nothing in statement position
131[warn] |
132[warn] | longer explanation available when compiling with `-explain`
133[warn] -- [E190] Potential Issue Warning: /build/repo/src/main/scala/dev/mongocamp/driver/mongodb/sql/MongoSqlQueryHolder.scala:750:10
134[warn] 750 | ""
135[warn] | ^^
136[warn] |Discarded non-Unit value of type String. Add `: Unit` to discard silently.
137[warn] |
138[warn] | longer explanation available when compiling with `-explain`
139[warn] -- [E121] Pattern Match Warning: /build/repo/src/main/scala/dev/mongocamp/driver/mongodb/Filter.scala:22:11
140[warn] 22 | case _ => DefaultBson
141[warn] | ^
142[warn] |Unreachable case except for null (if this is intentional, consider writing case null => instead).
143[warn] -- [E030] Match case Unreachable Warning: /build/repo/src/main/scala/dev/mongocamp/driver/mongodb/json/CirceSchema.scala:239:11
144[warn] 239 | case r: Document => encodeAnyToJson(r.toMap)
145[warn] | ^^^^^^^^^^^
146[warn] | Unreachable case
147[warn] -- [E121] Pattern Match Warning: /build/repo/src/main/scala/dev/mongocamp/driver/mongodb/json/CirceSchema.scala:247:11
148[warn] 247 | case _ =>
149[warn] | ^
150[warn] |Unreachable case except for null (if this is intentional, consider writing case null => instead).
151[warn] -- [E121] Pattern Match Warning: /build/repo/src/main/scala/dev/mongocamp/driver/mongodb/package.scala:34:13
152[warn] 34 | case _ => ""
153[warn] | ^
154[warn] |Unreachable case except for null (if this is intentional, consider writing case null => instead).
155[warn] -- [E121] Pattern Match Warning: /build/repo/src/main/scala/dev/mongocamp/driver/mongodb/sql/MongoSqlQueryHolder.scala:620:17
156[warn] 620 | case _ => false
157[warn] | ^
158[warn] |Unreachable case except for null (if this is intentional, consider writing case null => instead).
159[warn] -- [E121] Pattern Match Warning: /build/repo/src/main/scala/dev/mongocamp/driver/mongodb/sql/MongoSqlQueryHolder.scala:655:21
160[warn] 655 | case _ => throw new IllegalArgumentException("not supported sql command type")
161[warn] | ^
162[warn] |Unreachable case except for null (if this is intentional, consider writing case null => instead).
163[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/dev/mongocamp/driver/mongodb/jdbc/resultSet/MongoDbResultSet.scala:641:11
164[warn] 641 | case t: T => t
165[warn] | ^
166[warn] |the type test for T cannot be checked at runtime because it refers to an abstract type member or type parameter
167[warn] |
168[warn] | longer explanation available when compiling with `-explain`
169[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/dev/mongocamp/driver/mongodb/jdbc/resultSet/MongoDbResultSet.scala:650:11
170[warn] 650 | case t: T => t
171[warn] | ^
172[warn] |the type test for T cannot be checked at runtime because it refers to an abstract type member or type parameter
173[warn] |
174[warn] | longer explanation available when compiling with `-explain`
175[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/dev/mongocamp/driver/mongodb/json/CirceSchema.scala:213:11
176[warn] 213 | case m: Map[String, _] => encodeMapStringAny(m)
177[warn] | ^
178[warn] |the type test for Map[String, _] @_ cannot be checked at runtime because its type arguments can't be determined from Any
179[warn] |
180[warn] | longer explanation available when compiling with `-explain`
181[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/dev/mongocamp/driver/mongodb/sql/MongoSqlQueryHolder.scala:343:13
182[warn] 343 | case e: ParenthesedExpressionList[Expression] =>
183[warn] | ^
184[warn] |the type test for net.sf.jsqlparser.expression.operators.relational.ParenthesedExpressionList[
185[warn] | net.sf.jsqlparser.expression.Expression] cannot be checked at runtime because its type arguments can't be determined from net.sf.jsqlparser.expression.Expression
186[warn] |
187[warn] | longer explanation available when compiling with `-explain`
188[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/dev/mongocamp/driver/mongodb/sql/MongoSqlQueryHolder.scala:349:17
189[warn] 349 | case l: ParenthesedExpressionList[Expression] => l.asScala.map(convertValue)
190[warn] | ^
191[warn] |the type test for net.sf.jsqlparser.expression.operators.relational.ParenthesedExpressionList[
192[warn] | net.sf.jsqlparser.expression.Expression] cannot be checked at runtime because its type arguments can't be determined from net.sf.jsqlparser.expression.Expression
193[warn] |
194[warn] | longer explanation available when compiling with `-explain`
195[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/dev/mongocamp/driver/mongodb/sql/MongoSqlQueryHolder.scala:387:19
196[warn] 387 | case se: SelectItem[Expression] =>
197[warn] | ^
198[warn] |the type test for net.sf.jsqlparser.statement.select.SelectItem[
199[warn] | net.sf.jsqlparser.expression.Expression] cannot be checked at runtime because its type arguments can't be determined from net.sf.jsqlparser.statement.select.SelectItem[?]
200[warn] |
201[warn] | longer explanation available when compiling with `-explain`
202[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/dev/mongocamp/driver/mongodb/sql/MongoSqlQueryHolder.scala:534:19
203[warn] 534 | case e: SelectItem[Expression] =>
204[warn] | ^
205[warn] |the type test for net.sf.jsqlparser.statement.select.SelectItem[
206[warn] | net.sf.jsqlparser.expression.Expression] cannot be checked at runtime because its type arguments can't be determined from net.sf.jsqlparser.statement.select.SelectItem[?]
207[warn] |
208[warn] | longer explanation available when compiling with `-explain`
209[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/dev/mongocamp/driver/mongodb/sql/MongoSqlQueryHolder.scala:568:17
210[warn] 568 | case se: SelectItem[Expression] =>
211[warn] | ^
212[warn] |the type test for net.sf.jsqlparser.statement.select.SelectItem[
213[warn] | net.sf.jsqlparser.expression.Expression] cannot be checked at runtime because its type arguments can't be determined from net.sf.jsqlparser.statement.select.SelectItem[?]
214[warn] |
215[warn] | longer explanation available when compiling with `-explain`
216[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/dev/mongocamp/driver/mongodb/sql/MongoSqlQueryHolder.scala:614:17
217[warn] 614 | case e: SelectItem[Expression] =>
218[warn] | ^
219[warn] |the type test for net.sf.jsqlparser.statement.select.SelectItem[
220[warn] | net.sf.jsqlparser.expression.Expression] cannot be checked at runtime because its type arguments can't be determined from net.sf.jsqlparser.statement.select.SelectItem[?]
221[warn] |
222[warn] | longer explanation available when compiling with `-explain`
223[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/dev/mongocamp/driver/mongodb/sql/MongoSqlQueryHolder.scala:638:21
224[warn] 638 | case e: SelectItem[Expression] =>
225[warn] | ^
226[warn] |the type test for net.sf.jsqlparser.statement.select.SelectItem[
227[warn] | net.sf.jsqlparser.expression.Expression] cannot be checked at runtime because its type arguments can't be determined from net.sf.jsqlparser.statement.select.SelectItem[?]
228[warn] |
229[warn] | longer explanation available when compiling with `-explain`
230[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/dev/mongocamp/driver/mongodb/sql/MongoSqlQueryHolder.scala:677:19
231[warn] 677 | case e: SelectItem[Expression] =>
232[warn] | ^
233[warn] |the type test for net.sf.jsqlparser.statement.select.SelectItem[
234[warn] | net.sf.jsqlparser.expression.Expression] cannot be checked at runtime because its type arguments can't be determined from net.sf.jsqlparser.statement.select.SelectItem[?]
235[warn] |
236[warn] | longer explanation available when compiling with `-explain`
237[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/dev/mongocamp/driver/mongodb/sql/MongoSqlQueryHolder.scala:765:11
238[warn] 765 | case e: ParenthesedExpressionList[Expression] =>
239[warn] | ^
240[warn] |the type test for net.sf.jsqlparser.expression.operators.relational.ParenthesedExpressionList[
241[warn] | net.sf.jsqlparser.expression.Expression] cannot be checked at runtime because its type arguments can't be determined from ?1.CAP
242[warn] |
243[warn] | longer explanation available when compiling with `-explain`
244[warn] there were 4 deprecation warnings; re-run with -deprecation for details
245[warn] 21 warnings found
246[info] done compiling
247[info] compiling 1 Scala source to /build/repo/target/scala-3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY/classes ...
248[info] done compiling
249[info] compiling 55 Scala sources to /build/repo/target/scala-3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY/test-classes ...
250[warn] there were 10 deprecation warnings; re-run with -deprecation for details
251[warn] one warning found
252[info] done compiling
253[info] compiling 1 Scala source to /build/repo/target/scala-3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY/classes ...
254[info] done compiling
255[info] compiling 1 Scala source to /build/repo/target/scala-3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY/classes ...
256[info] done compiling
257
258************************
259Build summary:
260[{
261 "module": "mongodb-driver",
262 "compile": {"status": "ok", "tookMs": 19065, "warnings": 20, "errors": 0, "sourceVersion": "3.8"},
263 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
264 "test-compile": {"status": "ok", "tookMs": 8294, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
265 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
266 "publish": {"status": "skipped", "tookMs": 0},
267 "metadata": {
268 "crossScalaVersions": ["3.7.2", "2.13.17"]
269}
270}]
271************************
272[success] Total time: 70 s (0:01:10.0), completed Dec 28, 2025, 5:01:13 PM
273[0JChecking patch project/plugins.sbt...
274Checking patch build.sbt...
275Applied patch project/plugins.sbt cleanly.
276Applied patch build.sbt cleanly.