Build Logs
com-lihaoyi/mill • scheduled_3.8.1-RC1-bin-20251212-ba45875-NIGHTLY
Errors
4
Warnings
0
Total Lines
183
1##################################
2Clonning https://github.com/com-lihaoyi/mill.git into /build/repo using revision 1.1.0-RC3
3##################################
4Note: switching to 'e4ed599eb825a3ea95f3faa2e9097e74cc47c594'.
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
21Using target Scala version for migration: 3.7.4
22Migrating project for -source:3.7 using Scala 3.7.4
23----
24Preparing build for 3.7.4
25Would try to apply common scalacOption (best-effort, sbt/mill only):
26Append: -rewrite,REQUIRE:-source:3.7-migration
27Remove: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
28
29Try apply source patch:
30Path: mill-build/src/millbuild/Deps.scala
31Pattern: val scalaVersion = "3\..*\"
32Replacement: val scalaVersion = "3.7.4"
33Starting compilation server
34Compiling project (Scala 3.7.3, JVM (17))
35Compiled project (Scala 3.7.3, JVM (17))
36Successfully applied pattern 'val scalaVersion = "3\..*\"' in mill-build/src/millbuild/Deps.scala
37----
38Starting build for 3.7.4
39Execute tests: false
40Mill project found:
41Found explicit mill version 1.1.0-RC2-82-c17265 in build directive
42Detected mill version=1.1.0-RC2-82-c17265, binary version: 1.1
43Execute project prepare script: /opencb/project-builder/prepare-scripts/com-lihaoyi/mill
44#!/usr/bin/env -S scala-cli shebang -S 3
45//> using toolkit default
46
47val projectDir = sys.env.get("OPENCB_PROJECT_DIR")
48 .map(os.Path(_))
49 .getOrElse(sys.error("no OPENCB_PROJECT_DIR env"))
50
51os.write.append(projectDir / ".mill-jvm-opts", "-XX:CompressedClassSpaceSize=1400m")
52
53val scalaVersion = sys.env.get("OPENCB_SCALA_VERSION")
54 .getOrElse(sys.error("no OPENCB_SCALA_VERSION env"))
55
56val minJDKVersion = scalaVersion.split('.').take(2).map(_.toInt) match {
57 case Array(3, minor) if minor >= 8 => 17
58 case _ => 8
59}
60
61val millDefsVersion = os.read
62 .lines(projectDir / "mill-build"/ "src" / "millbuild"/ "Deps.scala")
63 .map(_.trim)
64 .collectFirst:
65 case s"""val millModuledefsVersion = "$version"""" => version
66 .getOrElse(sys.error("Failed to resolve millModuleDefs version"))
67
68val repositoryDir = os.temp.dir(prefix = "mill-moduledefs-")
69os.proc("git", "clone", "https://github.com/com-lihaoyi/mill-moduledefs", repositoryDir, "-b", millDefsVersion).call(check = true)
70
71val updatedBuild = os.read(repositoryDir / "build.sc")
72 .replaceAll(raw"Cross\[ModuleDefsCross]\(.*\)", s"""Cross[ModuleDefsCross](Seq("3.7.1"))""")
73 .replaceAll(raw"Cross\[PluginCross]\(.*\)", s"""Cross[PluginCross](Seq("$scalaVersion"))""")
74 .replace(""""-Yexplicit-nulls",""", "")
75 .replace(""""-java-output-version", "8""", s""""-java-output-version:${minJDKVersion}""")
76os.write.over(repositoryDir / "build.sc", updatedBuild)
77os.write.over(repositoryDir / ".mill-version", "0.12.15-2-561986")
78
79val coursierRepositories = Seq(
80 "central",
81 "ivy2local",
82 "https://repo.scala-lang.org/artifactory/maven-nightlies",
83 s"https://scala3.westeurope.cloudapp.azure.com/maven2/$scalaVersion",
84).mkString("|")
85
86os.proc(
87 "./mill",
88 "--no-server",
89 "-D", s"coursier.repositories=$coursierRepositories",
90 "show", s"__[$scalaVersion].publishLocal",
91).call(cwd = repositoryDir, check = true)
92Downloading https://repo1.maven.org/maven2/org/scala-lang/toolkit_3/0.7.0/toolkit_3-0.7.0.pom
93Downloaded https://repo1.maven.org/maven2/org/scala-lang/toolkit_3/0.7.0/toolkit_3-0.7.0.pom
94Downloading https://repo1.maven.org/maven2/com/lihaoyi/os-lib_3/0.11.3/os-lib_3-0.11.3.pom
95Downloading https://repo1.maven.org/maven2/com/softwaremill/sttp/client4/upickle_3/4.0.0-RC1/upickle_3-4.0.0-RC1.pom
96Downloading https://repo1.maven.org/maven2/com/softwaremill/sttp/client4/core_3/4.0.0-RC1/core_3-4.0.0-RC1.pom
97Downloading https://repo1.maven.org/maven2/com/lihaoyi/upickle_3/4.1.0/upickle_3-4.1.0.pom
98Downloaded https://repo1.maven.org/maven2/com/lihaoyi/os-lib_3/0.11.3/os-lib_3-0.11.3.pom
99Downloaded https://repo1.maven.org/maven2/com/lihaoyi/upickle_3/4.1.0/upickle_3-4.1.0.pom
100Downloaded https://repo1.maven.org/maven2/com/softwaremill/sttp/client4/upickle_3/4.0.0-RC1/upickle_3-4.0.0-RC1.pom
101Downloaded https://repo1.maven.org/maven2/com/softwaremill/sttp/client4/core_3/4.0.0-RC1/core_3-4.0.0-RC1.pom
102Downloading https://repo1.maven.org/maven2/com/lihaoyi/upack_3/4.1.0/upack_3-4.1.0.pom
103Downloading https://repo1.maven.org/maven2/com/softwaremill/sttp/shared/core_3/1.4.2/core_3-1.4.2.pom
104Downloading https://repo1.maven.org/maven2/com/softwaremill/sttp/client4/json-common_3/4.0.0-RC1/json-common_3-4.0.0-RC1.pom
105Downloading https://repo1.maven.org/maven2/com/lihaoyi/ujson_3/4.1.0/ujson_3-4.1.0.pom
106Downloading https://repo1.maven.org/maven2/com/lihaoyi/geny_3/1.1.1/geny_3-1.1.1.pom
107Downloading https://repo1.maven.org/maven2/com/softwaremill/sttp/model/core_3/1.7.11/core_3-1.7.11.pom
108Downloaded https://repo1.maven.org/maven2/com/softwaremill/sttp/shared/core_3/1.4.2/core_3-1.4.2.pom
109Downloading https://repo1.maven.org/maven2/com/lihaoyi/upickle-implicits_3/4.1.0/upickle-implicits_3-4.1.0.pom
110Downloaded https://repo1.maven.org/maven2/com/softwaremill/sttp/client4/json-common_3/4.0.0-RC1/json-common_3-4.0.0-RC1.pom
111Downloading https://repo1.maven.org/maven2/com/softwaremill/sttp/shared/ws_3/1.4.2/ws_3-1.4.2.pom
112Downloaded https://repo1.maven.org/maven2/com/lihaoyi/upack_3/4.1.0/upack_3-4.1.0.pom
113Downloaded https://repo1.maven.org/maven2/com/softwaremill/sttp/model/core_3/1.7.11/core_3-1.7.11.pom
114Downloaded https://repo1.maven.org/maven2/com/lihaoyi/upickle-implicits_3/4.1.0/upickle-implicits_3-4.1.0.pom
115Downloaded https://repo1.maven.org/maven2/com/lihaoyi/geny_3/1.1.1/geny_3-1.1.1.pom
116Downloaded https://repo1.maven.org/maven2/com/lihaoyi/ujson_3/4.1.0/ujson_3-4.1.0.pom
117Downloaded https://repo1.maven.org/maven2/com/softwaremill/sttp/shared/ws_3/1.4.2/ws_3-1.4.2.pom
118Downloading https://repo1.maven.org/maven2/com/lihaoyi/upickle-core_3/4.1.0/upickle-core_3-4.1.0.pom
119Downloaded https://repo1.maven.org/maven2/com/lihaoyi/upickle-core_3/4.1.0/upickle-core_3-4.1.0.pom
120Downloading https://repo1.maven.org/maven2/com/lihaoyi/upack_3/4.1.0/upack_3-4.1.0.jar
121Downloading https://repo1.maven.org/maven2/com/softwaremill/sttp/client4/core_3/4.0.0-RC1/core_3-4.0.0-RC1.jar
122Downloading https://repo1.maven.org/maven2/com/lihaoyi/os-lib_3/0.11.3/os-lib_3-0.11.3.jar
123Downloading https://repo1.maven.org/maven2/org/scala-lang/toolkit_3/0.7.0/toolkit_3-0.7.0.jar
124Downloading https://repo1.maven.org/maven2/com/softwaremill/sttp/shared/core_3/1.4.2/core_3-1.4.2.jar
125Downloading https://repo1.maven.org/maven2/com/softwaremill/sttp/client4/json-common_3/4.0.0-RC1/json-common_3-4.0.0-RC1.jar
126Downloaded https://repo1.maven.org/maven2/com/softwaremill/sttp/shared/core_3/1.4.2/core_3-1.4.2.jar
127Downloading https://repo1.maven.org/maven2/com/softwaremill/sttp/model/core_3/1.7.11/core_3-1.7.11.jar
128Downloaded https://repo1.maven.org/maven2/com/lihaoyi/upack_3/4.1.0/upack_3-4.1.0.jar
129Downloading https://repo1.maven.org/maven2/com/lihaoyi/upickle-core_3/4.1.0/upickle-core_3-4.1.0.jar
130Downloaded https://repo1.maven.org/maven2/org/scala-lang/toolkit_3/0.7.0/toolkit_3-0.7.0.jar
131Downloading https://repo1.maven.org/maven2/com/softwaremill/sttp/shared/ws_3/1.4.2/ws_3-1.4.2.jar
132Downloaded https://repo1.maven.org/maven2/com/softwaremill/sttp/client4/json-common_3/4.0.0-RC1/json-common_3-4.0.0-RC1.jar
133Downloading https://repo1.maven.org/maven2/com/lihaoyi/upickle_3/4.1.0/upickle_3-4.1.0.jar
134Downloaded https://repo1.maven.org/maven2/com/lihaoyi/os-lib_3/0.11.3/os-lib_3-0.11.3.jar
135Downloading https://repo1.maven.org/maven2/com/lihaoyi/ujson_3/4.1.0/ujson_3-4.1.0.jar
136Downloaded https://repo1.maven.org/maven2/com/softwaremill/sttp/shared/ws_3/1.4.2/ws_3-1.4.2.jar
137Downloading https://repo1.maven.org/maven2/com/lihaoyi/upickle-implicits_3/4.1.0/upickle-implicits_3-4.1.0.jar
138Downloaded https://repo1.maven.org/maven2/com/softwaremill/sttp/client4/core_3/4.0.0-RC1/core_3-4.0.0-RC1.jar
139Downloading https://repo1.maven.org/maven2/com/softwaremill/sttp/client4/upickle_3/4.0.0-RC1/upickle_3-4.0.0-RC1.jar
140Downloaded https://repo1.maven.org/maven2/com/softwaremill/sttp/model/core_3/1.7.11/core_3-1.7.11.jar
141Downloaded https://repo1.maven.org/maven2/com/lihaoyi/upickle-core_3/4.1.0/upickle-core_3-4.1.0.jar
142Downloaded https://repo1.maven.org/maven2/com/lihaoyi/upickle_3/4.1.0/upickle_3-4.1.0.jar
143Downloaded https://repo1.maven.org/maven2/com/lihaoyi/ujson_3/4.1.0/ujson_3-4.1.0.jar
144Downloaded https://repo1.maven.org/maven2/com/softwaremill/sttp/client4/upickle_3/4.0.0-RC1/upickle_3-4.0.0-RC1.jar
145Downloaded https://repo1.maven.org/maven2/com/lihaoyi/upickle-implicits_3/4.1.0/upickle-implicits_3-4.1.0.jar
146Compiling project (Scala 3.7.3, JVM (17))
147Compiled project (Scala 3.7.3, JVM (17))
148Cloning into '/tmp/mill-moduledefs-16910003028219594105'...
149Note: switching to '0153779451414b2e6bcabcb37a62b646d94aff00'.
150
151You are in 'detached HEAD' state. You can look around, make experimental
152changes and commit them, and you can discard any commits you make in this
153state without impacting any branches by switching back to a branch.
154
155If you want to create a new branch to retain commits you create, you may
156do so (now or later) by using -c with the switch command. Example:
157
158 git switch -c <new-branch-name>
159
160Or undo this operation with:
161
162 git switch -
163
164Turn off this advice by setting config variable advice.detachedHead to false
165
166Exception in thread "main" java.nio.file.NoSuchFileException: /tmp/mill-moduledefs-16910003028219594105/build.sc
167 at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
168 at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
169 at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
170 at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:218)
171 at java.base/java.nio.file.Files.newByteChannel(Files.java:380)
172 at java.base/java.nio.file.Files.newByteChannel(Files.java:432)
173 at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:422)
174 at java.base/java.nio.file.Files.newInputStream(Files.java:160)
175 at os.Path.getInputStream(Path.scala:594)
176 at os.read$bytes$.apply(ReadWriteOps.scala:274)
177 at os.read$.apply(ReadWriteOps.scala:230)
178 at os.read$.apply(ReadWriteOps.scala:228)
179 at mill$_.<init>(mill:28)
180 at mill_sc$.script$lzyINIT1(mill:63)
181 at mill_sc$.script(mill:63)
182 at mill_sc$.main(mill:67)
183 at mill_sc.main(mill)