Build Logs
potencia/formats • 3.8.0-RC2:2025-11-28
Errors
0
Warnings
50
Total Lines
175
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-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
31Try apply source patch:
32Path: build.sc
33Pattern: case "3"\s+=>\s+"3.\d+.\d+"
34Replacement: case "3" => "3.8.0-RC2"
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-RC2
41Execute tests: true
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-RC2
54Targets: com.potenciasoftware%formats
55Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","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 15 59.2M 15 9515k 0 0 16.7M 0 0:00:03 --:--:-- 0:00:03 16.7M
62100 59.2M 100 59.2M 0 0 73.7M 0 --:--:-- --:--:-- --:--:-- 73.7M
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/build.sc:63:64: reference to scalaVersion is ambiguous;
66[warn] it is both defined in the enclosing trait FormatsModule and inherited in the enclosing object test as method scalaVersion (defined in trait ScalaTests)
67[warn] In Scala 2, symbols inherited from a superclass shadow symbols defined in an outer scope.
68[warn] Such references are ambiguous in Scala 3. To continue using the inherited symbol, write `this.scalaVersion`.
69[warn] Or use `-Wconf:msg=legacy-binding:s` to silence this warning. [quickfixable]
70[warn] def scalacOptions = super.scalacOptions().mapScalacOptions(scalaVersion)
71[warn] ^
72[warn] /build/repo/CommunityBuildCore.sc:135:22: object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
73[warn] .iterator()
74[warn] ^
75[warn] /build/repo/MillCommunityBuild.sc:291:12: The outer reference in this type test cannot be checked at run time.
76[warn] case module: CommunityBuildPublishModule =>
77[warn] ^
78[warn] three warnings found
79[info] done compiling
80Try build using ./mill
81[info] compiling 4 Scala sources to /build/repo/out/mill-build/compile.dest/classes ...
82[warn] /build/repo/build.sc:63:64: reference to scalaVersion is ambiguous;
83[warn] it is both defined in the enclosing trait FormatsModule and inherited in the enclosing object test as method scalaVersion (defined in trait ScalaTests)
84[warn] In Scala 2, symbols inherited from a superclass shadow symbols defined in an outer scope.
85[warn] Such references are ambiguous in Scala 3. To continue using the inherited symbol, write `this.scalaVersion`.
86[warn] Or use `-Wconf:msg=legacy-binding:s` to silence this warning. [quickfixable]
87[warn] def scalacOptions = super.scalacOptions().mapScalacOptions(scalaVersion)
88[warn] ^
89[warn] /build/repo/CommunityBuildCore.sc:135:22: object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
90[warn] .iterator()
91[warn] ^
92[warn] /build/repo/MillCommunityBuild.sc:291:12: The outer reference in this type test cannot be checked at run time.
93[warn] case module: CommunityBuildPublishModule =>
94[warn] ^
95[warn] three warnings found
96[info] done compiling
97Build config: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sc","pattern":"case \"3\"\\s+=>\\s+\"3.\\d+.\\d+\"","replaceWith":"case \"3\" => \"<SCALA_VERSION>\""}]}
98Parsed config: ProjectBuildConfig(ProjectsConfig(List(),Map()),Full)
99
100Starting build for formats - [0/1]
101Failed to resolve scalaVersion, assume it's Scala 3 project
102OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
103OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
104[info] compiling 4 Scala sources to /build/repo/out/formats/3/compile.dest/classes ...
105[warn] -- Warning: /build/repo/src/com/potenciasoftware/formats/FormatWithContext.scala:145:30
106[warn] 145 | .sorted(Ordering[Int].reverse)
107[warn] | ^^^^^^^^^^^^^^^^^^^^^
108[warn] |Implicit parameters should be provided with a `using` clause.
109[warn] |This code can be rewritten automatically under -rewrite -source 3.7-migration.
110[warn] |To disable the warning, please use the following option:
111[warn] | "-Wconf:msg=Implicit parameters should be provided with a `using` clause:s"
112[warn] -- Warning: /build/repo/src/com/potenciasoftware/formats/FormatWithContext.scala:172:33
113[warn] 172 | (collides, normal) = d collidesWith o
114[warn] | ^^^^^^^^^^^^
115[warn] |Alphanumeric method collidesWith is not declared infix; it should not be used as infix operator.
116[warn] |Instead, use method syntax .collidesWith(...) or backticked identifier `collidesWith`.
117[warn] |The latter can be rewritten automatically under -rewrite -source 3.4-migration.
118[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/src/com/potenciasoftware/formats/FormatWithContext.scala:54:30
119[warn] 54 | .zipWithIndex.flatMap { case (Seq(start, end), i) =>
120[warn] | ^
121[warn] |match may not be exhaustive.
122[warn] |
123[warn] |It would fail on pattern case: (Seq(_, _, _, _*), _), (Seq(_), _), (Seq(), _)
124[warn] |
125[warn] | longer explanation available when compiling with `-explain`
126[warn] three warnings found
127[info] done compiling
128Successfully evaluated formats[3].compile
129Skipping unused scalacOptions: -old-syntax, -no-indent
130Option -classpath was updated
1311 warning found
132Successfully evaluated formats[3].docJar
133Failed to resolve scalaVersion, assume it's Scala 3 project
134[info] compiling 3 Scala sources to /build/repo/out/formats/3/test/compile.dest/classes ...
135[info] done compiling
136Successfully evaluated formats[3].test.compile
137ParagraphFormatTest:
138ParagraphFormat
139- should break lines longer than maxColumn
140- should insert blank lines between paragraphs
141- should enable the implicit Iterable[String].asParagraphs
142FormatWithContextTest:
143FormatWithContext
144- should combine text with positional context notes
145- should enable the implicit String.withContext
146- should allow the space between points and groups to be configured
147- should work for troublesome combinations
148Run completed in 416 milliseconds.
149Total number of tests run: 7
150Suites: completed 2, aborted 0
151Tests: succeeded 7, failed 0, canceled 0, ignored 0, pending 0
152All tests passed.
153Successfully evaluated formats[3].test.test
154Publishing Artifact(com.potenciasoftware,formats_3,1.1.0) to ivy repo /root/.ivy2/local
155Successfully evaluated formats[3].publishLocal
156
157************************
158Build summary:
159[{
160 "module": "formats",
161 "compile": {"status": "ok", "tookMs": 11140, "warnings": 0, "errors": 0},
162 "doc": {"status": "ok", "tookMs": 5047, "files": 1, "totalSizeKb": 2667},
163 "test-compile": {"status": "ok", "tookMs": 8000, "warnings": 0, "errors": 0},
164 "test": {"status": "ok", "tookMs": 2528, "passed": 7, "failed": 0, "ignored": 0, "skipped": 0, "total": 7, "byFramework": []},
165 "publish": {"status": "ok", "tookMs": 275},
166 "metadata": {
167 "crossScalaVersions": []
168}
169}]
170************************"
171
172Checking patch build.sc...
173Checking patch .mill-version...
174Applied patch build.sc cleanly.
175Applied patch .mill-version cleanly.