Build Logs

lowmelvin/scala-json-schema • 3.8.0-RC2:2025-11-25

Errors

0

Warnings

21

Total Lines

178

1##################################
2Clonning https://github.com/lowmelvin/scala-json-schema.git into /build/repo using revision v0.2.0
3##################################
4Note: switching to 'c1022002ad2ffe943e396dfe79dc61ef42a82c3c'.
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.3
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.3.3"
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.3.3"' in build.sbt
40----
41Starting build for 3.8.0-RC2
42Execute tests: false
43sbt project found:
44Sbt version 1.10.1 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 lowmelvin/scala-json-schema
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: com.melvinlow%scala-json-schema
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.3.3\"","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.3.3\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}""" com.melvinlow%scala-json-schema"
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 7.973s.
86[info] done compiling
87[info] loading settings for project root from build.sbt...
88[info] set current project to scala-json-schema (in build file:/build/repo/)
89Execute setCrossScalaVersions: 3.8.0-RC2
90OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in root/crossScalaVersions
91OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in docs/crossScalaVersions
92[info] set current project to scala-json-schema (in build file:/build/repo/)
93[info] Setting Scala version to 3.8.0-RC2 on 2 projects.
94[info] Switching Scala version on:
95[info] * root (3.8.0-RC2)
96[info] docs (3.8.0-RC2)
97[info] Excluding projects:
98[info] Reapplying settings...
99[info] set current project to scala-json-schema (in build file:/build/repo/)
100Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
101[info] Reapplying settings...
102[info] set current project to scala-json-schema (in build file:/build/repo/)
103[info] Defining Global / credentials, credentials, docs / credentials
104[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 17 others.
105[info] Run `last` for details.
106[info] Reapplying settings...
107[info] set current project to scala-json-schema (in build file:/build/repo/)
108Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
109[info] Reapplying settings...
110OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
111
112 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:336)
113 Did you mean allExcludeDependencies ?
114 , retry without global scopes
115[info] Reapplying settings...
116[info] set current project to scala-json-schema (in build file:/build/repo/)
117Execute removeScalacOptionsStartingWith: -P:wartremover
118[info] Reapplying settings...
119[info] set current project to scala-json-schema (in build file:/build/repo/)
120[success] Total time: 0 s, completed Nov 25, 2025, 1:28:53 PM
121Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3Version = \"3.3.3\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}
122Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
123Starting build...
124Projects: Set(root)
125Starting build for ProjectRef(file:/build/repo/,root) (scala-json-schema)... [0/1]
126OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
127OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
128OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
129OpenCB::Filter out '-Werror', matches setting pattern '^-?-Werror'
130OpenCB::Filter out '-source:future-migration', matches setting pattern '^-?-source(:.*)?'
131Compile scalacOptions: -encoding, UTF-8, -unchecked, -Wunused:all, -Wvalue-discard, -no-indent, -explain, -rewrite, -Xsemanticdb, -semanticdb-target, /build/repo/target/scala-3.8.0-RC2/meta, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
132[info] compiling 7 Scala sources to /build/repo/target/scala-3.8.0-RC2/classes ...
133[warn] -- [E198] Unused Symbol Warning: /build/repo/src/main/scala/com/melvinlow/json/schema/JsonSchema.scala:8:48
134[warn] 8 | inline def apply[T: JsonSchemaEncoder](inline dummy: T): Json = apply[T]
135[warn] | ^^^^^
136[warn] | unused explicit parameter
137[warn] -- [E198] Unused Symbol Warning: /build/repo/src/main/scala/com/melvinlow/json/schema/JsonSchemaEncoder.scala:15:11
138[warn] 15 | inline dummy: T
139[warn] | ^^^^^
140[warn] | unused explicit parameter
141[warn] -- Warning: /build/repo/src/main/scala/com/melvinlow/json/schema/annotation/JsonSchemaField.scala:8:0
142[warn] 8 |@nowarn
143[warn] |^^^^^^^
144[warn] |@nowarn annotation does not suppress any warnings
145[warn] -- Warning: /build/repo/src/main/scala/com/melvinlow/json/schema/generic/auto.scala:35:2
146[warn] 35 | @nowarn
147[warn] | ^^^^^^^
148[warn] | @nowarn annotation does not suppress any warnings
149[warn] -- Warning: /build/repo/src/main/scala/com/melvinlow/json/schema/generic/auto.scala:28:2
150[warn] 28 | @nowarn
151[warn] | ^^^^^^^
152[warn] | @nowarn annotation does not suppress any warnings
153[warn] 5 warnings found
154[info] done compiling
155[info] compiling 2 Scala sources to /build/repo/target/scala-3.8.0-RC2/test-classes ...
156[info] done compiling
157
158************************
159Build summary:
160[{
161 "module": "scala-json-schema",
162 "compile": {"status": "ok", "tookMs": 9136, "warnings": 5, "errors": 0, "sourceVersion": "3.8"},
163 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
164 "test-compile": {"status": "ok", "tookMs": 5048, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
165 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
166 "publish": {"status": "skipped", "tookMs": 0},
167 "metadata": {
168 "crossScalaVersions": ["3.3.3"]
169}
170}]
171************************
172[success] Total time: 26 s, completed Nov 25, 2025, 1:29:19 PM
173[0JChecking patch project/plugins.sbt...
174Checking patch project/build.properties...
175Checking patch build.sbt...
176Applied patch project/plugins.sbt cleanly.
177Applied patch project/build.properties cleanly.
178Applied patch build.sbt cleanly.