Build Logs

mbannour/mongoscala3codec • scheduled_3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY

Errors

0

Warnings

9

Total Lines

170

1##################################
2Clonning https://github.com/mbannour/mongoscala3codec.git into /build/repo using revision v0.0.7
3##################################
4Note: switching to 'c42ca5f9f21fc1b5fa56516cbe0b05476001fc2f'.
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.1-RC1-bin-20251205-cd32c6f-NIGHTLY
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.1-RC1-bin-20251205-cd32c6f-NIGHTLY"
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.1-RC1-bin-20251205-cd32c6f-NIGHTLY
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##################################
48Scala version: 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY
49Targets: io.github.mbannour%mongoscala3codec
50Project 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>\""}]}
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.1-RC1-bin-20251205-cd32c6f-NIGHTLY
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.1-RC1-bin-20251205-cd32c6f-NIGHTLY"
70"++3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY -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.1-RC1-bin-20251205-cd32c6f-NIGHTLY """{"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"
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 2 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.96s.
85[info] done compiling
86[info] loading settings for project root from build.sbt...
87[info] set current project to MongoScala3Codec (in build file:/build/repo/)
88Execute setCrossScalaVersions: 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY
89OpenCB::Changing crossVersion 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY -> 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY in benchmarks/crossScalaVersions
90OpenCB::Changing crossVersion 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY -> 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY in integrationTests/crossScalaVersions
91OpenCB::Changing crossVersion 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY -> 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY in examples/crossScalaVersions
92OpenCB::Changing crossVersion 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY -> 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY 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.1-RC1-bin-20251205-cd32c6f-NIGHTLY) in root/crossScalaVersions
94[info] set current project to MongoScala3Codec (in build file:/build/repo/)
95[info] Setting Scala version to 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY on 4 projects.
96[info] Switching Scala version on:
97[info] * root (3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY)
98[info] integrationTests (3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY)
99[info] benchmarks (3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY)
100[info] examples (3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY)
101[info] Excluding projects:
102[info] Reapplying settings...
103[info] set current project to MongoScala3Codec (in build file:/build/repo/)
104Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
105[info] Reapplying settings...
106[info] set current project to MongoScala3Codec (in build file:/build/repo/)
107[info] Defining Global / credentials, benchmarks / credentials and 2 others.
108[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 31 others.
109[info] Run `last` for details.
110[info] Reapplying settings...
111[info] set current project to MongoScala3Codec (in build file:/build/repo/)
112Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
113[info] Reapplying settings...
114OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
115
116 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
117 Did you mean allExcludeDependencies ?
118 , retry without global scopes
119[info] Reapplying settings...
120[info] set current project to MongoScala3Codec (in build file:/build/repo/)
121Execute removeScalacOptionsStartingWith: -P:wartremover
122[info] Reapplying settings...
123[info] set current project to MongoScala3Codec (in build file:/build/repo/)
124[success] Total time: 0 s, completed Dec 6, 2025, 12:23:23 AM
125Build 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>\""}]}
126Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
127Starting build...
128Projects: Set(root)
129Starting build for ProjectRef(file:/build/repo/,root) (mongoscala3codec)... [0/1]
130OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
131OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
132OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
133OpenCB::Filter out '-Werror', matches setting pattern '^-?-Werror'
134Compile scalacOptions: -Xsemanticdb, -semanticdb-target, /build/repo/target/scala-3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY/meta, -encoding, utf8, -explain-types, -language:higherKinds, -language:implicitConversions, -Xunchecked-java-output-version:17, -unchecked, -Xcheck-macros, -Yretain-trees, -Wunused:all, -Wconf:msg=unused local definition:s, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
135[info] compiling 18 Scala sources to /build/repo/target/scala-3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY/classes ...
136[info] done compiling
137OpenCB::Filter out '-source', matches setting pattern '^-?-source(:.*)?'
138[info] compiling 22 Scala sources to /build/repo/target/scala-3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY/test-classes ...
139[warn] Failed to parse `-Wconf` configuration: msg=unused local definition:s,cat=unused:s,msg=can be rewritten automatically under:s
140[warn] unknown category: unused
141[warn] Note: for multiple filters, use `-Wconf:filter1:action1,filter2:action2`
142[warn] or alternatively `-Wconf:filter1:action1 -Wconf:filter2:action2`
143[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala/io/github/mbannour/mongo/codecs/RegistryBuilderEnhancementsSpec.scala:152:8
144[warn] 152 | val codec = builder.tryGetCodec[SimpleUser]
145[warn] | ^^^^^
146[warn] | unused local definition
147[warn] two warnings found
148[info] done compiling
149
150************************
151Build summary:
152[{
153 "module": "mongoscala3codec",
154 "compile": {"status": "ok", "tookMs": 15713, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
155 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
156 "test-compile": {"status": "ok", "tookMs": 45635, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
157 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
158 "publish": {"status": "skipped", "tookMs": 0},
159 "metadata": {
160 "crossScalaVersions": ["3.3.1", "3.4.2", "3.6.3", "3.6.4", "3.7.1", "3.7.1"]
161}
162}]
163************************
164[success] Total time: 76 s (0:01:16.0), completed Dec 6, 2025, 12:24:39 AM
165[0JChecking patch project/plugins.sbt...
166Checking patch project/build.properties...
167Checking patch build.sbt...
168Applied patch project/plugins.sbt cleanly.
169Applied patch project/build.properties cleanly.
170Applied patch build.sbt cleanly.