Build Logs
mrumkovskis/wabase • 12611063228
Errors
74
Warnings
966
Total Lines
1240
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
21Migrating project using Scala 3.4.2
22----
23Preparing build for 3.4.2
24Scala binary version found: 3.4
25Implicitly using source version 3.4-migration
26Scala binary version found: 3.4
27Implicitly using source version 3.4-migration
28Would try to apply common scalacOption (best-effort, sbt/mill only):
29Append: -rewrite,-source:3.4-migration,-Wconf:msg=can be rewritten automatically under:s
30Remove: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,
31----
32Starting build for 3.4.2
33Execute tests: false
34sbt project found:
35No prepare script found for project mrumkovskis/wabase
36##################################
37Scala version: 3.4.2
38Targets: org.wabase%wabase
39Project projectConfig: { "projects": { "exclude": [], "overrides": {} }, "java": {}, "sbt": { "commands": [], "options": [] }, "mill": { "options": [] }, "tests": "compile-only", "migrationVersions": [ "3.4.2" ], "sourcePatches": [] }
40##################################
41Using extra scalacOptions: -rewrite,-source:3.4-migration,-Wconf:msg=can be rewritten automatically under:s
42Filtering out scalacOptions: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,
43[sbt_options] declare -a sbt_options=()
44[process_args] java_version = '11'
45[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_11_0_20/rt.jar'
46# Executing command line:
47java
48-Dfile.encoding=UTF-8
49-Dcommunitybuild.scala=3.4.2
50-Dcommunitybuild.project.dependencies.add=
51-Xmx7G
52-Xms4G
53-Xss8M
54-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
55-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_11_0_20
56-jar
57/root/.sdkman/candidates/sbt/1.9.6/bin/sbt-launch.jar
58"setCrossScalaVersions 3.4.2"
59"++3.4.2 -v"
60"mapScalacOptions "-rewrite,-source:3.4-migration,-Wconf:msg=can be rewritten automatically under:s" "-indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,""
61"set every credentials := Nil"
62
63moduleMappings
64"runBuild 3.4.2 """{
65 "projects": {
66 "exclude": [],
67 "overrides": {}
68 },
69 "java": {},
70 "sbt": {
71 "commands": [],
72 "options": []
73 },
74 "mill": {
75 "options": []
76 },
77 "tests": "compile-only",
78 "migrationVersions": [
79 "3.4.2"
80 ],
81 "sourcePatches": []
82}""" org.wabase%wabase"
83
84[info] [launcher] getting org.scala-sbt sbt 1.10.7 (this may take some time)...
85[info] [launcher] getting Scala 2.12.20 (for sbt)...
86[info] welcome to sbt 1.10.7 (Eclipse Adoptium Java 11.0.20)
87[info] loading settings for project repo-build from plugins.sbt...
88[info] loading project definition from /build/repo/project
89[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
90[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
91[info] Compilation completed in 8.166s.
92[info] done compiling
93[info] loading settings for project wabase from build.sbt, version.sbt...
94[info] set current project to wabase (in build file:/build/repo/)
95Execute setCrossScalaVersions: 3.4.2
96OpenCB::Changing crossVersion 3.3.4 -> 3.4.2 in wabase/crossScalaVersions
97[info] set current project to wabase (in build file:/build/repo/)
98[info] Setting Scala version to 3.4.2 on 1 projects.
99[info] Switching Scala version on:
100[info] * wabase (3.4.2, 2.13.15, 2.12.20)
101[info] Excluding projects:
102[info] Reapplying settings...
103[info] set current project to wabase (in build file:/build/repo/)
104Execute mapScalacOptions: -rewrite,-source:3.4-migration,-Wconf:msg=can be rewritten automatically under:s -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,
105[info] Reapplying settings...
106[info] set current project to wabase (in build file:/build/repo/)
107[info] Defining Global / credentials
108[info] The new value will be used by allCredentials, ivySbt and 1 others.
109[info] Run `last` for details.
110[info] Reapplying settings...
111[info] set current project to wabase (in build file:/build/repo/)
112[success] Total time: 0 s, completed Jan 4, 2025, 4:11:32 PM
113Build config: {
114 "projects": {
115 "exclude": [],
116 "overrides": {}
117 },
118 "java": {},
119 "sbt": {
120 "commands": [],
121 "options": []
122 },
123 "mill": {
124 "options": []
125 },
126 "tests": "compile-only",
127 "migrationVersions": [
128 "3.4.2"
129 ],
130 "sourcePatches": []
131}
132Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
133Starting build...
134Projects: Set(wabase)
135Starting build for ProjectRef(file:/build/repo/,wabase) (wabase)...
136OpenCB::Exclude Scala3 specific scalacOption `-rewrite` in Scala 2.12.20 module Global
137OpenCB::Exclude Scala3 specific scalacOption `-source:3.4-migration` in Scala 2.12.20 module Global
138OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
139OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
140OpenCB::Would not apply setting `-source:3.4-migration`: Project has predefined source version: Some(-source:3.4-migration)
141Compile scalacOptions: List(-unchecked, -source:3.4-migration, -rewrite, -Wconf:msg=can be rewritten automatically under:s)
142[info] compiling 50 Scala sources to /build/repo/target/scala-3.4.2/classes ...
143[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:524:69 ----------------
144[warn] 524 | tresqlExtractor = dbKeys => tresql => dbKeys ++ tresql.dbs.map(DbAccessKey),
145[warn] | ^^^^^^^^^^^
146[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.DbAccessKey.apply` explicitly.
147[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:692:75 ----------------
148[warn] 692 | Action.Db(pa, action == Action.DbUseKey, db_keys.map(DbAccessKey))
149[warn] | ^^^^^^^^^^^
150[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.DbAccessKey.apply` explicitly.
151[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:764:38 ----------------
152[warn] 764 | rep1sep(varsTransform, "+") ^^ (VariableTransforms) named "var-transforms"
153[warn] | ^^^^^^^^^^^^^^^^^^
154[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.Action.VariableTransforms.apply` explicitly.
155[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:889:25 ----------------
156[warn] 889 | db.map(AppMetadata.DbAccessKey).toList)
157[warn] | ^^^^^^^^^^^^^^^^^^^^^^^
158[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.DbAccessKey.apply` explicitly.
159[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:937:77 ----------------
160[warn] 937 | def viewType: Parser[ResType] = opt("`") ~> ViewNameRegex <~ opt("`") ^^ ViewType
161[warn] | ^^^^^^^^
162[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `ViewType.apply` explicitly.
163[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:393:56 ----------------
164[warn] 393 | val poolName = jdo.flatMap(j => Option(j.db)).map(PoolName) getOrElse PoolName(defaultCpName)
165[warn] | ^^^^^^^^
166[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.PoolName.apply` explicitly.
167[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:398:56 ----------------
168[warn] 398 | val poolName = vdo.flatMap(v => Option(v.db)).map(PoolName) getOrElse PoolName(defaultCpName)
169[warn] | ^^^^^^^^
170[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.PoolName.apply` explicitly.
171[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:515:77 ----------------
172[warn] 515 | case RemoveVar(name) => Future.successful(stepData - name.get) map MapResult
173[warn] | ^^^^^^^^^
174[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.MapResult.apply` explicitly.
175[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:528:30 ----------------
176[warn] 528 | case Nil => curData map MapResult
177[warn] | ^^^^^^^^^
178[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.MapResult.apply` explicitly.
179[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:558:17 ----------------
180[warn] 558 | .map(MapResult)
181[warn] | ^^^^^^^^^
182[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.MapResult.apply` explicitly.
183[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:681:21 ----------------
184[warn] 681 | .map(TresqlSingleRowResult) getOrElse notFound
185[warn] | ^^^^^^^^^^^^^^^^^^^^^
186[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.TresqlSingleRowResult.apply` explicitly.
187[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:894:39 ----------------
188[warn] 894 | if (op.opt) r.uniqueOption map TresqlSingleRowResult getOrElse notFound
189[warn] | ^^^^^^^^^^^^^^^^^^^^^
190[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.TresqlSingleRowResult.apply` explicitly.
191[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:1066:10 ---------------
192[warn] 1066 | }.map(FileInfoResult)
193[warn] | ^^^^^^^^^^^^^^
194[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.FileInfoResult.apply` explicitly.
195[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:1225:11 ---------------
196[warn] 1225 | .map(HttpResult)
197[warn] | ^^^^^^^^^^
198[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.HttpResult.apply` explicitly.
199[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:474:2 --------------
200[warn] 474 | val fileStreamer: AppFileStreamer[User] = initFileStreamer
201[warn] | ^
202[warn] | Line is indented too far to the left, or a `}` is missing
203[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:478:2 --------------
204[warn] 478 | protected def initFileStreamer: AppFileStreamer[User]
205[warn] | ^
206[warn] | Line is indented too far to the left, or a `}` is missing
207[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:479:2 --------------
208[warn] 479 | def uploadPath: Directive1[Option[String]] =
209[warn] | ^
210[warn] | Line is indented too far to the left, or a `}` is missing
211[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:482:2 --------------
212[warn] 482 | def uploadMultiplePath = path("upload-multiple")
213[warn] | ^
214[warn] | Line is indented too far to the left, or a `}` is missing
215[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:483:2 --------------
216[warn] 483 | def downloadPath = path("download" / LongNumber / Segment) & get
217[warn] | ^
218[warn] | Line is indented too far to the left, or a `}` is missing
219[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:484:2 --------------
220[warn] 484 | def uploadSizeLimit = config.getBytes("app.upload.size-limit").toLong
221[warn] | ^
222[warn] | Line is indented too far to the left, or a `}` is missing
223[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:487:2 --------------
224[warn] 487 | private implicit val qe: AppQuerease = DefaultAppQuerease
225[warn] | ^
226[warn] | Line is indented too far to the left, or a `}` is missing
227[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:488:2 --------------
228[warn] 488 | import AppFileStreamer._
229[warn] | ^
230[warn] | Line is indented too far to the left, or a `}` is missing
231[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:489:2 --------------
232[warn] 489 | def validateFileName(fileName: String) = {}
233[warn] | ^
234[warn] | Line is indented too far to the left, or a `}` is missing
235[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:491:2 --------------
236[warn] 491 | def extractFileDirective(filenameOpt: Option[String])(implicit user: User, state: ApplicationState): Directive[(Source[ByteString, Any], String, String)] =
237[warn] | ^
238[warn] | Line is indented too far to the left, or a `}` is missing
239[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:515:2 --------------
240[warn] 515 | def uploadFileDirective(bytes: Source[ByteString, Any],
241[warn] | ^
242[warn] | Line is indented too far to the left, or a `}` is missing
243[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:532:2 --------------
244[warn] 532 | implicit class DirectiveChain1[A](directive: Directive[(A)]) {
245[warn] | ^
246[warn] | Line is indented too far to the left, or a `}` is missing
247[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:537:2 --------------
248[warn] 537 | implicit class DirectiveChain2[A, B](directive: Directive[(A, B)]) {
249[warn] | ^
250[warn] | Line is indented too far to the left, or a `}` is missing
251[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:542:2 --------------
252[warn] 542 | implicit class DirectiveChain3[A, B, C](directive: Directive[(A, B, C)]) {
253[warn] | ^
254[warn] | Line is indented too far to the left, or a `}` is missing
255[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:547:2 --------------
256[warn] 547 | def uploadAction(filenameOpt: Option[String])(implicit
257[warn] | ^
258[warn] | Line is indented too far to the left, or a `}` is missing
259[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:555:2 --------------
260[warn] 555 | def uploadMultipleAction(implicit
261[warn] | ^
262[warn] | Line is indented too far to the left, or a `}` is missing
263[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:567:2 --------------
264[warn] 567 | def uploadMultiple(implicit
265[warn] | ^
266[warn] | Line is indented too far to the left, or a `}` is missing
267[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:579:2 --------------
268[warn] 579 | def uploadMultipleAsSource(implicit
269[warn] | ^
270[warn] | Line is indented too far to the left, or a `}` is missing
271[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:621:2 --------------
272[warn] 621 | def downloadAction(fileInfoHelperOpt: Option[FileInfoHelper])(implicit user: User, state: ApplicationState): Route = {
273[warn] | ^
274[warn] | Line is indented too far to the left, or a `}` is missing
275[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:642:2 --------------
276[warn] 642 | def downloadAction(id: Long, sha256: String)(implicit user: User, state: ApplicationState): Route =
277[warn] | ^
278[warn] | Line is indented too far to the left, or a `}` is missing
279[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:752:73 -------------
280[warn] 752 | implicit val f02: RootJsonFormat[ValidationResult] = jsonFormat2(ValidationResult)
281[warn] | ^^^^^^^^^^^^^^^^
282[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.mojoz.querease.ValidationResult.apply` explicitly.
283[warn] -- Warning: /build/repo/src/main/scala/Audit.scala:122:2 -----------------------
284[warn] 122 | def logView(id: jLong, view: String, user: User, inParams: Map[String, Any], state: Map[String, Any], data: Map[String, Any]): Unit = {
285[warn] | ^
286[warn] | Line is indented too far to the left, or a `}` is missing
287[warn] -- Warning: /build/repo/src/main/scala/DeferredControl.scala:229:37 ------------
288[warn] 229 | timeout.filter(_ <= limit).map(QueryTimeout).getOrElse {
289[warn] | ^^^^^^^^^^^^
290[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.QueryTimeout.apply` explicitly.
291[warn] -- Warning: /build/repo/src/main/scala/WabaseApp.scala:296:54 ------------------
292[warn] 296 | val poolName = vdo.flatMap(v => Option(v.db)).map(PoolName) getOrElse DefaultCp
293[warn] | ^^^^^^^^
294[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.PoolName.apply` explicitly.
295[warn] -- Warning: /build/repo/src/main/scala/Execution.scala:10:47 -------------------
296[warn] 10 | implicit val system: ActorSystem = execution.system
297[warn] | ^^^^^^^^^^^^^^^^
298[warn] | Infinite loop in function body
299[warn] | this.execution.system
300[warn] -- Warning: /build/repo/src/main/scala/Execution.scala:11:67 -------------------
301[warn] 11 | implicit lazy val executor: ExecutionContextExecutor = execution.executor
302[warn] | ^^^^^^^^^^^^^^^^^^
303[warn] | Infinite loop in function body
304[warn] | this.execution.executor
305[warn] -- [E030] Match case Unreachable Warning: /build/repo/src/main/scala/AppQuerease.scala:435:11
306[warn] 435 | case "" => "\"\""
307[warn] | ^^
308[warn] | Unreachable case
309[warn] -- [E121] Pattern Match Warning: /build/repo/src/main/scala/AppQuerease.scala:1331:11
310[warn] 1331 | case _ => config.getValue(op.param).unwrapped()
311[warn] | ^
312[warn] |Unreachable case except for null (if this is intentional, consider writing case null => instead).
313[warn] -- [E030] Match case Unreachable Warning: /build/repo/src/main/scala/Audit.scala:181:12
314[warn] 181 | case ListContext(view, inParams, offset, limit, orderBy, user, state, _, doCount, _, _, _, _, _) =>
315[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
316[warn] | Unreachable case
317[warn] -- [E030] Match case Unreachable Warning: /build/repo/src/main/scala/Audit.scala:183:12
318[warn] 183 | case SaveContext(view, old, obj, inParams, user, _, state, extraPropsToSave, result) =>
319[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
320[warn] | Unreachable case
321[warn] -- [E030] Match case Unreachable Warning: /build/repo/src/main/scala/Audit.scala:199:12
322[warn] 199 | case RemoveContext(view, id, inParams, user, _, _, result, oldData) =>
323[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
324[warn] | Unreachable case
325[warn] -- [E030] Match case Unreachable Warning: /build/repo/src/main/scala/RowWriter.scala:102:11
326[warn] 102 | case l: Traversable[Any] @annotation.nowarn => "": @annotation.nowarn
327[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
328[warn] | Unreachable case
329[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/src/main/scala/TresqlUri.scala:40:8
330[warn] 40 | case ((u, "s"), i) if sv(vals(i)) == "?/" => (u, "k")
331[warn] | ^
332[warn] | match may not be exhaustive.
333[warn] |
334[warn] | It would fail on pattern case: ((_, _), _)
335[warn] |
336[warn] | longer explanation available when compiling with `-explain`
337[info] [patched file /build/repo/src/main/scala/BusinessException.scala]
338[info] [patched file /build/repo/src/main/scala/ValidationEngine.scala]
339[info] [patched file /build/repo/src/main/scala/client/RestClient.scala]
340[info] [patched file /build/repo/src/main/scala/Marshalling.scala]
341[info] [patched file /build/repo/src/main/scala/Authorization.scala]
342[info] [patched file /build/repo/src/main/scala/WabaseService.scala]
343[info] [patched file /build/repo/src/main/scala/CSRFDefence.scala]
344[info] [patched file /build/repo/src/main/scala/AppServiceBase.scala]
345[info] [patched file /build/repo/src/main/scala/WabaseApp.scala]
346[info] [patched file /build/repo/src/main/scala/MapUtils.scala]
347[info] [patched file /build/repo/src/main/scala/Authentication.scala]
348[info] [patched file /build/repo/src/main/scala/AppBase.scala]
349[info] [patched file /build/repo/src/main/scala/Format.scala]
350[info] [patched file /build/repo/src/main/scala/JsonConverter.scala]
351[info] [patched file /build/repo/src/main/scala/client/WabaseHttpClient.scala]
352[info] [patched file /build/repo/src/main/scala/TresqlResourcesConf.scala]
353[info] [patched file /build/repo/src/main/scala/spreadsheet/OdsStreamer.scala]
354[info] [patched file /build/repo/src/main/scala/TresqlUri.scala]
355[info] [patched file /build/repo/src/main/scala/ServerStatistics.scala]
356[info] [patched file /build/repo/src/main/scala/ResultEncoder.scala]
357[info] [patched file /build/repo/src/main/scala/DeferredControl.scala]
358[info] [patched file /build/repo/src/main/scala/JsonSessionEncoder.scala]
359[info] [patched file /build/repo/src/main/scala/AppQuerease.scala]
360[info] [patched file /build/repo/src/main/scala/WabaseScheduler.scala]
361[info] [patched file /build/repo/src/main/scala/WabaseEmail.scala]
362[info] [patched file /build/repo/src/main/scala/AppFileStreamer.scala]
363[info] [patched file /build/repo/src/main/scala/spreadsheet/XlsXmlStreamer.scala]
364[info] [patched file /build/repo/src/main/scala/BufferedAudit.scala]
365[info] [patched file /build/repo/src/main/scala/I18n.scala]
366[info] [patched file /build/repo/src/main/scala/PostgresTextFormat.scala]
367[info] [patched file /build/repo/src/main/scala/package.scala]
368[info] [patched file /build/repo/src/main/scala/ResultSerializer.scala]
369[info] [patched file /build/repo/src/main/scala/EventNotifications.scala]
370[info] [patched file /build/repo/src/main/scala/WabaseTemplate.scala]
371[info] [patched file /build/repo/src/main/scala/DbConstraintMessage.scala]
372[info] [patched file /build/repo/src/main/scala/AppMetadata.scala]
373[info] [patched file /build/repo/src/main/scala/RowWriter.scala]
374[info] [patched file /build/repo/src/main/scala/Audit.scala]
375[info] [patched file /build/repo/src/main/scala/BufferStreams.scala]
376[warn] there were 39 deprecation warnings; re-run with -deprecation for details
377[warn] 48 warnings found
378[info] done compiling
379[info] compiling 50 Scala sources to /build/repo/target/scala-3.4.2/classes ...
380[error] -- [E086] Syntax Error: /build/repo/src/main/scala/AppMetadata.scala:1441:27 ---
381[error] 1441 | def this() = this((() => getClass.getResourceAsStream))()
382[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
383[error] | Wrong number of parameters, expected: 0
384[error] |
385[error] | longer explanation available when compiling with `-explain`
386[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:524:69 ----------------
387[warn] 524 | tresqlExtractor = dbKeys => tresql => dbKeys ++ tresql.dbs.map(DbAccessKey),
388[warn] | ^^^^^^^^^^^
389[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.DbAccessKey.apply` explicitly.
390[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:692:75 ----------------
391[warn] 692 | Action.Db(pa, action == Action.DbUseKey, db_keys.map(DbAccessKey))
392[warn] | ^^^^^^^^^^^
393[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.DbAccessKey.apply` explicitly.
394[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:764:38 ----------------
395[warn] 764 | rep1sep(varsTransform, "+") ^^ (VariableTransforms) named "var-transforms"
396[warn] | ^^^^^^^^^^^^^^^^^^
397[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.Action.VariableTransforms.apply` explicitly.
398[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:889:25 ----------------
399[warn] 889 | db.map(AppMetadata.DbAccessKey).toList)
400[warn] | ^^^^^^^^^^^^^^^^^^^^^^^
401[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.DbAccessKey.apply` explicitly.
402[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:937:77 ----------------
403[warn] 937 | def viewType: Parser[ResType] = opt("`") ~> ViewNameRegex <~ opt("`") ^^ ViewType
404[warn] | ^^^^^^^^
405[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `ViewType.apply` explicitly.
406[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:393:56 ----------------
407[warn] 393 | val poolName = jdo.flatMap(j => Option(j.db)).map(PoolName) getOrElse PoolName(defaultCpName)
408[warn] | ^^^^^^^^
409[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.PoolName.apply` explicitly.
410[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:398:56 ----------------
411[warn] 398 | val poolName = vdo.flatMap(v => Option(v.db)).map(PoolName) getOrElse PoolName(defaultCpName)
412[warn] | ^^^^^^^^
413[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.PoolName.apply` explicitly.
414[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:515:77 ----------------
415[warn] 515 | case RemoveVar(name) => Future.successful(stepData - name.get) 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:528:30 ----------------
419[warn] 528 | case Nil => curData map MapResult
420[warn] | ^^^^^^^^^
421[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.MapResult.apply` explicitly.
422[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:558:17 ----------------
423[warn] 558 | .map(MapResult)
424[warn] | ^^^^^^^^^
425[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.MapResult.apply` explicitly.
426[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:681:21 ----------------
427[warn] 681 | .map(TresqlSingleRowResult) getOrElse notFound
428[warn] | ^^^^^^^^^^^^^^^^^^^^^
429[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.TresqlSingleRowResult.apply` explicitly.
430[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:894:39 ----------------
431[warn] 894 | if (op.opt) r.uniqueOption map TresqlSingleRowResult getOrElse notFound
432[warn] | ^^^^^^^^^^^^^^^^^^^^^
433[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.TresqlSingleRowResult.apply` explicitly.
434[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:1066:10 ---------------
435[warn] 1066 | }.map(FileInfoResult)
436[warn] | ^^^^^^^^^^^^^^
437[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.FileInfoResult.apply` explicitly.
438[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:1225:11 ---------------
439[warn] 1225 | .map(HttpResult)
440[warn] | ^^^^^^^^^^
441[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.HttpResult.apply` explicitly.
442[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:474:2 --------------
443[warn] 474 | val fileStreamer: AppFileStreamer[User] = initFileStreamer
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:478:2 --------------
447[warn] 478 | protected def initFileStreamer: AppFileStreamer[User]
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:479:2 --------------
451[warn] 479 | def uploadPath: Directive1[Option[String]] =
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:482:2 --------------
455[warn] 482 | def uploadMultiplePath = path("upload-multiple")
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:483:2 --------------
459[warn] 483 | def downloadPath = path("download" / LongNumber / Segment) & get
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:484:2 --------------
463[warn] 484 | def uploadSizeLimit = config.getBytes("app.upload.size-limit").toLong
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:487:2 --------------
467[warn] 487 | private implicit val qe: AppQuerease = DefaultAppQuerease
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:488:2 --------------
471[warn] 488 | import AppFileStreamer._
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:489:2 --------------
475[warn] 489 | def validateFileName(fileName: String) = {}
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:491:2 --------------
479[warn] 491 | def extractFileDirective(filenameOpt: Option[String])(implicit user: User, state: ApplicationState): Directive[(Source[ByteString, Any], String, String)] =
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:515:2 --------------
483[warn] 515 | def uploadFileDirective(bytes: Source[ByteString, Any],
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:532:2 --------------
487[warn] 532 | implicit class DirectiveChain1[A](directive: Directive[(A)]) {
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:537:2 --------------
491[warn] 537 | implicit class DirectiveChain2[A, B](directive: Directive[(A, B)]) {
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:542:2 --------------
495[warn] 542 | implicit class DirectiveChain3[A, B, C](directive: Directive[(A, B, C)]) {
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:547:2 --------------
499[warn] 547 | def uploadAction(filenameOpt: Option[String])(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:555:2 --------------
503[warn] 555 | def uploadMultipleAction(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:567:2 --------------
507[warn] 567 | def uploadMultiple(implicit
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:579:2 --------------
511[warn] 579 | def uploadMultipleAsSource(implicit
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:621:2 --------------
515[warn] 621 | def downloadAction(fileInfoHelperOpt: Option[FileInfoHelper])(implicit user: User, state: ApplicationState): Route = {
516[warn] | ^
517[warn] | Line is indented too far to the left, or a `}` is missing
518[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:642:2 --------------
519[warn] 642 | def downloadAction(id: Long, sha256: String)(implicit user: User, state: ApplicationState): Route =
520[warn] | ^
521[warn] | Line is indented too far to the left, or a `}` is missing
522[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:752:73 -------------
523[warn] 752 | implicit val f02: RootJsonFormat[ValidationResult] = jsonFormat2(ValidationResult)
524[warn] | ^^^^^^^^^^^^^^^^
525[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.mojoz.querease.ValidationResult.apply` explicitly.
526[warn] -- Warning: /build/repo/src/main/scala/Audit.scala:122:2 -----------------------
527[warn] 122 | def logView(id: jLong, view: String, user: User, inParams: Map[String, Any], state: Map[String, Any], data: Map[String, Any]): Unit = {
528[warn] | ^
529[warn] | Line is indented too far to the left, or a `}` is missing
530[warn] -- Warning: /build/repo/src/main/scala/DeferredControl.scala:229:37 ------------
531[warn] 229 | timeout.filter(_ <= limit).map(QueryTimeout).getOrElse {
532[warn] | ^^^^^^^^^^^^
533[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.QueryTimeout.apply` explicitly.
534[error] -- [E006] Not Found Error: /build/repo/src/main/scala/JsonConverter.scala:38:52
535[error] 38 | case l: Iterable[Any] => JsArray((l map w) toSeq*)
536[error] | ^
537[error] | Not found: *
538[error] |
539[error] | longer explanation available when compiling with `-explain`
540[warn] -- Warning: /build/repo/src/main/scala/WabaseApp.scala:296:54 ------------------
541[warn] 296 | val poolName = vdo.flatMap(v => Option(v.db)).map(PoolName) getOrElse DefaultCp
542[warn] | ^^^^^^^^
543[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.PoolName.apply` explicitly.
544[warn] there were 35 deprecation warnings; re-run with -deprecation for details
545[warn] 39 warnings found
546[error] two errors found
547[error] (Compile / compileIncremental) Compilation failed
548[info] compiling 50 Scala sources to /build/repo/target/scala-3.4.2/classes ...
549[error] -- [E086] Syntax Error: /build/repo/src/main/scala/AppMetadata.scala:1441:27 ---
550[error] 1441 | def this() = this((() => getClass.getResourceAsStream))()
551[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
552[error] | Wrong number of parameters, expected: 0
553[error] |
554[error] | longer explanation available when compiling with `-explain`
555[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:524:69 ----------------
556[warn] 524 | tresqlExtractor = dbKeys => tresql => dbKeys ++ tresql.dbs.map(DbAccessKey),
557[warn] | ^^^^^^^^^^^
558[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.DbAccessKey.apply` explicitly.
559[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:692:75 ----------------
560[warn] 692 | Action.Db(pa, action == Action.DbUseKey, db_keys.map(DbAccessKey))
561[warn] | ^^^^^^^^^^^
562[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.DbAccessKey.apply` explicitly.
563[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:764:38 ----------------
564[warn] 764 | rep1sep(varsTransform, "+") ^^ (VariableTransforms) named "var-transforms"
565[warn] | ^^^^^^^^^^^^^^^^^^
566[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.Action.VariableTransforms.apply` explicitly.
567[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:889:25 ----------------
568[warn] 889 | db.map(AppMetadata.DbAccessKey).toList)
569[warn] | ^^^^^^^^^^^^^^^^^^^^^^^
570[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.DbAccessKey.apply` explicitly.
571[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:937:77 ----------------
572[warn] 937 | def viewType: Parser[ResType] = opt("`") ~> ViewNameRegex <~ opt("`") ^^ ViewType
573[warn] | ^^^^^^^^
574[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `ViewType.apply` explicitly.
575[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:393:56 ----------------
576[warn] 393 | val poolName = jdo.flatMap(j => Option(j.db)).map(PoolName) getOrElse PoolName(defaultCpName)
577[warn] | ^^^^^^^^
578[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.PoolName.apply` explicitly.
579[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:398:56 ----------------
580[warn] 398 | val poolName = vdo.flatMap(v => Option(v.db)).map(PoolName) getOrElse PoolName(defaultCpName)
581[warn] | ^^^^^^^^
582[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.PoolName.apply` explicitly.
583[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:515:77 ----------------
584[warn] 515 | case RemoveVar(name) => Future.successful(stepData - name.get) map MapResult
585[warn] | ^^^^^^^^^
586[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.MapResult.apply` explicitly.
587[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:528:30 ----------------
588[warn] 528 | case Nil => curData map MapResult
589[warn] | ^^^^^^^^^
590[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.MapResult.apply` explicitly.
591[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:558:17 ----------------
592[warn] 558 | .map(MapResult)
593[warn] | ^^^^^^^^^
594[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.MapResult.apply` explicitly.
595[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:681:21 ----------------
596[warn] 681 | .map(TresqlSingleRowResult) getOrElse notFound
597[warn] | ^^^^^^^^^^^^^^^^^^^^^
598[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.TresqlSingleRowResult.apply` explicitly.
599[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:894:39 ----------------
600[warn] 894 | if (op.opt) r.uniqueOption map TresqlSingleRowResult getOrElse notFound
601[warn] | ^^^^^^^^^^^^^^^^^^^^^
602[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.TresqlSingleRowResult.apply` explicitly.
603[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:1066:10 ---------------
604[warn] 1066 | }.map(FileInfoResult)
605[warn] | ^^^^^^^^^^^^^^
606[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.FileInfoResult.apply` explicitly.
607[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:1225:11 ---------------
608[warn] 1225 | .map(HttpResult)
609[warn] | ^^^^^^^^^^
610[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.HttpResult.apply` explicitly.
611[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:474:2 --------------
612[warn] 474 | val fileStreamer: AppFileStreamer[User] = initFileStreamer
613[warn] | ^
614[warn] | Line is indented too far to the left, or a `}` is missing
615[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:478:2 --------------
616[warn] 478 | protected def initFileStreamer: AppFileStreamer[User]
617[warn] | ^
618[warn] | Line is indented too far to the left, or a `}` is missing
619[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:479:2 --------------
620[warn] 479 | def uploadPath: Directive1[Option[String]] =
621[warn] | ^
622[warn] | Line is indented too far to the left, or a `}` is missing
623[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:482:2 --------------
624[warn] 482 | def uploadMultiplePath = path("upload-multiple")
625[warn] | ^
626[warn] | Line is indented too far to the left, or a `}` is missing
627[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:483:2 --------------
628[warn] 483 | def downloadPath = path("download" / LongNumber / Segment) & get
629[warn] | ^
630[warn] | Line is indented too far to the left, or a `}` is missing
631[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:484:2 --------------
632[warn] 484 | def uploadSizeLimit = config.getBytes("app.upload.size-limit").toLong
633[warn] | ^
634[warn] | Line is indented too far to the left, or a `}` is missing
635[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:487:2 --------------
636[warn] 487 | private implicit val qe: AppQuerease = DefaultAppQuerease
637[warn] | ^
638[warn] | Line is indented too far to the left, or a `}` is missing
639[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:488:2 --------------
640[warn] 488 | import AppFileStreamer._
641[warn] | ^
642[warn] | Line is indented too far to the left, or a `}` is missing
643[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:489:2 --------------
644[warn] 489 | def validateFileName(fileName: String) = {}
645[warn] | ^
646[warn] | Line is indented too far to the left, or a `}` is missing
647[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:491:2 --------------
648[warn] 491 | def extractFileDirective(filenameOpt: Option[String])(implicit user: User, state: ApplicationState): Directive[(Source[ByteString, Any], String, String)] =
649[warn] | ^
650[warn] | Line is indented too far to the left, or a `}` is missing
651[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:515:2 --------------
652[warn] 515 | def uploadFileDirective(bytes: Source[ByteString, Any],
653[warn] | ^
654[warn] | Line is indented too far to the left, or a `}` is missing
655[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:532:2 --------------
656[warn] 532 | implicit class DirectiveChain1[A](directive: Directive[(A)]) {
657[warn] | ^
658[warn] | Line is indented too far to the left, or a `}` is missing
659[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:537:2 --------------
660[warn] 537 | implicit class DirectiveChain2[A, B](directive: Directive[(A, B)]) {
661[warn] | ^
662[warn] | Line is indented too far to the left, or a `}` is missing
663[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:542:2 --------------
664[warn] 542 | implicit class DirectiveChain3[A, B, C](directive: Directive[(A, B, C)]) {
665[warn] | ^
666[warn] | Line is indented too far to the left, or a `}` is missing
667[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:547:2 --------------
668[warn] 547 | def uploadAction(filenameOpt: Option[String])(implicit
669[warn] | ^
670[warn] | Line is indented too far to the left, or a `}` is missing
671[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:555:2 --------------
672[warn] 555 | def uploadMultipleAction(implicit
673[warn] | ^
674[warn] | Line is indented too far to the left, or a `}` is missing
675[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:567:2 --------------
676[warn] 567 | def uploadMultiple(implicit
677[warn] | ^
678[warn] | Line is indented too far to the left, or a `}` is missing
679[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:579:2 --------------
680[warn] 579 | def uploadMultipleAsSource(implicit
681[warn] | ^
682[warn] | Line is indented too far to the left, or a `}` is missing
683[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:621:2 --------------
684[warn] 621 | def downloadAction(fileInfoHelperOpt: Option[FileInfoHelper])(implicit user: User, state: ApplicationState): Route = {
685[warn] | ^
686[warn] | Line is indented too far to the left, or a `}` is missing
687[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:642:2 --------------
688[warn] 642 | def downloadAction(id: Long, sha256: String)(implicit user: User, state: ApplicationState): Route =
689[warn] | ^
690[warn] | Line is indented too far to the left, or a `}` is missing
691[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:752:73 -------------
692[warn] 752 | implicit val f02: RootJsonFormat[ValidationResult] = jsonFormat2(ValidationResult)
693[warn] | ^^^^^^^^^^^^^^^^
694[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.mojoz.querease.ValidationResult.apply` explicitly.
695[warn] -- Warning: /build/repo/src/main/scala/Audit.scala:122:2 -----------------------
696[warn] 122 | def logView(id: jLong, view: String, user: User, inParams: Map[String, Any], state: Map[String, Any], data: Map[String, Any]): Unit = {
697[warn] | ^
698[warn] | Line is indented too far to the left, or a `}` is missing
699[warn] -- Warning: /build/repo/src/main/scala/DeferredControl.scala:229:37 ------------
700[warn] 229 | timeout.filter(_ <= limit).map(QueryTimeout).getOrElse {
701[warn] | ^^^^^^^^^^^^
702[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.QueryTimeout.apply` explicitly.
703[error] -- [E006] Not Found Error: /build/repo/src/main/scala/JsonConverter.scala:38:52
704[error] 38 | case l: Iterable[Any] => JsArray((l map w) toSeq*)
705[error] | ^
706[error] | Not found: *
707[error] |
708[error] | longer explanation available when compiling with `-explain`
709[warn] -- Warning: /build/repo/src/main/scala/WabaseApp.scala:296:54 ------------------
710[warn] 296 | val poolName = vdo.flatMap(v => Option(v.db)).map(PoolName) getOrElse DefaultCp
711[warn] | ^^^^^^^^
712[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.PoolName.apply` explicitly.
713[warn] there were 35 deprecation warnings; re-run with -deprecation for details
714[warn] 39 warnings found
715[error] two errors found
716[error] (Compile / compileIncremental) Compilation failed
717[info] Wrote /build/repo/target/scala-3.4.2/wabase_3-7.0.0.pom
718[info] compiling 50 Scala sources to /build/repo/target/scala-3.4.2/classes ...
719[error] -- [E086] Syntax Error: /build/repo/src/main/scala/AppMetadata.scala:1441:27 ---
720[error] 1441 | def this() = this((() => getClass.getResourceAsStream))()
721[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
722[error] | Wrong number of parameters, expected: 0
723[error] |
724[error] | longer explanation available when compiling with `-explain`
725[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:524:69 ----------------
726[warn] 524 | tresqlExtractor = dbKeys => tresql => dbKeys ++ tresql.dbs.map(DbAccessKey),
727[warn] | ^^^^^^^^^^^
728[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.DbAccessKey.apply` explicitly.
729[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:692:75 ----------------
730[warn] 692 | Action.Db(pa, action == Action.DbUseKey, db_keys.map(DbAccessKey))
731[warn] | ^^^^^^^^^^^
732[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.DbAccessKey.apply` explicitly.
733[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:764:38 ----------------
734[warn] 764 | rep1sep(varsTransform, "+") ^^ (VariableTransforms) named "var-transforms"
735[warn] | ^^^^^^^^^^^^^^^^^^
736[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.Action.VariableTransforms.apply` explicitly.
737[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:889:25 ----------------
738[warn] 889 | db.map(AppMetadata.DbAccessKey).toList)
739[warn] | ^^^^^^^^^^^^^^^^^^^^^^^
740[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.DbAccessKey.apply` explicitly.
741[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:937:77 ----------------
742[warn] 937 | def viewType: Parser[ResType] = opt("`") ~> ViewNameRegex <~ opt("`") ^^ ViewType
743[warn] | ^^^^^^^^
744[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `ViewType.apply` explicitly.
745[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:393:56 ----------------
746[warn] 393 | val poolName = jdo.flatMap(j => Option(j.db)).map(PoolName) getOrElse PoolName(defaultCpName)
747[warn] | ^^^^^^^^
748[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.PoolName.apply` explicitly.
749[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:398:56 ----------------
750[warn] 398 | val poolName = vdo.flatMap(v => Option(v.db)).map(PoolName) getOrElse PoolName(defaultCpName)
751[warn] | ^^^^^^^^
752[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.PoolName.apply` explicitly.
753[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:515:77 ----------------
754[warn] 515 | case RemoveVar(name) => Future.successful(stepData - name.get) map MapResult
755[warn] | ^^^^^^^^^
756[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.MapResult.apply` explicitly.
757[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:528:30 ----------------
758[warn] 528 | case Nil => curData map MapResult
759[warn] | ^^^^^^^^^
760[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.MapResult.apply` explicitly.
761[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:558:17 ----------------
762[warn] 558 | .map(MapResult)
763[warn] | ^^^^^^^^^
764[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.MapResult.apply` explicitly.
765[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:681:21 ----------------
766[warn] 681 | .map(TresqlSingleRowResult) getOrElse notFound
767[warn] | ^^^^^^^^^^^^^^^^^^^^^
768[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.TresqlSingleRowResult.apply` explicitly.
769[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:894:39 ----------------
770[warn] 894 | if (op.opt) r.uniqueOption map TresqlSingleRowResult getOrElse notFound
771[warn] | ^^^^^^^^^^^^^^^^^^^^^
772[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.TresqlSingleRowResult.apply` explicitly.
773[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:1066:10 ---------------
774[warn] 1066 | }.map(FileInfoResult)
775[warn] | ^^^^^^^^^^^^^^
776[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.FileInfoResult.apply` explicitly.
777[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:1225:11 ---------------
778[warn] 1225 | .map(HttpResult)
779[warn] | ^^^^^^^^^^
780[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.HttpResult.apply` explicitly.
781[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:474:2 --------------
782[warn] 474 | val fileStreamer: AppFileStreamer[User] = initFileStreamer
783[warn] | ^
784[warn] | Line is indented too far to the left, or a `}` is missing
785[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:478:2 --------------
786[warn] 478 | protected def initFileStreamer: AppFileStreamer[User]
787[warn] | ^
788[warn] | Line is indented too far to the left, or a `}` is missing
789[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:479:2 --------------
790[warn] 479 | def uploadPath: Directive1[Option[String]] =
791[warn] | ^
792[warn] | Line is indented too far to the left, or a `}` is missing
793[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:482:2 --------------
794[warn] 482 | def uploadMultiplePath = path("upload-multiple")
795[warn] | ^
796[warn] | Line is indented too far to the left, or a `}` is missing
797[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:483:2 --------------
798[warn] 483 | def downloadPath = path("download" / LongNumber / Segment) & get
799[warn] | ^
800[warn] | Line is indented too far to the left, or a `}` is missing
801[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:484:2 --------------
802[warn] 484 | def uploadSizeLimit = config.getBytes("app.upload.size-limit").toLong
803[warn] | ^
804[warn] | Line is indented too far to the left, or a `}` is missing
805[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:487:2 --------------
806[warn] 487 | private implicit val qe: AppQuerease = DefaultAppQuerease
807[warn] | ^
808[warn] | Line is indented too far to the left, or a `}` is missing
809[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:488:2 --------------
810[warn] 488 | import AppFileStreamer._
811[warn] | ^
812[warn] | Line is indented too far to the left, or a `}` is missing
813[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:489:2 --------------
814[warn] 489 | def validateFileName(fileName: String) = {}
815[warn] | ^
816[warn] | Line is indented too far to the left, or a `}` is missing
817[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:491:2 --------------
818[warn] 491 | def extractFileDirective(filenameOpt: Option[String])(implicit user: User, state: ApplicationState): Directive[(Source[ByteString, Any], String, String)] =
819[warn] | ^
820[warn] | Line is indented too far to the left, or a `}` is missing
821[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:515:2 --------------
822[warn] 515 | def uploadFileDirective(bytes: Source[ByteString, Any],
823[warn] | ^
824[warn] | Line is indented too far to the left, or a `}` is missing
825[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:532:2 --------------
826[warn] 532 | implicit class DirectiveChain1[A](directive: Directive[(A)]) {
827[warn] | ^
828[warn] | Line is indented too far to the left, or a `}` is missing
829[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:537:2 --------------
830[warn] 537 | implicit class DirectiveChain2[A, B](directive: Directive[(A, B)]) {
831[warn] | ^
832[warn] | Line is indented too far to the left, or a `}` is missing
833[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:542:2 --------------
834[warn] 542 | implicit class DirectiveChain3[A, B, C](directive: Directive[(A, B, C)]) {
835[warn] | ^
836[warn] | Line is indented too far to the left, or a `}` is missing
837[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:547:2 --------------
838[warn] 547 | def uploadAction(filenameOpt: Option[String])(implicit
839[warn] | ^
840[warn] | Line is indented too far to the left, or a `}` is missing
841[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:555:2 --------------
842[warn] 555 | def uploadMultipleAction(implicit
843[warn] | ^
844[warn] | Line is indented too far to the left, or a `}` is missing
845[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:567:2 --------------
846[warn] 567 | def uploadMultiple(implicit
847[warn] | ^
848[warn] | Line is indented too far to the left, or a `}` is missing
849[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:579:2 --------------
850[warn] 579 | def uploadMultipleAsSource(implicit
851[warn] | ^
852[warn] | Line is indented too far to the left, or a `}` is missing
853[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:621:2 --------------
854[warn] 621 | def downloadAction(fileInfoHelperOpt: Option[FileInfoHelper])(implicit user: User, state: ApplicationState): Route = {
855[warn] | ^
856[warn] | Line is indented too far to the left, or a `}` is missing
857[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:642:2 --------------
858[warn] 642 | def downloadAction(id: Long, sha256: String)(implicit user: User, state: ApplicationState): Route =
859[warn] | ^
860[warn] | Line is indented too far to the left, or a `}` is missing
861[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:752:73 -------------
862[warn] 752 | implicit val f02: RootJsonFormat[ValidationResult] = jsonFormat2(ValidationResult)
863[warn] | ^^^^^^^^^^^^^^^^
864[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.mojoz.querease.ValidationResult.apply` explicitly.
865[warn] -- Warning: /build/repo/src/main/scala/Audit.scala:122:2 -----------------------
866[warn] 122 | def logView(id: jLong, view: String, user: User, inParams: Map[String, Any], state: Map[String, Any], data: Map[String, Any]): Unit = {
867[warn] | ^
868[warn] | Line is indented too far to the left, or a `}` is missing
869[warn] -- Warning: /build/repo/src/main/scala/DeferredControl.scala:229:37 ------------
870[warn] 229 | timeout.filter(_ <= limit).map(QueryTimeout).getOrElse {
871[warn] | ^^^^^^^^^^^^
872[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.QueryTimeout.apply` explicitly.
873[error] -- [E006] Not Found Error: /build/repo/src/main/scala/JsonConverter.scala:38:52
874[error] 38 | case l: Iterable[Any] => JsArray((l map w) toSeq*)
875[error] | ^
876[error] | Not found: *
877[error] |
878[error] | longer explanation available when compiling with `-explain`
879[warn] -- Warning: /build/repo/src/main/scala/WabaseApp.scala:296:54 ------------------
880[warn] 296 | val poolName = vdo.flatMap(v => Option(v.db)).map(PoolName) getOrElse DefaultCp
881[warn] | ^^^^^^^^
882[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.PoolName.apply` explicitly.
883[warn] there were 35 deprecation warnings; re-run with -deprecation for details
884[warn] 39 warnings found
885[error] two errors found
886[error] (Compile / compileIncremental) Compilation failed
887[info] compiling 50 Scala sources to /build/repo/target/scala-3.4.2/classes ...
888[error] -- [E086] Syntax Error: /build/repo/src/main/scala/AppMetadata.scala:1441:27 ---
889[error] 1441 | def this() = this((() => getClass.getResourceAsStream))()
890[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
891[error] | Wrong number of parameters, expected: 0
892[error] |
893[error] | longer explanation available when compiling with `-explain`
894[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:524:69 ----------------
895[warn] 524 | tresqlExtractor = dbKeys => tresql => dbKeys ++ tresql.dbs.map(DbAccessKey),
896[warn] | ^^^^^^^^^^^
897[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.DbAccessKey.apply` explicitly.
898[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:692:75 ----------------
899[warn] 692 | Action.Db(pa, action == Action.DbUseKey, db_keys.map(DbAccessKey))
900[warn] | ^^^^^^^^^^^
901[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.DbAccessKey.apply` explicitly.
902[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:764:38 ----------------
903[warn] 764 | rep1sep(varsTransform, "+") ^^ (VariableTransforms) named "var-transforms"
904[warn] | ^^^^^^^^^^^^^^^^^^
905[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.Action.VariableTransforms.apply` explicitly.
906[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:889:25 ----------------
907[warn] 889 | db.map(AppMetadata.DbAccessKey).toList)
908[warn] | ^^^^^^^^^^^^^^^^^^^^^^^
909[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.DbAccessKey.apply` explicitly.
910[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:937:77 ----------------
911[warn] 937 | def viewType: Parser[ResType] = opt("`") ~> ViewNameRegex <~ opt("`") ^^ ViewType
912[warn] | ^^^^^^^^
913[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `ViewType.apply` explicitly.
914[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:393:56 ----------------
915[warn] 393 | val poolName = jdo.flatMap(j => Option(j.db)).map(PoolName) getOrElse PoolName(defaultCpName)
916[warn] | ^^^^^^^^
917[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.PoolName.apply` explicitly.
918[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:398:56 ----------------
919[warn] 398 | val poolName = vdo.flatMap(v => Option(v.db)).map(PoolName) getOrElse PoolName(defaultCpName)
920[warn] | ^^^^^^^^
921[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.PoolName.apply` explicitly.
922[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:515:77 ----------------
923[warn] 515 | case RemoveVar(name) => Future.successful(stepData - name.get) map MapResult
924[warn] | ^^^^^^^^^
925[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.MapResult.apply` explicitly.
926[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:528:30 ----------------
927[warn] 528 | case Nil => curData map MapResult
928[warn] | ^^^^^^^^^
929[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.MapResult.apply` explicitly.
930[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:558:17 ----------------
931[warn] 558 | .map(MapResult)
932[warn] | ^^^^^^^^^
933[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.MapResult.apply` explicitly.
934[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:681:21 ----------------
935[warn] 681 | .map(TresqlSingleRowResult) getOrElse notFound
936[warn] | ^^^^^^^^^^^^^^^^^^^^^
937[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.TresqlSingleRowResult.apply` explicitly.
938[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:894:39 ----------------
939[warn] 894 | if (op.opt) r.uniqueOption map TresqlSingleRowResult getOrElse notFound
940[warn] | ^^^^^^^^^^^^^^^^^^^^^
941[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.TresqlSingleRowResult.apply` explicitly.
942[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:1066:10 ---------------
943[warn] 1066 | }.map(FileInfoResult)
944[warn] | ^^^^^^^^^^^^^^
945[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.FileInfoResult.apply` explicitly.
946[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:1225:11 ---------------
947[warn] 1225 | .map(HttpResult)
948[warn] | ^^^^^^^^^^
949[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.HttpResult.apply` explicitly.
950[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:474:2 --------------
951[warn] 474 | val fileStreamer: AppFileStreamer[User] = initFileStreamer
952[warn] | ^
953[warn] | Line is indented too far to the left, or a `}` is missing
954[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:478:2 --------------
955[warn] 478 | protected def initFileStreamer: AppFileStreamer[User]
956[warn] | ^
957[warn] | Line is indented too far to the left, or a `}` is missing
958[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:479:2 --------------
959[warn] 479 | def uploadPath: Directive1[Option[String]] =
960[warn] | ^
961[warn] | Line is indented too far to the left, or a `}` is missing
962[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:482:2 --------------
963[warn] 482 | def uploadMultiplePath = path("upload-multiple")
964[warn] | ^
965[warn] | Line is indented too far to the left, or a `}` is missing
966[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:483:2 --------------
967[warn] 483 | def downloadPath = path("download" / LongNumber / Segment) & get
968[warn] | ^
969[warn] | Line is indented too far to the left, or a `}` is missing
970[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:484:2 --------------
971[warn] 484 | def uploadSizeLimit = config.getBytes("app.upload.size-limit").toLong
972[warn] | ^
973[warn] | Line is indented too far to the left, or a `}` is missing
974[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:487:2 --------------
975[warn] 487 | private implicit val qe: AppQuerease = DefaultAppQuerease
976[warn] | ^
977[warn] | Line is indented too far to the left, or a `}` is missing
978[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:488:2 --------------
979[warn] 488 | import AppFileStreamer._
980[warn] | ^
981[warn] | Line is indented too far to the left, or a `}` is missing
982[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:489:2 --------------
983[warn] 489 | def validateFileName(fileName: String) = {}
984[warn] | ^
985[warn] | Line is indented too far to the left, or a `}` is missing
986[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:491:2 --------------
987[warn] 491 | def extractFileDirective(filenameOpt: Option[String])(implicit user: User, state: ApplicationState): Directive[(Source[ByteString, Any], String, String)] =
988[warn] | ^
989[warn] | Line is indented too far to the left, or a `}` is missing
990[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:515:2 --------------
991[warn] 515 | def uploadFileDirective(bytes: Source[ByteString, Any],
992[warn] | ^
993[warn] | Line is indented too far to the left, or a `}` is missing
994[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:532:2 --------------
995[warn] 532 | implicit class DirectiveChain1[A](directive: Directive[(A)]) {
996[warn] | ^
997[warn] | Line is indented too far to the left, or a `}` is missing
998[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:537:2 --------------
999[warn] 537 | implicit class DirectiveChain2[A, B](directive: Directive[(A, B)]) {
1000[warn] | ^
1001[warn] | Line is indented too far to the left, or a `}` is missing
1002[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:542:2 --------------
1003[warn] 542 | implicit class DirectiveChain3[A, B, C](directive: Directive[(A, B, C)]) {
1004[warn] | ^
1005[warn] | Line is indented too far to the left, or a `}` is missing
1006[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:547:2 --------------
1007[warn] 547 | def uploadAction(filenameOpt: Option[String])(implicit
1008[warn] | ^
1009[warn] | Line is indented too far to the left, or a `}` is missing
1010[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:555:2 --------------
1011[warn] 555 | def uploadMultipleAction(implicit
1012[warn] | ^
1013[warn] | Line is indented too far to the left, or a `}` is missing
1014[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:567:2 --------------
1015[warn] 567 | def uploadMultiple(implicit
1016[warn] | ^
1017[warn] | Line is indented too far to the left, or a `}` is missing
1018[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:579:2 --------------
1019[warn] 579 | def uploadMultipleAsSource(implicit
1020[warn] | ^
1021[warn] | Line is indented too far to the left, or a `}` is missing
1022[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:621:2 --------------
1023[warn] 621 | def downloadAction(fileInfoHelperOpt: Option[FileInfoHelper])(implicit user: User, state: ApplicationState): Route = {
1024[warn] | ^
1025[warn] | Line is indented too far to the left, or a `}` is missing
1026[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:642:2 --------------
1027[warn] 642 | def downloadAction(id: Long, sha256: String)(implicit user: User, state: ApplicationState): Route =
1028[warn] | ^
1029[warn] | Line is indented too far to the left, or a `}` is missing
1030[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:752:73 -------------
1031[warn] 752 | implicit val f02: RootJsonFormat[ValidationResult] = jsonFormat2(ValidationResult)
1032[warn] | ^^^^^^^^^^^^^^^^
1033[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.mojoz.querease.ValidationResult.apply` explicitly.
1034[warn] -- Warning: /build/repo/src/main/scala/Audit.scala:122:2 -----------------------
1035[warn] 122 | def logView(id: jLong, view: String, user: User, inParams: Map[String, Any], state: Map[String, Any], data: Map[String, Any]): Unit = {
1036[warn] | ^
1037[warn] | Line is indented too far to the left, or a `}` is missing
1038[warn] -- Warning: /build/repo/src/main/scala/DeferredControl.scala:229:37 ------------
1039[warn] 229 | timeout.filter(_ <= limit).map(QueryTimeout).getOrElse {
1040[warn] | ^^^^^^^^^^^^
1041[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.QueryTimeout.apply` explicitly.
1042[error] -- [E006] Not Found Error: /build/repo/src/main/scala/JsonConverter.scala:38:52
1043[error] 38 | case l: Iterable[Any] => JsArray((l map w) toSeq*)
1044[error] | ^
1045[error] | Not found: *
1046[error] |
1047[error] | longer explanation available when compiling with `-explain`
1048[warn] -- Warning: /build/repo/src/main/scala/WabaseApp.scala:296:54 ------------------
1049[warn] 296 | val poolName = vdo.flatMap(v => Option(v.db)).map(PoolName) getOrElse DefaultCp
1050[warn] | ^^^^^^^^
1051[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.PoolName.apply` explicitly.
1052[warn] there were 35 deprecation warnings; re-run with -deprecation for details
1053[warn] 39 warnings found
1054[error] two errors found
1055[error] (Compile / compileIncremental) Compilation failed
1056[info] compiling 50 Scala sources to /build/repo/target/scala-3.4.2/classes ...
1057[error] -- [E086] Syntax Error: /build/repo/src/main/scala/AppMetadata.scala:1441:27 ---
1058[error] 1441 | def this() = this((() => getClass.getResourceAsStream))()
1059[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1060[error] | Wrong number of parameters, expected: 0
1061[error] |
1062[error] | longer explanation available when compiling with `-explain`
1063[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:524:69 ----------------
1064[warn] 524 | tresqlExtractor = dbKeys => tresql => dbKeys ++ tresql.dbs.map(DbAccessKey),
1065[warn] | ^^^^^^^^^^^
1066[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.DbAccessKey.apply` explicitly.
1067[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:692:75 ----------------
1068[warn] 692 | Action.Db(pa, action == Action.DbUseKey, db_keys.map(DbAccessKey))
1069[warn] | ^^^^^^^^^^^
1070[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.DbAccessKey.apply` explicitly.
1071[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:764:38 ----------------
1072[warn] 764 | rep1sep(varsTransform, "+") ^^ (VariableTransforms) named "var-transforms"
1073[warn] | ^^^^^^^^^^^^^^^^^^
1074[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.Action.VariableTransforms.apply` explicitly.
1075[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:889:25 ----------------
1076[warn] 889 | db.map(AppMetadata.DbAccessKey).toList)
1077[warn] | ^^^^^^^^^^^^^^^^^^^^^^^
1078[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.AppMetadata.DbAccessKey.apply` explicitly.
1079[warn] -- Warning: /build/repo/src/main/scala/AppMetadata.scala:937:77 ----------------
1080[warn] 937 | def viewType: Parser[ResType] = opt("`") ~> ViewNameRegex <~ opt("`") ^^ ViewType
1081[warn] | ^^^^^^^^
1082[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `ViewType.apply` explicitly.
1083[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:393:56 ----------------
1084[warn] 393 | val poolName = jdo.flatMap(j => Option(j.db)).map(PoolName) getOrElse PoolName(defaultCpName)
1085[warn] | ^^^^^^^^
1086[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.PoolName.apply` explicitly.
1087[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:398:56 ----------------
1088[warn] 398 | val poolName = vdo.flatMap(v => Option(v.db)).map(PoolName) getOrElse PoolName(defaultCpName)
1089[warn] | ^^^^^^^^
1090[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.PoolName.apply` explicitly.
1091[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:515:77 ----------------
1092[warn] 515 | case RemoveVar(name) => Future.successful(stepData - name.get) map MapResult
1093[warn] | ^^^^^^^^^
1094[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.MapResult.apply` explicitly.
1095[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:528:30 ----------------
1096[warn] 528 | case Nil => curData map MapResult
1097[warn] | ^^^^^^^^^
1098[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.MapResult.apply` explicitly.
1099[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:558:17 ----------------
1100[warn] 558 | .map(MapResult)
1101[warn] | ^^^^^^^^^
1102[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.MapResult.apply` explicitly.
1103[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:681:21 ----------------
1104[warn] 681 | .map(TresqlSingleRowResult) getOrElse notFound
1105[warn] | ^^^^^^^^^^^^^^^^^^^^^
1106[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.TresqlSingleRowResult.apply` explicitly.
1107[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:894:39 ----------------
1108[warn] 894 | if (op.opt) r.uniqueOption map TresqlSingleRowResult getOrElse notFound
1109[warn] | ^^^^^^^^^^^^^^^^^^^^^
1110[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.TresqlSingleRowResult.apply` explicitly.
1111[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:1066:10 ---------------
1112[warn] 1066 | }.map(FileInfoResult)
1113[warn] | ^^^^^^^^^^^^^^
1114[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.FileInfoResult.apply` explicitly.
1115[warn] -- Warning: /build/repo/src/main/scala/AppQuerease.scala:1225:11 ---------------
1116[warn] 1225 | .map(HttpResult)
1117[warn] | ^^^^^^^^^^
1118[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.HttpResult.apply` explicitly.
1119[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:474:2 --------------
1120[warn] 474 | val fileStreamer: AppFileStreamer[User] = initFileStreamer
1121[warn] | ^
1122[warn] | Line is indented too far to the left, or a `}` is missing
1123[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:478:2 --------------
1124[warn] 478 | protected def initFileStreamer: AppFileStreamer[User]
1125[warn] | ^
1126[warn] | Line is indented too far to the left, or a `}` is missing
1127[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:479:2 --------------
1128[warn] 479 | def uploadPath: Directive1[Option[String]] =
1129[warn] | ^
1130[warn] | Line is indented too far to the left, or a `}` is missing
1131[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:482:2 --------------
1132[warn] 482 | def uploadMultiplePath = path("upload-multiple")
1133[warn] | ^
1134[warn] | Line is indented too far to the left, or a `}` is missing
1135[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:483:2 --------------
1136[warn] 483 | def downloadPath = path("download" / LongNumber / Segment) & get
1137[warn] | ^
1138[warn] | Line is indented too far to the left, or a `}` is missing
1139[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:484:2 --------------
1140[warn] 484 | def uploadSizeLimit = config.getBytes("app.upload.size-limit").toLong
1141[warn] | ^
1142[warn] | Line is indented too far to the left, or a `}` is missing
1143[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:487:2 --------------
1144[warn] 487 | private implicit val qe: AppQuerease = DefaultAppQuerease
1145[warn] | ^
1146[warn] | Line is indented too far to the left, or a `}` is missing
1147[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:488:2 --------------
1148[warn] 488 | import AppFileStreamer._
1149[warn] | ^
1150[warn] | Line is indented too far to the left, or a `}` is missing
1151[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:489:2 --------------
1152[warn] 489 | def validateFileName(fileName: String) = {}
1153[warn] | ^
1154[warn] | Line is indented too far to the left, or a `}` is missing
1155[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:491:2 --------------
1156[warn] 491 | def extractFileDirective(filenameOpt: Option[String])(implicit user: User, state: ApplicationState): Directive[(Source[ByteString, Any], String, String)] =
1157[warn] | ^
1158[warn] | Line is indented too far to the left, or a `}` is missing
1159[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:515:2 --------------
1160[warn] 515 | def uploadFileDirective(bytes: Source[ByteString, Any],
1161[warn] | ^
1162[warn] | Line is indented too far to the left, or a `}` is missing
1163[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:532:2 --------------
1164[warn] 532 | implicit class DirectiveChain1[A](directive: Directive[(A)]) {
1165[warn] | ^
1166[warn] | Line is indented too far to the left, or a `}` is missing
1167[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:537:2 --------------
1168[warn] 537 | implicit class DirectiveChain2[A, B](directive: Directive[(A, B)]) {
1169[warn] | ^
1170[warn] | Line is indented too far to the left, or a `}` is missing
1171[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:542:2 --------------
1172[warn] 542 | implicit class DirectiveChain3[A, B, C](directive: Directive[(A, B, C)]) {
1173[warn] | ^
1174[warn] | Line is indented too far to the left, or a `}` is missing
1175[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:547:2 --------------
1176[warn] 547 | def uploadAction(filenameOpt: Option[String])(implicit
1177[warn] | ^
1178[warn] | Line is indented too far to the left, or a `}` is missing
1179[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:555:2 --------------
1180[warn] 555 | def uploadMultipleAction(implicit
1181[warn] | ^
1182[warn] | Line is indented too far to the left, or a `}` is missing
1183[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:567:2 --------------
1184[warn] 567 | def uploadMultiple(implicit
1185[warn] | ^
1186[warn] | Line is indented too far to the left, or a `}` is missing
1187[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:579:2 --------------
1188[warn] 579 | def uploadMultipleAsSource(implicit
1189[warn] | ^
1190[warn] | Line is indented too far to the left, or a `}` is missing
1191[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:621:2 --------------
1192[warn] 621 | def downloadAction(fileInfoHelperOpt: Option[FileInfoHelper])(implicit user: User, state: ApplicationState): Route = {
1193[warn] | ^
1194[warn] | Line is indented too far to the left, or a `}` is missing
1195[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:642:2 --------------
1196[warn] 642 | def downloadAction(id: Long, sha256: String)(implicit user: User, state: ApplicationState): Route =
1197[warn] | ^
1198[warn] | Line is indented too far to the left, or a `}` is missing
1199[warn] -- Warning: /build/repo/src/main/scala/AppServiceBase.scala:752:73 -------------
1200[warn] 752 | implicit val f02: RootJsonFormat[ValidationResult] = jsonFormat2(ValidationResult)
1201[warn] | ^^^^^^^^^^^^^^^^
1202[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.mojoz.querease.ValidationResult.apply` explicitly.
1203[warn] -- Warning: /build/repo/src/main/scala/Audit.scala:122:2 -----------------------
1204[warn] 122 | def logView(id: jLong, view: String, user: User, inParams: Map[String, Any], state: Map[String, Any], data: Map[String, Any]): Unit = {
1205[warn] | ^
1206[warn] | Line is indented too far to the left, or a `}` is missing
1207[warn] -- Warning: /build/repo/src/main/scala/DeferredControl.scala:229:37 ------------
1208[warn] 229 | timeout.filter(_ <= limit).map(QueryTimeout).getOrElse {
1209[warn] | ^^^^^^^^^^^^
1210[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.QueryTimeout.apply` explicitly.
1211[error] -- [E006] Not Found Error: /build/repo/src/main/scala/JsonConverter.scala:38:52
1212[error] 38 | case l: Iterable[Any] => JsArray((l map w) toSeq*)
1213[error] | ^
1214[error] | Not found: *
1215[error] |
1216[error] | longer explanation available when compiling with `-explain`
1217[warn] -- Warning: /build/repo/src/main/scala/WabaseApp.scala:296:54 ------------------
1218[warn] 296 | val poolName = vdo.flatMap(v => Option(v.db)).map(PoolName) getOrElse DefaultCp
1219[warn] | ^^^^^^^^
1220[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.wabase.PoolName.apply` explicitly.
1221[warn] there were 35 deprecation warnings; re-run with -deprecation for details
1222[warn] 39 warnings found
1223[error] two errors found
1224[error] (Compile / compileIncremental) Compilation failed
1225
1226************************
1227Build summary:
1228[{
1229 "module": "wabase",
1230 "compile": {"status": "ok", "tookMs": 33312, "warnings": 47, "errors": 0, "sourceVersion": "3.4-migration"},
1231 "doc": {"status": "failed", "failureContext": {"type": "buildError", "reasons": ["Compilation failed"]}, "tookMs": 5991, "files": 0, "totalSizeKb": 0},
1232 "test-compile": {"status": "failed", "failureContext": {"type": "buildError", "reasons": ["Compilation failed"]}, "tookMs": 5916, "warnings": 39, "errors": 2, "sourceVersion": "3.4-migration"},
1233 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
1234 "publish": {"status": "failed", "failureContext": {"type": "buildError", "reasons": ["Compilation failed"]}, "tookMs": 5015}
1235}]
1236************************
1237[error] Scala3CommunityBuild$ProjectBuildFailureException: 1 module(s) finished with failures: wabase
1238[error] (Global / runBuild) Scala3CommunityBuild$ProjectBuildFailureException: 1 module(s) finished with failures: wabase
1239[error] Total time: 78 s (01:18), completed Jan 4, 2025, 4:12:51 PM
1240Build failed, not retrying.