Build Logs
mrumkovskis/wabase • 12546849525
Errors
240
Warnings
462
Total Lines
825
1##################################
2Clonning https://github.com/mrumkovskis/wabase.git into repo using revision v7.0.0
3##################################
4Note: switching to '5019d18762d5ea63a5b775fd5b023654b8127153'.
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.6.3-RC1-20241230-376fc17-SNAPSHOT
23Scala binary version found: 3.6
24Implicitly using source version 3.6-migration
25Scala binary version found: 3.6
26Implicitly using source version 3.6-migration
27Would try to apply common scalacOption (best-effort, sbt/mill only):
28Append: ,-source:3.6-migration,-Wconf:msg=can be rewritten automatically under:s
29Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,
30----
31Starting build for 3.6.3-RC1-20241230-376fc17-SNAPSHOT
32Execute tests: false
33sbt project found:
34No prepare script found for project mrumkovskis/wabase
35##################################
36Scala version: 3.6.3-RC1-20241230-376fc17-SNAPSHOT
37Targets: org.wabase%wabase
38Project projectConfig: { "tests": "compile-only" }
39##################################
40Using extra scalacOptions: ,-source:3.6-migration,-Wconf:msg=can be rewritten automatically under:s
41Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,
42[sbt_options] declare -a sbt_options=()
43[process_args] java_version = '11'
44[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_11_0_20/rt.jar'
45# Executing command line:
46java
47-Dfile.encoding=UTF-8
48-Dcommunitybuild.scala=3.6.3-RC1-20241230-376fc17-SNAPSHOT
49-Dcommunitybuild.project.dependencies.add=
50-Xmx7G
51-Xms4G
52-Xss8M
53-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
54-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_11_0_20
55-jar
56/root/.sdkman/candidates/sbt/1.9.6/bin/sbt-launch.jar
57"setCrossScalaVersions 3.6.3-RC1-20241230-376fc17-SNAPSHOT"
58"++3.6.3-RC1-20241230-376fc17-SNAPSHOT -v"
59"mapScalacOptions ",-source:3.6-migration,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,""
60"set every credentials := Nil"
61
62moduleMappings
63"runBuild 3.6.3-RC1-20241230-376fc17-SNAPSHOT """{
64 "tests": "compile-only"
65}""" org.wabase%wabase"
66
67[info] [launcher] getting org.scala-sbt sbt 1.10.7 (this may take some time)...
68[info] [launcher] getting Scala 2.12.20 (for sbt)...
69[info] welcome to sbt 1.10.7 (Eclipse Adoptium Java 11.0.20)
70[info] loading settings for project repo-build from plugins.sbt...
71[info] loading project definition from /build/repo/project
72[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
73[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
74[info] Compilation completed in 8.378s.
75[info] done compiling
76[info] loading settings for project wabase from build.sbt, version.sbt...
77[info] set current project to wabase (in build file:/build/repo/)
78Execute setCrossScalaVersions: 3.6.3-RC1-20241230-376fc17-SNAPSHOT
79OpenCB::Changing crossVersion 3.3.4 -> 3.6.3-RC1-20241230-376fc17-SNAPSHOT in wabase/crossScalaVersions
80[info] set current project to wabase (in build file:/build/repo/)
81[info] Setting Scala version to 3.6.3-RC1-20241230-376fc17-SNAPSHOT on 1 projects.
82[info] Switching Scala version on:
83[info] * wabase (3.6.3-RC1-20241230-376fc17-SNAPSHOT, 2.13.15, 2.12.20)
84[info] Excluding projects:
85[info] Reapplying settings...
86[info] set current project to wabase (in build file:/build/repo/)
87Execute mapScalacOptions: ,-source:3.6-migration,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,
88[info] Reapplying settings...
89[info] set current project to wabase (in build file:/build/repo/)
90[info] Defining Global / credentials
91[info] The new value will be used by allCredentials, ivySbt and 1 others.
92[info] Run `last` for details.
93[info] Reapplying settings...
94[info] set current project to wabase (in build file:/build/repo/)
95[success] Total time: 0 s, completed Dec 30, 2024, 3:40:30 PM
96Build config: {
97 "tests": "compile-only"
98}
99Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
100Starting build...
101Projects: Set(wabase)
102Starting build for ProjectRef(file:/build/repo/,wabase) (wabase)...
103OpenCB::Exclude Scala3 specific scalacOption `-source:3.6-migration` in Scala 2.12.20 module Global
104OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
105OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
106OpenCB::Would not apply setting `-source:3.6-migration`: Project has predefined source version: Some(-source:3.6-migration)
107Compile scalacOptions: List(-unchecked, -source:3.6-migration, -Wconf:msg=can be rewritten automatically under:s)
108[info] compiling 50 Scala sources to /build/repo/target/scala-3.6.3-RC1-20241230-376fc17-SNAPSHOT/classes ...
109[error] -- Error: /build/repo/src/main/scala/AppBase.scala:221:18 ----------------------
110[error] 221 | qe.list[Dto](params, 0, 2)(
111[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
112[error] |Context bounds will map to context parameters.
113[error] |A `using` clause is needed to pass explicit arguments to them.
114[error] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
115[error] -- Error: /build/repo/src/main/scala/AppBase.scala:260:36 ----------------------
116[error] 260 | ctx.copy(count = qe.countAll(params)(
117[error] | ^^^^^^^^^^^^^^^^^^^
118[error] |Context bounds will map to context parameters.
119[error] |A `using` clause is needed to pass explicit arguments to them.
120[error] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
121[error] -- Error: /build/repo/src/main/scala/AppBase.scala:297:30 ----------------------
122[error] 297 | try qe.result[Dto](
123[error] | ^
124[error] |Context bounds will map to context parameters.
125[error] |A `using` clause is needed to pass explicit arguments to them.
126[error] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
127[error] 298 | params,
128[error] 299 | offset,
129[error] 300 | limit,
130[error] 301 | stableOrderBy(viewDef, orderBy),
131[error] 302 | )(
132[error] -- [E050] Type Error: /build/repo/src/main/scala/AppBase.scala:555:19 ----------
133[error] 555 | val instance = qio.fill[Dto](obj)(Manifest.classType(viewNameToClassMap(viewName)))
134[error] | ^^^^^^^^^^^^^^^^^^
135[error] | method fill in class AppQuereaseIo does not take more parameters
136[error] |
137[error] | longer explanation available when compiling with `-explain`
138[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:524:69 ----------------
139[warn] 524 | tresqlExtractor = dbKeys => tresql => dbKeys ++ tresql.dbs.map(DbAccessKey),
140[warn] | ^^^^^^^^^^^
141[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.DbAccessKey.apply` explicitly.
142[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:692:75 ----------------
143[warn] 692 | Action.Db(pa, action == Action.DbUseKey, db_keys.map(DbAccessKey))
144[warn] | ^^^^^^^^^^^
145[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.DbAccessKey.apply` explicitly.
146[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:764:38 ----------------
147[warn] 764 | rep1sep(varsTransform, "+") ^^ (VariableTransforms) named "var-transforms"
148[warn] | ^^^^^^^^^^^^^^^^^^
149[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.Action.VariableTransforms.apply` explicitly.
150[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:889:25 ----------------
151[warn] 889 | db.map(AppMetadata.DbAccessKey).toList)
152[warn] | ^^^^^^^^^^^^^^^^^^^^^^^
153[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.DbAccessKey.apply` explicitly.
154[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:937:77 ----------------
155[warn] 937 | def viewType: Parser[ResType] = opt("`") ~> ViewNameRegex <~ opt("`") ^^ ViewType
156[warn] | ^^^^^^^^
157[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `ViewType.apply` explicitly.
158[error] -- [E172] Type Error: /build/repo/src/main/scala/AppQuerease.scala:810:54 ------
159[error] 810 | qio.fill(invocationData.toJson.asJsObject)(mf) // specify manifest explicitly so it is not Nothing
160[error] | ^
161[error] | No Manifest available for B.
162[error] |
163[error] | where: B is a type variable with constraint <: org.wabase.Dto
164[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:393:56 ----------------
165[warn] 393 | val poolName = jdo.flatMap(j => Option(j.db)).map(PoolName) getOrElse PoolName(defaultCpName)
166[warn] | ^^^^^^^^
167[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.PoolName.apply` explicitly.
168[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:398:56 ----------------
169[warn] 398 | val poolName = vdo.flatMap(v => Option(v.db)).map(PoolName) getOrElse PoolName(defaultCpName)
170[warn] | ^^^^^^^^
171[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.PoolName.apply` explicitly.
172[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:515:77 ----------------
173[warn] 515 | case RemoveVar(name) => Future.successful(stepData - name.get) map MapResult
174[warn] | ^^^^^^^^^
175[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.MapResult.apply` explicitly.
176[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:528:30 ----------------
177[warn] 528 | case Nil => curData map MapResult
178[warn] | ^^^^^^^^^
179[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.MapResult.apply` explicitly.
180[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:558:17 ----------------
181[warn] 558 | .map(MapResult)
182[warn] | ^^^^^^^^^
183[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.MapResult.apply` explicitly.
184[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:681:21 ----------------
185[warn] 681 | .map(TresqlSingleRowResult) getOrElse notFound
186[warn] | ^^^^^^^^^^^^^^^^^^^^^
187[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.TresqlSingleRowResult.apply` explicitly.
188[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:894:39 ----------------
189[warn] 894 | if (op.opt) r.uniqueOption map TresqlSingleRowResult getOrElse notFound
190[warn] | ^^^^^^^^^^^^^^^^^^^^^
191[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.TresqlSingleRowResult.apply` explicitly.
192[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:1066:10 ---------------
193[warn] 1066 | }.map(FileInfoResult)
194[warn] | ^^^^^^^^^^^^^^
195[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.FileInfoResult.apply` explicitly.
196[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:1225:11 ---------------
197[warn] 1225 | .map(HttpResult)
198[warn] | ^^^^^^^^^^
199[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.HttpResult.apply` explicitly.
200[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:474:2 --------------
201[warn] 474 | val fileStreamer: AppFileStreamer[User] = initFileStreamer
202[warn] | ^
203[warn] | Line is indented too far to the left, or a `}` is missing
204[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:478:2 --------------
205[warn] 478 | protected def initFileStreamer: AppFileStreamer[User]
206[warn] | ^
207[warn] | Line is indented too far to the left, or a `}` is missing
208[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:479:2 --------------
209[warn] 479 | def uploadPath: Directive1[Option[String]] =
210[warn] | ^
211[warn] | Line is indented too far to the left, or a `}` is missing
212[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:482:2 --------------
213[warn] 482 | def uploadMultiplePath = path("upload-multiple")
214[warn] | ^
215[warn] | Line is indented too far to the left, or a `}` is missing
216[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:483:2 --------------
217[warn] 483 | def downloadPath = path("download" / LongNumber / Segment) & get
218[warn] | ^
219[warn] | Line is indented too far to the left, or a `}` is missing
220[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:484:2 --------------
221[warn] 484 | def uploadSizeLimit = config.getBytes("app.upload.size-limit").toLong
222[warn] | ^
223[warn] | Line is indented too far to the left, or a `}` is missing
224[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:487:2 --------------
225[warn] 487 | private implicit val qe: AppQuerease = DefaultAppQuerease
226[warn] | ^
227[warn] | Line is indented too far to the left, or a `}` is missing
228[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:488:2 --------------
229[warn] 488 | import AppFileStreamer._
230[warn] | ^
231[warn] | Line is indented too far to the left, or a `}` is missing
232[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:489:2 --------------
233[warn] 489 | def validateFileName(fileName: String) = {}
234[warn] | ^
235[warn] | Line is indented too far to the left, or a `}` is missing
236[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:491:2 --------------
237[warn] 491 | def extractFileDirective(filenameOpt: Option[String])(implicit user: User, state: ApplicationState): Directive[(Source[ByteString, Any], String, String)] =
238[warn] | ^
239[warn] | Line is indented too far to the left, or a `}` is missing
240[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:515:2 --------------
241[warn] 515 | def uploadFileDirective(bytes: Source[ByteString, Any],
242[warn] | ^
243[warn] | Line is indented too far to the left, or a `}` is missing
244[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:532:2 --------------
245[warn] 532 | implicit class DirectiveChain1[A](directive: Directive[(A)]) {
246[warn] | ^
247[warn] | Line is indented too far to the left, or a `}` is missing
248[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:537:2 --------------
249[warn] 537 | implicit class DirectiveChain2[A, B](directive: Directive[(A, B)]) {
250[warn] | ^
251[warn] | Line is indented too far to the left, or a `}` is missing
252[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:542:2 --------------
253[warn] 542 | implicit class DirectiveChain3[A, B, C](directive: Directive[(A, B, C)]) {
254[warn] | ^
255[warn] | Line is indented too far to the left, or a `}` is missing
256[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:547:2 --------------
257[warn] 547 | def uploadAction(filenameOpt: Option[String])(implicit
258[warn] | ^
259[warn] | Line is indented too far to the left, or a `}` is missing
260[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:555:2 --------------
261[warn] 555 | def uploadMultipleAction(implicit
262[warn] | ^
263[warn] | Line is indented too far to the left, or a `}` is missing
264[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:567:2 --------------
265[warn] 567 | def uploadMultiple(implicit
266[warn] | ^
267[warn] | Line is indented too far to the left, or a `}` is missing
268[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:579:2 --------------
269[warn] 579 | def uploadMultipleAsSource(implicit
270[warn] | ^
271[warn] | Line is indented too far to the left, or a `}` is missing
272[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:621:2 --------------
273[warn] 621 | def downloadAction(fileInfoHelperOpt: Option[FileInfoHelper])(implicit user: User, state: ApplicationState): Route = {
274[warn] | ^
275[warn] | Line is indented too far to the left, or a `}` is missing
276[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:642:2 --------------
277[warn] 642 | def downloadAction(id: Long, sha256: String)(implicit user: User, state: ApplicationState): Route =
278[warn] | ^
279[warn] | Line is indented too far to the left, or a `}` is missing
280[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:752:73 -------------
281[warn] 752 | implicit val f02: RootJsonFormat[ValidationResult] = jsonFormat2(ValidationResult)
282[warn] | ^^^^^^^^^^^^^^^^
283[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.mojoz.querease.ValidationResult.apply` explicitly.
284[warn] -- Warning: /build/repo/src/main/scala/Audit.scala:122:2 -----------------------
285[warn] 122 | def logView(id: jLong, view: String, user: User, inParams: Map[String, Any], state: Map[String, Any], data: Map[String, Any]): Unit = {
286[warn] | ^
287[warn] | Line is indented too far to the left, or a `}` is missing
288[warn] -- Warning: /build/repo/src/main/scala/DeferredControl.scala:229:37 ------------
289[warn] 229 | timeout.filter(_ <= limit).map(QueryTimeout).getOrElse {
290[warn] | ^^^^^^^^^^^^
291[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.QueryTimeout.apply` explicitly.
292[error] -- Error: /build/repo/src/main/scala/ResultEncoder.scala:68:67 -----------------
293[error] 68 | case v: Map[Any@unchecked, Any@unchecked] => w.writeMap(v)(borerEncoder, borerEncoder)
294[error] | ^^^^^^^^^^^^^
295[error] |Context bounds will map to context parameters.
296[error] |A `using` clause is needed to pass explicit arguments to them.
297[error] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
298[error] -- Error: /build/repo/src/main/scala/ResultEncoder.scala:70:24 -----------------
299[error] 70 | w.writeMap(v.asScala.toMap)(borerEncoder, borerEncoder)
300[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
301[error] |Context bounds will map to context parameters.
302[error] |A `using` clause is needed to pass explicit arguments to them.
303[error] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
304[error] -- Error: /build/repo/src/main/scala/ResultEncoder.scala:71:62 -----------------
305[error] 71 | case v: Iterable[Any@unchecked] => w.writeIterator(v.iterator)(borerEncoder)
306[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
307[error] |Context bounds will map to context parameters.
308[error] |A `using` clause is needed to pass explicit arguments to them.
309[error] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
310[error] -- Error: /build/repo/src/main/scala/ResultEncoder.scala:72:62 -----------------
311[error] 72 | case v: Iterator[Any@unchecked] => w.writeIterator(v)(borerEncoder)
312[error] | ^^^^^^^^^^^^^^^^^^
313[error] |Context bounds will map to context parameters.
314[error] |A `using` clause is needed to pass explicit arguments to them.
315[error] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
316[error] -- Error: /build/repo/src/main/scala/ResultEncoder.scala:73:72 -----------------
317[error] 73 | case v: java.lang.Iterable[Any@unchecked] => w.writeIterator(v.iterator.asScala)(borerEncoder)
318[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
319[error] |Context bounds will map to context parameters.
320[error] |A `using` clause is needed to pass explicit arguments to them.
321[error] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
322[error] -- Error: /build/repo/src/main/scala/ResultEncoder.scala:74:72 -----------------
323[error] 74 | case v: java.util.Iterator[Any@unchecked] => w.writeIterator(v.asScala)(borerEncoder)
324[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
325[error] |Context bounds will map to context parameters.
326[error] |A `using` clause is needed to pass explicit arguments to them.
327[error] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
328[error] -- Error: /build/repo/src/main/scala/ResultEncoder.scala:383:9 -----------------
329[error] 383 | r[Any](anyValueForwarder)
330[error] | ^^^^^^
331[error] |Context bounds will map to context parameters.
332[error] |A `using` clause is needed to pass explicit arguments to them.
333[error] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
334[warn] -- Warning: /build/repo/src/main/scala/WabaseApp.scala:296:54 ------------------
335[warn] 296 | val poolName = vdo.flatMap(v => Option(v.db)).map(PoolName) getOrElse DefaultCp
336[warn] | ^^^^^^^^
337[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.PoolName.apply` explicitly.
338[warn] there were 36 deprecation warnings; re-run with -deprecation for details
339[warn] 39 warnings found
340[error] 12 errors found
341[error] (Compile / compileIncremental) Compilation failed
342[info] compiling 50 Scala sources to /build/repo/target/scala-3.6.3-RC1-20241230-376fc17-SNAPSHOT/classes ...
343[error] -- Error: /build/repo/src/main/scala/AppBase.scala:221:18 ----------------------
344[error] 221 | qe.list[Dto](params, 0, 2)(
345[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
346[error] |Context bounds will map to context parameters.
347[error] |A `using` clause is needed to pass explicit arguments to them.
348[error] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
349[error] -- Error: /build/repo/src/main/scala/AppBase.scala:260:36 ----------------------
350[error] 260 | ctx.copy(count = qe.countAll(params)(
351[error] | ^^^^^^^^^^^^^^^^^^^
352[error] |Context bounds will map to context parameters.
353[error] |A `using` clause is needed to pass explicit arguments to them.
354[error] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
355[error] -- Error: /build/repo/src/main/scala/AppBase.scala:297:30 ----------------------
356[error] 297 | try qe.result[Dto](
357[error] | ^
358[error] |Context bounds will map to context parameters.
359[error] |A `using` clause is needed to pass explicit arguments to them.
360[error] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
361[error] 298 | params,
362[error] 299 | offset,
363[error] 300 | limit,
364[error] 301 | stableOrderBy(viewDef, orderBy),
365[error] 302 | )(
366[error] -- [E050] Type Error: /build/repo/src/main/scala/AppBase.scala:555:19 ----------
367[error] 555 | val instance = qio.fill[Dto](obj)(Manifest.classType(viewNameToClassMap(viewName)))
368[error] | ^^^^^^^^^^^^^^^^^^
369[error] | method fill in class AppQuereaseIo does not take more parameters
370[error] |
371[error] | longer explanation available when compiling with `-explain`
372[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:524:69 ----------------
373[warn] 524 | tresqlExtractor = dbKeys => tresql => dbKeys ++ tresql.dbs.map(DbAccessKey),
374[warn] | ^^^^^^^^^^^
375[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.DbAccessKey.apply` explicitly.
376[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:692:75 ----------------
377[warn] 692 | Action.Db(pa, action == Action.DbUseKey, db_keys.map(DbAccessKey))
378[warn] | ^^^^^^^^^^^
379[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.DbAccessKey.apply` explicitly.
380[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:764:38 ----------------
381[warn] 764 | rep1sep(varsTransform, "+") ^^ (VariableTransforms) named "var-transforms"
382[warn] | ^^^^^^^^^^^^^^^^^^
383[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.Action.VariableTransforms.apply` explicitly.
384[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:889:25 ----------------
385[warn] 889 | db.map(AppMetadata.DbAccessKey).toList)
386[warn] | ^^^^^^^^^^^^^^^^^^^^^^^
387[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.DbAccessKey.apply` explicitly.
388[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:937:77 ----------------
389[warn] 937 | def viewType: Parser[ResType] = opt("`") ~> ViewNameRegex <~ opt("`") ^^ ViewType
390[warn] | ^^^^^^^^
391[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `ViewType.apply` explicitly.
392[error] -- [E172] Type Error: /build/repo/src/main/scala/AppQuerease.scala:810:54 ------
393[error] 810 | qio.fill(invocationData.toJson.asJsObject)(mf) // specify manifest explicitly so it is not Nothing
394[error] | ^
395[error] | No Manifest available for B.
396[error] |
397[error] | where: B is a type variable with constraint <: org.wabase.Dto
398[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:393:56 ----------------
399[warn] 393 | val poolName = jdo.flatMap(j => Option(j.db)).map(PoolName) getOrElse PoolName(defaultCpName)
400[warn] | ^^^^^^^^
401[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.PoolName.apply` explicitly.
402[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:398:56 ----------------
403[warn] 398 | val poolName = vdo.flatMap(v => Option(v.db)).map(PoolName) getOrElse PoolName(defaultCpName)
404[warn] | ^^^^^^^^
405[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.PoolName.apply` explicitly.
406[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:515:77 ----------------
407[warn] 515 | case RemoveVar(name) => Future.successful(stepData - name.get) map MapResult
408[warn] | ^^^^^^^^^
409[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.MapResult.apply` explicitly.
410[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:528:30 ----------------
411[warn] 528 | case Nil => curData map MapResult
412[warn] | ^^^^^^^^^
413[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.MapResult.apply` explicitly.
414[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:558:17 ----------------
415[warn] 558 | .map(MapResult)
416[warn] | ^^^^^^^^^
417[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.MapResult.apply` explicitly.
418[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:681:21 ----------------
419[warn] 681 | .map(TresqlSingleRowResult) getOrElse notFound
420[warn] | ^^^^^^^^^^^^^^^^^^^^^
421[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.TresqlSingleRowResult.apply` explicitly.
422[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:894:39 ----------------
423[warn] 894 | if (op.opt) r.uniqueOption map TresqlSingleRowResult getOrElse notFound
424[warn] | ^^^^^^^^^^^^^^^^^^^^^
425[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.TresqlSingleRowResult.apply` explicitly.
426[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:1066:10 ---------------
427[warn] 1066 | }.map(FileInfoResult)
428[warn] | ^^^^^^^^^^^^^^
429[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.FileInfoResult.apply` explicitly.
430[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:1225:11 ---------------
431[warn] 1225 | .map(HttpResult)
432[warn] | ^^^^^^^^^^
433[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.HttpResult.apply` explicitly.
434[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:474:2 --------------
435[warn] 474 | val fileStreamer: AppFileStreamer[User] = initFileStreamer
436[warn] | ^
437[warn] | Line is indented too far to the left, or a `}` is missing
438[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:478:2 --------------
439[warn] 478 | protected def initFileStreamer: AppFileStreamer[User]
440[warn] | ^
441[warn] | Line is indented too far to the left, or a `}` is missing
442[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:479:2 --------------
443[warn] 479 | def uploadPath: Directive1[Option[String]] =
444[warn] | ^
445[warn] | Line is indented too far to the left, or a `}` is missing
446[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:482:2 --------------
447[warn] 482 | def uploadMultiplePath = path("upload-multiple")
448[warn] | ^
449[warn] | Line is indented too far to the left, or a `}` is missing
450[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:483:2 --------------
451[warn] 483 | def downloadPath = path("download" / LongNumber / Segment) & get
452[warn] | ^
453[warn] | Line is indented too far to the left, or a `}` is missing
454[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:484:2 --------------
455[warn] 484 | def uploadSizeLimit = config.getBytes("app.upload.size-limit").toLong
456[warn] | ^
457[warn] | Line is indented too far to the left, or a `}` is missing
458[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:487:2 --------------
459[warn] 487 | private implicit val qe: AppQuerease = DefaultAppQuerease
460[warn] | ^
461[warn] | Line is indented too far to the left, or a `}` is missing
462[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:488:2 --------------
463[warn] 488 | import AppFileStreamer._
464[warn] | ^
465[warn] | Line is indented too far to the left, or a `}` is missing
466[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:489:2 --------------
467[warn] 489 | def validateFileName(fileName: String) = {}
468[warn] | ^
469[warn] | Line is indented too far to the left, or a `}` is missing
470[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:491:2 --------------
471[warn] 491 | def extractFileDirective(filenameOpt: Option[String])(implicit user: User, state: ApplicationState): Directive[(Source[ByteString, Any], String, String)] =
472[warn] | ^
473[warn] | Line is indented too far to the left, or a `}` is missing
474[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:515:2 --------------
475[warn] 515 | def uploadFileDirective(bytes: Source[ByteString, Any],
476[warn] | ^
477[warn] | Line is indented too far to the left, or a `}` is missing
478[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:532:2 --------------
479[warn] 532 | implicit class DirectiveChain1[A](directive: Directive[(A)]) {
480[warn] | ^
481[warn] | Line is indented too far to the left, or a `}` is missing
482[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:537:2 --------------
483[warn] 537 | implicit class DirectiveChain2[A, B](directive: Directive[(A, B)]) {
484[warn] | ^
485[warn] | Line is indented too far to the left, or a `}` is missing
486[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:542:2 --------------
487[warn] 542 | implicit class DirectiveChain3[A, B, C](directive: Directive[(A, B, C)]) {
488[warn] | ^
489[warn] | Line is indented too far to the left, or a `}` is missing
490[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:547:2 --------------
491[warn] 547 | def uploadAction(filenameOpt: Option[String])(implicit
492[warn] | ^
493[warn] | Line is indented too far to the left, or a `}` is missing
494[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:555:2 --------------
495[warn] 555 | def uploadMultipleAction(implicit
496[warn] | ^
497[warn] | Line is indented too far to the left, or a `}` is missing
498[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:567:2 --------------
499[warn] 567 | def uploadMultiple(implicit
500[warn] | ^
501[warn] | Line is indented too far to the left, or a `}` is missing
502[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:579:2 --------------
503[warn] 579 | def uploadMultipleAsSource(implicit
504[warn] | ^
505[warn] | Line is indented too far to the left, or a `}` is missing
506[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:621:2 --------------
507[warn] 621 | def downloadAction(fileInfoHelperOpt: Option[FileInfoHelper])(implicit user: User, state: ApplicationState): Route = {
508[warn] | ^
509[warn] | Line is indented too far to the left, or a `}` is missing
510[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:642:2 --------------
511[warn] 642 | def downloadAction(id: Long, sha256: String)(implicit user: User, state: ApplicationState): Route =
512[warn] | ^
513[warn] | Line is indented too far to the left, or a `}` is missing
514[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:752:73 -------------
515[warn] 752 | implicit val f02: RootJsonFormat[ValidationResult] = jsonFormat2(ValidationResult)
516[warn] | ^^^^^^^^^^^^^^^^
517[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.mojoz.querease.ValidationResult.apply` explicitly.
518[warn] -- Warning: /build/repo/src/main/scala/Audit.scala:122:2 -----------------------
519[warn] 122 | def logView(id: jLong, view: String, user: User, inParams: Map[String, Any], state: Map[String, Any], data: Map[String, Any]): Unit = {
520[warn] | ^
521[warn] | Line is indented too far to the left, or a `}` is missing
522[warn] -- Warning: /build/repo/src/main/scala/DeferredControl.scala:229:37 ------------
523[warn] 229 | timeout.filter(_ <= limit).map(QueryTimeout).getOrElse {
524[warn] | ^^^^^^^^^^^^
525[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.QueryTimeout.apply` explicitly.
526[error] -- Error: /build/repo/src/main/scala/ResultEncoder.scala:68:67 -----------------
527[error] 68 | case v: Map[Any@unchecked, Any@unchecked] => w.writeMap(v)(borerEncoder, borerEncoder)
528[error] | ^^^^^^^^^^^^^
529[error] |Context bounds will map to context parameters.
530[error] |A `using` clause is needed to pass explicit arguments to them.
531[error] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
532[error] -- Error: /build/repo/src/main/scala/ResultEncoder.scala:70:24 -----------------
533[error] 70 | w.writeMap(v.asScala.toMap)(borerEncoder, borerEncoder)
534[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
535[error] |Context bounds will map to context parameters.
536[error] |A `using` clause is needed to pass explicit arguments to them.
537[error] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
538[error] -- Error: /build/repo/src/main/scala/ResultEncoder.scala:71:62 -----------------
539[error] 71 | case v: Iterable[Any@unchecked] => w.writeIterator(v.iterator)(borerEncoder)
540[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
541[error] |Context bounds will map to context parameters.
542[error] |A `using` clause is needed to pass explicit arguments to them.
543[error] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
544[error] -- Error: /build/repo/src/main/scala/ResultEncoder.scala:72:62 -----------------
545[error] 72 | case v: Iterator[Any@unchecked] => w.writeIterator(v)(borerEncoder)
546[error] | ^^^^^^^^^^^^^^^^^^
547[error] |Context bounds will map to context parameters.
548[error] |A `using` clause is needed to pass explicit arguments to them.
549[error] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
550[error] -- Error: /build/repo/src/main/scala/ResultEncoder.scala:73:72 -----------------
551[error] 73 | case v: java.lang.Iterable[Any@unchecked] => w.writeIterator(v.iterator.asScala)(borerEncoder)
552[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
553[error] |Context bounds will map to context parameters.
554[error] |A `using` clause is needed to pass explicit arguments to them.
555[error] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
556[error] -- Error: /build/repo/src/main/scala/ResultEncoder.scala:74:72 -----------------
557[error] 74 | case v: java.util.Iterator[Any@unchecked] => w.writeIterator(v.asScala)(borerEncoder)
558[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
559[error] |Context bounds will map to context parameters.
560[error] |A `using` clause is needed to pass explicit arguments to them.
561[error] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
562[error] -- Error: /build/repo/src/main/scala/ResultEncoder.scala:383:9 -----------------
563[error] 383 | r[Any](anyValueForwarder)
564[error] | ^^^^^^
565[error] |Context bounds will map to context parameters.
566[error] |A `using` clause is needed to pass explicit arguments to them.
567[error] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
568[warn] -- Warning: /build/repo/src/main/scala/WabaseApp.scala:296:54 ------------------
569[warn] 296 | val poolName = vdo.flatMap(v => Option(v.db)).map(PoolName) getOrElse DefaultCp
570[warn] | ^^^^^^^^
571[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.PoolName.apply` explicitly.
572[warn] there were 36 deprecation warnings; re-run with -deprecation for details
573[warn] 39 warnings found
574[error] 12 errors found
575[error] (Compile / compileIncremental) Compilation failed
576[info] compiling 50 Scala sources to /build/repo/target/scala-3.6.3-RC1-20241230-376fc17-SNAPSHOT/classes ...
577[error] -- Error: /build/repo/src/main/scala/AppBase.scala:221:18 ----------------------
578[error] 221 | qe.list[Dto](params, 0, 2)(
579[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
580[error] |Context bounds will map to context parameters.
581[error] |A `using` clause is needed to pass explicit arguments to them.
582[error] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
583[error] -- Error: /build/repo/src/main/scala/AppBase.scala:260:36 ----------------------
584[error] 260 | ctx.copy(count = qe.countAll(params)(
585[error] | ^^^^^^^^^^^^^^^^^^^
586[error] |Context bounds will map to context parameters.
587[error] |A `using` clause is needed to pass explicit arguments to them.
588[error] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
589[error] -- Error: /build/repo/src/main/scala/AppBase.scala:297:30 ----------------------
590[error] 297 | try qe.result[Dto](
591[error] | ^
592[error] |Context bounds will map to context parameters.
593[error] |A `using` clause is needed to pass explicit arguments to them.
594[error] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
595[error] 298 | params,
596[error] 299 | offset,
597[error] 300 | limit,
598[error] 301 | stableOrderBy(viewDef, orderBy),
599[error] 302 | )(
600[error] -- [E050] Type Error: /build/repo/src/main/scala/AppBase.scala:555:19 ----------
601[error] 555 | val instance = qio.fill[Dto](obj)(Manifest.classType(viewNameToClassMap(viewName)))
602[error] | ^^^^^^^^^^^^^^^^^^
603[error] | method fill in class AppQuereaseIo does not take more parameters
604[error] |
605[error] | longer explanation available when compiling with `-explain`
606[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:524:69 ----------------
607[warn] 524 | tresqlExtractor = dbKeys => tresql => dbKeys ++ tresql.dbs.map(DbAccessKey),
608[warn] | ^^^^^^^^^^^
609[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.DbAccessKey.apply` explicitly.
610[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:692:75 ----------------
611[warn] 692 | Action.Db(pa, action == Action.DbUseKey, db_keys.map(DbAccessKey))
612[warn] | ^^^^^^^^^^^
613[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.DbAccessKey.apply` explicitly.
614[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:764:38 ----------------
615[warn] 764 | rep1sep(varsTransform, "+") ^^ (VariableTransforms) named "var-transforms"
616[warn] | ^^^^^^^^^^^^^^^^^^
617[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.Action.VariableTransforms.apply` explicitly.
618[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:889:25 ----------------
619[warn] 889 | db.map(AppMetadata.DbAccessKey).toList)
620[warn] | ^^^^^^^^^^^^^^^^^^^^^^^
621[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.DbAccessKey.apply` explicitly.
622[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:937:77 ----------------
623[warn] 937 | def viewType: Parser[ResType] = opt("`") ~> ViewNameRegex <~ opt("`") ^^ ViewType
624[warn] | ^^^^^^^^
625[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `ViewType.apply` explicitly.
626[error] -- [E172] Type Error: /build/repo/src/main/scala/AppQuerease.scala:810:54 ------
627[error] 810 | qio.fill(invocationData.toJson.asJsObject)(mf) // specify manifest explicitly so it is not Nothing
628[error] | ^
629[error] | No Manifest available for B.
630[error] |
631[error] | where: B is a type variable with constraint <: org.wabase.Dto
632[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:393:56 ----------------
633[warn] 393 | val poolName = jdo.flatMap(j => Option(j.db)).map(PoolName) getOrElse PoolName(defaultCpName)
634[warn] | ^^^^^^^^
635[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.PoolName.apply` explicitly.
636[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:398:56 ----------------
637[warn] 398 | val poolName = vdo.flatMap(v => Option(v.db)).map(PoolName) getOrElse PoolName(defaultCpName)
638[warn] | ^^^^^^^^
639[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.PoolName.apply` explicitly.
640[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:515:77 ----------------
641[warn] 515 | case RemoveVar(name) => Future.successful(stepData - name.get) map MapResult
642[warn] | ^^^^^^^^^
643[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.MapResult.apply` explicitly.
644[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:528:30 ----------------
645[warn] 528 | case Nil => curData map MapResult
646[warn] | ^^^^^^^^^
647[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.MapResult.apply` explicitly.
648[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:558:17 ----------------
649[warn] 558 | .map(MapResult)
650[warn] | ^^^^^^^^^
651[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.MapResult.apply` explicitly.
652[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:681:21 ----------------
653[warn] 681 | .map(TresqlSingleRowResult) getOrElse notFound
654[warn] | ^^^^^^^^^^^^^^^^^^^^^
655[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.TresqlSingleRowResult.apply` explicitly.
656[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:894:39 ----------------
657[warn] 894 | if (op.opt) r.uniqueOption map TresqlSingleRowResult getOrElse notFound
658[warn] | ^^^^^^^^^^^^^^^^^^^^^
659[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.TresqlSingleRowResult.apply` explicitly.
660[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:1066:10 ---------------
661[warn] 1066 | }.map(FileInfoResult)
662[warn] | ^^^^^^^^^^^^^^
663[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.FileInfoResult.apply` explicitly.
664[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:1225:11 ---------------
665[warn] 1225 | .map(HttpResult)
666[warn] | ^^^^^^^^^^
667[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.HttpResult.apply` explicitly.
668[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:474:2 --------------
669[warn] 474 | val fileStreamer: AppFileStreamer[User] = initFileStreamer
670[warn] | ^
671[warn] | Line is indented too far to the left, or a `}` is missing
672[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:478:2 --------------
673[warn] 478 | protected def initFileStreamer: AppFileStreamer[User]
674[warn] | ^
675[warn] | Line is indented too far to the left, or a `}` is missing
676[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:479:2 --------------
677[warn] 479 | def uploadPath: Directive1[Option[String]] =
678[warn] | ^
679[warn] | Line is indented too far to the left, or a `}` is missing
680[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:482:2 --------------
681[warn] 482 | def uploadMultiplePath = path("upload-multiple")
682[warn] | ^
683[warn] | Line is indented too far to the left, or a `}` is missing
684[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:483:2 --------------
685[warn] 483 | def downloadPath = path("download" / LongNumber / Segment) & get
686[warn] | ^
687[warn] | Line is indented too far to the left, or a `}` is missing
688[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:484:2 --------------
689[warn] 484 | def uploadSizeLimit = config.getBytes("app.upload.size-limit").toLong
690[warn] | ^
691[warn] | Line is indented too far to the left, or a `}` is missing
692[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:487:2 --------------
693[warn] 487 | private implicit val qe: AppQuerease = DefaultAppQuerease
694[warn] | ^
695[warn] | Line is indented too far to the left, or a `}` is missing
696[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:488:2 --------------
697[warn] 488 | import AppFileStreamer._
698[warn] | ^
699[warn] | Line is indented too far to the left, or a `}` is missing
700[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:489:2 --------------
701[warn] 489 | def validateFileName(fileName: String) = {}
702[warn] | ^
703[warn] | Line is indented too far to the left, or a `}` is missing
704[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:491:2 --------------
705[warn] 491 | def extractFileDirective(filenameOpt: Option[String])(implicit user: User, state: ApplicationState): Directive[(Source[ByteString, Any], String, String)] =
706[warn] | ^
707[warn] | Line is indented too far to the left, or a `}` is missing
708[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:515:2 --------------
709[warn] 515 | def uploadFileDirective(bytes: Source[ByteString, Any],
710[warn] | ^
711[warn] | Line is indented too far to the left, or a `}` is missing
712[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:532:2 --------------
713[warn] 532 | implicit class DirectiveChain1[A](directive: Directive[(A)]) {
714[warn] | ^
715[warn] | Line is indented too far to the left, or a `}` is missing
716[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:537:2 --------------
717[warn] 537 | implicit class DirectiveChain2[A, B](directive: Directive[(A, B)]) {
718[warn] | ^
719[warn] | Line is indented too far to the left, or a `}` is missing
720[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:542:2 --------------
721[warn] 542 | implicit class DirectiveChain3[A, B, C](directive: Directive[(A, B, C)]) {
722[warn] | ^
723[warn] | Line is indented too far to the left, or a `}` is missing
724[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:547:2 --------------
725[warn] 547 | def uploadAction(filenameOpt: Option[String])(implicit
726[warn] | ^
727[warn] | Line is indented too far to the left, or a `}` is missing
728[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:555:2 --------------
729[warn] 555 | def uploadMultipleAction(implicit
730[warn] | ^
731[warn] | Line is indented too far to the left, or a `}` is missing
732[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:567:2 --------------
733[warn] 567 | def uploadMultiple(implicit
734[warn] | ^
735[warn] | Line is indented too far to the left, or a `}` is missing
736[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:579:2 --------------
737[warn] 579 | def uploadMultipleAsSource(implicit
738[warn] | ^
739[warn] | Line is indented too far to the left, or a `}` is missing
740[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:621:2 --------------
741[warn] 621 | def downloadAction(fileInfoHelperOpt: Option[FileInfoHelper])(implicit user: User, state: ApplicationState): Route = {
742[warn] | ^
743[warn] | Line is indented too far to the left, or a `}` is missing
744[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:642:2 --------------
745[warn] 642 | def downloadAction(id: Long, sha256: String)(implicit user: User, state: ApplicationState): Route =
746[warn] | ^
747[warn] | Line is indented too far to the left, or a `}` is missing
748[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:752:73 -------------
749[warn] 752 | implicit val f02: RootJsonFormat[ValidationResult] = jsonFormat2(ValidationResult)
750[warn] | ^^^^^^^^^^^^^^^^
751[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.mojoz.querease.ValidationResult.apply` explicitly.
752[warn] -- Warning: /build/repo/src/main/scala/Audit.scala:122:2 -----------------------
753[warn] 122 | def logView(id: jLong, view: String, user: User, inParams: Map[String, Any], state: Map[String, Any], data: Map[String, Any]): Unit = {
754[warn] | ^
755[warn] | Line is indented too far to the left, or a `}` is missing
756[warn] -- Warning: /build/repo/src/main/scala/DeferredControl.scala:229:37 ------------
757[warn] 229 | timeout.filter(_ <= limit).map(QueryTimeout).getOrElse {
758[warn] | ^^^^^^^^^^^^
759[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.QueryTimeout.apply` explicitly.
760[error] -- Error: /build/repo/src/main/scala/ResultEncoder.scala:68:67 -----------------
761[error] 68 | case v: Map[Any@unchecked, Any@unchecked] => w.writeMap(v)(borerEncoder, borerEncoder)
762[error] | ^^^^^^^^^^^^^
763[error] |Context bounds will map to context parameters.
764[error] |A `using` clause is needed to pass explicit arguments to them.
765[error] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
766[error] -- Error: /build/repo/src/main/scala/ResultEncoder.scala:70:24 -----------------
767[error] 70 | w.writeMap(v.asScala.toMap)(borerEncoder, borerEncoder)
768[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
769[error] |Context bounds will map to context parameters.
770[error] |A `using` clause is needed to pass explicit arguments to them.
771[error] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
772[error] -- Error: /build/repo/src/main/scala/ResultEncoder.scala:71:62 -----------------
773[error] 71 | case v: Iterable[Any@unchecked] => w.writeIterator(v.iterator)(borerEncoder)
774[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
775[error] |Context bounds will map to context parameters.
776[error] |A `using` clause is needed to pass explicit arguments to them.
777[error] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
778[error] -- Error: /build/repo/src/main/scala/ResultEncoder.scala:72:62 -----------------
779[error] 72 | case v: Iterator[Any@unchecked] => w.writeIterator(v)(borerEncoder)
780[error] | ^^^^^^^^^^^^^^^^^^
781[error] |Context bounds will map to context parameters.
782[error] |A `using` clause is needed to pass explicit arguments to them.
783[error] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
784[error] -- Error: /build/repo/src/main/scala/ResultEncoder.scala:73:72 -----------------
785[error] 73 | case v: java.lang.Iterable[Any@unchecked] => w.writeIterator(v.iterator.asScala)(borerEncoder)
786[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
787[error] |Context bounds will map to context parameters.
788[error] |A `using` clause is needed to pass explicit arguments to them.
789[error] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
790[error] -- Error: /build/repo/src/main/scala/ResultEncoder.scala:74:72 -----------------
791[error] 74 | case v: java.util.Iterator[Any@unchecked] => w.writeIterator(v.asScala)(borerEncoder)
792[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
793[error] |Context bounds will map to context parameters.
794[error] |A `using` clause is needed to pass explicit arguments to them.
795[error] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
796[error] -- Error: /build/repo/src/main/scala/ResultEncoder.scala:383:9 -----------------
797[error] 383 | r[Any](anyValueForwarder)
798[error] | ^^^^^^
799[error] |Context bounds will map to context parameters.
800[error] |A `using` clause is needed to pass explicit arguments to them.
801[error] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
802[warn] -- Warning: /build/repo/src/main/scala/WabaseApp.scala:296:54 ------------------
803[warn] 296 | val poolName = vdo.flatMap(v => Option(v.db)).map(PoolName) getOrElse DefaultCp
804[warn] | ^^^^^^^^
805[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.PoolName.apply` explicitly.
806[warn] there were 36 deprecation warnings; re-run with -deprecation for details
807[warn] 39 warnings found
808[error] 12 errors found
809[error] (Compile / compileIncremental) Compilation failed
810
811************************
812Build summary:
813[{
814 "module": "wabase",
815 "compile": {"status": "failed", "failureContext": {"type": "buildError", "reasons": ["Compilation failed"]}, "tookMs": 14089, "warnings": 39, "errors": 12, "sourceVersion": "3.6-migration"},
816 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
817 "test-compile": {"status": "skipped", "tookMs": 0, "warnings": 0, "errors": 0},
818 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
819 "publish": {"status": "skipped", "tookMs": 0}
820}]
821************************
822[error] Scala3CommunityBuild$ProjectBuildFailureException: 1 module(s) finished with failures: wabase
823[error] (Global / runBuild) Scala3CommunityBuild$ProjectBuildFailureException: 1 module(s) finished with failures: wabase
824[error] Total time: 41 s, completed Dec 30, 2024, 3:41:11 PM
825Build failed, not retrying.