Build Logs

sake92/mill-local-vs-publish-repro • 3.8.0:2026-01-13

Errors

1

Warnings

57

Total Lines

162

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