Build Logs

potencia/formats • scheduled_3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY

Errors

0

Warnings

50

Total Lines

157

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.1-RC1-bin-20260109-97cdaf4-NIGHTLY
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.1-RC1-bin-20260109-97cdaf4-NIGHTLY"
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.1-RC1-bin-20260109-97cdaf4-NIGHTLY
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.1-RC1-bin-20260109-97cdaf4-NIGHTLY
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
61100 59.2M 100 59.2M 0 0 187M 0 --:--:-- --:--:-- --:--:-- 187M
62Preparing Java 17.0.8 runtime; this may take a minute or two ...
63[info] compiling 4 Scala sources to /build/repo/out/mill-build/compile.dest/classes ...
64[warn] /build/repo/build.sc:63:64: reference to scalaVersion is ambiguous;
65[warn] it is both defined in the enclosing trait FormatsModule and inherited in the enclosing object test as method scalaVersion (defined in trait ScalaTests)
66[warn] In Scala 2, symbols inherited from a superclass shadow symbols defined in an outer scope.
67[warn] Such references are ambiguous in Scala 3. To continue using the inherited symbol, write `this.scalaVersion`.
68[warn] Or use `-Wconf:msg=legacy-binding:s` to silence this warning. [quickfixable]
69[warn] def scalacOptions = super.scalacOptions().mapScalacOptions(scalaVersion)
70[warn] ^
71[warn] /build/repo/CommunityBuildCore.sc:135:22: object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
72[warn] .iterator()
73[warn] ^
74[warn] /build/repo/MillCommunityBuild.sc:291:12: The outer reference in this type test cannot be checked at run time.
75[warn] case module: CommunityBuildPublishModule =>
76[warn] ^
77[warn] three warnings found
78[info] done compiling
79Try build using ./mill
80[info] compiling 4 Scala sources to /build/repo/out/mill-build/compile.dest/classes ...
81[warn] /build/repo/build.sc:63:64: reference to scalaVersion is ambiguous;
82[warn] it is both defined in the enclosing trait FormatsModule and inherited in the enclosing object test as method scalaVersion (defined in trait ScalaTests)
83[warn] In Scala 2, symbols inherited from a superclass shadow symbols defined in an outer scope.
84[warn] Such references are ambiguous in Scala 3. To continue using the inherited symbol, write `this.scalaVersion`.
85[warn] Or use `-Wconf:msg=legacy-binding:s` to silence this warning. [quickfixable]
86[warn] def scalacOptions = super.scalacOptions().mapScalacOptions(scalaVersion)
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/MillCommunityBuild.sc:291:12: The outer reference in this type test cannot be checked at run time.
92[warn] case module: CommunityBuildPublishModule =>
93[warn] ^
94[warn] three warnings found
95[info] done compiling
96Build 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>\""}]}
97Parsed config: ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly)
98
99Starting build for formats - [0/1]
100Failed to resolve scalaVersion, assume it's Scala 3 project
101OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
102OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
103[info] compiling 4 Scala sources to /build/repo/out/formats/3/compile.dest/classes ...
104[warn] -- Warning: /build/repo/src/com/potenciasoftware/formats/FormatWithContext.scala:145:30
105[warn] 145 | .sorted(Ordering[Int].reverse)
106[warn] | ^^^^^^^^^^^^^^^^^^^^^
107[warn] |Implicit parameters should be provided with a `using` clause.
108[warn] |This code can be rewritten automatically under -rewrite -source 3.7-migration.
109[warn] |To disable the warning, please use the following option:
110[warn] | "-Wconf:msg=Implicit parameters should be provided with a `using` clause:s"
111[warn] -- Warning: /build/repo/src/com/potenciasoftware/formats/FormatWithContext.scala:172:33
112[warn] 172 | (collides, normal) = d collidesWith o
113[warn] | ^^^^^^^^^^^^
114[warn] |Alphanumeric method collidesWith is not declared infix; it should not be used as infix operator.
115[warn] |Instead, use method syntax .collidesWith(...) or backticked identifier `collidesWith`.
116[warn] |The latter can be rewritten automatically under -rewrite -source 3.4-migration.
117[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/src/com/potenciasoftware/formats/FormatWithContext.scala:54:30
118[warn] 54 | .zipWithIndex.flatMap { case (Seq(start, end), i) =>
119[warn] | ^
120[warn] |match may not be exhaustive.
121[warn] |
122[warn] |It would fail on pattern case: (Seq(_, _, _, _*), _), (Seq(_), _), (Seq(), _)
123[warn] |
124[warn] | longer explanation available when compiling with `-explain`
125[warn] three warnings found
126[info] done compiling
127Successfully evaluated formats[3].compile
128Skipping unused scalacOptions: -old-syntax, -no-indent
129Option -classpath was updated
1301 warning found
131Successfully evaluated formats[3].docJar
132Failed to resolve scalaVersion, assume it's Scala 3 project
133[info] compiling 3 Scala sources to /build/repo/out/formats/3/test/compile.dest/classes ...
134[info] done compiling
135Successfully evaluated formats[3].test.compile
136Publishing Artifact(com.potenciasoftware,formats_3,1.1.0) to ivy repo /root/.ivy2/local
137Successfully evaluated formats[3].publishLocal
138
139************************
140Build summary:
141[{
142 "module": "formats",
143 "compile": {"status": "ok", "tookMs": 13617, "warnings": 0, "errors": 0},
144 "doc": {"status": "ok", "tookMs": 6311, "files": 1, "totalSizeKb": 2666},
145 "test-compile": {"status": "ok", "tookMs": 6813, "warnings": 0, "errors": 0},
146 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
147 "publish": {"status": "ok", "tookMs": 331},
148 "metadata": {
149 "crossScalaVersions": []
150}
151}]
152************************"
153
154Checking patch build.sc...
155Checking patch .mill-version...
156Applied patch build.sc cleanly.
157Applied patch .mill-version cleanly.