Build Logs

sake92/mill-local-vs-publish-repro • 3.8.0-RC4:2025-12-22

Errors

1

Warnings

57

Total Lines

163

1##################################
2Clonning https://github.com/sake92/mill-local-vs-publish-repro.git into /build/repo using revision 0.0.1
3##################################
4Note: switching to '8f0f5d4e472ea98d6a09a723076a5f582109a71a'.
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-RC4
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-RC4
32Execute tests: true
33Mill project found:
34Found explicit mill version 0.12.4 in ./mill-version
35Force upgrade of millVersion 0.12.4 to 0.12.16
36Detected mill version=0.12.16, binary version: 0.12
37No prepare script found for project sake92/mill-local-vs-publish-repro
38No mill build directory found
39Apply scalafix rules to build.mill
40##################################
41Scala version: 3.8.0-RC4
42Targets: ba.sake%mill-local-vs-publish-runtime-deps
43Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
44##################################
45Downloading mill 0.12.16 from https://repo1.maven.org/maven2/com/lihaoyi/mill-dist/0.12.16/mill-dist-0.12.16.jar ...
46 % Total % Received % Xferd Average Speed Time Time Time Current
47 Dload Upload Total Spent Left Speed
48
49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
51curl: (22) The requested URL returned error: 404
52Mill launcher ./mill failed to launch, skipping
53Downloading mill 0.12.16 from https://repo1.maven.org/maven2/com/lihaoyi/mill-dist/0.12.16/mill-dist-0.12.16.exe ...
54 % Total % Received % Xferd Average Speed Time Time Time Current
55 Dload Upload Total Spent Left Speed
56
57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
58 20 72.6M 20 15.0M 0 0 37.2M 0 0:00:01 --:--:-- 0:00:01 37.2M
59100 72.6M 100 72.6M 0 0 92.8M 0 --:--:-- --:--:-- --:--:-- 92.8M
60============================== resolve _ ==============================
61[build.mill-61/65] compile
62[build.mill-61] [info] compiling 4 Scala sources to /build/repo/out/mill-build/compile.dest/classes ...
63[build.mill-61] [warn] /build/repo/CommunityBuildCore.mill:136:22: object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
64[build.mill-61] [warn] .iterator()
65[build.mill-61] [warn] ^
66[build.mill-61] [warn] /build/repo/MillCommunityBuild.mill:222:14: object millInternal in trait Module is deprecated (since Mill 0.12.11): Use moduleInternal instead
67[build.mill-61] [warn] ctx.root.millInternal.modules.collect { case module: PublishModule =>
68[build.mill-61] [warn] ^
69[build.mill-61] [warn] /build/repo/MillCommunityBuild.mill:263:29: object millInternal in trait Module is deprecated (since Mill 0.12.11): Use moduleInternal instead
70[build.mill-61] [warn] val testModule = module.millInternal.modules.toList
71[build.mill-61] [warn] ^
72[build.mill-61] [warn] /build/repo/MillCommunityBuild.mill:398:12: object millInternal in trait Module is deprecated (since Mill 0.12.11): Use moduleInternal instead
73[build.mill-61] [warn] ctx.root.millInternal.modules.flatMap {
74[build.mill-61] [warn] ^
75[build.mill-61] [warn] /build/repo/MillVersionCompat.mill:9:41: trait ZincWorkerModule in package scalalib is deprecated (since Mill 0.12.11): Use JvmWorkerModule instead
76[build.mill-61] [warn] type ZincWorkerModule = mill.scalalib.ZincWorkerModule
77[build.mill-61] [warn] ^
78[build.mill-61] [warn] /build/repo/build.mill:10:50: trait Target in package define is deprecated (since Mill 0.12.15): Use Task.Simple[T] or T[T] instead
79[build.mill-61] [warn] def mapScalacOptions(scalaVersion: mill.define.Target[String])(implicit ctx: mill.api.Ctx): Seq[String] =
80[build.mill-61] [warn] ^
81[build.mill-61] [warn] /build/repo/build.mill:21:79: trait Target in package define is deprecated (since Mill 0.12.15): Use Task.Simple[T] or T[T] instead
82[build.mill-61] [warn] implicit class MillCommunityBuildScalacOptionsTargetOps(asTarget: mill.define.Target[Seq[String]]){
83[build.mill-61] [warn] ^
84[build.mill-61] [warn] /build/repo/build.mill:22:50: trait Target in package define is deprecated (since Mill 0.12.15): Use Task.Simple[T] or T[T] instead
85[build.mill-61] [warn] def mapScalacOptions(scalaVersion: mill.define.Target[String]) = scalaVersion.zip(asTarget).map {
86[build.mill-61] [warn] ^
87[build.mill-61] [warn] /build/repo/build.mill:54:70: trait SonatypeCentralPublishModule in package sonatypecentral is deprecated (since Mill 0.12.15): Use mill.scalalib.SonatypeCentralPublishModule instead
88[build.mill-61] [warn] object `mill-local-vs-publish-runtime-deps` extends ScalaModule with SonatypeCentralPublishModule with MillCommunityBuild.CommunityBuildCoursierModule {
89[build.mill-61] [warn] ^
90[build.mill-61] [warn] 9 warnings found
91[build.mill-61] [info] done compiling
92[1/1] resolve
93[0J[1A
94[0J[1A
95[1/1] ============================== resolve _ ============================== 17s
96Try build using /opencb/project-builder/mill/millw
97--disable-ticker will be removed in Mill 1.0.0, use `--ticker false`
98[build.mill] [info] compiling 4 Scala sources to /build/repo/out/mill-build/compile.dest/classes ...
99[build.mill] [warn] /build/repo/CommunityBuildCore.mill:136:22: object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
100[build.mill] [warn] .iterator()
101[build.mill] [warn] ^
102[build.mill] [warn] /build/repo/MillCommunityBuild.mill:222:14: object millInternal in trait Module is deprecated (since Mill 0.12.11): Use moduleInternal instead
103[build.mill] [warn] ctx.root.millInternal.modules.collect { case module: PublishModule =>
104[build.mill] [warn] ^
105[build.mill] [warn] /build/repo/MillCommunityBuild.mill:263:29: object millInternal in trait Module is deprecated (since Mill 0.12.11): Use moduleInternal instead
106[build.mill] [warn] val testModule = module.millInternal.modules.toList
107[build.mill] [warn] ^
108[build.mill] [warn] /build/repo/MillCommunityBuild.mill:398:12: object millInternal in trait Module is deprecated (since Mill 0.12.11): Use moduleInternal instead
109[build.mill] [warn] ctx.root.millInternal.modules.flatMap {
110[build.mill] [warn] ^
111[build.mill] [warn] /build/repo/MillVersionCompat.mill:9:41: trait ZincWorkerModule in package scalalib is deprecated (since Mill 0.12.11): Use JvmWorkerModule instead
112[build.mill] [warn] type ZincWorkerModule = mill.scalalib.ZincWorkerModule
113[build.mill] [warn] ^
114[build.mill] [warn] /build/repo/build.mill:10:50: trait Target in package define is deprecated (since Mill 0.12.15): Use Task.Simple[T] or T[T] instead
115[build.mill] [warn] def mapScalacOptions(scalaVersion: mill.define.Target[String])(implicit ctx: mill.api.Ctx): Seq[String] =
116[build.mill] [warn] ^
117[build.mill] [warn] /build/repo/build.mill:21:79: trait Target in package define is deprecated (since Mill 0.12.15): Use Task.Simple[T] or T[T] instead
118[build.mill] [warn] implicit class MillCommunityBuildScalacOptionsTargetOps(asTarget: mill.define.Target[Seq[String]]){
119[build.mill] [warn] ^
120[build.mill] [warn] /build/repo/build.mill:22:50: trait Target in package define is deprecated (since Mill 0.12.15): Use Task.Simple[T] or T[T] instead
121[build.mill] [warn] def mapScalacOptions(scalaVersion: mill.define.Target[String]) = scalaVersion.zip(asTarget).map {
122[build.mill] [warn] ^
123[build.mill] [warn] /build/repo/build.mill:54:70: trait SonatypeCentralPublishModule in package sonatypecentral is deprecated (since Mill 0.12.15): Use mill.scalalib.SonatypeCentralPublishModule instead
124[build.mill] [warn] object `mill-local-vs-publish-runtime-deps` extends ScalaModule with SonatypeCentralPublishModule with MillCommunityBuild.CommunityBuildCoursierModule {
125[build.mill] [warn] ^
126[build.mill] [warn] 9 warnings found
127[build.mill] [info] done compiling
128Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
129Parsed config: ProjectBuildConfig(ProjectsConfig(List(),Map()),Full)
130
131Starting build for mill-local-vs-publish-runtime-deps - [0/1]
132No test module defined in mill-local-vs-publish-runtime-deps
133Failed to resolve scalaVersion, assume it's Scala 3 project
134Successfully evaluated mill-local-vs-publish-runtime-deps.compile
135Successfully evaluated mill-local-vs-publish-runtime-deps.docJar
136Module mill-local-vs-publish-runtime-deps is not a publish module, skipping publishing
137
138************************
139Build summary:
140[{
141 "module": "mill-local-vs-publish-runtime-deps",
142 "compile": {"status": "ok", "tookMs": 2139, "warnings": 0, "errors": 0},
143 "doc": {"status": "ok", "tookMs": 575, "files": 1, "totalSizeKb": 0},
144 "test-compile": {"status": "skipped", "tookMs": 0, "warnings": 0, "errors": 0},
145 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
146 "publish": {"status": "skipped", "tookMs": 0},
147 "metadata": {
148 "crossScalaVersions": []
149}
150}]
151************************"
152
153/build/build.patch:70: trailing whitespace.
154
155/build/build.patch:76: trailing whitespace.
156
157/build/build.patch:82: trailing whitespace.
158
159Checking patch build.mill...
160Checking patch .mill-version...
161Applied patch build.mill cleanly.
162Applied patch .mill-version cleanly.
163warning: 3 lines add whitespace errors.