Build Logs

katrix/typed-json • 3.8.0-RC6:2026-01-08

Errors

0

Warnings

48

Total Lines

169

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.0-RC6
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.0-RC6
32Execute tests: true
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.0-RC6
45Targets: net.katsstuff%typed-json net.katsstuff%typed-json-codegen
46Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","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 0 59.2M 0 13672 0 0 43913 0 0:23:34 --:--:-- 0:23:34 43820
54 14 59.2M 14 8655k 0 0 6425k 0 0:00:09 0:00:01 0:00:08 6425k
55 22 59.2M 22 13.4M 0 0 6022k 0 0:00:10 0:00:02 0:00:08 6021k
56 63 59.2M 63 37.6M 0 0 10.8M 0 0:00:05 0:00:03 0:00:02 10.8M
57 93 59.2M 93 55.4M 0 0 12.7M 0 0:00:04 0:00:04 --:--:-- 12.7M
58100 59.2M 100 59.2M 0 0 12.9M 0 0:00:04 0:00:04 --:--:-- 13.9M
59Preparing Java 17.0.8 runtime; this may take a minute or two ...
60[info] compiling 4 Scala sources to /build/repo/out/mill-build/compile.dest/classes ...
61[warn] /build/repo/CommunityBuildCore.sc:135:22: object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
62[warn] .iterator()
63[warn] ^
64[warn] /build/repo/MillCommunityBuild.sc:291:12: The outer reference in this type test cannot be checked at run time.
65[warn] case module: CommunityBuildPublishModule =>
66[warn] ^
67[warn] two warnings found
68[info] done compiling
69Try build using ./mill
70[info] compiling 4 Scala sources to /build/repo/out/mill-build/compile.dest/classes ...
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] two warnings found
78[info] done compiling
79Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
80Parsed config: ProjectBuildConfig(ProjectsConfig(List(),Map()),Full)
81OpenCB::Use cross-version 3.8.0-RC6 instead of 3.3.1
82
83Starting build for typed-json - [0/2]
84No test module defined in typed-json[3.8.0-RC6].jvm
85OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
86OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
87Failed to resolve scalaVersion, assume it's Scala 3 project
88[info] compiling 8 Scala sources to /build/repo/out/typed-json/3.8.0-RC6/jvm/compile.dest/classes ...
89[warn] -- [E003] Syntax Warning: /build/repo/typed-json/src/main/scala/typedjson/JsonOpaqueCompanion.scala:37:26
90[warn] 37 | type OpaqueType <: Base with Tag
91[warn] | ^^^^
92[warn] |with as a type operator has been deprecated; use & instead
93[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
94[warn] |
95[warn] | longer explanation available when compiling with `-explain`
96[warn] -- Warning: /build/repo/typed-json/src/main/scala/typedjson/JsonOption.scala:47:100
97[warn] 47 | def removeUndefinedToObj(seq: (String, JsonOption[Json])*): Json = Json.obj(removeUndefined(seq): _*)
98[warn] | ^
99[warn] |The syntax `x: _*` is no longer supported for vararg splices; use `x*` instead
100[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
101[warn] -- Warning: /build/repo/typed-json/src/main/scala/typedjson/jsonObjectBase.scala:102:36
102[warn] 102 | val json = Json.obj(jsonFields: _*)
103[warn] | ^
104[warn] |The syntax `x: _*` is no longer supported for vararg splices; use `x*` instead
105[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
106[warn] three warnings found
107[info] done compiling
108Successfully evaluated typed-json[3.8.0-RC6].jvm.compile
109Option -classpath was updated
1101 warning found
111Successfully evaluated typed-json[3.8.0-RC6].jvm.docJar
112Module typed-json[3.8.0-RC6].jvm is not a publish module, skipping publishing
113
114Starting build for typed-json-codegen - [1/2]
115No test module defined in typed-json-codegen[3.8.0-RC6]
116Failed to resolve scalaVersion, assume it's Scala 3 project
117[info] compiling 6 Scala sources to /build/repo/out/typed-json-codegen/3.8.0-RC6/compile.dest/classes ...
118[warn] -- Warning: /build/repo/typed-json-codegen/src/main/scala/typedjson/codegen/AckCordCodeGen.scala:26:18
119[warn] 26 |package typedjson.codegen
120[warn] |^
121[warn] |No class, trait or object is defined in the compilation unit.
122[warn] |The incremental compiler cannot record the dependency information in such case.
123[warn] |Some errors like unused import referring to a non-existent class might not be reported.
124[warn] 27 |import io.circe.*
125[warn] -- Warning: /build/repo/typed-json-codegen/src/main/scala/typedjson/codegen/MainTesting.scala:26:18
126[warn] 26 |package typedjson.codegen
127[warn] |^
128[warn] |No class, trait or object is defined in the compilation unit.
129[warn] |The incremental compiler cannot record the dependency information in such case.
130[warn] |Some errors like unused import referring to a non-existent class might not be reported.
131[warn] 27 |import java.nio.file.{Files, Paths}
132[warn] 28 |import scala.jdk.StreamConverters.*
133[warn] two warnings found
134[info] done compiling
135Successfully evaluated typed-json-codegen[3.8.0-RC6].compile
136Option -classpath was updated
1371 warning found
138Successfully evaluated typed-json-codegen[3.8.0-RC6].docJar
139Module typed-json-codegen[3.8.0-RC6] is not a publish module, skipping publishing
140
141************************
142Build summary:
143[{
144 "module": "typed-json",
145 "compile": {"status": "ok", "tookMs": 27348, "warnings": 0, "errors": 0},
146 "doc": {"status": "ok", "tookMs": 6670, "files": 1, "totalSizeKb": 2741},
147 "test-compile": {"status": "skipped", "tookMs": 0, "warnings": 0, "errors": 0},
148 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
149 "publish": {"status": "skipped", "tookMs": 0},
150 "metadata": {
151 "crossScalaVersions": ["2.13.12", "3.3.1"]
152}
153},{
154 "module": "typed-json-codegen",
155 "compile": {"status": "ok", "tookMs": 14423, "warnings": 0, "errors": 0},
156 "doc": {"status": "ok", "tookMs": 5007, "files": 1, "totalSizeKb": 2870},
157 "test-compile": {"status": "skipped", "tookMs": 0, "warnings": 0, "errors": 0},
158 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
159 "publish": {"status": "skipped", "tookMs": 0},
160 "metadata": {
161 "crossScalaVersions": ["2.13.12", "3.3.1"]
162}
163}]
164************************"
165
166Checking patch build.sc...
167Checking patch .mill-version...
168Applied patch build.sc cleanly.
169Applied patch .mill-version cleanly.