Build Logs
sake92/mill-local-vs-publish-repro • 3.8.0-RC2:2025-11-26
Errors
1
Warnings
63
Total Lines
170
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-RC2
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-RC2
32Execute tests: false
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-RC2
42Targets: ba.sake%mill-local-vs-publish-runtime-deps
43Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","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 72.6M 0 69836 0 0 533k 0 0:02:19 --:--:-- 0:02:19 532k
59 49 72.6M 49 35.9M 0 0 32.6M 0 0:00:02 0:00:01 0:00:01 32.6M
60100 72.6M 100 72.6M 0 0 36.6M 0 0:00:01 0:00:01 --:--:-- 36.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:237:36: Unicode escapes in raw interpolations are deprecated; use literal characters instead
65[build.mill-61] [warn] val AnsiColorPattern = raw"\u001B\[[;\d]*m"
66[build.mill-61] [warn] ^
67[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
68[build.mill-61] [warn] .iterator()
69[build.mill-61] [warn] ^
70[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
71[build.mill-61] [warn] ctx.root.millInternal.modules.collect { case module: PublishModule =>
72[build.mill-61] [warn] ^
73[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
74[build.mill-61] [warn] val testModule = module.millInternal.modules.toList
75[build.mill-61] [warn] ^
76[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
77[build.mill-61] [warn] ctx.root.millInternal.modules.flatMap {
78[build.mill-61] [warn] ^
79[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
80[build.mill-61] [warn] type ZincWorkerModule = mill.scalalib.ZincWorkerModule
81[build.mill-61] [warn] ^
82[build.mill-61] [warn] /build/repo/build.mill:9:50: 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] def mapScalacOptions(scalaVersion: mill.define.Target[String])(implicit ctx: mill.api.Ctx): Seq[String] =
84[build.mill-61] [warn] ^
85[build.mill-61] [warn] /build/repo/build.mill:20:79: 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] implicit class MillCommunityBuildScalacOptionsTargetOps(asTarget: mill.define.Target[Seq[String]]){
87[build.mill-61] [warn] ^
88[build.mill-61] [warn] /build/repo/build.mill:21:50: trait Target in package define is deprecated (since Mill 0.12.15): Use Task.Simple[T] or T[T] instead
89[build.mill-61] [warn] def mapScalacOptions(scalaVersion: mill.define.Target[String]) = scalaVersion.zip(asTarget).map {
90[build.mill-61] [warn] ^
91[build.mill-61] [warn] /build/repo/build.mill:53:70: trait SonatypeCentralPublishModule in package sonatypecentral is deprecated (since Mill 0.12.15): Use mill.scalalib.SonatypeCentralPublishModule instead
92[build.mill-61] [warn] object `mill-local-vs-publish-runtime-deps` extends ScalaModule with SonatypeCentralPublishModule with MillCommunityBuild.CommunityBuildCoursierModule {
93[build.mill-61] [warn] ^
94[build.mill-61] [warn] 10 warnings found
95[build.mill-61] [info] done compiling
96[1/1] resolve
97[0J[1A
98[0J[1A
99[1/1] ============================== resolve _ ============================== 18s
100Try build using /opencb/project-builder/mill/millw
101--disable-ticker will be removed in Mill 1.0.0, use `--ticker false`
102[build.mill] [info] compiling 4 Scala sources to /build/repo/out/mill-build/compile.dest/classes ...
103[build.mill] [warn] /build/repo/CommunityBuildCore.mill:237:36: Unicode escapes in raw interpolations are deprecated; use literal characters instead
104[build.mill] [warn] val AnsiColorPattern = raw"\u001B\[[;\d]*m"
105[build.mill] [warn] ^
106[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
107[build.mill] [warn] .iterator()
108[build.mill] [warn] ^
109[build.mill] [warn] /build/repo/MillCommunityBuild.mill:222:14: object millInternal in trait Module is deprecated (since Mill 0.12.11): Use moduleInternal instead
110[build.mill] [warn] ctx.root.millInternal.modules.collect { case module: PublishModule =>
111[build.mill] [warn] ^
112[build.mill] [warn] /build/repo/MillCommunityBuild.mill:263:29: object millInternal in trait Module is deprecated (since Mill 0.12.11): Use moduleInternal instead
113[build.mill] [warn] val testModule = module.millInternal.modules.toList
114[build.mill] [warn] ^
115[build.mill] [warn] /build/repo/MillCommunityBuild.mill:398:12: object millInternal in trait Module is deprecated (since Mill 0.12.11): Use moduleInternal instead
116[build.mill] [warn] ctx.root.millInternal.modules.flatMap {
117[build.mill] [warn] ^
118[build.mill] [warn] /build/repo/MillVersionCompat.mill:9:41: trait ZincWorkerModule in package scalalib is deprecated (since Mill 0.12.11): Use JvmWorkerModule instead
119[build.mill] [warn] type ZincWorkerModule = mill.scalalib.ZincWorkerModule
120[build.mill] [warn] ^
121[build.mill] [warn] /build/repo/build.mill:9: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])(implicit ctx: mill.api.Ctx): Seq[String] =
123[build.mill] [warn] ^
124[build.mill] [warn] /build/repo/build.mill:20:79: trait Target in package define is deprecated (since Mill 0.12.15): Use Task.Simple[T] or T[T] instead
125[build.mill] [warn] implicit class MillCommunityBuildScalacOptionsTargetOps(asTarget: mill.define.Target[Seq[String]]){
126[build.mill] [warn] ^
127[build.mill] [warn] /build/repo/build.mill:21:50: trait Target in package define is deprecated (since Mill 0.12.15): Use Task.Simple[T] or T[T] instead
128[build.mill] [warn] def mapScalacOptions(scalaVersion: mill.define.Target[String]) = scalaVersion.zip(asTarget).map {
129[build.mill] [warn] ^
130[build.mill] [warn] /build/repo/build.mill:53:70: trait SonatypeCentralPublishModule in package sonatypecentral is deprecated (since Mill 0.12.15): Use mill.scalalib.SonatypeCentralPublishModule instead
131[build.mill] [warn] object `mill-local-vs-publish-runtime-deps` extends ScalaModule with SonatypeCentralPublishModule with MillCommunityBuild.CommunityBuildCoursierModule {
132[build.mill] [warn] ^
133[build.mill] [warn] 10 warnings found
134[build.mill] [info] done compiling
135Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}
136Parsed config: ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly)
137
138Starting build for mill-local-vs-publish-runtime-deps - [0/1]
139No test module defined in mill-local-vs-publish-runtime-deps
140Failed to resolve scalaVersion, assume it's Scala 3 project
141Successfully evaluated mill-local-vs-publish-runtime-deps.compile
142Successfully evaluated mill-local-vs-publish-runtime-deps.docJar
143Module mill-local-vs-publish-runtime-deps is not a publish module, skipping publishing
144
145************************
146Build summary:
147[{
148 "module": "mill-local-vs-publish-runtime-deps",
149 "compile": {"status": "ok", "tookMs": 2389, "warnings": 0, "errors": 0},
150 "doc": {"status": "ok", "tookMs": 790, "files": 1, "totalSizeKb": 0},
151 "test-compile": {"status": "skipped", "tookMs": 0, "warnings": 0, "errors": 0},
152 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
153 "publish": {"status": "skipped", "tookMs": 0},
154 "metadata": {
155 "crossScalaVersions": []
156}
157}]
158************************"
159
160/build/build.patch:69: trailing whitespace.
161
162/build/build.patch:75: trailing whitespace.
163
164/build/build.patch:81: trailing whitespace.
165
166Checking patch build.mill...
167Checking patch .mill-version...
168Applied patch build.mill cleanly.
169Applied patch .mill-version cleanly.
170warning: 3 lines add whitespace errors.