Build Logs

reactivemongo/reactivemongo-play-json • 12546849525

Errors

17

Warnings

32

Total Lines

244

1##################################
2Clonning https://github.com/reactivemongo/reactivemongo-play-json.git into repo using revision
3##################################
4----
5Preparing build for 3.6.3-RC1-20241230-376fc17-SNAPSHOT
6Scala binary version found: 3.6
7Implicitly using source version 3.6-migration
8Scala binary version found: 3.6
9Implicitly using source version 3.6-migration
10Would try to apply common scalacOption (best-effort, sbt/mill only):
11Append: ,-source:3.6-migration,-Wconf:msg=can be rewritten automatically under:s
12Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,
13----
14Starting build for 3.6.3-RC1-20241230-376fc17-SNAPSHOT
15Execute tests: false
16sbt project found:
17No prepare script found for project reactivemongo/reactivemongo-play-json
18##################################
19Scala version: 3.6.3-RC1-20241230-376fc17-SNAPSHOT
20Targets: org.reactivemongo%reactivemongo-play-json-compat
21Project projectConfig: { "projects": { "exclude": [], "overrides": {} }, "java": {}, "sbt": { "commands": [], "options": [] }, "mill": { "options": [] }, "tests": "compile-only", "migrationVersions": [], "sourcePatches": [] }
22##################################
23Using extra scalacOptions: ,-source:3.6-migration,-Wconf:msg=can be rewritten automatically under:s
24Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,
25[sbt_options] declare -a sbt_options=()
26[process_args] java_version = '11'
27[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_11_0_20/rt.jar'
28# Executing command line:
29java
30-Xss2M
31-XX:+CMSClassUnloadingEnabled
32-XX:ReservedCodeCacheSize=192m
33-Dcommunitybuild.scala=3.6.3-RC1-20241230-376fc17-SNAPSHOT
34-Dcommunitybuild.project.dependencies.add=
35-Xmx7G
36-Xms4G
37-Xss8M
38-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
39-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_11_0_20
40-jar
41/root/.sdkman/candidates/sbt/1.9.6/bin/sbt-launch.jar
42"setCrossScalaVersions 3.6.3-RC1-20241230-376fc17-SNAPSHOT"
43"++3.6.3-RC1-20241230-376fc17-SNAPSHOT -v"
44"mapScalacOptions ",-source:3.6-migration,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,""
45"set every credentials := Nil"
46
47moduleMappings
48"runBuild 3.6.3-RC1-20241230-376fc17-SNAPSHOT """{
49 "projects": {
50 "exclude": [],
51 "overrides": {}
52 },
53 "java": {},
54 "sbt": {
55 "commands": [],
56 "options": []
57 },
58 "mill": {
59 "options": []
60 },
61 "tests": "compile-only",
62 "migrationVersions": [],
63 "sourcePatches": []
64}""" org.reactivemongo%reactivemongo-play-json-compat"
65
66[info] [launcher] getting org.scala-sbt sbt 1.10.7 (this may take some time)...
67[info] [launcher] getting Scala 2.12.20 (for sbt)...
68[info] welcome to sbt 1.10.7 (Eclipse Adoptium Java 11.0.20)
69[info] loading settings for project repo-build from plugins.sbt...
70[info] loading project definition from /build/repo/project
71[info] compiling 7 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
72[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
73[info] Compilation completed in 7.861s.
74[warn] /build/repo/project/Release.scala:14:58: method string in class Version is deprecated: Use .unapply instead
75[warn] val next = Version(_: String).map(_.withoutQualifier.string).getOrElse(???)
76[warn] ^
77[warn] /build/repo/project/Release.scala:84:33: method string in class Version is deprecated: Use .unapply instead
78[warn] .map(_.withoutQualifier.string)
79[warn] ^
80[warn] /build/repo/project/Release.scala:90:38: method string in class Version is deprecated: Use .unapply instead
81[warn] .map(_.bumpBugfix.asSnapshot.string)
82[warn] ^
83[warn] three warnings found
84[info] done compiling
85[info] loading settings for project root from build.sbt, codestyle.sbt, version.sbt...
86[info] set current project to root (in build file:/build/repo/)
87[warn] there are 2 keys that are not used by any other settings/tasks:
88[warn]
89[warn] * ThisBuild / crossVersion
90[warn] +- /build/repo/project/Compiler.scala:20
91[warn] * root / driverVersion
92[warn] +- /build/repo/project/Common.scala:23
93[warn]
94[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
95[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
96Execute setCrossScalaVersions: 3.6.3-RC1-20241230-376fc17-SNAPSHOT
97[info] set current project to root (in build file:/build/repo/)
98[error] Switch failed: no subprojects list "3.6.3-RC1-20241230-376fc17-SNAPSHOT" (or compatible version) in crossScalaVersions setting.
99[error] If you want to force it regardless, call ++ 3.6.3-RC1-20241230-376fc17-SNAPSHOT!
100Retrying build, retry 01/1, force Scala version:true, enable migration:
101Would force Scala version 3.6.3-RC1-20241230-376fc17-SNAPSHOT
102[sbt_options] declare -a sbt_options=()
103[process_args] java_version = '11'
104[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_11_0_20/rt.jar'
105# Executing command line:
106java
107-Xss2M
108-XX:+CMSClassUnloadingEnabled
109-XX:ReservedCodeCacheSize=192m
110-Dcommunitybuild.scala=3.6.3-RC1-20241230-376fc17-SNAPSHOT
111-Dcommunitybuild.project.dependencies.add=
112-Xmx7G
113-Xms4G
114-Xss8M
115-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
116-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_11_0_20
117-jar
118/root/.sdkman/candidates/sbt/1.9.6/bin/sbt-launch.jar
119"setCrossScalaVersions 3.6.3-RC1-20241230-376fc17-SNAPSHOT"
120"++3.6.3-RC1-20241230-376fc17-SNAPSHOT! -v"
121"mapScalacOptions ",-source:3.6-migration,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,""
122"set every credentials := Nil"
123
124moduleMappings
125"runBuild 3.6.3-RC1-20241230-376fc17-SNAPSHOT """{
126 "projects": {
127 "exclude": [],
128 "overrides": {}
129 },
130 "java": {},
131 "sbt": {
132 "commands": [],
133 "options": []
134 },
135 "mill": {
136 "options": []
137 },
138 "tests": "compile-only",
139 "migrationVersions": [],
140 "sourcePatches": []
141}""" org.reactivemongo%reactivemongo-play-json-compat"
142
143[info] welcome to sbt 1.10.7 (Eclipse Adoptium Java 11.0.20)
144[info] loading settings for project repo-build from plugins.sbt...
145[info] loading project definition from /build/repo/project
146[info] loading settings for project root from build.sbt, codestyle.sbt, version.sbt...
147[info] set current project to root (in build file:/build/repo/)
148[warn] there are 2 keys that are not used by any other settings/tasks:
149[warn]
150[warn] * ThisBuild / crossVersion
151[warn] +- /build/repo/project/Compiler.scala:20
152[warn] * root / driverVersion
153[warn] +- /build/repo/project/Common.scala:23
154[warn]
155[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
156[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
157Execute setCrossScalaVersions: 3.6.3-RC1-20241230-376fc17-SNAPSHOT
158[info] set current project to root (in build file:/build/repo/)
159[info] Forcing Scala version to 3.6.3-RC1-20241230-376fc17-SNAPSHOT on all projects.
160[info] Switching Scala version on:
161[info] * root (2.12.20)
162[info] play-json-compat (2.12.20)
163[info] Excluding projects:
164[info] Reapplying settings...
165[info] set current project to root (in build file:/build/repo/)
166Execute mapScalacOptions: ,-source:3.6-migration,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,
167[info] Reapplying settings...
168[info] set current project to root (in build file:/build/repo/)
169[info] Defining Global / credentials, credentials, play-json-compat / credentials
170[info] The new values will be used by Compile / scalafmtOnly, IntegrationTest / scalafmtOnly and 14 others.
171[info] Run `last` for details.
172[info] Reapplying settings...
173[info] set current project to root (in build file:/build/repo/)
174[success] Total time: 0 s, completed Dec 30, 2024, 3:45:09 PM
175Build config: {
176 "projects": {
177 "exclude": [],
178 "overrides": {}
179 },
180 "java": {},
181 "sbt": {
182 "commands": [],
183 "options": []
184 },
185 "mill": {
186 "options": []
187 },
188 "tests": "compile-only",
189 "migrationVersions": [],
190 "sourcePatches": []
191}
192Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
193Starting build...
194Projects: Set(play-json-compat)
195Starting build for ProjectRef(file:/build/repo/,play-json-compat) (reactivemongo-play-json-compat)...
196OpenCB::Exclude Scala3 specific scalacOption `-source:3.6-migration` in Scala 2.12.20 module Global
197OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
198OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
199OpenCB::Filter out '-Xfatal-warnings', matches setting pattern '^-?-Xfatal-warnings'
200OpenCB::Would not apply setting `-source:3.6-migration`: Project has predefined source version: Some(-source:3.6-migration)
201Compile scalacOptions: List(-encoding, UTF-8, -unchecked, -language:higherKinds, -Wconf:msg=.*with\ as\ a\ type\ operator.*:s, -Wconf:msg=.*is\ not\ declared\ infix.*:s, -Wunused:all, -language:implicitConversions, -source:3.6-migration, -Xsemanticdb, -semanticdb-target, /build/repo/compat/target/scala-3.6.3-RC1-20241230-376fc17-SNAPSHOT/meta, -Wconf:msg=can be rewritten automatically under:s)
202[info] scalafmt: Formatting 12 Scala sources (/build/repo/compat)...
203[info] scalafmt: Formatting 15 Scala sources (/build/repo/compat)...
204[info] compiling 15 Scala sources to /build/repo/compat/target/scala-3.6.3-RC1-20241230-376fc17-SNAPSHOT/classes ...
205[info] done compiling
206[info] Main Scala API documentation to /build/repo/compat/target/scala-3.6.3-RC1-20241230-376fc17-SNAPSHOT/api...
207[info] Skipping unused scalacOptions: -Wconf, -Xsemanticdb, -semanticdb-target, -source
208[warn] Flag -classpath set repeatedly
209[error] -- Error: api/src/main/scala/BSONWriter.scala:368:2 ----------------------------
210[error] undefined: new com.github.ghik.silencer.silent # -1: TermRef(TypeRef(TermRef(TermRef(TermRef(TermRef(ThisType(TypeRef(NoPrefix,module class <root>)),object com),object github),object ghik),object silencer),silent),<init>) at readTasty
211[error] -- Error: api/target/shaded/scala-3.4.2/src_managed/main/velocity/DocumentClass.scala:8:0
212[error] undefined: new com.github.ghik.silencer.silent # -1: TermRef(TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module class ghik)),object silencer),silent),<init>) at readTasty
213[warn] one warning found
214[error] two errors found
215[error] (play-json-compat / Compile / doc) DottyDoc Compilation Failed
216[info] compiling 37 Scala sources to /build/repo/compat/target/scala-3.6.3-RC1-20241230-376fc17-SNAPSHOT/test-classes ...
217[info] done compiling
218[info] Wrote /build/repo/compat/target/scala-3.6.3-RC1-20241230-376fc17-SNAPSHOT/reactivemongo-play-json-compat_3-1.1.0-RC14.SNAPSHOT.pom
219[info] Main Scala API documentation to /build/repo/compat/target/scala-3.6.3-RC1-20241230-376fc17-SNAPSHOT/api...
220[info] Skipping unused scalacOptions: -Wconf, -Xsemanticdb, -semanticdb-target, -source
221[warn] Flag -classpath set repeatedly
222[error] -- Error: api/src/main/scala/BSONWriter.scala:368:2 ----------------------------
223[error] undefined: new com.github.ghik.silencer.silent # -1: TermRef(TypeRef(TermRef(TermRef(TermRef(TermRef(ThisType(TypeRef(NoPrefix,module class <root>)),object com),object github),object ghik),object silencer),silent),<init>) at readTasty
224[error] -- Error: api/target/shaded/scala-3.4.2/src_managed/main/velocity/DocumentClass.scala:8:0
225[error] undefined: new com.github.ghik.silencer.silent # -1: TermRef(TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module class ghik)),object silencer),silent),<init>) at readTasty
226[warn] one warning found
227[error] two errors found
228[error] (play-json-compat / Compile / doc) DottyDoc Compilation Failed
229
230************************
231Build summary:
232[{
233 "module": "reactivemongo-play-json-compat",
234 "compile": {"status": "ok", "tookMs": 13682, "warnings": 0, "errors": 0, "sourceVersion": "3.6-migration"},
235 "doc": {"status": "failed", "failureContext": {"type": "buildError", "reasons": ["DottyDoc Compilation Failed"]}, "tookMs": 1179, "files": 0, "totalSizeKb": 0},
236 "test-compile": {"status": "ok", "tookMs": 10000, "warnings": 0, "errors": 0, "sourceVersion": "3.6-migration"},
237 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
238 "publish": {"status": "failed", "failureContext": {"type": "buildError", "reasons": ["DottyDoc Compilation Failed"]}, "tookMs": 698}
239}]
240************************
241[error] Scala3CommunityBuild$ProjectBuildFailureException: 1 module(s) finished with failures: reactivemongo-play-json-compat
242[error] (Global / runBuild) Scala3CommunityBuild$ProjectBuildFailureException: 1 module(s) finished with failures: reactivemongo-play-json-compat
243[error] Total time: 35 s, completed Dec 30, 2024, 3:45:43 PM
244Exhausted retries limit