Build Logs
polyvariant/smithy4s-bsp • scheduled_3.8.1-RC1-bin-20260102-32e416e-NIGHTLY
Errors
0
Warnings
18
Total Lines
224
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.1-RC1-bin-20260102-32e416e-NIGHTLY
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.1-RC1-bin-20260102-32e416e-NIGHTLY
32Execute tests: false
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.1-RC1-bin-20260102-32e416e-NIGHTLY
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":"compile-only","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.1-RC1-bin-20260102-32e416e-NIGHTLY
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.1-RC1-bin-20260102-32e416e-NIGHTLY"
60"++3.8.1-RC1-bin-20260102-32e416e-NIGHTLY -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.1-RC1-bin-20260102-32e416e-NIGHTLY """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","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.531s.
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.1-RC1-bin-20260102-32e416e-NIGHTLY
84OpenCB::Changing crossVersion 3.3.6 -> 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY in bsp4s/crossScalaVersions
85OpenCB::Changing crossVersion 3.3.6 -> 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY in root/crossScalaVersions
86OpenCB::Changing crossVersion 3.3.6 -> 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY in codegen/crossScalaVersions
87[info] set scmInfo to https://github.com/polyvariant/smithy4s-bsp
88OpenCB::Changing crossVersion 3.3.6 -> 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY in examples/crossScalaVersions
89OpenCB::Changing crossVersion 3.3.6 -> 3.8.1-RC1-bin-20260102-32e416e-NIGHTLY 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.1-RC1-bin-20260102-32e416e-NIGHTLY on 5 projects.
93[info] Switching Scala version on:
94[info] examples (3.8.1-RC1-bin-20260102-32e416e-NIGHTLY)
95[info] * root (3.8.1-RC1-bin-20260102-32e416e-NIGHTLY)
96[info] codegen (3.8.1-RC1-bin-20260102-32e416e-NIGHTLY)
97[info] protocol (3.8.1-RC1-bin-20260102-32e416e-NIGHTLY)
98[info] bsp4s (3.8.1-RC1-bin-20260102-32e416e-NIGHTLY)
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 3, 2026, 12:20:17 AM
129Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}
130Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,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 03, 2026 12:20:28 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 03, 2026 12:20:28 AM software.amazon.smithy.traitcodegen.TraitCodegenPlugin execute
143INFO: Running trait codegen plugin...
144Jan 03, 2026 12:20:28 AM software.amazon.smithy.traitcodegen.TraitCodegen initialize
145INFO: Initializing trait codegen plugin.
146Jan 03, 2026 12:20:28 AM software.amazon.smithy.traitcodegen.TraitCodegen initialize
147INFO: Trait codegen plugin Initialized.
148Jan 03, 2026 12:20:28 AM software.amazon.smithy.traitcodegen.TraitCodegen run
149INFO: Generating trait classes.
150Jan 03, 2026 12:20:28 AM software.amazon.smithy.traitcodegen.TraitCodegen run
151INFO: Flushing writers
152Jan 03, 2026 12:20:29 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 03, 2026 12:20:34 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.1-RC1-bin-20260102-32e416e-NIGHTLY/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.1-RC1-bin-20260102-32e416e-NIGHTLY/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.1-RC1-bin-20260102-32e416e-NIGHTLY/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] Using cached result of smithy-trait-codegen
187Starting build for ProjectRef(file:/build/repo/,codegen) (codegen)... [1/2]
188Compile 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
189[info] Using cached result of smithy-trait-codegen
190[info] Using cached result of smithy-trait-codegen
191[info] Using cached result of smithy-trait-codegen
192[info] Using cached result of smithy-trait-codegen
193
194************************
195Build summary:
196[{
197 "module": "bsp4s",
198 "compile": {"status": "ok", "tookMs": 60878, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
199 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
200 "test-compile": {"status": "ok", "tookMs": 3284, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
201 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
202 "publish": {"status": "skipped", "tookMs": 0},
203 "metadata": {
204 "crossScalaVersions": ["3.3.6"]
205}
206},{
207 "module": "codegen",
208 "compile": {"status": "ok", "tookMs": 266, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
209 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
210 "test-compile": {"status": "ok", "tookMs": 411, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
211 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
212 "publish": {"status": "skipped", "tookMs": 0},
213 "metadata": {
214 "crossScalaVersions": ["3.3.6"]
215}
216}]
217************************
218[success] Total time: 75 s (0:01:15.0), completed Jan 3, 2026, 12:21:33 AM
219[0JChecking patch project/plugins.sbt...
220Checking patch project/build.properties...
221Checking patch build.sbt...
222Applied patch project/plugins.sbt cleanly.
223Applied patch project/build.properties cleanly.
224Applied patch build.sbt cleanly.