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