Build Logs
potencia/formats • 3.8.0-RC1:2025-11-14
Errors
0
Warnings
56
Total Lines
164
1##################################
2Clonning https://github.com/potencia/formats.git into /build/repo using revision 1.1.0
3##################################
4Note: switching to '834d0128fd75e6da5969b63d892bd40d53914c95'.
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-RC1
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
31Try apply source patch:
32Path: build.sc
33Pattern: case "3"\s+=>\s+"3.\d+.\d+"
34Replacement: case "3" => "3.8.0-RC1"
35Starting compilation server
36Compiling project (Scala 3.7.3, JVM (17))
37Compiled project (Scala 3.7.3, JVM (17))
38Successfully applied pattern 'case "3"\s+=>\s+"3.\d+.\d+"' in build.sc
39----
40Starting build for 3.8.0-RC1
41Execute tests: false
42Mill project found:
43Found explicit mill version 0.11.6 in ./mill-version
44Force upgrade of millVersion 0.11.6 to 0.11.13
45Detected mill version=0.11.13, binary version: 0.11
46No prepare script found for project potencia/formats
47No mill build directory found
48Apply scalafix rules to ./build.sc
49Successfully applied pattern 'package build\n' in /build/repo/MillCommunityBuild.sc
50Successfully applied pattern 'import CommunityBuildCore.' in /build/repo/MillCommunityBuild.sc
51Successfully applied pattern 'import MillVersionCompat.' in /build/repo/MillCommunityBuild.sc
52##################################
53Scala version: 3.8.0-RC1
54Targets: com.potenciasoftware%formats
55Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"build.sc","pattern":"case \"3\"\\s+=>\\s+\"3.\\d+.\\d+\"","replaceWith":"case \"3\" => \"<SCALA_VERSION>\""}]}
56##################################
57 % Total % Received % Xferd Average Speed Time Time Time Current
58 Dload Upload Total Spent Left Speed
59
60 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
61 60 59.2M 60 36.0M 0 0 42.9M 0 0:00:01 --:--:-- 0:00:01 42.9M
62100 59.2M 100 59.2M 0 0 39.0M 0 0:00:01 0:00:01 --:--:-- 39.0M
63Preparing Java 17.0.8 runtime; this may take a minute or two ...
64[info] compiling 4 Scala sources to /build/repo/out/mill-build/compile.dest/classes ...
65[warn] /build/repo/CommunityBuildCore.sc:236:36: Unicode escapes in raw interpolations are deprecated; use literal characters instead
66[warn] val AnsiColorPattern = raw"\u001B\[[;\d]*m"
67[warn] ^
68[warn] /build/repo/CommunityBuildCore.sc:135:22: object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
69[warn] .iterator()
70[warn] ^
71[warn] /build/repo/build.sc:63:64: reference to scalaVersion is ambiguous;
72[warn] it is both defined in the enclosing trait FormatsModule and inherited in the enclosing object test as method scalaVersion (defined in trait ScalaTests)
73[warn] In Scala 2, symbols inherited from a superclass shadow symbols defined in an outer scope.
74[warn] Such references are ambiguous in Scala 3. To continue using the inherited symbol, write `this.scalaVersion`.
75[warn] Or use `-Wconf:msg=legacy-binding:s` to silence this warning. [quickfixable]
76[warn] def scalacOptions = super.scalacOptions().mapScalacOptions(scalaVersion)
77[warn] ^
78[warn] /build/repo/MillCommunityBuild.sc:291:12: The outer reference in this type test cannot be checked at run time.
79[warn] case module: CommunityBuildPublishModule =>
80[warn] ^
81[warn] four warnings found
82[info] done compiling
83Try build using ./mill
84[info] compiling 4 Scala sources to /build/repo/out/mill-build/compile.dest/classes ...
85[warn] /build/repo/CommunityBuildCore.sc:236:36: Unicode escapes in raw interpolations are deprecated; use literal characters instead
86[warn] val AnsiColorPattern = raw"\u001B\[[;\d]*m"
87[warn] ^
88[warn] /build/repo/CommunityBuildCore.sc:135:22: object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
89[warn] .iterator()
90[warn] ^
91[warn] /build/repo/build.sc:63:64: reference to scalaVersion is ambiguous;
92[warn] it is both defined in the enclosing trait FormatsModule and inherited in the enclosing object test as method scalaVersion (defined in trait ScalaTests)
93[warn] In Scala 2, symbols inherited from a superclass shadow symbols defined in an outer scope.
94[warn] Such references are ambiguous in Scala 3. To continue using the inherited symbol, write `this.scalaVersion`.
95[warn] Or use `-Wconf:msg=legacy-binding:s` to silence this warning. [quickfixable]
96[warn] def scalacOptions = super.scalacOptions().mapScalacOptions(scalaVersion)
97[warn] ^
98[warn] /build/repo/MillCommunityBuild.sc:291:12: The outer reference in this type test cannot be checked at run time.
99[warn] case module: CommunityBuildPublishModule =>
100[warn] ^
101[warn] four warnings found
102[info] done compiling
103Build config: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"build.sc","pattern":"case \"3\"\\s+=>\\s+\"3.\\d+.\\d+\"","replaceWith":"case \"3\" => \"<SCALA_VERSION>\""}]}
104Parsed config: ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly)
105
106Starting build for formats - [0/1]
107Failed to resolve scalaVersion, assume it's Scala 3 project
108OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
109OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
110[info] compiling 4 Scala sources to /build/repo/out/formats/3/compile.dest/classes ...
111[warn] -- Warning: /build/repo/src/com/potenciasoftware/formats/FormatWithContext.scala:145:30
112[warn] 145 | .sorted(Ordering[Int].reverse)
113[warn] | ^^^^^^^^^^^^^^^^^^^^^
114[warn] |Implicit parameters should be provided with a `using` clause.
115[warn] |This code can be rewritten automatically under -rewrite -source 3.7-migration.
116[warn] |To disable the warning, please use the following option:
117[warn] | "-Wconf:msg=Implicit parameters should be provided with a `using` clause:s"
118[warn] -- Warning: /build/repo/src/com/potenciasoftware/formats/FormatWithContext.scala:172:33
119[warn] 172 | (collides, normal) = d collidesWith o
120[warn] | ^^^^^^^^^^^^
121[warn] |Alphanumeric method collidesWith is not declared infix; it should not be used as infix operator.
122[warn] |Instead, use method syntax .collidesWith(...) or backticked identifier `collidesWith`.
123[warn] |The latter can be rewritten automatically under -rewrite -source 3.4-migration.
124[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/src/com/potenciasoftware/formats/FormatWithContext.scala:54:30
125[warn] 54 | .zipWithIndex.flatMap { case (Seq(start, end), i) =>
126[warn] | ^
127[warn] |match may not be exhaustive.
128[warn] |
129[warn] |It would fail on pattern case: (Seq(_, _, _, _*), _), (Seq(_), _), (Seq(), _)
130[warn] |
131[warn] | longer explanation available when compiling with `-explain`
132[warn] three warnings found
133[info] done compiling
134Successfully evaluated formats[3].compile
135Skipping unused scalacOptions: -old-syntax, -no-indent
136Option -classpath was updated
1371 warning found
138Successfully evaluated formats[3].docJar
139Failed to resolve scalaVersion, assume it's Scala 3 project
140[info] compiling 3 Scala sources to /build/repo/out/formats/3/test/compile.dest/classes ...
141[info] done compiling
142Successfully evaluated formats[3].test.compile
143Publishing Artifact(com.potenciasoftware,formats_3,1.1.0) to ivy repo /root/.ivy2/local
144Successfully evaluated formats[3].publishLocal
145
146************************
147Build summary:
148[{
149 "module": "formats",
150 "compile": {"status": "ok", "tookMs": 11521, "warnings": 0, "errors": 0},
151 "doc": {"status": "ok", "tookMs": 5031, "files": 1, "totalSizeKb": 2667},
152 "test-compile": {"status": "ok", "tookMs": 7751, "warnings": 0, "errors": 0},
153 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
154 "publish": {"status": "ok", "tookMs": 289},
155 "metadata": {
156 "crossScalaVersions": []
157}
158}]
159************************"
160
161Checking patch build.sc...
162Checking patch .mill-version...
163Applied patch build.sc cleanly.
164Applied patch .mill-version cleanly.