Build Logs

katrix/typed-json • scheduled_3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY

Errors

0

Warnings

50

Total Lines

166

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