Build Logs

disneystreaming/alloy • scheduled_3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY

Errors

1

Warnings

157

Total Lines

281

1##################################
2Clonning https://github.com/disneystreaming/alloy.git into /build/repo using revision v0.3.35
3##################################
4Note: switching to '289266fb098a3bcec880d4a44988b609a47d4431'.
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-20251228-e73ff2c-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
31Try apply source patch:
32Path: build.sc
33Pattern: "3" -> "3\.\d\.\d"
34Replacement: "3" -> "3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY"
35Starting compilation server
36Compiling project (Scala 3.7.3, JVM (17))
37Compiled project (Scala 3.7.3, JVM (17))
38Successfully applied pattern '"3" -> "3\.\d\.\d"' in build.sc
39----
40Starting build for 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY
41Execute tests: false
42Mill project found:
43Found explicit mill version 0.12.10 in ./mill-version
44Force upgrade of millVersion 0.12.10 to 0.12.16
45Detected mill version=0.12.16, binary version: 0.12
46No prepare script found for project disneystreaming/alloy
47No mill build directory found
48Apply scalafix rules to ./build.sc
49Successfully applied pattern 'package build\n' in /build/repo/MillCommunityBuild.sc
50Successfully applied pattern 'import CommunityBuildCore.' in /build/repo/MillCommunityBuild.sc
51Successfully applied pattern 'import MillVersionCompat.' in /build/repo/MillCommunityBuild.sc
52Successfully applied pattern 'package build\n' in /build/repo/MillVersionCompat.sc
53##################################
54Scala version: 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY
55Targets: com.disneystreaming.alloy%alloy-openapi
56Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"build.sc","pattern":"\"3\" -> \"3\\.\\d\\.\\d\"","replaceWith":"\"3\" -> \"<SCALA_VERSION>\""}]}
57##################################
58Downloading mill 0.12.16 from https://repo1.maven.org/maven2/com/lihaoyi/mill-dist/0.12.16/mill-dist-0.12.16.jar ...
59 % Total % Received % Xferd Average Speed Time Time Time Current
60 Dload Upload Total Spent Left Speed
61
62 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
63 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
64curl: (22) The requested URL returned error: 404
65Mill launcher ./mill failed to launch, skipping
66Downloading mill 0.12.16 from https://repo1.maven.org/maven2/com/lihaoyi/mill-dist/0.12.16/mill-dist-0.12.16.exe ...
67 % Total % Received % Xferd Average Speed Time Time Time Current
68 Dload Upload Total Spent Left Speed
69
70 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
71100 72.6M 100 72.6M 0 0 118M 0 --:--:-- --:--:-- --:--:-- 118M
72============================== resolve _ ==============================
73[build.sc-61/65] compile
74[build.sc-61] [info] compiling 4 Scala sources to /build/repo/out/mill-build/compile.dest/classes ...
75[build.sc-61] [warn] /build/repo/build.sc:26:50: trait Target in package define is deprecated (since Mill 0.12.15): Use Task.Simple[T] or T[T] instead
76[build.sc-61] [warn] def mapScalacOptions(scalaVersion: mill.define.Target[String])(implicit ctx: mill.api.Ctx): Seq[String] =
77[build.sc-61] [warn] ^
78[build.sc-61] [warn] /build/repo/build.sc:37:79: trait Target in package define is deprecated (since Mill 0.12.15): Use Task.Simple[T] or T[T] instead
79[build.sc-61] [warn] implicit class MillCommunityBuildScalacOptionsTargetOps(asTarget: mill.define.Target[Seq[String]]){
80[build.sc-61] [warn] ^
81[build.sc-61] [warn] /build/repo/build.sc:38:50: trait Target in package define is deprecated (since Mill 0.12.15): Use Task.Simple[T] or T[T] instead
82[build.sc-61] [warn] def mapScalacOptions(scalaVersion: mill.define.Target[String]) = scalaVersion.zip(asTarget).map {
83[build.sc-61] [warn] ^
84[build.sc-61] [warn] /build/repo/build.sc:92:49: trait SonatypeCentralPublishModule in package sonatypecentral is deprecated (since Mill 0.12.15): Use mill.scalalib.SonatypeCentralPublishModule instead
85[build.sc-61] [warn] trait BasePublishModule extends BaseModule with SonatypeCentralPublishModule {
86[build.sc-61] [warn] ^
87[build.sc-61] [warn] /build/repo/build.sc:118:39: type Target in package mill is deprecated (since Mill 0.12.15): Use Task.Simple[T] or T[T] instead
88[build.sc-61] [warn] override def mimaPreviousArtifacts: Target[Agg[Dep]] = {
89[build.sc-61] [warn] ^
90[build.sc-61] [warn] /build/repo/build.sc:174:27: type Target in package mill is deprecated (since Mill 0.12.15): Use Task.Simple[T] or T[T] instead
91[build.sc-61] [warn] override def ivyDeps: Target[Agg[Dep]] = super.ivyDeps() ++ Seq(Deps.oslib)
92[build.sc-61] [warn] ^
93[build.sc-61] [warn] /build/repo/CommunityBuildCore.sc:135:22: object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
94[build.sc-61] [warn] .iterator()
95[build.sc-61] [warn] ^
96[build.sc-61] [warn] /build/repo/MillCommunityBuild.sc:221:14: object millInternal in trait Module is deprecated (since Mill 0.12.11): Use moduleInternal instead
97[build.sc-61] [warn] ctx.root.millInternal.modules.collect { case module: PublishModule =>
98[build.sc-61] [warn] ^
99[build.sc-61] [warn] /build/repo/MillCommunityBuild.sc:262:29: object millInternal in trait Module is deprecated (since Mill 0.12.11): Use moduleInternal instead
100[build.sc-61] [warn] val testModule = module.millInternal.modules.toList
101[build.sc-61] [warn] ^
102[build.sc-61] [warn] /build/repo/MillCommunityBuild.sc:397:12: object millInternal in trait Module is deprecated (since Mill 0.12.11): Use moduleInternal instead
103[build.sc-61] [warn] ctx.root.millInternal.modules.flatMap {
104[build.sc-61] [warn] ^
105[build.sc-61] [warn] /build/repo/MillVersionCompat.sc:7:41: trait ZincWorkerModule in package scalalib is deprecated (since Mill 0.12.11): Use JvmWorkerModule instead
106[build.sc-61] [warn] type ZincWorkerModule = mill.scalalib.ZincWorkerModule
107[build.sc-61] [warn] ^
108[build.sc-61] [warn] 9 feature warnings; re-run with -feature for details
109[build.sc-61] [warn] 12 warnings found
110[build.sc-61] [info] done compiling
111[1/1] resolve
112[0J[1A
113[0J[1A
114[1/1] ============================== resolve _ ============================== 21s
115Try build using /opencb/project-builder/mill/millw
116--disable-ticker will be removed in Mill 1.0.0, use `--ticker false`
117[build.sc] [info] compiling 4 Scala sources to /build/repo/out/mill-build/compile.dest/classes ...
118[build.sc] [warn] /build/repo/build.sc:26:50: trait Target in package define is deprecated (since Mill 0.12.15): Use Task.Simple[T] or T[T] instead
119[build.sc] [warn] def mapScalacOptions(scalaVersion: mill.define.Target[String])(implicit ctx: mill.api.Ctx): Seq[String] =
120[build.sc] [warn] ^
121[build.sc] [warn] /build/repo/build.sc:37:79: trait Target in package define is deprecated (since Mill 0.12.15): Use Task.Simple[T] or T[T] instead
122[build.sc] [warn] implicit class MillCommunityBuildScalacOptionsTargetOps(asTarget: mill.define.Target[Seq[String]]){
123[build.sc] [warn] ^
124[build.sc] [warn] /build/repo/build.sc:38:50: trait Target in package define is deprecated (since Mill 0.12.15): Use Task.Simple[T] or T[T] instead
125[build.sc] [warn] def mapScalacOptions(scalaVersion: mill.define.Target[String]) = scalaVersion.zip(asTarget).map {
126[build.sc] [warn] ^
127[build.sc] [warn] /build/repo/build.sc:92:49: trait SonatypeCentralPublishModule in package sonatypecentral is deprecated (since Mill 0.12.15): Use mill.scalalib.SonatypeCentralPublishModule instead
128[build.sc] [warn] trait BasePublishModule extends BaseModule with SonatypeCentralPublishModule {
129[build.sc] [warn] ^
130[build.sc] [warn] /build/repo/build.sc:118:39: type Target in package mill is deprecated (since Mill 0.12.15): Use Task.Simple[T] or T[T] instead
131[build.sc] [warn] override def mimaPreviousArtifacts: Target[Agg[Dep]] = {
132[build.sc] [warn] ^
133[build.sc] [warn] /build/repo/build.sc:174:27: type Target in package mill is deprecated (since Mill 0.12.15): Use Task.Simple[T] or T[T] instead
134[build.sc] [warn] override def ivyDeps: Target[Agg[Dep]] = super.ivyDeps() ++ Seq(Deps.oslib)
135[build.sc] [warn] ^
136[build.sc] [warn] /build/repo/CommunityBuildCore.sc:135:22: object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
137[build.sc] [warn] .iterator()
138[build.sc] [warn] ^
139[build.sc] [warn] /build/repo/MillCommunityBuild.sc:221:14: object millInternal in trait Module is deprecated (since Mill 0.12.11): Use moduleInternal instead
140[build.sc] [warn] ctx.root.millInternal.modules.collect { case module: PublishModule =>
141[build.sc] [warn] ^
142[build.sc] [warn] /build/repo/MillCommunityBuild.sc:262:29: object millInternal in trait Module is deprecated (since Mill 0.12.11): Use moduleInternal instead
143[build.sc] [warn] val testModule = module.millInternal.modules.toList
144[build.sc] [warn] ^
145[build.sc] [warn] /build/repo/MillCommunityBuild.sc:397:12: object millInternal in trait Module is deprecated (since Mill 0.12.11): Use moduleInternal instead
146[build.sc] [warn] ctx.root.millInternal.modules.flatMap {
147[build.sc] [warn] ^
148[build.sc] [warn] /build/repo/MillVersionCompat.sc:7:41: trait ZincWorkerModule in package scalalib is deprecated (since Mill 0.12.11): Use JvmWorkerModule instead
149[build.sc] [warn] type ZincWorkerModule = mill.scalalib.ZincWorkerModule
150[build.sc] [warn] ^
151[build.sc] [warn] 9 feature warnings; re-run with -feature for details
152[build.sc] [warn] 12 warnings found
153[build.sc] [info] done compiling
154Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"build.sc","pattern":"\"3\" -> \"3\\.\\d\\.\\d\"","replaceWith":"\"3\" -> \"<SCALA_VERSION>\""}]}
155Parsed config: ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly)
156
157Starting build for alloy-openapi - [0/2]
158Failed to resolve scalaVersion, assume it's Scala 3 project
159OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
160OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
161OpenCB::Filter out '-Xfatal-warnings', matches setting pattern '^-?-Xfatal-warnings'
162[info] compiling 66 Java sources to /build/repo/out/core/compile.dest/classes ...
163[info] done compiling
164[info] compiling 20 Scala sources to /build/repo/out/openapi/3/compile.dest/classes ...
165[warn] -- Warning: /build/repo/modules/openapi/src/alloy/openapi/AddTags.scala:30:23 --
166[warn] 30 | context: Context[_ <: Trait],
167[warn] | ^
168[warn] |`_` is deprecated for wildcard arguments of types: use `?` instead
169[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
170[warn] -- Warning: /build/repo/modules/openapi/src/alloy/openapi/AlloyOpenApiExtension.scala:30:55
171[warn] 30 | override def getProtocols(): ju.List[OpenApiProtocol[_]] = List(
172[warn] | ^
173[warn] |`_` is deprecated for wildcard arguments of types: use `?` instead
174[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
175[warn] -- Warning: /build/repo/modules/openapi/src/alloy/openapi/AlloyOpenApiExtension.scala:32:48
176[warn] 32 | ).asJava.asInstanceOf[ju.List[OpenApiProtocol[_]]]
177[warn] | ^
178[warn] |`_` is deprecated for wildcard arguments of types: use `?` instead
179[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
180[warn] -- Warning: /build/repo/modules/openapi/src/alloy/openapi/DateTimeFormatMapper.scala:42:33
181[warn] 42 | private val mapping: Map[Class[_ <: Trait], String] = Map(
182[warn] | ^
183[warn] |`_` is deprecated for wildcard arguments of types: use `?` instead
184[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
185[warn] -- Warning: /build/repo/modules/openapi/src/alloy/openapi/DiscriminatedUnionMemberComponents.scala:38:23
186[warn] 38 | context: Context[_ <: Trait],
187[warn] | ^
188[warn] |`_` is deprecated for wildcard arguments of types: use `?` instead
189[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
190[warn] -- Warning: /build/repo/modules/openapi/src/alloy/openapi/ExternalDocumentationMapper.scala:36:38
191[warn] 36 | override def after(context: Context[_ <: Trait], openapi: OpenApi): OpenApi =
192[warn] | ^
193[warn] |`_` is deprecated for wildcard arguments of types: use `?` instead
194[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
195[warn] -- Warning: /build/repo/modules/openapi/src/alloy/openapi/ExternalDocumentationMapper.scala:65:23
196[warn] 65 | context: Context[_ <: Trait],
197[warn] | ^
198[warn] |`_` is deprecated for wildcard arguments of types: use `?` instead
199[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
200[warn] -- Warning: /build/repo/modules/openapi/src/alloy/openapi/MakeHeadersOptionalMapper.scala:37:23
201[warn] 37 | context: Context[_ <: Trait],
202[warn] | ^
203[warn] |`_` is deprecated for wildcard arguments of types: use `?` instead
204[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
205[warn] -- Warning: /build/repo/modules/openapi/src/alloy/openapi/OpenEnums.scala:42:61
206[warn] 42 | Some(Node.arrayNode(values.map(Node.from(_)).toList: _*))
207[warn] | ^
208[warn] |The syntax `x: _*` is no longer supported for vararg splices; use `x*` instead
209[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
210[warn] -- Warning: /build/repo/modules/openapi/src/alloy/openapi/OpenEnums.scala:45:61
211[warn] 45 | Some(Node.arrayNode(values.map(Node.from(_)).toList: _*))
212[warn] | ^
213[warn] |The syntax `x: _*` is no longer supported for vararg splices; use `x*` instead
214[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
215[warn] -- Warning: /build/repo/modules/openapi/src/alloy/openapi/SummaryMapper.scala:26:23
216[warn] 26 | context: Context[_ <: Trait],
217[warn] | ^
218[warn] |`_` is deprecated for wildcard arguments of types: use `?` instead
219[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
220[warn] -- Warning: /build/repo/modules/openapi/src/alloy/openapi/package.scala:49:41 --
221[warn] 49 | val openapiAwareTraits: Set[TraitKey[_]] = ServiceLoader
222[warn] | ^
223[warn] |`_` is deprecated for wildcard arguments of types: use `?` instead
224[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
225[warn] -- Warning: /build/repo/modules/openapi/src/software/amazon/smithy/openapi/fromsmithy/protocols/AlloyAbstractRestProtocol.scala:249:23
226[warn] 249 | context: Context[_ <: Trait],
227[warn] | ^
228[warn] |`_` is deprecated for wildcard arguments of types: use `?` instead
229[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
230[warn] -- Warning: /build/repo/modules/openapi/src/software/amazon/smithy/openapi/fromsmithy/protocols/AlloyAbstractRestProtocol.scala:516:68
231[warn] 516 | (Shape.shapeToBuilder(operationOrError): AbstractShapeBuilder[_, _])
232[warn] | ^
233[warn] |`_` is deprecated for wildcard arguments of types: use `?` instead
234[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
235[warn] -- Warning: /build/repo/modules/openapi/src/software/amazon/smithy/openapi/fromsmithy/protocols/AlloyAbstractRestProtocol.scala:516:71
236[warn] 516 | (Shape.shapeToBuilder(operationOrError): AbstractShapeBuilder[_, _])
237[warn] | ^
238[warn] |`_` is deprecated for wildcard arguments of types: use `?` instead
239[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
240[warn] 15 warnings found
241[info] done compiling
242Successfully evaluated openapi[3].compile
243Option -classpath was updated
2441 warning found
245Successfully evaluated openapi[3].docJar
246Failed to resolve scalaVersion, assume it's Scala 3 project
247[info] compiling 3 Scala sources and 1 Java source to /build/repo/out/openapi/3/test/compile.dest/classes ...
248[warn] -- Warning: /build/repo/modules/openapi/test/src/alloy/openapi/OpenApiExtensionTest.scala:30:55
249[warn] 30 | override def getProtocols(): ju.List[OpenApiProtocol[_]] = List(
250[warn] | ^
251[warn] |`_` is deprecated for wildcard arguments of types: use `?` instead
252[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
253[warn] -- Warning: /build/repo/modules/openapi/test/src/alloy/openapi/OpenApiExtensionTest.scala:32:48
254[warn] 32 | ).asJava.asInstanceOf[ju.List[OpenApiProtocol[_]]]
255[warn] | ^
256[warn] |`_` is deprecated for wildcard arguments of types: use `?` instead
257[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
258[warn] two warnings found
259[info] done compiling
260Successfully evaluated openapi[3].test.compile
261Module openapi[3] is not a publish module, skipping publishing
262
263************************
264Build summary:
265[{
266 "module": "alloy-openapi",
267 "compile": {"status": "ok", "tookMs": 14848, "warnings": 0, "errors": 0},
268 "doc": {"status": "ok", "tookMs": 7633, "files": 1, "totalSizeKb": 2763},
269 "test-compile": {"status": "ok", "tookMs": 5717, "warnings": 0, "errors": 0},
270 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
271 "publish": {"status": "skipped", "tookMs": 0},
272 "metadata": {
273 "crossScalaVersions": []
274}
275}]
276************************"
277
278Checking patch build.sc...
279Checking patch .mill-version...
280Applied patch build.sc cleanly.
281Applied patch .mill-version cleanly.