Build Logs
galliaproject/gallia-mongodb • 3.8.0-RC2:2025-11-28
Errors
0
Warnings
37
Total Lines
189
1##################################
2Clonning https://github.com/galliaproject/gallia-mongodb.git into /build/repo using revision v0.6.1
3##################################
4Note: switching to '426ae5f200c43a22f88f416d8964c89a689a945f'.
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.1
22----
23Preparing build for 3.8.0-RC2
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: project/GalliaCommonSettings.scala
34Pattern: val scala3 = "3.3.1"
35Replacement: val scala3 = "3.8.0-RC2"
36Starting compilation server
37Compiling project (Scala 3.7.3, JVM (17))
38Compiled project (Scala 3.7.3, JVM (17))
39Successfully applied pattern 'val scala3 = "3.3.1"' in project/GalliaCommonSettings.scala
40----
41Starting build for 3.8.0-RC2
42Execute tests: true
43sbt project found:
44Sbt version 1.9.0 is not supported, minimal supported version is 1.11.5
45Enforcing usage of sbt in version 1.11.5
46No prepare script found for project galliaproject/gallia-mongodb
47##################################
48Scala version: 3.8.0-RC2
49Targets: io.github.galliaproject%gallia-mongodb
50Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"project/GalliaCommonSettings.scala","pattern":"val scala3 = \"3.3.1\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
51##################################
52Using extra scalacOptions: ,REQUIRE:-source:3.8
53Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
54[sbt_options] declare -a sbt_options=()
55[process_args] java_version = '17'
56[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
57# Executing command line:
58java
59-Dfile.encoding=UTF-8
60-Dcommunitybuild.scala=3.8.0-RC2
61-Dcommunitybuild.project.dependencies.add=
62-Xmx7G
63-Xms4G
64-Xss8M
65-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
66-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
67-jar
68/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
69"setCrossScalaVersions 3.8.0-RC2"
70"++3.8.0-RC2 -v"
71"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
72"set every credentials := Nil"
73"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
74"removeScalacOptionsStartingWith -P:wartremover"
75
76moduleMappings
77"runBuild 3.8.0-RC2 """{"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"project/GalliaCommonSettings.scala","pattern":"val scala3 = \"3.3.1\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}""" io.github.galliaproject%gallia-mongodb"
78
79[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
80[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
81[info] loading project definition from /build/repo/project
82[info] compiling 5 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
83[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
84[info] Compilation completed in 8.823s.
85[info] done compiling
86[info] loading settings for project root from build.sbt...
87[info] set current project to gallia-mongodb (in build file:/build/repo/)
88Execute setCrossScalaVersions: 3.8.0-RC2
89OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in root/crossScalaVersions
90[info] set current project to gallia-mongodb (in build file:/build/repo/)
91[info] Setting Scala version to 3.8.0-RC2 on 1 projects.
92[info] Switching Scala version on:
93[info] * root (3.8.0-RC2, 2.13.12, 2.12.18)
94[info] Excluding projects:
95[info] Reapplying settings...
96[info] set current project to gallia-mongodb (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 gallia-mongodb (in build file:/build/repo/)
100[info] Defining Global / credentials, credentials
101[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 4 others.
102[info] Run `last` for details.
103[info] Reapplying settings...
104[info] set current project to gallia-mongodb (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 gallia-mongodb (in build file:/build/repo/)
114Execute removeScalacOptionsStartingWith: -P:wartremover
115[info] Reapplying settings...
116[info] set current project to gallia-mongodb (in build file:/build/repo/)
117[success] Total time: 0 s, completed Nov 28, 2025, 2:28:54 PM
118Build config: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"project/GalliaCommonSettings.scala","pattern":"val scala3 = \"3.3.1\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
119Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
120Starting build...
121Projects: Set(root)
122Starting build for ProjectRef(file:/build/repo/,root) (gallia-mongodb)... [0/1]
123OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
124OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
125OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
126Compile scalacOptions: -encoding, UTF-8, -unchecked, -language:implicitConversions, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -no-indent, -Wvalue-discard, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
127[info] compiling 2 Scala sources to /build/repo/target/scala-3.8.0-RC2/classes ...
128[warn] -- Warning: /build/repo/src/main/scala/gallia/mongodb/MongoDbJongo.scala:62:4 --
129[warn] 62 | private def convertDocValue(value: Any): Any =
130[warn] | ^
131[warn] | Line is indented too far to the right, or a `{` is missing before:
132[warn] |
133[warn] | doc.entrySet().pipe(scala.collection.JavaConverters.asScalaSet).map(
134[warn] | {
135[warn] | entry =>
136[warn] | {
137[warn] | entry.getKey.symbol -> convertDocValue(entry.getValue)
138[warn] | }
139[warn] | }
140[warn] | ).toList
141[warn] -- Warning: /build/repo/src/main/scala/gallia/mongodb/MongoDbJongo.scala:73:6 --
142[warn] 73 | private def convertArrayList(array: java.util.ArrayList[_]): Option[List[Any]] =
143[warn] | ^
144[warn] | Line is indented too far to the right, or a `{` is missing before:
145[warn] |
146[warn] | value match
147[warn] | {
148[warn] | case null =>
149[warn] | None
150[warn] | case doc:org.bson.Document =>
151[warn] | convert(doc)
152[warn] | case array:java.util.ArrayList[?] =>
153[warn] | convertArrayList(array)
154[warn] | case x:java.math.BigDecimal =>
155[warn] | BigDecimal(x)
156[warn] | case x:java.math.BigInteger =>
157[warn] | BigInt(x)
158[warn] | case x:Array[Byte] =>
159[warn] | gallia.byteBuffer(x)
160[warn] | case basic =>
161[warn] | basic
162[warn] | }
163[warn] there were 4 deprecation warnings; re-run with -deprecation for details
164[warn] three warnings found
165[info] done compiling
166
167************************
168Build summary:
169[{
170 "module": "gallia-mongodb",
171 "compile": {"status": "ok", "tookMs": 6805, "warnings": 2, "errors": 0, "sourceVersion": "3.8"},
172 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
173 "test-compile": {"status": "ok", "tookMs": 143, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
174 "test": {"status": "ok", "tookMs": 116, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
175 "publish": {"status": "skipped", "tookMs": 0},
176 "metadata": {
177 "crossScalaVersions": ["2.13.12", "2.12.18", "3.3.1"]
178}
179}]
180************************
181[success] Total time: 24 s, completed Nov 28, 2025, 2:29:19 PM
182[0JChecking patch project/plugins.sbt...
183Checking patch project/build.properties...
184Checking patch project/GalliaCommonSettings.scala...
185Checking patch build.sbt...
186Applied patch project/plugins.sbt cleanly.
187Applied patch project/build.properties cleanly.
188Applied patch project/GalliaCommonSettings.scala cleanly.
189Applied patch build.sbt cleanly.