Build Logs

disneystreaming/alloy • scheduled_3.8.1-RC1-bin-20251212-ba45875-NIGHTLY

Errors

1

Warnings

157

Total Lines

282

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