Build Logs

mbannour/mongoscala3codec • 3.8.0-RC2:2025-11-26

Errors

0

Warnings

9

Total Lines

168

1##################################
2Clonning https://github.com/mbannour/mongoscala3codec.git into /build/repo using revision v.0.0.7-M2
3##################################
4Note: switching to 'fd3b097797341beecf4ee0b2cdcb1d4b57b312d6'.
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.7.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: build.sbt
34Pattern: val scala3Version = "3.7.1"
35Replacement: val scala3Version = "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 scala3Version = "3.7.1"' in build.sbt
40----
41Starting build for 3.8.0-RC2
42Execute tests: false
43sbt project found:
44Sbt version 1.10.6 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 mbannour/mongoscala3codec
47/opencb/project-builder/sbt/prepare-project.sh: line 107: /root/.ssh/config: No such file or directory
48##################################
49Scala version: 3.8.0-RC2
50Targets: io.github.mbannour%mongoscala3codec
51Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3Version = \"3.7.1\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}
52##################################
53Using extra scalacOptions: ,REQUIRE:-source:3.8
54Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
55[sbt_options] declare -a sbt_options=()
56[process_args] java_version = '17'
57[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
58# Executing command line:
59java
60-Dfile.encoding=UTF-8
61-Dcommunitybuild.scala=3.8.0-RC2
62-Dcommunitybuild.project.dependencies.add=
63-Xmx7G
64-Xms4G
65-Xss8M
66-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
67-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
68-jar
69/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
70"setCrossScalaVersions 3.8.0-RC2"
71"++3.8.0-RC2 -v"
72"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
73"set every credentials := Nil"
74"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
75"removeScalacOptionsStartingWith -P:wartremover"
76
77moduleMappings
78"runBuild 3.8.0-RC2 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3Version = \"3.7.1\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}""" io.github.mbannour%mongoscala3codec"
79
80[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
81[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
82[info] loading project definition from /build/repo/project
83[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
84[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
85[info] Compilation completed in 9.008s.
86[info] done compiling
87[info] loading settings for project root from build.sbt...
88[info] set current project to MongoScala3Codec (in build file:/build/repo/)
89Execute setCrossScalaVersions: 3.8.0-RC2
90OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in benchmarks/crossScalaVersions
91OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in integrationTests/crossScalaVersions
92OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in root/crossScalaVersions
93OpenCB::Limitting incorrect crossVersions List(3.3.1, 3.4.2, 3.6.3, 3.6.4, 3.7.1) -> List(3.8.0-RC2) in root/crossScalaVersions
94[info] set current project to MongoScala3Codec (in build file:/build/repo/)
95[info] Setting Scala version to 3.8.0-RC2 on 3 projects.
96[info] Switching Scala version on:
97[info] * root (3.8.0-RC2)
98[info] integrationTests (3.8.0-RC2)
99[info] benchmarks (3.8.0-RC2)
100[info] Excluding projects:
101[info] Reapplying settings...
102[info] set current project to MongoScala3Codec (in build file:/build/repo/)
103Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
104[info] Reapplying settings...
105[info] set current project to MongoScala3Codec (in build file:/build/repo/)
106[info] Defining Global / credentials, benchmarks / credentials and 1 others.
107[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 23 others.
108[info] Run `last` for details.
109[info] Reapplying settings...
110[info] set current project to MongoScala3Codec (in build file:/build/repo/)
111Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
112[info] Reapplying settings...
113OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
114
115 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:336)
116 Did you mean allExcludeDependencies ?
117 , retry without global scopes
118[info] Reapplying settings...
119[info] set current project to MongoScala3Codec (in build file:/build/repo/)
120Execute removeScalacOptionsStartingWith: -P:wartremover
121[info] Reapplying settings...
122[info] set current project to MongoScala3Codec (in build file:/build/repo/)
123[success] Total time: 0 s, completed Nov 26, 2025, 5:20:52 PM
124Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3Version = \"3.7.1\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}
125Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
126Starting build...
127Projects: Set(root)
128Starting build for ProjectRef(file:/build/repo/,root) (mongoscala3codec)... [0/1]
129OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
130OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
131OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
132OpenCB::Filter out '-Werror', matches setting pattern '^-?-Werror'
133Compile scalacOptions: -Xsemanticdb, -semanticdb-target, /build/repo/target/scala-3.8.0-RC2/meta, -encoding, utf8, -explain-types, -language:higherKinds, -language:implicitConversions, -Xunchecked-java-output-version:17, -unchecked, -Xcheck-macros, -Yretain-trees, -Wunused:all, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
134[info] compiling 15 Scala sources to /build/repo/target/scala-3.8.0-RC2/classes ...
135[info] done compiling
136[info] compiling 17 Scala sources to /build/repo/target/scala-3.8.0-RC2/test-classes ...
137[warn] Failed to parse `-Wconf` configuration: cat=unused:s,msg=can be rewritten automatically under:s
138[warn] unknown category: unused
139[warn] Note: for multiple filters, use `-Wconf:filter1:action1,filter2:action2`
140[warn] or alternatively `-Wconf:filter1:action1 -Wconf:filter2:action2`
141[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala/io/github/mbannour/mongo/codecs/RegistryBuilderEnhancementsSpec.scala:152:8
142[warn] 152 | val codec = builder.tryGetCodec[SimpleUser]
143[warn] | ^^^^^
144[warn] | unused local definition
145[warn] two warnings found
146[info] done compiling
147
148************************
149Build summary:
150[{
151 "module": "mongoscala3codec",
152 "compile": {"status": "ok", "tookMs": 14705, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
153 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
154 "test-compile": {"status": "ok", "tookMs": 30819, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
155 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
156 "publish": {"status": "skipped", "tookMs": 0},
157 "metadata": {
158 "crossScalaVersions": ["3.3.1", "3.4.2", "3.6.3", "3.6.4", "3.7.1", "3.7.1"]
159}
160}]
161************************
162[success] Total time: 60 s, completed Nov 26, 2025, 5:21:52 PM
163[0JChecking patch project/plugins.sbt...
164Checking patch project/build.properties...
165Checking patch build.sbt...
166Applied patch project/plugins.sbt cleanly.
167Applied patch project/build.properties cleanly.
168Applied patch build.sbt cleanly.