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