Build Logs

polyvariant/smithy4s-bsp • 3.8.0-RC6:2026-01-08

Errors

0

Warnings

18

Total Lines

231

1##################################
2Clonning https://github.com/polyvariant/smithy4s-bsp.git into /build/repo using revision v0.6.0
3##################################
4Note: switching to '29b596480a6b178f70cdae04d016484d028a08a1'.
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
21----
22Preparing build for 3.8.0-RC6
23Scala binary version found: 3.8
24Implicitly using source version 3.8
25Scala binary version found: 3.8
26Implicitly using source version 3.8
27Would try to apply common scalacOption (best-effort, sbt/mill only):
28Append: ,REQUIRE:-source:3.8
29Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
30----
31Starting build for 3.8.0-RC6
32Execute tests: true
33sbt project found:
34Sbt version 1.11.3 is not supported, minimal supported version is 1.11.5
35Enforcing usage of sbt in version 1.11.5
36No prepare script found for project polyvariant/smithy4s-bsp
37##################################
38Scala version: 3.8.0-RC6
39Targets: org.polyvariant.smithy4s-bsp%bsp4s org.polyvariant.smithy4s-bsp%codegen
40Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
41##################################
42Using extra scalacOptions: ,REQUIRE:-source:3.8
43Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
44[sbt_options] declare -a sbt_options=()
45[process_args] java_version = '21'
46[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21/rt.jar'
47# Executing command line:
48java
49-Dfile.encoding=UTF-8
50-Dcommunitybuild.scala=3.8.0-RC6
51-Dcommunitybuild.project.dependencies.add=
52-Xmx7G
53-Xms4G
54-Xss8M
55-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
56-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21
57-jar
58/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
59"setCrossScalaVersions 3.8.0-RC6"
60"++3.8.0-RC6 -v"
61"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
62"set every credentials := Nil"
63"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
64"removeScalacOptionsStartingWith -P:wartremover"
65
66moduleMappings
67"runBuild 3.8.0-RC6 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}""" org.polyvariant.smithy4s-bsp%bsp4s org.polyvariant.smithy4s-bsp%codegen"
68
69[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 21)
70[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
71[info] loading project definition from /build/repo/project
72[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
73[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
74[info] Compilation completed in 8.536s.
75[info] done compiling
76/build/repo/build.sbt:16: warning: method sonatypeOssRepos in class ResolverFunctions is deprecated (since 1.11.2): Sonatype OSS Repository Hosting (OSSRH) was sunset on 2025-06-30; remove this resolver. If snapshots are required, use:
77 resolvers += Resolver.sonatypeCentralSnapshots
78ThisBuild / resolvers ++= Resolver.sonatypeOssRepos("snapshots")
79 ^
80[info] loading settings for project root from build.sbt...
81[info] set scmInfo to https://github.com/polyvariant/smithy4s-bsp
82[info] set current project to root (in build file:/build/repo/)
83Execute setCrossScalaVersions: 3.8.0-RC6
84OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC6 in bsp4s/crossScalaVersions
85OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC6 in root/crossScalaVersions
86OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC6 in codegen/crossScalaVersions
87[info] set scmInfo to https://github.com/polyvariant/smithy4s-bsp
88OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC6 in examples/crossScalaVersions
89OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC6 in protocol/crossScalaVersions
90OpenCB::Limitting incorrect crossVersions List(3.3.6) -> List(2.12.20) in transformation/crossScalaVersions
91[info] set current project to root (in build file:/build/repo/)
92[info] Setting Scala version to 3.8.0-RC6 on 5 projects.
93[info] Switching Scala version on:
94[info] examples (3.8.0-RC6)
95[info] * root (3.8.0-RC6)
96[info] codegen (3.8.0-RC6)
97[info] protocol (3.8.0-RC6)
98[info] bsp4s (3.8.0-RC6)
99[info] Excluding projects:
100[info] transformation (2.12.20)
101[info] Reapplying settings...
102[info] set scmInfo to https://github.com/polyvariant/smithy4s-bsp
103[info] set current project to root (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 scmInfo to https://github.com/polyvariant/smithy4s-bsp
107[info] set current project to root (in build file:/build/repo/)
108[info] Defining Global / credentials, bsp4s / credentials and 4 others.
109[info] The new values will be used by Compile / scalafmtOnly, IntegrationTest / scalafmtOnly and 51 others.
110[info] Run `last` for details.
111[info] Reapplying settings...
112[info] set scmInfo to https://github.com/polyvariant/smithy4s-bsp
113[info] set current project to root (in build file:/build/repo/)
114Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
115[info] Reapplying settings...
116OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
117
118 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
119 Did you mean allExcludeDependencies ?
120 , retry without global scopes
121[info] Reapplying settings...
122[info] set scmInfo to https://github.com/polyvariant/smithy4s-bsp
123[info] set current project to root (in build file:/build/repo/)
124Execute removeScalacOptionsStartingWith: -P:wartremover
125[info] Reapplying settings...
126[info] set scmInfo to https://github.com/polyvariant/smithy4s-bsp
127[info] set current project to root (in build file:/build/repo/)
128[success] Total time: 0 s, completed Jan 8, 2026, 2:12:41 AM
129Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
130Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
131Starting build...
132Projects: Set(bsp4s, codegen)
133Starting build for ProjectRef(file:/build/repo/,bsp4s) (bsp4s)... [0/2]
134OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
135OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
136OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
137Compile scalacOptions: -encoding, UTF-8, -unchecked, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -Wvalue-discard, -Xkind-projector:underscores, -java-output-version, 21, -Ykind-projector, -Wunused:all, -Wnonunit-statement, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
138OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Scope(Select(ProjectRef(file:/build/repo/,transformation)), Zero, Zero, Zero)
139Jan 08, 2026 2:12:45 AM software.amazon.smithy.model.loader.ModelLoader load
140WARNING: Ignoring unrecognized Smithy model file: /build/repo/protocol/src/main/resources/META-INF/smithy/manifest
141Applying namespace workaround - `hack` prefix will be used
142Jan 08, 2026 2:12:45 AM software.amazon.smithy.traitcodegen.TraitCodegenPlugin execute
143INFO: Running trait codegen plugin...
144Jan 08, 2026 2:12:45 AM software.amazon.smithy.traitcodegen.TraitCodegen initialize
145INFO: Initializing trait codegen plugin.
146Jan 08, 2026 2:12:45 AM software.amazon.smithy.traitcodegen.TraitCodegen initialize
147INFO: Trait codegen plugin Initialized.
148Jan 08, 2026 2:12:45 AM software.amazon.smithy.traitcodegen.TraitCodegen run
149INFO: Generating trait classes.
150Jan 08, 2026 2:12:45 AM software.amazon.smithy.traitcodegen.TraitCodegen run
151INFO: Flushing writers
152Jan 08, 2026 2:12:45 AM software.amazon.smithy.traitcodegen.TraitCodegenPlugin execute
153INFO: Trait codegen plugin execution completed.
154[info] compiling 1 Java source to /build/repo/protocol/target/classes ...
155[info] done compiling
156OpenCB::Filter out '-language:_', matches setting pattern '^-?-language:_'
157OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Scope(Select(ProjectRef(file:/build/repo/,transformation)), Select(ConfigKey(compile)), Zero, Zero)
158[info] compiling 9 Scala sources to /build/repo/transformation/target/scala-2.12/classes ...
159[warn] two feature warnings; re-run with -feature for details
160[warn] one warning found
161[info] done compiling
162Jan 08, 2026 2:12:50 AM software.amazon.smithy.openapi.fromsmithy.mappers.RemoveUnusedComponents removalRound
163INFO: Removing unused OpenAPI components: [#/components/schemas/OutputPathsParams, #/components/schemas/CompileResult, #/components/schemas/ResourcesResult, #/components/schemas/SourcesResult, #/components/schemas/OutputPathsResult, #/components/schemas/CompileParams, #/components/schemas/RunResult, #/components/schemas/DebugSessionAddress, #/components/schemas/DependencySourcesParams, #/components/schemas/CleanCacheResult, #/components/schemas/InitializeBuildParams, #/components/schemas/CleanCacheParams, #/components/schemas/BuildTargetTestInput, #/components/schemas/ResourcesParams, #/components/schemas/DependencySourcesResult, #/components/schemas/ReadParams, #/components/schemas/TestResult, #/components/schemas/DependencyModulesParams, #/components/schemas/InitializeBuildResult, #/components/schemas/InverseSourcesResult, #/components/schemas/InverseSourcesParams, #/components/schemas/SourcesParams, #/components/schemas/WorkspaceBuildTargetsResult, #/components/schemas/DebugSessionStartInput, #/components/schemas/BuildTargetRunInput, #/components/schemas/DependencyModulesResult]
164[info] compiling 269 Scala sources to /build/repo/codegen/target/scala-3.8.0-RC6/classes ...
165[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
166[warn] Option -Xkind-projector was updated
167[warn] there were 48 deprecation warnings; re-run with -deprecation for details
168[warn] three warnings found
169[info] done compiling
170[info] compiling 1 Scala source to /build/repo/bsp4s/target/scala-3.8.0-RC6/classes ...
171[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
172[warn] Option -Xkind-projector was updated
173[warn] -- [E198] Unused Symbol Warning: /build/repo/bsp4s/src/main/scala/smithy4sbsp/bsp4s/BSPCodecs.scala:143:21
174[warn] 143 | case other @ DObject(keys) => keys
175[warn] | ^^^^^
176[warn] | unused pattern variable
177[warn] three warnings found
178[info] done compiling
179[info] Using cached result of smithy-trait-codegen
180[info] compiling 1 Scala source to /build/repo/bsp4s/target/scala-3.8.0-RC6/test-classes ...
181[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
182[warn] Option -Xkind-projector was updated
183[warn] two warnings found
184[info] done compiling
185[info] Using cached result of smithy-trait-codegen
186[info] smithy4sbsp.bsp4s.BSPCodecsTest
187[info] + BuildTargetTestInput 115ms
188[info] + WorkspaceBuildTargetsResult 71ms
189[info] + Diagnostics 40ms
190[info] + Diagnostic (real sample from bloop) 11ms
191[info] Using cached result of smithy-trait-codegen
192[info] Using cached result of smithy-trait-codegen
193Starting build for ProjectRef(file:/build/repo/,codegen) (codegen)... [1/2]
194Compile scalacOptions: -encoding, UTF-8, -unchecked, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -Wvalue-discard, -Xkind-projector:underscores, -java-output-version, 21, -Ykind-projector, -Wunused:all, -Wnonunit-statement, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
195[info] Using cached result of smithy-trait-codegen
196[info] Using cached result of smithy-trait-codegen
197[info] Using cached result of smithy-trait-codegen
198[info] Using cached result of smithy-trait-codegen
199[info] Using cached result of smithy-trait-codegen
200
201************************
202Build summary:
203[{
204 "module": "bsp4s",
205 "compile": {"status": "ok", "tookMs": 54373, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
206 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
207 "test-compile": {"status": "ok", "tookMs": 3316, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
208 "test": {"status": "ok", "tookMs": 1575, "passed": 4, "failed": 0, "ignored": 0, "skipped": 0, "total": 4, "byFramework": [{"framework": "unknown", "stats": {"passed": 4, "failed": 0, "ignored": 0, "skipped": 0, "total": 4}}]},
209 "publish": {"status": "skipped", "tookMs": 0},
210 "metadata": {
211 "crossScalaVersions": ["3.3.6"]
212}
213},{
214 "module": "codegen",
215 "compile": {"status": "ok", "tookMs": 251, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
216 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
217 "test-compile": {"status": "ok", "tookMs": 440, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
218 "test": {"status": "ok", "tookMs": 418, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
219 "publish": {"status": "skipped", "tookMs": 0},
220 "metadata": {
221 "crossScalaVersions": ["3.3.6"]
222}
223}]
224************************
225[success] Total time: 65 s (0:01:05.0), completed Jan 8, 2026, 2:13:46 AM
226[0JChecking patch project/plugins.sbt...
227Checking patch project/build.properties...
228Checking patch build.sbt...
229Applied patch project/plugins.sbt cleanly.
230Applied patch project/build.properties cleanly.
231Applied patch build.sbt cleanly.