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