Build Logs

katrix/typed-json • 3.7.4:2025-11-06

Errors

0

Warnings

54

Total Lines

168

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.7.4
23Scala binary version found: 3.7
24Implicitly using source version 3.7
25Scala binary version found: 3.7
26Implicitly using source version 3.7
27Would try to apply common scalacOption (best-effort, sbt/mill only):
28Append: ,REQUIRE:-source:3.7
29Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
30----
31Starting build for 3.7.4
32Execute tests: false
33Mill project found:
34Found explicit mill version 0.11.4 in ./mill-version
35Detected mill version=0.11.4, binary version: 0.11
36No prepare script found for project katrix/typed-json
37No mill build directory found
38Apply scalafix rules to ./build.sc
39Successfully applied pattern 'package build\n' in /build/repo/MillCommunityBuild.sc
40Successfully applied pattern 'import CommunityBuildCore.' in /build/repo/MillCommunityBuild.sc
41Successfully applied pattern 'import MillVersionCompat.' in /build/repo/MillCommunityBuild.sc
42##################################
43Scala version: 3.7.4
44Targets: net.katsstuff%typed-json net.katsstuff%typed-json-codegen
45Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}
46##################################
47Downloading mill 0.11.4 from https://repo1.maven.org/maven2/com/lihaoyi/mill-dist/0.11.4/mill-dist-0.11.4.jar ...
48 % Total % Received % Xferd Average Speed Time Time Time Current
49 Dload Upload Total Spent Left Speed
50
51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
53 46 58.7M 46 27.3M 0 0 25.1M 0 0:00:02 0:00:01 0:00:01 25.1M
54100 58.7M 100 58.7M 0 0 31.9M 0 0:00:01 0:00:01 --:--:-- 31.9M
55[info] compiling 4 Scala sources to /build/repo/out/mill-build/compile.dest/classes ...
56[warn] /build/repo/CommunityBuildCore.sc:236:36: Unicode escapes in raw interpolations are deprecated. Use literal characters instead.
57[warn] val AnsiColorPattern = raw"\u001B\[[;\d]*m"
58[warn] ^
59[warn] /build/repo/CommunityBuildCore.sc:135:22: object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
60[warn] .iterator()
61[warn] ^
62[warn] /build/repo/MillCommunityBuild.sc:291:12: The outer reference in this type test cannot be checked at run time.
63[warn] case module: CommunityBuildPublishModule =>
64[warn] ^
65[warn] three warnings found
66[info] done compiling
67Try build using ./mill
68[info] compiling 4 Scala sources to /build/repo/out/mill-build/compile.dest/classes ...
69[warn] /build/repo/CommunityBuildCore.sc:236:36: Unicode escapes in raw interpolations are deprecated. Use literal characters instead.
70[warn] val AnsiColorPattern = raw"\u001B\[[;\d]*m"
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
80Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}
81Parsed config: ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly)
82OpenCB::Use cross-version 3.7.4 instead of 3.3.1
83
84Starting build for typed-json - [0/2]
85No test module defined in typed-json[3.7.4].jvm
86OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
87OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
88Failed to resolve scalaVersion, assume it's Scala 3 project
89[info] compiling 8 Scala sources to /build/repo/out/typed-json/3.7.4/jvm/compile.dest/classes ...
90[warn] -- [E003] Syntax Warning: /build/repo/typed-json/src/main/scala/typedjson/JsonOpaqueCompanion.scala:37:26
91[warn] 37 | type OpaqueType <: Base with Tag
92[warn] | ^^^^
93[warn] |with as a type operator has been deprecated; use & instead
94[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
95[warn] |
96[warn] | longer explanation available when compiling with `-explain`
97[warn] -- Warning: /build/repo/typed-json/src/main/scala/typedjson/JsonOption.scala:47:100
98[warn] 47 | def removeUndefinedToObj(seq: (String, JsonOption[Json])*): Json = Json.obj(removeUndefined(seq): _*)
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] -- Warning: /build/repo/typed-json/src/main/scala/typedjson/jsonObjectBase.scala:102:36
103[warn] 102 | val json = Json.obj(jsonFields: _*)
104[warn] | ^
105[warn] |The syntax `x: _*` is no longer supported for vararg splices; use `x*` instead
106[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
107[warn] three warnings found
108[info] done compiling
109Successfully evaluated typed-json[3.7.4].jvm.compile
110Flag -classpath set repeatedly
1111 warning found
112Successfully evaluated typed-json[3.7.4].jvm.docJar
113Module typed-json[3.7.4].jvm is not a publish module, skipping publishing
114
115Starting build for typed-json-codegen - [1/2]
116No test module defined in typed-json-codegen[3.7.4]
117Failed to resolve scalaVersion, assume it's Scala 3 project
118[info] compiling 6 Scala sources to /build/repo/out/typed-json-codegen/3.7.4/compile.dest/classes ...
119[warn] -- Warning: /build/repo/typed-json-codegen/src/main/scala/typedjson/codegen/AckCordCodeGen.scala:26:18
120[warn] 26 |package typedjson.codegen
121[warn] |^
122[warn] |No class, trait or object is defined in the compilation unit.
123[warn] |The incremental compiler cannot record the dependency information in such case.
124[warn] |Some errors like unused import referring to a non-existent class might not be reported.
125[warn] 27 |import io.circe.*
126[warn] -- Warning: /build/repo/typed-json-codegen/src/main/scala/typedjson/codegen/MainTesting.scala:26:18
127[warn] 26 |package typedjson.codegen
128[warn] |^
129[warn] |No class, trait or object is defined in the compilation unit.
130[warn] |The incremental compiler cannot record the dependency information in such case.
131[warn] |Some errors like unused import referring to a non-existent class might not be reported.
132[warn] 27 |import java.nio.file.{Files, Paths}
133[warn] 28 |import scala.jdk.StreamConverters.*
134[warn] two warnings found
135[info] done compiling
136Successfully evaluated typed-json-codegen[3.7.4].compile
137Flag -classpath set repeatedly
1381 warning found
139Successfully evaluated typed-json-codegen[3.7.4].docJar
140Module typed-json-codegen[3.7.4] is not a publish module, skipping publishing
141
142************************
143Build summary:
144[{
145 "module": "typed-json",
146 "compile": {"status": "ok", "tookMs": 8366, "warnings": 0, "errors": 0},
147 "doc": {"status": "ok", "tookMs": 4698, "files": 1, "totalSizeKb": 2743},
148 "test-compile": {"status": "skipped", "tookMs": 0, "warnings": 0, "errors": 0},
149 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
150 "publish": {"status": "skipped", "tookMs": 0},
151 "metadata": {
152 "crossScalaVersions": ["2.13.12", "3.3.1"]
153}
154},{
155 "module": "typed-json-codegen",
156 "compile": {"status": "ok", "tookMs": 10069, "warnings": 0, "errors": 0},
157 "doc": {"status": "ok", "tookMs": 4820, "files": 1, "totalSizeKb": 2868},
158 "test-compile": {"status": "skipped", "tookMs": 0, "warnings": 0, "errors": 0},
159 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
160 "publish": {"status": "skipped", "tookMs": 0},
161 "metadata": {
162 "crossScalaVersions": ["2.13.12", "3.3.1"]
163}
164}]
165************************"
166
167Checking patch build.sc...
168Applied patch build.sc cleanly.