Build Logs

com-lihaoyi/ammonite • 14270752029

Errors

2

Warnings

72

Total Lines

131

1##################################
2Clonning https://github.com/com-lihaoyi/ammonite.git into repo using revision 3.0.2
3##################################
4Note: switching to 'ea039b686c0bc88612c3ea43ef63a5e2802fefc3'.
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.6.4
23Scala binary version found: 3.6
24Implicitly using source version 3.6-migration
25Scala binary version found: 3.6
26Implicitly using source version 3.6-migration
27Would try to apply common scalacOption (best-effort, sbt/mill only):
28Append: ,-source:3.6-migration,-Wconf:msg=can be rewritten automatically under:s
29Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,
30----
31Starting build for 3.6.4
32Execute tests: false
33Mill project found:
34Found explicit mill version 0.12.0
35Detected mill version=0.12.0, binary version: 0.12
36No prepare script found for project com-lihaoyi/ammonite
37Apply scalafix rules to build.mill
38Failed to adapt build.mill, ignoring changes
39/build/repo/build.mill.scala:89:1: error: illegal start of definition `identifier`
40println("GITHUB REF " + sys.env.get("GITHUB_REF"))
41^^^^^^^
42##################################
43Scala version: 3.6.4
44Targets: com.lihaoyi%ammonite-terminal com.lihaoyi%ammonite-util
45Project projectConfig: { "projects": { "exclude": [], "overrides": {} }, "java": { "version": "17" }, "sbt": { "commands": [], "options": [] }, "mill": { "options": [] }, "tests": "compile-only", "migrationVersions": [], "sourcePatches": [] }
46##################################
47Try build using ./mill
48 % Total % Received % Xferd Average Speed Time Time Time Current
49 Dload Upload Total Spent Left Speed
50
51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
52 4 64.6M 4 3292k 0 0 12.3M 0 0:00:05 --:--:-- 0:00:05 12.2M
53100 64.6M 100 64.6M 0 0 95.9M 0 --:--:-- --:--:-- --:--:-- 95.9M
54Preparing Java 17.0.8 runtime; this may take a minute or two ...
55[build.mill] [info] compiling 6 Scala sources to /build/repo/out/mill-build/compile.dest/classes ...
56[build.mill] [warn] /build/repo/CommunityBuildCore.mill:232:36: Unicode escapes in raw interpolations are deprecated; use literal characters instead
57[build.mill] [warn] val AnsiColorPattern = raw"\u001B\[[;\d]*m"
58[build.mill] [warn] ^
59[build.mill] [warn] /build/repo/CommunityBuildCore.mill:131:22: object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
60[build.mill] [warn] .iterator()
61[build.mill] [warn] ^
62[build.mill] [warn] /build/repo/build.mill:41:62: Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method trim,
63[build.mill] [warn] or remove the empty argument list from its definition (Java-defined methods are exempt).
64[build.mill] [warn] In Scala 3, an unapplied method like this will be eta-expanded into a function. [quickfixable]
65[build.mill] [warn] val gitHead = os.proc("git", "rev-parse", "HEAD").call().out.trim
66[build.mill] [warn] ^
67[build.mill] [warn] /build/repo/build.mill:95:6: Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method trim,
68[build.mill] [warn] or remove the empty argument list from its definition (Java-defined methods are exempt).
69[build.mill] [warn] In Scala 3, an unapplied method like this will be eta-expanded into a function. [quickfixable]
70[build.mill] [warn] .trim
71[build.mill] [warn] ^
72[build.mill] [warn] /build/repo/build.mill:98:77: Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method trim,
73[build.mill] [warn] or remove the empty argument list from its definition (Java-defined methods are exempt).
74[build.mill] [warn] In Scala 3, an unapplied method like this will be eta-expanded into a function. [quickfixable]
75[build.mill] [warn] val gitHash = os.proc("git", "rev-parse", "--short", "HEAD").call().out.trim
76[build.mill] [warn] ^
77[build.mill] [warn] /build/repo/build.mill:35:67: Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method trim,
78[build.mill] [warn] or remove the empty argument list from its definition (Java-defined methods are exempt).
79[build.mill] [warn] In Scala 3, an unapplied method like this will be eta-expanded into a function. [quickfixable]
80[build.mill] [warn] os.proc("git", "describe", "--abbrev=0", "--tags").call().out.trim
81[build.mill] [warn] ^
82[build.mill] [warn] /build/repo/build.mill:49:8: Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method trim,
83[build.mill] [warn] or remove the empty argument list from its definition (Java-defined methods are exempt).
84[build.mill] [warn] In Scala 3, an unapplied method like this will be eta-expanded into a function. [quickfixable]
85[build.mill] [warn] .trim
86[build.mill] [warn] ^
87[build.mill] [warn] /build/repo/build.mill:555:34: reference to compileIvyDeps is ambiguous;
88[build.mill] [warn] it is both defined in the enclosing trait ReplModule and inherited in the enclosing object test as method compileIvyDeps (defined in trait JavaModule, inherited through parent trait AmmTests)
89[build.mill] [warn] In Scala 2, symbols inherited from a superclass shadow symbols defined in an outer scope.
90[build.mill] [warn] Such references are ambiguous in Scala 3. To continue using the inherited symbol, write `this.compileIvyDeps`.
91[build.mill] [warn] Or use `-Wconf:msg=legacy-binding:s` to silence this warning. [quickfixable]
92[build.mill] [warn] resolveDeps(T.task { compileIvyDeps().map(bindDependency()) ++ transitiveIvyDeps() })()
93[build.mill] [warn] ^
94[build.mill] [warn] /build/repo/build.mill:190:32: trait Tests in trait CrossSbtModule is deprecated (since Mill after 0.12.0-RC1): Use CrossTests instead
95[build.mill] [warn] trait AmmTests extends super.Tests with TestModule.Utest {
96[build.mill] [warn] ^
97[build.mill] [warn] /build/repo/build.mill:261:5: method resolveDeps in trait CoursierModule is deprecated (since Mill after 0.12.0-RC3): Use the override accepting artifactTypes
98[build.mill] [warn] resolveDeps(allBoundIvyDeps, sources = true)()
99[build.mill] [warn] ^
100[build.mill] [warn] /build/repo/build.mill:324:37: method resolveDependenciesMetadata in trait CoursierSupport is deprecated (since 0.12.0): Prefer resolveDependenciesMetadataSafe instead, which returns a Result instead of throwing exceptions
101[build.mill] [warn] val (_, res) = mill.modules.Jvm.resolveDependenciesMetadata(
102[build.mill] [warn] ^
103[build.mill] [warn] /build/repo/build.mill:324:33: value Jvm in package modules is deprecated (since Mill 0.11.0-M9): use mill.util.Jvm
104[build.mill] [warn] val (_, res) = mill.modules.Jvm.resolveDependenciesMetadata(
105[build.mill] [warn] ^
106[build.mill] [warn] /build/repo/build.mill:445:46: value Jvm in package modules is deprecated (since Mill 0.11.0-M9): use mill.util.Jvm
107[build.mill] [warn] mill.api.Result.Success(mill.modules.Jvm.createJar(Agg(javadocDir))(outDir))
108[build.mill] [warn] ^
109[build.mill] [warn] /build/repo/build.mill:567:11: method resolveDeps in trait CoursierModule is deprecated (since Mill after 0.12.0-RC3): Use the override accepting artifactTypes
110[build.mill] [warn] resolveDeps(T.task { ivyDeps().map(bindDependency()) }, sources = true)()).distinct
111[build.mill] [warn] ^
112[build.mill] [warn] /build/repo/build.mill:608:18: value Jvm in package modules is deprecated (since Mill 0.11.0-M9): use mill.util.Jvm
113[build.mill] [warn] mill.modules.Jvm.launcherUniversalScript(
114[build.mill] [warn] ^
115[build.mill] [warn] /build/repo/build.mill:699:28: object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
116[build.mill] [warn] for (e <- zip.entries().asScala) yield e.getName
117[build.mill] [warn] ^
118[build.mill] [warn] /build/repo/ci/upload.mill:23:32: Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method text,
119[build.mill] [warn] or remove the empty argument list from its definition (Java-defined methods are exempt).
120[build.mill] [warn] In Scala 3, an unapplied method like this will be eta-expanded into a function. [quickfixable]
121[build.mill] [warn] val parsed = ujson.read(body.text)
122[build.mill] [warn] ^
123[build.mill] [warn] /build/repo/ci/upload.mill:42:5: Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method text,
124[build.mill] [warn] or remove the empty argument list from its definition (Java-defined methods are exempt).
125[build.mill] [warn] In Scala 3, an unapplied method like this will be eta-expanded into a function. [quickfixable]
126[build.mill] [warn] ).text
127[build.mill] [warn] ^
128[build.mill] [warn] 18 warnings found
129[build.mill] [info] done compiling
130GITHUB REF None
131Cannot resolve runCommunityBuild. Try `mill resolve _` to see what's available.