Build Logs

katrix/typed-json • scheduled_3.8.1-RC1-bin-20251226-6e12d35-NIGHTLY

Errors

0

Warnings

50

Total Lines

167

1##################################
2Clonning https://github.com/katrix/typed-json.git into /build/repo using revision v0.1.0
3##################################
4Note: switching to '73ebd56c4009376294d074a1b83a48048621aaab'.
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-20251226-6e12d35-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----
31Starting build for 3.8.1-RC1-bin-20251226-6e12d35-NIGHTLY
32Execute tests: false
33Mill project found:
34Found explicit mill version 0.11.4 in ./mill-version
35Force upgrade of millVersion 0.11.4 to 0.11.13
36Detected mill version=0.11.13, binary version: 0.11
37No prepare script found for project katrix/typed-json
38No mill build directory found
39Apply scalafix rules to ./build.sc
40Successfully applied pattern 'package build\n' in /build/repo/MillCommunityBuild.sc
41Successfully applied pattern 'import CommunityBuildCore.' in /build/repo/MillCommunityBuild.sc
42Successfully applied pattern 'import MillVersionCompat.' in /build/repo/MillCommunityBuild.sc
43##################################
44Scala version: 3.8.1-RC1-bin-20251226-6e12d35-NIGHTLY
45Targets: net.katsstuff%typed-json net.katsstuff%typed-json-codegen
46Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}
47##################################
48Downloading mill 0.11.13 from https://repo1.maven.org/maven2/com/lihaoyi/mill-dist/0.11.13/mill-dist-0.11.13.jar ...
49 % Total % Received % Xferd Average Speed Time Time Time Current
50 Dload Upload Total Spent Left Speed
51
52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
53 80 59.2M 80 47.4M 0 0 128M 0 --:--:-- --:--:-- --:--:-- 128M
54100 59.2M 100 59.2M 0 0 138M 0 --:--:-- --:--:-- --:--:-- 138M
55Preparing Java 17.0.8 runtime; this may take a minute or two ...
56[info] compiling 4 Scala sources to /build/repo/out/mill-build/compile.dest/classes ...
57[warn] /build/repo/CommunityBuildCore.sc:135:22: object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
58[warn] .iterator()
59[warn] ^
60[warn] /build/repo/MillCommunityBuild.sc:291:12: The outer reference in this type test cannot be checked at run time.
61[warn] case module: CommunityBuildPublishModule =>
62[warn] ^
63[warn] two warnings found
64[info] done compiling
65Try build using ./mill
66[info] compiling 4 Scala sources to /build/repo/out/mill-build/compile.dest/classes ...
67[warn] /build/repo/CommunityBuildCore.sc:135:22: object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
68[warn] .iterator()
69[warn] ^
70[warn] /build/repo/MillCommunityBuild.sc:291:12: The outer reference in this type test cannot be checked at run time.
71[warn] case module: CommunityBuildPublishModule =>
72[warn] ^
73[warn] two warnings found
74[info] done compiling
75Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}
76Parsed config: ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly)
77OpenCB::Use cross-version 3.8.1-RC1-bin-20251226-6e12d35-NIGHTLY instead of 3.3.1
78
79Starting build for typed-json - [0/2]
80No test module defined in typed-json[3.8.1-RC1-bin-20251226-6e12d35-NIGHTLY].jvm
81OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
82OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
83Failed to resolve scalaVersion, assume it's Scala 3 project
84[info] compiling 8 Scala sources to /build/repo/out/typed-json/3.8.1-RC1-bin-20251226-6e12d35-NIGHTLY/jvm/compile.dest/classes ...
85[warn] -- [E003] Syntax Warning: /build/repo/typed-json/src/main/scala/typedjson/JsonOpaqueCompanion.scala:37:26
86[warn] 37 | type OpaqueType <: Base with Tag
87[warn] | ^^^^
88[warn] |with as a type operator has been deprecated; use & instead
89[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
90[warn] |
91[warn] | longer explanation available when compiling with `-explain`
92[warn] -- Warning: /build/repo/typed-json/src/main/scala/typedjson/JsonOption.scala:47:100
93[warn] 47 | def removeUndefinedToObj(seq: (String, JsonOption[Json])*): Json = Json.obj(removeUndefined(seq): _*)
94[warn] | ^
95[warn] |The syntax `x: _*` is no longer supported for vararg splices; use `x*` instead
96[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
97[warn] -- Warning: /build/repo/typed-json/src/main/scala/typedjson/jsonObjectBase.scala:102:36
98[warn] 102 | val json = Json.obj(jsonFields: _*)
99[warn] | ^
100[warn] |The syntax `x: _*` is no longer supported for vararg splices; use `x*` instead
101[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
102[warn] three warnings found
103[info] done compiling
104Successfully evaluated typed-json[3.8.1-RC1-bin-20251226-6e12d35-NIGHTLY].jvm.compile
105Option -classpath was updated
1061 warning found
107Successfully evaluated typed-json[3.8.1-RC1-bin-20251226-6e12d35-NIGHTLY].jvm.docJar
108Module typed-json[3.8.1-RC1-bin-20251226-6e12d35-NIGHTLY].jvm is not a publish module, skipping publishing
109
110Starting build for typed-json-codegen - [1/2]
111No test module defined in typed-json-codegen[3.8.1-RC1-bin-20251226-6e12d35-NIGHTLY]
112Failed to resolve scalaVersion, assume it's Scala 3 project
113[info] compiling 6 Scala sources to /build/repo/out/typed-json-codegen/3.8.1-RC1-bin-20251226-6e12d35-NIGHTLY/compile.dest/classes ...
114[warn] -- Warning: /build/repo/typed-json-codegen/src/main/scala/typedjson/codegen/AckCordCodeGen.scala:26:18
115[warn] 26 |package typedjson.codegen
116[warn] |^
117[warn] |No class, trait or object is defined in the compilation unit.
118[warn] |The incremental compiler cannot record the dependency information in such case.
119[warn] |Some errors like unused import referring to a non-existent class might not be reported.
120[warn] |
121[warn] 27 |import io.circe.*
122[warn] -- Warning: /build/repo/typed-json-codegen/src/main/scala/typedjson/codegen/MainTesting.scala:26:18
123[warn] 26 |package typedjson.codegen
124[warn] |^
125[warn] |No class, trait or object is defined in the compilation unit.
126[warn] |The incremental compiler cannot record the dependency information in such case.
127[warn] |Some errors like unused import referring to a non-existent class might not be reported.
128[warn] |
129[warn] 27 |import java.nio.file.{Files, Paths}
130[warn] 28 |import scala.jdk.StreamConverters.*
131[warn] two warnings found
132[info] done compiling
133Successfully evaluated typed-json-codegen[3.8.1-RC1-bin-20251226-6e12d35-NIGHTLY].compile
134Option -classpath was updated
1351 warning found
136Successfully evaluated typed-json-codegen[3.8.1-RC1-bin-20251226-6e12d35-NIGHTLY].docJar
137Module typed-json-codegen[3.8.1-RC1-bin-20251226-6e12d35-NIGHTLY] is not a publish module, skipping publishing
138
139************************
140Build summary:
141[{
142 "module": "typed-json",
143 "compile": {"status": "ok", "tookMs": 16352, "warnings": 0, "errors": 0},
144 "doc": {"status": "ok", "tookMs": 7577, "files": 1, "totalSizeKb": 2741},
145 "test-compile": {"status": "skipped", "tookMs": 0, "warnings": 0, "errors": 0},
146 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
147 "publish": {"status": "skipped", "tookMs": 0},
148 "metadata": {
149 "crossScalaVersions": ["2.13.12", "3.3.1"]
150}
151},{
152 "module": "typed-json-codegen",
153 "compile": {"status": "ok", "tookMs": 10087, "warnings": 0, "errors": 0},
154 "doc": {"status": "ok", "tookMs": 5152, "files": 1, "totalSizeKb": 2870},
155 "test-compile": {"status": "skipped", "tookMs": 0, "warnings": 0, "errors": 0},
156 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
157 "publish": {"status": "skipped", "tookMs": 0},
158 "metadata": {
159 "crossScalaVersions": ["2.13.12", "3.3.1"]
160}
161}]
162************************"
163
164Checking patch build.sc...
165Checking patch .mill-version...
166Applied patch build.sc cleanly.
167Applied patch .mill-version cleanly.