Build Logs
sake92/mill-local-vs-publish-repro • 3.8.0-RC6:2026-01-08
Errors
1
Warnings
57
Total Lines
164
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-RC6
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-RC6
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-RC6
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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
59 51 72.6M 51 37.2M 0 0 31.9M 0 0:00:02 0:00:01 0:00:01 31.9M
60100 72.6M 100 72.6M 0 0 38.6M 0 0:00:01 0:00:01 --:--:-- 38.6M
61============================== resolve _ ==============================
62[build.mill-61/65] compile
63[build.mill-61] [info] compiling 4 Scala sources to /build/repo/out/mill-build/compile.dest/classes ...
64[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
65[build.mill-61] [warn] .iterator()
66[build.mill-61] [warn] ^
67[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
68[build.mill-61] [warn] ctx.root.millInternal.modules.collect { case module: PublishModule =>
69[build.mill-61] [warn] ^
70[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
71[build.mill-61] [warn] val testModule = module.millInternal.modules.toList
72[build.mill-61] [warn] ^
73[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
74[build.mill-61] [warn] ctx.root.millInternal.modules.flatMap {
75[build.mill-61] [warn] ^
76[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
77[build.mill-61] [warn] type ZincWorkerModule = mill.scalalib.ZincWorkerModule
78[build.mill-61] [warn] ^
79[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
80[build.mill-61] [warn] def mapScalacOptions(scalaVersion: mill.define.Target[String])(implicit ctx: mill.api.Ctx): Seq[String] =
81[build.mill-61] [warn] ^
82[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
83[build.mill-61] [warn] implicit class MillCommunityBuildScalacOptionsTargetOps(asTarget: mill.define.Target[Seq[String]]){
84[build.mill-61] [warn] ^
85[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
86[build.mill-61] [warn] def mapScalacOptions(scalaVersion: mill.define.Target[String]) = scalaVersion.zip(asTarget).map {
87[build.mill-61] [warn] ^
88[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
89[build.mill-61] [warn] object `mill-local-vs-publish-runtime-deps` extends ScalaModule with SonatypeCentralPublishModule with MillCommunityBuild.CommunityBuildCoursierModule {
90[build.mill-61] [warn] ^
91[build.mill-61] [warn] 9 warnings found
92[build.mill-61] [info] done compiling
93[1/1] resolve
94[0J[1A
95[0J[1A
96[1/1] ============================== resolve _ ============================== 19s
97Try build using /opencb/project-builder/mill/millw
98--disable-ticker will be removed in Mill 1.0.0, use `--ticker false`
99[build.mill] [info] compiling 4 Scala sources to /build/repo/out/mill-build/compile.dest/classes ...
100[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
101[build.mill] [warn] .iterator()
102[build.mill] [warn] ^
103[build.mill] [warn] /build/repo/MillCommunityBuild.mill:222:14: object millInternal in trait Module is deprecated (since Mill 0.12.11): Use moduleInternal instead
104[build.mill] [warn] ctx.root.millInternal.modules.collect { case module: PublishModule =>
105[build.mill] [warn] ^
106[build.mill] [warn] /build/repo/MillCommunityBuild.mill:263:29: object millInternal in trait Module is deprecated (since Mill 0.12.11): Use moduleInternal instead
107[build.mill] [warn] val testModule = module.millInternal.modules.toList
108[build.mill] [warn] ^
109[build.mill] [warn] /build/repo/MillCommunityBuild.mill:398:12: object millInternal in trait Module is deprecated (since Mill 0.12.11): Use moduleInternal instead
110[build.mill] [warn] ctx.root.millInternal.modules.flatMap {
111[build.mill] [warn] ^
112[build.mill] [warn] /build/repo/MillVersionCompat.mill:9:41: trait ZincWorkerModule in package scalalib is deprecated (since Mill 0.12.11): Use JvmWorkerModule instead
113[build.mill] [warn] type ZincWorkerModule = mill.scalalib.ZincWorkerModule
114[build.mill] [warn] ^
115[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
116[build.mill] [warn] def mapScalacOptions(scalaVersion: mill.define.Target[String])(implicit ctx: mill.api.Ctx): Seq[String] =
117[build.mill] [warn] ^
118[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
119[build.mill] [warn] implicit class MillCommunityBuildScalacOptionsTargetOps(asTarget: mill.define.Target[Seq[String]]){
120[build.mill] [warn] ^
121[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
122[build.mill] [warn] def mapScalacOptions(scalaVersion: mill.define.Target[String]) = scalaVersion.zip(asTarget).map {
123[build.mill] [warn] ^
124[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
125[build.mill] [warn] object `mill-local-vs-publish-runtime-deps` extends ScalaModule with SonatypeCentralPublishModule with MillCommunityBuild.CommunityBuildCoursierModule {
126[build.mill] [warn] ^
127[build.mill] [warn] 9 warnings found
128[build.mill] [info] done compiling
129Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
130Parsed config: ProjectBuildConfig(ProjectsConfig(List(),Map()),Full)
131
132Starting build for mill-local-vs-publish-runtime-deps - [0/1]
133No test module defined in mill-local-vs-publish-runtime-deps
134Failed to resolve scalaVersion, assume it's Scala 3 project
135Successfully evaluated mill-local-vs-publish-runtime-deps.compile
136Successfully evaluated mill-local-vs-publish-runtime-deps.docJar
137Module mill-local-vs-publish-runtime-deps is not a publish module, skipping publishing
138
139************************
140Build summary:
141[{
142 "module": "mill-local-vs-publish-runtime-deps",
143 "compile": {"status": "ok", "tookMs": 3015, "warnings": 0, "errors": 0},
144 "doc": {"status": "ok", "tookMs": 595, "files": 1, "totalSizeKb": 0},
145 "test-compile": {"status": "skipped", "tookMs": 0, "warnings": 0, "errors": 0},
146 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
147 "publish": {"status": "skipped", "tookMs": 0},
148 "metadata": {
149 "crossScalaVersions": []
150}
151}]
152************************"
153
154/build/build.patch:70: trailing whitespace.
155
156/build/build.patch:76: trailing whitespace.
157
158/build/build.patch:82: trailing whitespace.
159
160Checking patch build.mill...
161Checking patch .mill-version...
162Applied patch build.mill cleanly.
163Applied patch .mill-version cleanly.
164warning: 3 lines add whitespace errors.