Build Logs
polyvariant/smithy4s-bsp • scheduled_3.8.1-RC1-bin-20251122-91351e3-NIGHTLY
Errors
0
Warnings
18
Total Lines
225
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-20251122-91351e3-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-20251122-91351e3-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/opencb/project-builder/sbt/prepare-project.sh: line 107: /root/.ssh/config: No such file or directory
38##################################
39Scala version: 3.8.1-RC1-bin-20251122-91351e3-NIGHTLY
40Targets: org.polyvariant.smithy4s-bsp%bsp4s org.polyvariant.smithy4s-bsp%codegen
41Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}
42##################################
43Using extra scalacOptions: ,REQUIRE:-source:3.8
44Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
45[sbt_options] declare -a sbt_options=()
46[process_args] java_version = '21'
47[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21/rt.jar'
48# Executing command line:
49java
50-Dfile.encoding=UTF-8
51-Dcommunitybuild.scala=3.8.1-RC1-bin-20251122-91351e3-NIGHTLY
52-Dcommunitybuild.project.dependencies.add=
53-Xmx7G
54-Xms4G
55-Xss8M
56-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
57-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21
58-jar
59/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
60"setCrossScalaVersions 3.8.1-RC1-bin-20251122-91351e3-NIGHTLY"
61"++3.8.1-RC1-bin-20251122-91351e3-NIGHTLY -v"
62"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
63"set every credentials := Nil"
64"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
65"removeScalacOptionsStartingWith -P:wartremover"
66
67moduleMappings
68"runBuild 3.8.1-RC1-bin-20251122-91351e3-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"
69
70[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 21)
71[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
72[info] loading project definition from /build/repo/project
73[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
74[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
75[info] Compilation completed in 8.517s.
76[info] done compiling
77/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:
78 resolvers += Resolver.sonatypeCentralSnapshots
79ThisBuild / resolvers ++= Resolver.sonatypeOssRepos("snapshots")
80 ^
81[info] loading settings for project root from build.sbt...
82[info] set scmInfo to https://github.com/polyvariant/smithy4s-bsp
83[info] set current project to root (in build file:/build/repo/)
84Execute setCrossScalaVersions: 3.8.1-RC1-bin-20251122-91351e3-NIGHTLY
85OpenCB::Changing crossVersion 3.3.6 -> 3.8.1-RC1-bin-20251122-91351e3-NIGHTLY in bsp4s/crossScalaVersions
86OpenCB::Changing crossVersion 3.3.6 -> 3.8.1-RC1-bin-20251122-91351e3-NIGHTLY in root/crossScalaVersions
87OpenCB::Changing crossVersion 3.3.6 -> 3.8.1-RC1-bin-20251122-91351e3-NIGHTLY in codegen/crossScalaVersions
88[info] set scmInfo to https://github.com/polyvariant/smithy4s-bsp
89OpenCB::Changing crossVersion 3.3.6 -> 3.8.1-RC1-bin-20251122-91351e3-NIGHTLY in examples/crossScalaVersions
90OpenCB::Changing crossVersion 3.3.6 -> 3.8.1-RC1-bin-20251122-91351e3-NIGHTLY in protocol/crossScalaVersions
91OpenCB::Limitting incorrect crossVersions List(3.3.6) -> List(2.12.20) in transformation/crossScalaVersions
92[info] set current project to root (in build file:/build/repo/)
93[info] Setting Scala version to 3.8.1-RC1-bin-20251122-91351e3-NIGHTLY on 5 projects.
94[info] Switching Scala version on:
95[info] examples (3.8.1-RC1-bin-20251122-91351e3-NIGHTLY)
96[info] * root (3.8.1-RC1-bin-20251122-91351e3-NIGHTLY)
97[info] codegen (3.8.1-RC1-bin-20251122-91351e3-NIGHTLY)
98[info] protocol (3.8.1-RC1-bin-20251122-91351e3-NIGHTLY)
99[info] bsp4s (3.8.1-RC1-bin-20251122-91351e3-NIGHTLY)
100[info] Excluding projects:
101[info] transformation (2.12.20)
102[info] Reapplying settings...
103[info] set scmInfo to https://github.com/polyvariant/smithy4s-bsp
104[info] set current project to root (in build file:/build/repo/)
105Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
106[info] Reapplying settings...
107[info] set scmInfo to https://github.com/polyvariant/smithy4s-bsp
108[info] set current project to root (in build file:/build/repo/)
109[info] Defining Global / credentials, bsp4s / credentials and 4 others.
110[info] The new values will be used by Compile / scalafmtOnly, IntegrationTest / scalafmtOnly and 51 others.
111[info] Run `last` for details.
112[info] Reapplying settings...
113[info] set scmInfo to https://github.com/polyvariant/smithy4s-bsp
114[info] set current project to root (in build file:/build/repo/)
115Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
116[info] Reapplying settings...
117OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
118
119 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:336)
120 Did you mean allExcludeDependencies ?
121 , retry without global scopes
122[info] Reapplying settings...
123[info] set scmInfo to https://github.com/polyvariant/smithy4s-bsp
124[info] set current project to root (in build file:/build/repo/)
125Execute removeScalacOptionsStartingWith: -P:wartremover
126[info] Reapplying settings...
127[info] set scmInfo to https://github.com/polyvariant/smithy4s-bsp
128[info] set current project to root (in build file:/build/repo/)
129[success] Total time: 0 s, completed Nov 22, 2025, 2:23:20 PM
130Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}
131Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
132Starting build...
133Projects: Set(bsp4s, codegen)
134Starting build for ProjectRef(file:/build/repo/,bsp4s) (bsp4s)... [0/2]
135OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
136OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
137OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
138Compile 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
139OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Scope(Select(ProjectRef(file:/build/repo/,transformation)), Zero, Zero, Zero)
140Nov 22, 2025 2:24:03 PM software.amazon.smithy.model.loader.ModelLoader load
141WARNING: Ignoring unrecognized Smithy model file: /build/repo/protocol/src/main/resources/META-INF/smithy/manifest
142Applying namespace workaround - `hack` prefix will be used
143Nov 22, 2025 2:24:03 PM software.amazon.smithy.traitcodegen.TraitCodegenPlugin execute
144INFO: Running trait codegen plugin...
145Nov 22, 2025 2:24:03 PM software.amazon.smithy.traitcodegen.TraitCodegen initialize
146INFO: Initializing trait codegen plugin.
147Nov 22, 2025 2:24:03 PM software.amazon.smithy.traitcodegen.TraitCodegen initialize
148INFO: Trait codegen plugin Initialized.
149Nov 22, 2025 2:24:03 PM software.amazon.smithy.traitcodegen.TraitCodegen run
150INFO: Generating trait classes.
151Nov 22, 2025 2:24:03 PM software.amazon.smithy.traitcodegen.TraitCodegen run
152INFO: Flushing writers
153Nov 22, 2025 2:24:03 PM software.amazon.smithy.traitcodegen.TraitCodegenPlugin execute
154INFO: Trait codegen plugin execution completed.
155[info] compiling 1 Java source to /build/repo/protocol/target/classes ...
156[info] done compiling
157OpenCB::Filter out '-language:_', matches setting pattern '^-?-language:_'
158OpenCB::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)
159[info] compiling 9 Scala sources to /build/repo/transformation/target/scala-2.12/classes ...
160[warn] two feature warnings; re-run with -feature for details
161[warn] one warning found
162[info] done compiling
163Nov 22, 2025 2:24:20 PM software.amazon.smithy.openapi.fromsmithy.mappers.RemoveUnusedComponents removalRound
164INFO: 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]
165[info] compiling 269 Scala sources to /build/repo/codegen/target/scala-3.8.1-RC1-bin-20251122-91351e3-NIGHTLY/classes ...
166[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
167[warn] Option -Xkind-projector was updated
168[warn] there were 48 deprecation warnings; re-run with -deprecation for details
169[warn] three warnings found
170[info] done compiling
171[info] compiling 1 Scala source to /build/repo/bsp4s/target/scala-3.8.1-RC1-bin-20251122-91351e3-NIGHTLY/classes ...
172[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
173[warn] Option -Xkind-projector was updated
174[warn] -- [E198] Unused Symbol Warning: /build/repo/bsp4s/src/main/scala/smithy4sbsp/bsp4s/BSPCodecs.scala:143:21
175[warn] 143 | case other @ DObject(keys) => keys
176[warn] | ^^^^^
177[warn] | unused pattern variable
178[warn] three warnings found
179[info] done compiling
180[info] Using cached result of smithy-trait-codegen
181[info] compiling 1 Scala source to /build/repo/bsp4s/target/scala-3.8.1-RC1-bin-20251122-91351e3-NIGHTLY/test-classes ...
182[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
183[warn] Option -Xkind-projector was updated
184[warn] two warnings found
185[info] done compiling
186[info] Using cached result of smithy-trait-codegen
187[info] Using cached result of smithy-trait-codegen
188Starting build for ProjectRef(file:/build/repo/,codegen) (codegen)... [1/2]
189Compile 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
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[info] Using cached result of smithy-trait-codegen
194
195************************
196Build summary:
197[{
198 "module": "bsp4s",
199 "compile": {"status": "ok", "tookMs": 72614, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
200 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
201 "test-compile": {"status": "ok", "tookMs": 3823, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
202 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
203 "publish": {"status": "skipped", "tookMs": 0},
204 "metadata": {
205 "crossScalaVersions": ["3.3.6"]
206}
207},{
208 "module": "codegen",
209 "compile": {"status": "ok", "tookMs": 306, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
210 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
211 "test-compile": {"status": "ok", "tookMs": 419, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
212 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
213 "publish": {"status": "skipped", "tookMs": 0},
214 "metadata": {
215 "crossScalaVersions": ["3.3.6"]
216}
217}]
218************************
219[success] Total time: 115 s (0:01:55.0), completed Nov 22, 2025, 2:25:15 PM
220[0JChecking patch project/plugins.sbt...
221Checking patch project/build.properties...
222Checking patch build.sbt...
223Applied patch project/plugins.sbt cleanly.
224Applied patch project/build.properties cleanly.
225Applied patch build.sbt cleanly.