Build Logs
rssh/dotty-cps-async • 12446961640
Errors
4
Warnings
1220
Total Lines
1677
1##################################
2Clonning https://github.com/rssh/dotty-cps-async.git into repo using revision 0.9.22
3##################################
4Note: switching to 'f4cc60958966f6345625974ec3de26f0290ab784'.
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.2
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.2
32Execute tests: false
33sbt project found:
34No prepare script found for project rssh/dotty-cps-async
35##################################
36Scala version: 3.6.2
37Targets: com.github.rssh%dotty-cps-async com.github.rssh%dotty-cps-async-compiler-plugin com.github.rssh%dotty-cps-async-compiler-plugin-lts com.github.rssh%dotty-cps-async-logic com.github.rssh%dotty-cps-async-logic-lts com.github.rssh%dotty-cps-async-loom com.github.rssh%dotty-cps-async-loom-lts com.github.rssh%dotty-cps-async-lts
38Project projectConfig: { "projects": { "exclude": [], "overrides": {} }, "java": { "version": "21" }, "sbt": { "commands": [ "mapScalacOptions \"\" \"-Ydebug,-Ydebug-trace,-Ydebug-names,-Xprint-types,-Yprint-syms,-uniqid\" " ], "options": [] }, "mill": { "options": [] }, "tests": "compile-only", "migrationVersions": [], "sourcePatches": [] }
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 = '21'
44[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21/rt.jar'
45# Executing command line:
46java
47-Dfile.encoding=UTF-8
48-Dcommunitybuild.scala=3.6.2
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_21
55-jar
56/root/.sdkman/candidates/sbt/1.9.6/bin/sbt-launch.jar
57"setCrossScalaVersions 3.6.2"
58"++3.6.2 -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"mapScalacOptions "" "-Ydebug,-Ydebug-trace,-Ydebug-names,-Xprint-types,-Yprint-syms,-uniqid" "
62moduleMappings
63"runBuild 3.6.2 """{
64 "projects": {
65 "exclude": [],
66 "overrides": {}
67 },
68 "java": {
69 "version": "21"
70 },
71 "sbt": {
72 "commands": [
73 "mapScalacOptions \"\" \"-Ydebug,-Ydebug-trace,-Ydebug-names,-Xprint-types,-Yprint-syms,-uniqid\" "
74 ],
75 "options": []
76 },
77 "mill": {
78 "options": []
79 },
80 "tests": "compile-only",
81 "migrationVersions": [],
82 "sourcePatches": []
83}""" com.github.rssh%dotty-cps-async com.github.rssh%dotty-cps-async-compiler-plugin com.github.rssh%dotty-cps-async-compiler-plugin-lts com.github.rssh%dotty-cps-async-logic com.github.rssh%dotty-cps-async-logic-lts com.github.rssh%dotty-cps-async-loom com.github.rssh%dotty-cps-async-loom-lts com.github.rssh%dotty-cps-async-lts"
84
85[info] [launcher] getting org.scala-sbt sbt 1.10.0 (this may take some time)...
86[info] [launcher] getting Scala 2.12.19 (for sbt)...
87[info] welcome to sbt 1.10.0 (Eclipse Adoptium Java 21)
88[info] loading settings for project repo-build from plugins.sbt ...
89[info] loading project definition from /build/repo/project
90[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
91[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.19. Compiling...
92[info] Compilation completed in 7.8s.
93[info] done compiling
94/build/repo/publish.sbt:26: warning: constructor URL in class URL is deprecated
95ThisBuild / licenses := List("Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt"))
96 ^
97[info] loading settings for project root from build.sbt,publish.sbt ...
98[info] resolving key references (11791 settings) ...
99[info] set current project to root (in build file:/build/repo/)
100Execute setCrossScalaVersions: 3.6.2
101OpenCB::Changing crossVersion 3.5.0 -> 3.6.2 in compilerPluginTestsJVM/crossScalaVersions
102OpenCB::Limitting incorrect crossVersions List(2.12.19) -> List(3.6.2) in compilerPluginTestsJVM/crossScalaVersions
103OpenCB::Changing crossVersion 3.5.0 -> 3.6.2 in compilerPlugin/crossScalaVersions
104OpenCB::Limitting incorrect crossVersions List(2.12.19) -> List(3.6.2) in compilerPlugin/crossScalaVersions
105OpenCB::Changing crossVersion 3.5.0 -> 3.6.2 in cpsLoomAddOn/crossScalaVersions
106OpenCB::Limitting incorrect crossVersions List(2.12.19) -> List(3.6.2) in cpsLoomAddOn/crossScalaVersions
107OpenCB::Changing crossVersion 3.5.0 -> 3.6.2 in logicJS/crossScalaVersions
108OpenCB::Limitting incorrect crossVersions List(2.12.19) -> List(3.6.2) in logicJS/crossScalaVersions
109OpenCB::Changing crossVersion 3.5.0 -> 3.6.2 in compilerPluginTestsNative/crossScalaVersions
110OpenCB::Limitting incorrect crossVersions List(2.12.19) -> List(3.6.2) in compilerPluginTestsNative/crossScalaVersions
111OpenCB::Changing crossVersion 3.5.0 -> 3.6.2 in logicJVM/crossScalaVersions
112OpenCB::Limitting incorrect crossVersions List(2.12.19) -> List(3.6.2) in logicJVM/crossScalaVersions
113OpenCB::Changing crossVersion 3.5.0 -> 3.6.2 in compilerPluginTestsJS/crossScalaVersions
114OpenCB::Limitting incorrect crossVersions List(2.12.19) -> List(3.6.2) in compilerPluginTestsJS/crossScalaVersions
115OpenCB::Changing crossVersion 3.5.0 -> 3.6.2 in cpsLoomTest/crossScalaVersions
116OpenCB::Limitting incorrect crossVersions List(2.12.19) -> List(3.6.2) in cpsLoomTest/crossScalaVersions
117OpenCB::Changing crossVersion 3.5.0 -> 3.6.2 in cpsNative/crossScalaVersions
118OpenCB::Limitting incorrect crossVersions List(2.12.19) -> List(3.6.2) in cpsNative/crossScalaVersions
119OpenCB::Changing crossVersion 3.5.0 -> 3.6.2 in logicNative/crossScalaVersions
120OpenCB::Limitting incorrect crossVersions List(2.12.19) -> List(3.6.2) in logicNative/crossScalaVersions
121OpenCB::Changing crossVersion 3.5.0 -> 3.6.2 in cpsJS/crossScalaVersions
122OpenCB::Limitting incorrect crossVersions List(2.12.19) -> List(3.6.2) in cpsJS/crossScalaVersions
123OpenCB::Changing crossVersion 3.5.0 -> 3.6.2 in cpsJVM/crossScalaVersions
124OpenCB::Limitting incorrect crossVersions List(2.12.19) -> List(3.6.2) in cpsJVM/crossScalaVersions
125[info] set current project to root (in build file:/build/repo/)
126[info] Setting Scala version to 3.6.2 on 12 projects.
127[info] Switching Scala version on:
128[info] logicNative (3.6.2)
129[info] cpsNative (3.6.2)
130[info] cpsJS (3.6.2)
131[info] cpsLoomTest (3.6.2)
132[info] cpsLoomAddOn (3.6.2)
133[info] logicJVM (3.6.2)
134[info] compilerPluginTestsNative (3.6.2)
135[info] compilerPluginTestsJVM (3.6.2)
136[info] logicJS (3.6.2)
137[info] compilerPlugin (3.6.2)
138[info] cpsJVM (3.6.2)
139[info] compilerPluginTestsJS (3.6.2)
140[info] Excluding projects:
141[info] * root (2.12.19)
142[info] Reapplying settings...
143[info] set current project to root (in build file:/build/repo/)
144Execute mapScalacOptions: ,-source:3.6-migration,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,
145[info] Reapplying settings...
146[info] set current project to root (in build file:/build/repo/)
147[info] Defining Global / credentials, credentials
148[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 52 others.
149[info] Run `last` for details.
150[info] Reapplying settings...
151[info] set current project to root (in build file:/build/repo/)
152Execute mapScalacOptions: -Ydebug,-Ydebug-trace,-Ydebug-names,-Xprint-types,-Yprint-syms,-uniqid
153[info] Reapplying settings...
154[info] set current project to root (in build file:/build/repo/)
155[success] Total time: 0 s, completed Dec 21, 2024, 6:47:46 PM
156Build config: {
157 "projects": {
158 "exclude": [],
159 "overrides": {}
160 },
161 "java": {
162 "version": "21"
163 },
164 "sbt": {
165 "commands": [
166 "mapScalacOptions \"\" \"-Ydebug,-Ydebug-trace,-Ydebug-names,-Xprint-types,-Yprint-syms,-uniqid\" "
167 ],
168 "options": []
169 },
170 "mill": {
171 "options": []
172 },
173 "tests": "compile-only",
174 "migrationVersions": [],
175 "sourcePatches": []
176}
177Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
178Starting build...
179Module mapping missing:
180 id: com.github.rssh%dotty-cps-async-compiler-plugin-lts
181 testedIds: List(com.github.rssh%dotty-cps-async-compiler-plugin-lts, com.github.rssh%dotty-cps-async-compiler-plugin-lts_3.6.2, com.github.rssh%dotty-cps-async-compiler-plugin-lts_3, com.github.rssh%dotty-cps-async-compiler-plugin-ltsDotty)
182 scalaVersionSuffix: _3.6.2
183 scalaBinaryVersionSuffix: _3
184 refsByName: Set(logicNative, cpsNative, cpsJS, cpsLoomTest, root, cpsLoomAddOn, logicJVM, compilerPluginTestsNative, compilerPluginTestsJVM, logicJS, compilerPlugin, cpsJVM, compilerPluginTestsJS)
185 originalModuleIds: Set(com.github.rssh%dotty-cps-async_sjs1, com.github.rssh%dotty-cps-async-compiler-plugin, com.github.rssh%dotty-cps-async-logic_sjs1, com.github.rssh%dotty-cps-compiler-plugin-tests_sjs1, com.github.rssh%dotty-cps-compiler-plugin-tests_native0.5, com.github.rssh%dotty-cps-async-logic, com.github.rssh%dotty-cps-compiler-plugin-tests, com.github.rssh%root_2.12, com.github.rssh%dotty-cps-async-loom-test, com.github.rssh%dotty-cps-async-loom, com.github.rssh%dotty-cps-async-logic_native0.5, com.github.rssh%dotty-cps-async_native0.5, com.github.rssh%dotty-cps-async)
186 moduleIds: Set(com.github.rssh%dotty-cps-async_sjs1, com.github.rssh%dotty-cps-async-compiler-plugin, com.github.rssh%dotty-cps-async-logic_sjs1, com.github.rssh%dotty-cps-compiler-plugin-tests_sjs1, com.github.rssh%dotty-cps-compiler-plugin-tests_native0.5, com.github.rssh%dotty-cps-async-logic, com.github.rssh%dotty-cps-compiler-plugin-tests, com.github.rssh%root_2.12, com.github.rssh%dotty-cps-async-loom-test, com.github.rssh%dotty-cps-async-loom, com.github.rssh%dotty-cps-async-logic_native0.5, com.github.rssh%dotty-cps-async_native0.5, com.github.rssh%dotty-cps-async)
187
188Module mapping missing:
189 id: com.github.rssh%dotty-cps-async-logic-lts
190 testedIds: List(com.github.rssh%dotty-cps-async-logic-lts, com.github.rssh%dotty-cps-async-logic-lts_3.6.2, com.github.rssh%dotty-cps-async-logic-lts_3, com.github.rssh%dotty-cps-async-logic-ltsDotty)
191 scalaVersionSuffix: _3.6.2
192 scalaBinaryVersionSuffix: _3
193 refsByName: Set(logicNative, cpsNative, cpsJS, cpsLoomTest, root, cpsLoomAddOn, logicJVM, compilerPluginTestsNative, compilerPluginTestsJVM, logicJS, compilerPlugin, cpsJVM, compilerPluginTestsJS)
194 originalModuleIds: Set(com.github.rssh%dotty-cps-async_sjs1, com.github.rssh%dotty-cps-async-compiler-plugin, com.github.rssh%dotty-cps-async-logic_sjs1, com.github.rssh%dotty-cps-compiler-plugin-tests_sjs1, com.github.rssh%dotty-cps-compiler-plugin-tests_native0.5, com.github.rssh%dotty-cps-async-logic, com.github.rssh%dotty-cps-compiler-plugin-tests, com.github.rssh%root_2.12, com.github.rssh%dotty-cps-async-loom-test, com.github.rssh%dotty-cps-async-loom, com.github.rssh%dotty-cps-async-logic_native0.5, com.github.rssh%dotty-cps-async_native0.5, com.github.rssh%dotty-cps-async)
195 moduleIds: Set(com.github.rssh%dotty-cps-async_sjs1, com.github.rssh%dotty-cps-async-compiler-plugin, com.github.rssh%dotty-cps-async-logic_sjs1, com.github.rssh%dotty-cps-compiler-plugin-tests_sjs1, com.github.rssh%dotty-cps-compiler-plugin-tests_native0.5, com.github.rssh%dotty-cps-async-logic, com.github.rssh%dotty-cps-compiler-plugin-tests, com.github.rssh%root_2.12, com.github.rssh%dotty-cps-async-loom-test, com.github.rssh%dotty-cps-async-loom, com.github.rssh%dotty-cps-async-logic_native0.5, com.github.rssh%dotty-cps-async_native0.5, com.github.rssh%dotty-cps-async)
196
197Module mapping missing:
198 id: com.github.rssh%dotty-cps-async-loom-lts
199 testedIds: List(com.github.rssh%dotty-cps-async-loom-lts, com.github.rssh%dotty-cps-async-loom-lts_3.6.2, com.github.rssh%dotty-cps-async-loom-lts_3, com.github.rssh%dotty-cps-async-loom-ltsDotty)
200 scalaVersionSuffix: _3.6.2
201 scalaBinaryVersionSuffix: _3
202 refsByName: Set(logicNative, cpsNative, cpsJS, cpsLoomTest, root, cpsLoomAddOn, logicJVM, compilerPluginTestsNative, compilerPluginTestsJVM, logicJS, compilerPlugin, cpsJVM, compilerPluginTestsJS)
203 originalModuleIds: Set(com.github.rssh%dotty-cps-async_sjs1, com.github.rssh%dotty-cps-async-compiler-plugin, com.github.rssh%dotty-cps-async-logic_sjs1, com.github.rssh%dotty-cps-compiler-plugin-tests_sjs1, com.github.rssh%dotty-cps-compiler-plugin-tests_native0.5, com.github.rssh%dotty-cps-async-logic, com.github.rssh%dotty-cps-compiler-plugin-tests, com.github.rssh%root_2.12, com.github.rssh%dotty-cps-async-loom-test, com.github.rssh%dotty-cps-async-loom, com.github.rssh%dotty-cps-async-logic_native0.5, com.github.rssh%dotty-cps-async_native0.5, com.github.rssh%dotty-cps-async)
204 moduleIds: Set(com.github.rssh%dotty-cps-async_sjs1, com.github.rssh%dotty-cps-async-compiler-plugin, com.github.rssh%dotty-cps-async-logic_sjs1, com.github.rssh%dotty-cps-compiler-plugin-tests_sjs1, com.github.rssh%dotty-cps-compiler-plugin-tests_native0.5, com.github.rssh%dotty-cps-async-logic, com.github.rssh%dotty-cps-compiler-plugin-tests, com.github.rssh%root_2.12, com.github.rssh%dotty-cps-async-loom-test, com.github.rssh%dotty-cps-async-loom, com.github.rssh%dotty-cps-async-logic_native0.5, com.github.rssh%dotty-cps-async_native0.5, com.github.rssh%dotty-cps-async)
205
206Module mapping missing:
207 id: com.github.rssh%dotty-cps-async-lts
208 testedIds: List(com.github.rssh%dotty-cps-async-lts, com.github.rssh%dotty-cps-async-lts_3.6.2, com.github.rssh%dotty-cps-async-lts_3, com.github.rssh%dotty-cps-async-ltsDotty)
209 scalaVersionSuffix: _3.6.2
210 scalaBinaryVersionSuffix: _3
211 refsByName: Set(logicNative, cpsNative, cpsJS, cpsLoomTest, root, cpsLoomAddOn, logicJVM, compilerPluginTestsNative, compilerPluginTestsJVM, logicJS, compilerPlugin, cpsJVM, compilerPluginTestsJS)
212 originalModuleIds: Set(com.github.rssh%dotty-cps-async_sjs1, com.github.rssh%dotty-cps-async-compiler-plugin, com.github.rssh%dotty-cps-async-logic_sjs1, com.github.rssh%dotty-cps-compiler-plugin-tests_sjs1, com.github.rssh%dotty-cps-compiler-plugin-tests_native0.5, com.github.rssh%dotty-cps-async-logic, com.github.rssh%dotty-cps-compiler-plugin-tests, com.github.rssh%root_2.12, com.github.rssh%dotty-cps-async-loom-test, com.github.rssh%dotty-cps-async-loom, com.github.rssh%dotty-cps-async-logic_native0.5, com.github.rssh%dotty-cps-async_native0.5, com.github.rssh%dotty-cps-async)
213 moduleIds: Set(com.github.rssh%dotty-cps-async_sjs1, com.github.rssh%dotty-cps-async-compiler-plugin, com.github.rssh%dotty-cps-async-logic_sjs1, com.github.rssh%dotty-cps-compiler-plugin-tests_sjs1, com.github.rssh%dotty-cps-compiler-plugin-tests_native0.5, com.github.rssh%dotty-cps-async-logic, com.github.rssh%dotty-cps-compiler-plugin-tests, com.github.rssh%root_2.12, com.github.rssh%dotty-cps-async-loom-test, com.github.rssh%dotty-cps-async-loom, com.github.rssh%dotty-cps-async-logic_native0.5, com.github.rssh%dotty-cps-async_native0.5, com.github.rssh%dotty-cps-async)
214
215Failed to resolve mappings for 4:8 targets: com.github.rssh%dotty-cps-async-compiler-plugin-lts, com.github.rssh%dotty-cps-async-logic-lts, com.github.rssh%dotty-cps-async-loom-lts, com.github.rssh%dotty-cps-async-lts
216Projects: Set(cpsJS, cpsLoomAddOn, logicJVM, compilerPlugin, cpsJVM)
217Starting build for ProjectRef(file:/build/repo/,cpsJVM) (dotty-cps-async)...
218OpenCB::Exclude Scala3 specific scalacOption `-source:3.6-migration` in Scala 2.12.19 module Global
219OpenCB::Filter out '-Ydebug-trace', matches setting pattern '^-?-Ydebug-trace'
220OpenCB::Filter out '-Ydebug-names', matches setting pattern '^-?-Ydebug-names'
221OpenCB::Filter out '-Xprint-types', matches setting pattern '^-?-Xprint-types'
222OpenCB::Filter out '-Ydebug', matches setting pattern '^-?-Ydebug'
223OpenCB::Filter out '-uniqid', matches setting pattern '^-?-uniqid'
224OpenCB::Filter out '-Yprint-syms', matches setting pattern '^-?-Yprint-syms'
225OpenCB::Would not apply setting `-source:3.6-migration`: Project has predefined source version: Some(-source:3.6-migration)
226Compile scalacOptions: List(-unchecked, -Xcheck-macros, -Ycheck:macro, -Wsafe-init, -source:3.6-migration, -Wconf:msg=can be rewritten automatically under:s)
227[info] compiling 106 Scala sources to /build/repo/jvm/target/scala-3.6.2/classes ...
228[warn] there were 19 deprecation warnings; re-run with -deprecation for details
229[warn] one warning found
230[info] done compiling
231[info] Main Scala API documentation to /build/repo/jvm/target/scala-3.6.2/api...
232Problem parsing shared/src/main/scala/cps/macros/forest/ApplyTreeTransform.scala:[0..19..61503], documentation may not be generated.
233Problem parsing shared/src/main/scala/cps/macros/forest/AsyncTreeShifter.scala:[0..19..1672], documentation may not be generated.
234Problem parsing shared/src/main/scala/cps/macros/forest/AwaitTreeTransform.scala:[0..19..3035], documentation may not be generated.
235Problem parsing shared/src/main/scala/cps/macros/forest/BlockTreeTransform.scala:[0..19..1164], documentation may not be generated.
236Problem parsing shared/src/main/scala/cps/macros/forest/CpsTree.scala:[0..19..45174], documentation may not be generated.
237Problem parsing shared/src/main/scala/cps/macros/forest/InlinedTreeTransform.scala:[118..137..16633], documentation may not be generated.
238Problem parsing shared/src/main/scala/cps/macros/forest/KnownTreeFragments.scala:[0..19..2522], documentation may not be generated.
239Problem parsing shared/src/main/scala/cps/macros/forest/LambdaTreeTransform.scala:[0..19..3429], documentation may not be generated.
240Problem parsing shared/src/main/scala/cps/macros/forest/MatchTreeTransform.scala:[80..99..3508], documentation may not be generated.
241Problem parsing shared/src/main/scala/cps/macros/forest/NonLocalReturnsTreeTransform.scala:[1..20..4074], documentation may not be generated.
242Problem parsing shared/src/main/scala/cps/macros/forest/RootTreeTransform.scala:[97..116..11563], documentation may not be generated.
243Problem parsing shared/src/main/scala/cps/macros/forest/SelectOuterTreeTransform.scala:[0..19..1792], documentation may not be generated.
244Problem parsing shared/src/main/scala/cps/macros/forest/SelectTreeTransform.scala:[0..19..1722], documentation may not be generated.
245Problem parsing shared/src/main/scala/cps/macros/forest/TypeApplyTreeTransform.scala:[0..19..1773], documentation may not be generated.
246Problem parsing shared/src/main/scala/cps/macros/forest/ValDefTreeTransform.scala:[0..19..769], documentation may not be generated.
247Problem parsing shared/src/main/scala/cps/macros/forest/application/ApplicationHelper.scala:[0..26..531], documentation may not be generated.
248Problem parsing shared/src/main/scala/cps/macros/forest/application/ApplyArgRecordScope.scala:[0..26..27722], documentation may not be generated.
249[info] Main Scala API documentation successful.
250[info] compiling 187 Scala sources to /build/repo/jvm/target/scala-3.6.2/test-classes ...
251[warn] -- [E174] Syntax Warning: /build/repo/jvm/src/test/scala/cps/TestImplicitAwait.scala:19:4
252[warn] 19 | x => await[Future, T, G](x)
253[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
254[warn] |An inline given alias with a function value as right-hand side can significantly increase
255[warn] |generated code size. You should either drop the `inline` or rewrite the given with an
256[warn] |explicit `apply` method.
257[warn] |
258[warn] | longer explanation available when compiling with `-explain`
259[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftFunction.scala:36:36
260[warn] 36 | val c = async[ComputationBound]{
261[warn] | ^
262[warn] |Missing symbol position (defaulting to position 0): method andThen_async
263[warn] |This is a compiler bug. Please report it.
264[warn] 37 | def add1(x:Int):Int = x+1
265[warn] 38 | // less ()
266[warn] 39 | add1.andThen(x => x + await(T1.cbi(2))).andThen(x=>x+await(T1.cbi(1)))(3)
267[warn] 40 | }
268[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftIterableOps.scala:27:36
269[warn] 27 | val c = async[ComputationBound]{
270[warn] | ^
271[warn] |Given search preference for cps.AsyncShift[Seq[Int]] between alternatives
272[warn] | (cps.AsyncShift.shiftedSeqOps :
273[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
274[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
275[warn] |)
276[warn] |and
277[warn] | (cps.AsyncShift.shiftedIterableOps :
278[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
279[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
280[warn] |)
281[warn] |will change.
282[warn] |Current choice : the first alternative
283[warn] |New choice from Scala 3.7: none - it's ambiguous
284[warn] |
285[warn] |where: X is a type variable
286[warn] | X² is a type variable
287[warn] 28 | Seq(1,2,3).map{ x =>
288[warn] 29 | await(T1.cbi(3)) + x
289[warn] 30 | }
290[warn] 31 | }
291[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftIterableOps.scala:35:36
292[warn] 35 | val c = async[ComputationBound]{
293[warn] | ^
294[warn] |Given search preference for cps.AsyncShift[Seq[Int]] between alternatives
295[warn] | (cps.AsyncShift.shiftedSeqOps :
296[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
297[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
298[warn] |)
299[warn] |and
300[warn] | (cps.AsyncShift.shiftedIterableOps :
301[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
302[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
303[warn] |)
304[warn] |will change.
305[warn] |Current choice : the first alternative
306[warn] |New choice from Scala 3.7: none - it's ambiguous
307[warn] |
308[warn] |where: X is a type variable
309[warn] | X² is a type variable
310[warn] 36 | val seq = Seq(1,2,3)
311[warn] 37 | seq.map{ x =>
312[warn] 38 | await(T1.cbi(3)) + x
313[warn] 39 | }
314[warn] 40 | }
315[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftIterableOps.scala:44:36
316[warn] 44 | val c = async[ComputationBound]{
317[warn] | ^
318[warn] |Given search preference for cps.AsyncShift[Seq[Int]] between alternatives
319[warn] | (cps.AsyncShift.shiftedSeqOps :
320[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
321[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
322[warn] |)
323[warn] |and
324[warn] | (cps.AsyncShift.shiftedIterableOps :
325[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
326[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
327[warn] |)
328[warn] |will change.
329[warn] |Current choice : the first alternative
330[warn] |New choice from Scala 3.7: none - it's ambiguous
331[warn] |
332[warn] |where: X is a type variable
333[warn] | X² is a type variable
334[warn] 45 | var s = 0
335[warn] 46 | Seq(1,2,3).foreach{ x =>
336[warn] 47 | s += await(T1.cbi(3)) + x
337[warn] 48 | }
338[warn] 49 | s
339[warn] 50 | }
340[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftIterableOps.scala:228:36
341[warn] 228 | val c = async[ComputationBound]{
342[warn] | ^
343[warn] |Given search preference for cps.AsyncShift[Seq[Int]] between alternatives
344[warn] | (cps.AsyncShift.shiftedSeqOps :
345[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
346[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
347[warn] |)
348[warn] |and
349[warn] | (cps.AsyncShift.shiftedIterableOps :
350[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
351[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
352[warn] |)
353[warn] |will change.
354[warn] |Current choice : the first alternative
355[warn] |New choice from Scala 3.7: none - it's ambiguous
356[warn] |
357[warn] |where: X is a type variable
358[warn] | X² is a type variable
359[warn] 229 | Seq(1,2,3).foldLeft("")((s,e) => "(" + s + "," + await(T1.cbi(e)).toString + ")" )
360[warn] 230 | }
361[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftIterableOps.scala:234:36
362[warn] 234 | val c = async[ComputationBound]{
363[warn] | ^
364[warn] |Given search preference for cps.AsyncShift[Seq[Int]] between alternatives
365[warn] | (cps.AsyncShift.shiftedSeqOps :
366[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
367[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
368[warn] |)
369[warn] |and
370[warn] | (cps.AsyncShift.shiftedIterableOps :
371[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
372[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
373[warn] |)
374[warn] |will change.
375[warn] |Current choice : the first alternative
376[warn] |New choice from Scala 3.7: none - it's ambiguous
377[warn] |
378[warn] |where: X is a type variable
379[warn] | X² is a type variable
380[warn] 235 | Seq(1,2,3).foldRight("")((e,s) => "(" + await(T1.cbs(e.toString)) + "," + s + ")" )
381[warn] 236 | }
382[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftIterableOps.scala:241:36
383[warn] 241 | val c = async[ComputationBound]{
384[warn] | ^
385[warn] |Given search preference for cps.AsyncShift[Seq[Int]] between alternatives
386[warn] | (cps.AsyncShift.shiftedSeqOps :
387[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
388[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
389[warn] |)
390[warn] |and
391[warn] | (cps.AsyncShift.shiftedIterableOps :
392[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
393[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
394[warn] |)
395[warn] |will change.
396[warn] |Current choice : the first alternative
397[warn] |New choice from Scala 3.7: none - it's ambiguous
398[warn] |
399[warn] |where: X is a type variable
400[warn] | X² is a type variable
401[warn] 242 | Seq(1,2,3).forall(_ == await(T1.cbi(3)))
402[warn] 243 | }
403[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftIterableOps.scala:247:36
404[warn] 247 | val c = async[ComputationBound]{
405[warn] | ^
406[warn] |Given search preference for cps.AsyncShift[Seq[Int]] between alternatives
407[warn] | (cps.AsyncShift.shiftedSeqOps :
408[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
409[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
410[warn] |)
411[warn] |and
412[warn] | (cps.AsyncShift.shiftedIterableOps :
413[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
414[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
415[warn] |)
416[warn] |will change.
417[warn] |Current choice : the first alternative
418[warn] |New choice from Scala 3.7: none - it's ambiguous
419[warn] |
420[warn] |where: X is a type variable
421[warn] | X² is a type variable
422[warn] 248 | Seq(1,2,3).forall(_ > await(T1.cbi(0)))
423[warn] 249 | }
424[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftIterableOps.scala:253:36
425[warn] 253 | val c = async[ComputationBound]{
426[warn] | ^
427[warn] |Given search preference for cps.AsyncShift[Seq[Nothing]] between alternatives
428[warn] | (cps.AsyncShift.shiftedSeqOps :
429[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
430[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
431[warn] |)
432[warn] |and
433[warn] | (cps.AsyncShift.shiftedIterableOps :
434[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
435[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
436[warn] |)
437[warn] |will change.
438[warn] |Current choice : the first alternative
439[warn] |New choice from Scala 3.7: none - it's ambiguous
440[warn] |
441[warn] |where: X is a type variable
442[warn] | X² is a type variable
443[warn] 254 | Seq().forall(_ == await(T1.cbi(0)))
444[warn] 255 | }
445[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftIterableOps.scala:314:36
446[warn] 314 | val c = async[ComputationBound]{
447[warn] | ^
448[warn] |Given search preference for cps.AsyncShift[Seq[Int]] between alternatives
449[warn] | (cps.AsyncShift.shiftedSeqOps :
450[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
451[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
452[warn] |)
453[warn] |and
454[warn] | (cps.AsyncShift.shiftedIterableOps :
455[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
456[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
457[warn] |)
458[warn] |will change.
459[warn] |Current choice : the first alternative
460[warn] |New choice from Scala 3.7: none - it's ambiguous
461[warn] |
462[warn] |where: X is a type variable
463[warn] | X² is a type variable
464[warn] 315 | val x: Seq[Int] = (1 to 100).toSeq
465[warn] 316 | x maxBy ( _ % await(T1.cbi(77)) )
466[warn] 317 | }
467[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftIterableOps.scala:322:36
468[warn] 322 | val c = async[ComputationBound]{
469[warn] | ^
470[warn] |Given search preference for cps.AsyncShift[Seq[Int]] between alternatives
471[warn] | (cps.AsyncShift.shiftedSeqOps :
472[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
473[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
474[warn] |)
475[warn] |and
476[warn] | (cps.AsyncShift.shiftedIterableOps :
477[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
478[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
479[warn] |)
480[warn] |will change.
481[warn] |Current choice : the first alternative
482[warn] |New choice from Scala 3.7: none - it's ambiguous
483[warn] |
484[warn] |where: X is a type variable
485[warn] | X² is a type variable
486[warn] 323 | val x: Seq[Int] = (1 to 100).toSeq
487[warn] 324 | x minBy ( _ % await(T1.cbi(77)) )
488[warn] 325 | }
489[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftSeq.scala:20:36 -
490[warn] 20 | val c = async[ComputationBound]{
491[warn] | ^
492[warn] |Given search preference for cps.AsyncShift[Seq[String]] between alternatives
493[warn] | (cps.AsyncShift.shiftedSeqOps :
494[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
495[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
496[warn] |)
497[warn] |and
498[warn] | (cps.AsyncShift.shiftedIterableOps :
499[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
500[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
501[warn] |)
502[warn] |will change.
503[warn] |Current choice : the first alternative
504[warn] |New choice from Scala 3.7: none - it's ambiguous
505[warn] |
506[warn] |where: X is a type variable
507[warn] | X² is a type variable
508[warn] 21 | val seq = Seq("1234","3452","1","12","21","777777777")
509[warn] 22 | seq.distinctBy{ x => await(T1.cbi(x.length)) }
510[warn] 23 | }
511[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftSeq.scala:32:36 -
512[warn] 32 | val c = async[ComputationBound]{
513[warn] | ^
514[warn] |Given search preference for cps.AsyncShift[Seq[String]] between alternatives
515[warn] | (cps.AsyncShift.shiftedSeqOps :
516[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
517[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
518[warn] |)
519[warn] |and
520[warn] | (cps.AsyncShift.shiftedIterableOps :
521[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
522[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
523[warn] |)
524[warn] |will change.
525[warn] |Current choice : the first alternative
526[warn] |New choice from Scala 3.7: none - it's ambiguous
527[warn] |
528[warn] |where: X is a type variable
529[warn] | X² is a type variable
530[warn] 33 | val seq = Seq("1234","3452","1","12","21","777777777")
531[warn] 34 | seq.indexWhere{ x => await(T1.cbt(x.charAt(0)=='7')) }
532[warn] 35 | }
533[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftSeq.scala:39:36 -
534[warn] 39 | val c = async[ComputationBound]{
535[warn] | ^
536[warn] |Given search preference for cps.AsyncShift[Seq[String]] between alternatives
537[warn] | (cps.AsyncShift.shiftedSeqOps :
538[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
539[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
540[warn] |)
541[warn] |and
542[warn] | (cps.AsyncShift.shiftedIterableOps :
543[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
544[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
545[warn] |)
546[warn] |will change.
547[warn] |Current choice : the first alternative
548[warn] |New choice from Scala 3.7: none - it's ambiguous
549[warn] |
550[warn] |where: X is a type variable
551[warn] | X² is a type variable
552[warn] 40 | val seq = Seq("1234","3452","1","12","21","777777777")
553[warn] 41 | seq.indexWhere{ x => await(T1.cbt(x.charAt(0)=='8')) }
554[warn] 42 | }
555[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftSeq.scala:70:36 -
556[warn] 70 | val c = async[ComputationBound]{
557[warn] | ^
558[warn] |Given search preference for cps.AsyncShift[Seq[Int]] between alternatives
559[warn] | (cps.AsyncShift.shiftedSeqOps :
560[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
561[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
562[warn] |)
563[warn] |and
564[warn] | (cps.AsyncShift.shiftedIterableOps :
565[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
566[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
567[warn] |)
568[warn] |will change.
569[warn] |Current choice : the first alternative
570[warn] |New choice from Scala 3.7: none - it's ambiguous
571[warn] |
572[warn] |where: X is a type variable
573[warn] | X² is a type variable
574[warn] 71 | val seq = Seq(1,2,3,4,5,6,7,8)
575[warn] 72 | seq.segmentLength( x => x < await(T1.cbi(6)) )
576[warn] 73 | }
577[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftTryMonad.scala:15:36
578[warn] 15 | val c = async[ComputationBound]{
579[warn] | ^
580[warn] | Missing symbol position (defaulting to position 0): method mapTryAsync
581[warn] | This is a compiler bug. Please report it.
582[warn] 16 | val q = summon[CpsTryMonad[ComputationBound]].mapTry(T1.cbi(2)){
583[warn] 17 | case Success(x) => x + await(T1.cbi(3))
584[warn] 18 | case Failure(ex) => 0
585[warn] 19 | }
586[warn] 20 | await(q)
587[warn] 21 | }
588[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftTryMonad.scala:28:59
589[warn] 28 | val c: ComputationBound[Int] = async[ComputationBound]{
590[warn] | ^
591[warn] | Missing symbol position (defaulting to position 0): method mapTryAsync
592[warn] | This is a compiler bug. Please report it.
593[warn] 29 | val q = summon[CpsTryMonad[ComputationBound]].mapTry(T1.cbi(2)){ v =>
594[warn] 30 | v match
595[warn] 31 | case Success(x) => x + await(T1.cbi(3))
596[warn] 32 | case Failure(ex) => 0
597[warn] 33 | }
598[warn] 34 | await(q)
599[warn] 35 | }
600[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftTryMonad.scala:78:36
601[warn] 78 | val c = async[ComputationBound]{
602[warn] | ^
603[warn] |Missing symbol position (defaulting to position 0): method withActionAsync
604[warn] |This is a compiler bug. Please report it.
605[warn] 79 | var x = 0
606[warn] 80 | val fa = T1.cbs("fa")
607[warn] 81 | val q = summon[CpsTryMonad[ComputationBound]].withAction(fa)( {x = await(T1.cbi(1))} )
608[warn] 82 | await(q)
609[warn] 83 | x
610[warn] 84 | }
611[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftWithFilter.scala:28:36
612[warn] 28 | val c = async[ComputationBound]{
613[warn] | ^
614[warn] | Missing symbol position (defaulting to position 0): method map_async
615[warn] | This is a compiler bug. Please report it.
616[warn] 29 | for{ x <- 1 to 10 if (x%2) == await(T1.cbi(0))
617[warn] 30 | } yield (await(T1.cbi(x)))
618[warn] 31 | }
619[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftWithFilter.scala:39:36
620[warn] 39 | val c = async[ComputationBound]{
621[warn] | ^
622[warn] |Missing symbol position (defaulting to position 0): method flatMap_async
623[warn] |This is a compiler bug. Please report it.
624[warn] 40 | for{ x <- 1 to 10 if (x%2) == await(T1.cbi(0))
625[warn] 41 | y <- 20 to 30 if (y%2) == await(T1.cbi(1))
626[warn] 42 | } yield x+y
627[warn] 43 | }
628[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftWithFilter.scala:51:36
629[warn] 51 | val c = async[ComputationBound]{
630[warn] | ^
631[warn] |Missing symbol position (defaulting to position 0): method flatMap_async
632[warn] |This is a compiler bug. Please report it.
633[warn] 52 | (1 to 10).withFilter( x => (x%2 == await(T1.cbi(0))) )
634[warn] 53 | .flatMap( x =>
635[warn] 54 | (20 to 30).withFilter( y => y % 2 == await(T1.cbi(1)) )
636[warn] 55 | .map(y => x+y)
637[warn] 56 | )
638[warn] 57 | }
639[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftWithFilter.scala:67:36
640[warn] 67 | val c = async[ComputationBound]{
641[warn] | ^
642[warn] |Missing symbol position (defaulting to position 0): method flatMap_async
643[warn] |This is a compiler bug. Please report it.
644[warn] 68 | (1 to 10).withFilter( x => x == await(T1.cbi(1)) )
645[warn] 69 | .flatMap( x =>
646[warn] 70 | (1 to 10).withFilter( y => y == await(T1.cbi(1)) )
647[warn] 71 | .map(_ => x)
648[warn] 72 | )
649[warn] 73 | }
650[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftWithFilter.scala:84:36
651[warn] 84 | val c = async[ComputationBound]{
652[warn] | ^
653[warn] | Missing symbol position (defaulting to position 0): method map_async
654[warn] | This is a compiler bug. Please report it.
655[warn] 85 | (1 to 10).withFilter( x => (x%2 == await(T1.cbi(0))) )
656[warn] 86 | .flatMap( x =>
657[warn] 87 | (20 to 30).withFilter( y => y % 2 == await(T1.cbi(1)) )
658[warn] 88 | .map(y => x+ await(T1.cbi(y)))
659[warn] 89 | )
660[warn] 90 | }
661[warn] -- Warning: /build/repo/shared/src/test/scala/cps/stream/TestAsyncIteratorOps.scala:45:28
662[warn] 45 | val f = async[Future] {
663[warn] | ^
664[warn] | Missing symbol position (defaulting to position 0): method mapAsync
665[warn] | This is a compiler bug. Please report it.
666[warn] 46 | val mappedIterator = iterator.map(x => await(Future successful x.toString))
667[warn] 47 | var i = 1
668[warn] 48 | while{
669[warn] 49 | await(mappedIterator.next) match
670[warn] 50 | case Some(x) =>
671[warn] 51 | assert(i.toString == x)
672[warn] 52 | i = i + 1
673[warn] 53 | true
674[warn] 54 | case None =>
675[warn] 55 | assert(i == 11)
676[warn] 56 | false
677[warn] 57 | } do ()
678[warn] 58 | }
679[warn] -- Warning: /build/repo/shared/src/test/scala/cps/stream/TestAsyncIteratorOps.scala:84:28
680[warn] 84 | val f = async[Future] {
681[warn] | ^
682[warn] | Missing symbol position (defaulting to position 0): method filterAsync
683[warn] | This is a compiler bug. Please report it.
684[warn] 85 | val filtered = iterator.filter(_ % 2 == await(Future successful 0) )
685[warn] 86 | var i = 0
686[warn] 87 | while{
687[warn] 88 | val optValue = await(filtered.next)
688[warn] 89 | optValue.foreach{ x =>
689[warn] 90 | assert(x % 2 == 0)
690[warn] 91 | i = i + 1
691[warn] 92 | }
692[warn] 93 | optValue.isDefined
693[warn] 94 | } do ()
694[warn] 95 | assert(i == 5)
695[warn] 96 | }
696[warn] -- Warning: /build/repo/shared/src/test/scala/cps/stream/TestAsyncIteratorOps.scala:125:28
697[warn] 125 | val f = async[Future] {
698[warn] | ^
699[warn] | Missing symbol position (defaulting to position 0): method findAsync
700[warn] | This is a compiler bug. Please report it.
701[warn] 126 | val x = await(iterator.find(_ > await(Future successful 8)))
702[warn] 127 | assert(x == Some(9))
703[warn] 128 | }
704[warn] -- Warning: /build/repo/shared/src/test/scala/cps/stream/TestAsyncIteratorOps.scala:149:27
705[warn] 149 | val f = async[Future]{
706[warn] | ^
707[warn] | Missing symbol position (defaulting to position 0): method foldAsync
708[warn] | This is a compiler bug. Please report it.
709[warn] 150 | val fr = iterator.fold(0)(
710[warn] 151 | (x:Int,y:Int) => x + y + await(Future.successful(1))
711[warn] 152 | )
712[warn] 153 | val r = await(fr)
713[warn] 154 | assert(r == 9)
714[warn] 155 | }
715[warn] -- Warning: /build/repo/shared/src/test/scala/cps/stream/TestAsyncIteratorOps.scala:186:28
716[warn] 186 | val ft = async[Future]{
717[warn] | ^
718[warn] | Missing symbol position (defaulting to position 0): method scanAsync
719[warn] | This is a compiler bug. Please report it.
720[warn] 187 | val fr = iterator.scan(0)( (x,y) => x + await(Future.successful(y)) )
721[warn] 188 | val r0 = await(fr.next)
722[warn] 189 | assert(r0.get == 0)
723[warn] 190 | val r1 = await(fr.next)
724[warn] 191 | assert(r1.get == 1)
725[warn] 192 | val r2 = await(fr.next)
726[warn] 193 | assert(r2.get == 3)
727[warn] 194 | val r3 = await(fr.next)
728[warn] 195 | assert(r3.get == 6)
729[warn] 196 | val r4 = await(fr.next)
730[warn] 197 | assert(r4.get == 10)
731[warn] 198 | val r5 = await(fr.next)
732[warn] 199 | assert(r5.get == 15)
733[warn] 200 | val r6 = await(fr.next)
734[warn] 201 | assert(r6 == None)
735[warn] 202 | }
736[warn] -- Warning: /build/repo/shared/src/test/scala/cps/stream/TestAsyncIteratorOps.scala:290:29
737[warn] 290 | val ft = async[Future] {
738[warn] | ^
739[warn] |Missing symbol position (defaulting to position 0): method mapTryAsync
740[warn] |This is a compiler bug. Please report it.
741[warn] 291 | val mappedIterator = myIterator.mapTry{
742[warn] 292 | case Success(x) => x + await(delayedOne)
743[warn] 293 | case Failure(ex) => -1
744[warn] 294 | }
745[warn] 295 | val v1 = await(mappedIterator.next)
746[warn] 296 | assert(v1.get == 2)
747[warn] 297 | val v2 = await(mappedIterator.next)
748[warn] 298 | assert(v2.get == -1)
749[warn] 299 | }
750[warn] -- Warning: /build/repo/shared/src/test/scala/cps/stream/TestAsyncListtOps.scala:49:27
751[warn] 49 | val ft = async[Future] {
752[warn] | ^
753[warn] | Missing symbol position (defaulting to position 0): method mapAsync
754[warn] | This is a compiler bug. Please report it.
755[warn] 50 | val mapped = stream.map{ x =>
756[warn] 51 | x + await(asyncSuccess(1))
757[warn] 52 | }
758[warn] 53 | val l = await(mapped.take[List](5))
759[warn] 54 | assert(l == List(2,3,4,5,6))
760[warn] 55 | }
761[warn] -- Warning: /build/repo/shared/src/test/scala/cps/stream/TestFtAsyncListFilter.scala:51:26
762[warn] 51 | val r = async[Future] {
763[warn] | ^
764[warn] | Missing symbol position (defaulting to position 0): method filterAsync
765[warn] | This is a compiler bug. Please report it.
766[warn] 52 | val stream = asyncStream[AsyncList[Future, Int]]{ out =>
767[warn] 53 | for(i <- 1 to N)
768[warn] 54 | out.emit(i)
769[warn] 55 | }
770[warn] 56 | val filtered = stream.filter(x => await(asyncTest(_ % 2 == 0, x)))
771[warn] 57 | val firstTen = await(filtered.takeList(10))
772[warn] 58 | assert(firstTen(0)==2)
773[warn] 59 | assert(firstTen(1)==4)
774[warn] 60 | assert(firstTen(2)==6)
775[warn] 61 | assert(firstTen(3)==8)
776[warn] 62 | }
777[warn] -- Warning: /build/repo/shared/src/test/scala/cps/stream/TestFtFoldScan.scala:33:30
778[warn] 33 | val check = async[Future] {
779[warn] | ^
780[warn] | Missing symbol position (defaulting to position 0): method foldAsync
781[warn] | This is a compiler bug. Please report it.
782[warn] 34 | val stream = asyncStream[AsyncList[Future, Int]]{ out =>
783[warn] 35 | for(i <- 1 to 10)
784[warn] 36 | out.emit(i)
785[warn] 37 | }
786[warn] 38 | val sumFuture = stream.fold(0)((s,e)=>s+await(Future successful e))
787[warn] 39 | val sum = await(sumFuture)
788[warn] 40 | val sum1 = (1 to 10).sum
789[warn] 41 | assert(sum == sum1)
790[warn] 42 | }
791[warn] -- Warning: /build/repo/shared/src/test/scala/cps/stream/TestFtFoldScan.scala:65:30
792[warn] 65 | val check = async[Future] {
793[warn] | ^
794[warn] | Missing symbol position (defaulting to position 0): method scanAsync
795[warn] | This is a compiler bug. Please report it.
796[warn] 66 | val scan = stream.scan(0)((s,e) => s + await(Future successful e))
797[warn] 67 | val scanList = await(scan.takeListAll())
798[warn] 68 | val sampleScan = (1 to 10).scanLeft(0)((s,e)=>s+e)
799[warn] 69 | assert(scanList == sampleScan)
800[warn] 70 | }
801[warn] -- Warning: /build/repo/shared/src/test/scala/cps/vp/VP2.scala:22:72 -----------
802[warn] 22 | def run1(url: String, clientId: String): Future[Unit] = async[Future] {
803[warn] | ^
804[warn] |Given search preference for cps.AsyncShift[Seq[cps.vp.VP2.Test]] between alternatives
805[warn] | (cps.AsyncShift.shiftedSeqOps :
806[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
807[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
808[warn] |)
809[warn] |and
810[warn] | (cps.AsyncShift.shiftedIterableOps :
811[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
812[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
813[warn] |)
814[warn] |will change.
815[warn] |Current choice : the first alternative
816[warn] |New choice from Scala 3.7: none - it's ambiguous
817[warn] |
818[warn] |where: X is a type variable
819[warn] | X² is a type variable
820[warn] 23 | val testContext = TestContext(clientId, url)
821[warn] 24 | for(test <- tests) {
822[warn] 25 | println(s"running ${test}")
823[warn] 26 | try {
824[warn] 27 | await(test.run(testContext))
825[warn] 28 | }catch{
826[warn] 29 | case NonFatal(ex) =>
827[warn] 30 | if !(test eq ExtremeSize) then
828[warn] 31 | println(s"exception during test: ${ex.getMessage} rerunning with trace")
829[warn] 32 | //bug in dotty: https://github.com/lampepfl/dotty/issues/17445
830[warn] 33 | //val traceContext = testContext.copy(trace=true)
831[warn] 34 | val traceContext = TestContext(testContext.clientId, testContext.url, true)
832[warn] 35 | try {
833[warn] 36 | await(test.run(traceContext))
834[warn] 37 | } catch {
835[warn] 38 | case NonFatal(ex) =>
836[warn] 39 | }
837[warn] 40 | else
838[warn] 41 | println(s"exception during test ${test}, ${ex.getMessage}")
839[warn] 42 | }
840[warn] 43 | }
841[warn] 44 | println(s"summary metrics: ${testContext}")
842[warn] 45 | }
843[warn] -- [E129] Potential Issue Warning: /build/repo/shared/src/test/scala/cpstest/TestNonShiftedContextFunction.scala:38:12
844[warn] 38 | if (false) then
845[warn] | ^
846[warn] | A pure expression does nothing in statement position
847[warn] 39 | println(s"ctx=${summon[Context]}")
848[warn] |
849[warn] | longer explanation available when compiling with `-explain`
850[warn] -- [E129] Potential Issue Warning: /build/repo/shared/src/test/scala/cpstest/TestNonShiftedContextFunction.scala:56:8
851[warn] 56 | if (false) then
852[warn] | ^
853[warn] | A pure expression does nothing in statement position
854[warn] 57 | println(s"ctx=${summon[Context]}")
855[warn] |
856[warn] | longer explanation available when compiling with `-explain`
857[warn] -- Warning: /build/repo/shared/src/test/scala/cpstest/TestReturningExamples.scala:74:139
858[warn] 74 | def fillbucketWithinBudget(userId: UserId, items: Seq[Item], budget: Long, api: DataAPI): Future[Either[String,Bucket]] = async[Future]{
859[warn] | ^
860[warn] |Given search preference for cps.AsyncShift[Seq[TestReturningExamples.this.Item]] between alternatives
861[warn] | (cps.AsyncShift.shiftedSeqOps :
862[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
863[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
864[warn] |)
865[warn] |and
866[warn] | (cps.AsyncShift.shiftedIterableOps :
867[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
868[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
869[warn] |)
870[warn] |will change.
871[warn] |Current choice : the first alternative
872[warn] |New choice from Scala 3.7: none - it's ambiguous
873[warn] |
874[warn] |where: X is a type variable
875[warn] | X² is a type variable
876[warn] 75 | returning {
877[warn] 76 | val userInfo = await(api.fetchUserInfo(userId))
878[warn] 77 | val config = api.config
879[warn] 78 | if (userInfo.blacklisted)
880[warn] 79 | throwReturn(Left("User is blacklisted"):Either[String,Bucket])
881[warn] 80 | val bucket = items.foldLeft(Bucket.empty){ (bucket, item) =>
882[warn] 81 | val itemInfo = await(api.fetchItemInfo(item))
883[warn] 82 | if (!itemInfo.available) then
884[warn] 83 | bucket.withMessage(s"item ${item.name} is not available")
885[warn] 84 | else if (itemInfo.cost + bucket.cost > budget) then
886[warn] 85 | bucket.withMessage(s"item ${item.name} is out of budget")
887[warn] 86 | else
888[warn] 87 | val newBucket = bucket.withItem(itemInfo)
889[warn] 88 | if (newBucket.cost + config.minItemCost > budget) then
890[warn] 89 | throwReturn(Right(newBucket):Either[String,Bucket])
891[warn] 90 | newBucket
892[warn] 91 | }
893[warn] 92 | if (bucket.isEmpty) then
894[warn] 93 | throwReturn(Left(s"No items available: ${bucket.messages.mkString}"):Either[String,Bucket])
895[warn] 94 | Right(bucket)
896[warn] 95 | }
897[warn] 96 | }
898[warn] -- Warning: /build/repo/shared/src/test/scala/cpstest/TestReturningExamples.scala:148:154
899[warn] 148 | def fillMutableBucketWithinBudget(userId: UserId, items: Seq[Item], budget: Long, api: DataAPI): Future[Either[String,MutableBucket]] = async[Future] {
900[warn] | ^
901[warn] |Given search preference for cps.AsyncShift[Seq[TestReturningExamples.this.Item]] between alternatives
902[warn] | (cps.AsyncShift.shiftedSeqOps :
903[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
904[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
905[warn] |)
906[warn] |and
907[warn] | (cps.AsyncShift.shiftedIterableOps :
908[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
909[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
910[warn] |)
911[warn] |will change.
912[warn] |Current choice : the first alternative
913[warn] |New choice from Scala 3.7: none - it's ambiguous
914[warn] |
915[warn] |where: X is a type variable
916[warn] | X² is a type variable
917[warn] 149 | returning {
918[warn] 150 | val userInfo = await(api.fetchUserInfo(userId))
919[warn] 151 | val config = api.config
920[warn] 152 |
921[warn] 153 | if (userInfo.blacklisted)
922[warn] 154 | throwReturn(Left("User is blacklisted"):Either[String,MutableBucket])
923[warn] 155 | var remainingBudget = budget
924[warn] 156 | val bucket = MutableBucket.empty
925[warn] 157 | for(item <- items) {
926[warn] 158 | val itemInfo = await(api.fetchItemInfo(item))
927[warn] 159 | if (!itemInfo.available) then
928[warn] 160 | bucket.addMessage(s"item ${item.name} is not available")
929[warn] 161 | else if (itemInfo.cost > remainingBudget) then
930[warn] 162 | bucket.addMessage(s"item ${item.name} is out of budget")
931[warn] 163 | else
932[warn] 164 | bucket.addItem(itemInfo)
933[warn] 165 | remainingBudget = remainingBudget - itemInfo.cost
934[warn] 166 | if (remainingBudget < config.minItemCost) then
935[warn] 167 | throwReturn(Right(bucket):Either[String,MutableBucket])
936[warn] 168 | }
937[warn] 169 | if (bucket.isEmpty) then
938[warn] 170 | throwReturn(Left("No items available"):Either[String,MutableBucket])
939[warn] 171 | Right(bucket)
940[warn] 172 | }
941[warn] 173 | }
942[warn] -- Warning: /build/repo/shared/src/test/scala/cps/SharedComputationBound.scala:1:8
943[warn] 1 |package cps
944[warn] |^^^^^^^^^^^
945[warn] |No class, trait or object is defined in the compilation unit.
946[warn] |The incremental compiler cannot record the dependency information in such case.
947[warn] |Some errors like unused import referring to a non-existent class might not be reported.
948[warn] -- [E121] Pattern Match Warning: /build/repo/shared/src/test/scala/cps/TestCBS1Try.scala:185:18
949[warn] 185 | val c = async{
950[warn] | ^
951[warn] |Unreachable case except for null (if this is intentional, consider writing case null => instead).
952[warn] 186 | x = await(T1.cbi(1))
953[warn] 187 | try {
954[warn] 188 | failSyncOp()
955[warn] 189 | x = 3
956[warn] 190 | } catch {
957[warn] 191 | case ex: Throwable =>
958[warn] 192 | x = 2
959[warn] 193 | throw ex
960[warn] 194 | } finally {
961[warn] 195 | y = await(T1.cbi(2))
962[warn] 196 | }
963[warn] 197 | x
964[warn] 198 | }
965[warn] there were 30 deprecation warnings; re-run with -deprecation for details
966[warn] 42 warnings found
967received body: ((x: scala.Int, y: scala.Int, z: scala.Int) => {
968 logic.unification1.DatalogSyntax.|-[logic.unification1.examples.FindPathes.Path](logic.unification1.examples.FindPathes.Path.apply(x, y))[logic.unification1.examples.FindPathes.Edge](logic.unification1.examples.FindPathes.Edge.apply(x, y))
969 logic.unification1.DatalogSyntax.|-[logic.unification1.examples.FindPathes.Path](logic.unification1.examples.FindPathes.Path.apply(x, z))[logic.unification1.DatalogSyntax.SyntaxHornClause[logic.unification1.examples.FindPathes.Path, logic.unification1.examples.FindPathes.Edge]](logic.unification1.DatalogSyntax.&[logic.unification1.examples.FindPathes.Path](logic.unification1.examples.FindPathes.Path.apply(x, y))[logic.unification1.examples.FindPathes.Edge](logic.unification1.examples.FindPathes.Edge.apply(y, z)))
970})
971received body: {
972 logic.unification1.DatalogSyntax.|-[logic.unification1.examples.FindPathes.Edge](logic.unification1.examples.FindPathes.Edge.apply(1, 2))[scala.Boolean](true)
973 logic.unification1.DatalogSyntax.|-[logic.unification1.examples.FindPathes.Edge](logic.unification1.examples.FindPathes.Edge.apply(2, 3))[scala.Boolean](true)
974 logic.unification1.DatalogSyntax.|-[logic.unification1.examples.FindPathes.Edge](logic.unification1.examples.FindPathes.Edge.apply(3, 4))[scala.Boolean](true)
975}
976received query: ((x: scala.Int) => logic.unification1.examples.FindPathes.Path.apply(1, x))
977[warn] there were 30 deprecation warnings; re-run with -deprecation for details
978[warn] 43 warnings found
979[info] done compiling
980[info] Wrote /build/repo/jvm/target/scala-3.6.2/dotty-cps-async_3-0.9.22.pom
981[info] Main Scala API documentation to /build/repo/jvm/target/scala-3.6.2/api...
982Problem parsing shared/src/main/scala/cps/macros/forest/ApplyTreeTransform.scala:[0..19..61503], documentation may not be generated.
983Problem parsing shared/src/main/scala/cps/macros/forest/AsyncTreeShifter.scala:[0..19..1672], documentation may not be generated.
984Problem parsing shared/src/main/scala/cps/macros/forest/AwaitTreeTransform.scala:[0..19..3035], documentation may not be generated.
985Problem parsing shared/src/main/scala/cps/macros/forest/BlockTreeTransform.scala:[0..19..1164], documentation may not be generated.
986Problem parsing shared/src/main/scala/cps/macros/forest/CpsTree.scala:[0..19..45174], documentation may not be generated.
987Problem parsing shared/src/main/scala/cps/macros/forest/InlinedTreeTransform.scala:[118..137..16633], documentation may not be generated.
988Problem parsing shared/src/main/scala/cps/macros/forest/KnownTreeFragments.scala:[0..19..2522], documentation may not be generated.
989Problem parsing shared/src/main/scala/cps/macros/forest/LambdaTreeTransform.scala:[0..19..3429], documentation may not be generated.
990Problem parsing shared/src/main/scala/cps/macros/forest/MatchTreeTransform.scala:[80..99..3508], documentation may not be generated.
991Problem parsing shared/src/main/scala/cps/macros/forest/NonLocalReturnsTreeTransform.scala:[1..20..4074], documentation may not be generated.
992Problem parsing shared/src/main/scala/cps/macros/forest/RootTreeTransform.scala:[97..116..11563], documentation may not be generated.
993Problem parsing shared/src/main/scala/cps/macros/forest/SelectOuterTreeTransform.scala:[0..19..1792], documentation may not be generated.
994Problem parsing shared/src/main/scala/cps/macros/forest/SelectTreeTransform.scala:[0..19..1722], documentation may not be generated.
995Problem parsing shared/src/main/scala/cps/macros/forest/TypeApplyTreeTransform.scala:[0..19..1773], documentation may not be generated.
996Problem parsing shared/src/main/scala/cps/macros/forest/ValDefTreeTransform.scala:[0..19..769], documentation may not be generated.
997Problem parsing shared/src/main/scala/cps/macros/forest/application/ApplicationHelper.scala:[0..26..531], documentation may not be generated.
998Problem parsing shared/src/main/scala/cps/macros/forest/application/ApplyArgRecordScope.scala:[0..26..27722], documentation may not be generated.
999[info] Main Scala API documentation successful.
1000[info] :: delivering :: com.github.rssh#dotty-cps-async_3;0.9.22 :: 0.9.22 :: release :: Sat Dec 21 18:48:44 CET 2024
1001[info] delivering ivy file to /build/repo/jvm/target/scala-3.6.2/ivy-0.9.22.xml
1002[info] published dotty-cps-async_3 to /root/.ivy2/local/com.github.rssh/dotty-cps-async_3/0.9.22/poms/dotty-cps-async_3.pom
1003[info] published dotty-cps-async_3 to /root/.ivy2/local/com.github.rssh/dotty-cps-async_3/0.9.22/jars/dotty-cps-async_3.jar
1004[info] published dotty-cps-async_3 to /root/.ivy2/local/com.github.rssh/dotty-cps-async_3/0.9.22/srcs/dotty-cps-async_3-sources.jar
1005[info] published dotty-cps-async_3 to /root/.ivy2/local/com.github.rssh/dotty-cps-async_3/0.9.22/docs/dotty-cps-async_3-javadoc.jar
1006[info] published ivy to /root/.ivy2/local/com.github.rssh/dotty-cps-async_3/0.9.22/ivys/ivy.xml
1007Starting build for ProjectRef(file:/build/repo/,cpsLoomAddOn) (dotty-cps-async-loom)...
1008Compile scalacOptions: List(-Xtarget:21, -explain, -source:3.6-migration, -Wconf:msg=can be rewritten automatically under:s)
1009[info] compiling 4 Scala sources to /build/repo/jvm-loom-addon/target/scala-3.6.2/classes ...
1010[info] done compiling
1011[info] Main Scala API documentation to /build/repo/jvm-loom-addon/target/scala-3.6.2/api...
1012[info] Skipping unused scalacOptions: -Wconf, -Xunchecked-java-output-version, -source
1013[info] Main Scala API documentation successful.
1014[info] compiling 4 Scala sources to /build/repo/jvm-loom-addon/target/scala-3.6.2/test-classes ...
1015[info] done compiling
1016[info] Wrote /build/repo/jvm-loom-addon/target/scala-3.6.2/dotty-cps-async-loom_3-0.9.22.pom
1017[info] Main Scala API documentation to /build/repo/jvm-loom-addon/target/scala-3.6.2/api...
1018[info] Skipping unused scalacOptions: -Wconf, -Xunchecked-java-output-version, -source
1019[info] Main Scala API documentation successful.
1020[info] :: delivering :: com.github.rssh#dotty-cps-async-loom_3;0.9.22 :: 0.9.22 :: release :: Sat Dec 21 18:48:47 CET 2024
1021[info] delivering ivy file to /build/repo/jvm-loom-addon/target/scala-3.6.2/ivy-0.9.22.xml
1022[info] published dotty-cps-async-loom_3 to /root/.ivy2/local/com.github.rssh/dotty-cps-async-loom_3/0.9.22/poms/dotty-cps-async-loom_3.pom
1023[info] published dotty-cps-async-loom_3 to /root/.ivy2/local/com.github.rssh/dotty-cps-async-loom_3/0.9.22/jars/dotty-cps-async-loom_3.jar
1024[info] published dotty-cps-async-loom_3 to /root/.ivy2/local/com.github.rssh/dotty-cps-async-loom_3/0.9.22/srcs/dotty-cps-async-loom_3-sources.jar
1025[info] published dotty-cps-async-loom_3 to /root/.ivy2/local/com.github.rssh/dotty-cps-async-loom_3/0.9.22/docs/dotty-cps-async-loom_3-javadoc.jar
1026[info] published ivy to /root/.ivy2/local/com.github.rssh/dotty-cps-async-loom_3/0.9.22/ivys/ivy.xml
1027Starting build for ProjectRef(file:/build/repo/,logicJVM) (dotty-cps-async-logic)...
1028Compile scalacOptions: List(-source:3.6-migration, -Wconf:msg=can be rewritten automatically under:s)
1029[info] compiling 5 Scala sources to /build/repo/logic/jvm/target/scala-3.6.2/classes ...
1030[info] done compiling
1031[info] Main Scala API documentation to /build/repo/logic/jvm/target/scala-3.6.2/api...
1032[info] Skipping unused scalacOptions: -Wconf, -source
1033Problem parsing logic/shared/src/main/scala/cps/monads/logic/CpsConcurrentLogicMonad.scala:[0..19..4634], documentation may not be generated.
1034[info] Main Scala API documentation successful.
1035[info] compiling 8 Scala sources to /build/repo/logic/jvm/target/scala-3.6.2/test-classes ...
1036[info] done compiling
1037[info] Wrote /build/repo/logic/jvm/target/scala-3.6.2/dotty-cps-async-logic_3-0.9.22.pom
1038[info] Main Scala API documentation to /build/repo/logic/jvm/target/scala-3.6.2/api...
1039[info] Skipping unused scalacOptions: -Wconf, -source
1040Problem parsing logic/shared/src/main/scala/cps/monads/logic/CpsConcurrentLogicMonad.scala:[0..19..4634], documentation may not be generated.
1041[info] Main Scala API documentation successful.
1042[info] :: delivering :: com.github.rssh#dotty-cps-async-logic_3;0.9.22 :: 0.9.22 :: release :: Sat Dec 21 18:48:52 CET 2024
1043[info] delivering ivy file to /build/repo/logic/jvm/target/scala-3.6.2/ivy-0.9.22.xml
1044[info] published dotty-cps-async-logic_3 to /root/.ivy2/local/com.github.rssh/dotty-cps-async-logic_3/0.9.22/poms/dotty-cps-async-logic_3.pom
1045[info] published dotty-cps-async-logic_3 to /root/.ivy2/local/com.github.rssh/dotty-cps-async-logic_3/0.9.22/jars/dotty-cps-async-logic_3.jar
1046[info] published dotty-cps-async-logic_3 to /root/.ivy2/local/com.github.rssh/dotty-cps-async-logic_3/0.9.22/srcs/dotty-cps-async-logic_3-sources.jar
1047[info] published dotty-cps-async-logic_3 to /root/.ivy2/local/com.github.rssh/dotty-cps-async-logic_3/0.9.22/docs/dotty-cps-async-logic_3-javadoc.jar
1048[info] published ivy to /root/.ivy2/local/com.github.rssh/dotty-cps-async-logic_3/0.9.22/ivys/ivy.xml
1049Starting build for ProjectRef(file:/build/repo/,cpsJS) (dotty-cps-async)...
1050Compile scalacOptions: List(-scalajs, -source:3.6-migration, -Wconf:msg=can be rewritten automatically under:s)
1051[info] compiling 106 Scala sources to /build/repo/js/target/scala-3.6.2/classes ...
1052[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/js/src/main/scala/cps/stream/BaseUnfoldCpsAsyncEmitAbsorber.scala:100:9
1053[warn] 100 | e match
1054[warn] | ^
1055[warn] | match may not be exhaustive.
1056[warn] |
1057[warn] | It would fail on pattern case: _: SupplyEventRecord
1058[warn] |
1059[warn] | longer explanation available when compiling with `-explain`
1060[warn] there were 19 deprecation warnings; re-run with -deprecation for details
1061[warn] two warnings found
1062[info] done compiling
1063[info] Main Scala API documentation to /build/repo/js/target/scala-3.6.2/api...
1064Problem parsing shared/src/main/scala/cps/macros/forest/ApplyTreeTransform.scala:[0..19..61503], documentation may not be generated.
1065Problem parsing shared/src/main/scala/cps/macros/forest/AsyncTreeShifter.scala:[0..19..1672], documentation may not be generated.
1066Problem parsing shared/src/main/scala/cps/macros/forest/AwaitTreeTransform.scala:[0..19..3035], documentation may not be generated.
1067Problem parsing shared/src/main/scala/cps/macros/forest/BlockTreeTransform.scala:[0..19..1164], documentation may not be generated.
1068Problem parsing shared/src/main/scala/cps/macros/forest/CpsTree.scala:[0..19..45174], documentation may not be generated.
1069Problem parsing shared/src/main/scala/cps/macros/forest/InlinedTreeTransform.scala:[118..137..16633], documentation may not be generated.
1070Problem parsing shared/src/main/scala/cps/macros/forest/KnownTreeFragments.scala:[0..19..2522], documentation may not be generated.
1071Problem parsing shared/src/main/scala/cps/macros/forest/LambdaTreeTransform.scala:[0..19..3429], documentation may not be generated.
1072Problem parsing shared/src/main/scala/cps/macros/forest/MatchTreeTransform.scala:[80..99..3508], documentation may not be generated.
1073Problem parsing shared/src/main/scala/cps/macros/forest/NonLocalReturnsTreeTransform.scala:[1..20..4074], documentation may not be generated.
1074Problem parsing shared/src/main/scala/cps/macros/forest/RootTreeTransform.scala:[97..116..11563], documentation may not be generated.
1075Problem parsing shared/src/main/scala/cps/macros/forest/SelectOuterTreeTransform.scala:[0..19..1792], documentation may not be generated.
1076Problem parsing shared/src/main/scala/cps/macros/forest/SelectTreeTransform.scala:[0..19..1722], documentation may not be generated.
1077Problem parsing shared/src/main/scala/cps/macros/forest/TypeApplyTreeTransform.scala:[0..19..1773], documentation may not be generated.
1078Problem parsing shared/src/main/scala/cps/macros/forest/ValDefTreeTransform.scala:[0..19..769], documentation may not be generated.
1079Problem parsing shared/src/main/scala/cps/macros/forest/application/ApplicationHelper.scala:[0..26..531], documentation may not be generated.
1080Problem parsing shared/src/main/scala/cps/macros/forest/application/ApplyArgRecordScope.scala:[0..26..27722], documentation may not be generated.
1081[info] Main Scala API documentation successful.
1082[info] compiling 152 Scala sources to /build/repo/js/target/scala-3.6.2/test-classes ...
1083[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftIterableOps.scala:27:36
1084[warn] 27 | val c = async[ComputationBound]{
1085[warn] | ^
1086[warn] |Given search preference for cps.AsyncShift[Seq[Int]] between alternatives
1087[warn] | (cps.AsyncShift.shiftedSeqOps :
1088[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
1089[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
1090[warn] |)
1091[warn] |and
1092[warn] | (cps.AsyncShift.shiftedIterableOps :
1093[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
1094[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
1095[warn] |)
1096[warn] |will change.
1097[warn] |Current choice : the first alternative
1098[warn] |New choice from Scala 3.7: none - it's ambiguous
1099[warn] |
1100[warn] |where: X is a type variable
1101[warn] | X² is a type variable
1102[warn] 28 | Seq(1,2,3).map{ x =>
1103[warn] 29 | await(T1.cbi(3)) + x
1104[warn] 30 | }
1105[warn] 31 | }
1106[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftIterableOps.scala:35:36
1107[warn] 35 | val c = async[ComputationBound]{
1108[warn] | ^
1109[warn] |Given search preference for cps.AsyncShift[Seq[Int]] between alternatives
1110[warn] | (cps.AsyncShift.shiftedSeqOps :
1111[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
1112[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
1113[warn] |)
1114[warn] |and
1115[warn] | (cps.AsyncShift.shiftedIterableOps :
1116[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
1117[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
1118[warn] |)
1119[warn] |will change.
1120[warn] |Current choice : the first alternative
1121[warn] |New choice from Scala 3.7: none - it's ambiguous
1122[warn] |
1123[warn] |where: X is a type variable
1124[warn] | X² is a type variable
1125[warn] 36 | val seq = Seq(1,2,3)
1126[warn] 37 | seq.map{ x =>
1127[warn] 38 | await(T1.cbi(3)) + x
1128[warn] 39 | }
1129[warn] 40 | }
1130[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftIterableOps.scala:44:36
1131[warn] 44 | val c = async[ComputationBound]{
1132[warn] | ^
1133[warn] |Given search preference for cps.AsyncShift[Seq[Int]] between alternatives
1134[warn] | (cps.AsyncShift.shiftedSeqOps :
1135[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
1136[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
1137[warn] |)
1138[warn] |and
1139[warn] | (cps.AsyncShift.shiftedIterableOps :
1140[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
1141[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
1142[warn] |)
1143[warn] |will change.
1144[warn] |Current choice : the first alternative
1145[warn] |New choice from Scala 3.7: none - it's ambiguous
1146[warn] |
1147[warn] |where: X is a type variable
1148[warn] | X² is a type variable
1149[warn] 45 | var s = 0
1150[warn] 46 | Seq(1,2,3).foreach{ x =>
1151[warn] 47 | s += await(T1.cbi(3)) + x
1152[warn] 48 | }
1153[warn] 49 | s
1154[warn] 50 | }
1155[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftIterableOps.scala:228:36
1156[warn] 228 | val c = async[ComputationBound]{
1157[warn] | ^
1158[warn] |Given search preference for cps.AsyncShift[Seq[Int]] between alternatives
1159[warn] | (cps.AsyncShift.shiftedSeqOps :
1160[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
1161[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
1162[warn] |)
1163[warn] |and
1164[warn] | (cps.AsyncShift.shiftedIterableOps :
1165[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
1166[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
1167[warn] |)
1168[warn] |will change.
1169[warn] |Current choice : the first alternative
1170[warn] |New choice from Scala 3.7: none - it's ambiguous
1171[warn] |
1172[warn] |where: X is a type variable
1173[warn] | X² is a type variable
1174[warn] 229 | Seq(1,2,3).foldLeft("")((s,e) => "(" + s + "," + await(T1.cbi(e)).toString + ")" )
1175[warn] 230 | }
1176[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftIterableOps.scala:234:36
1177[warn] 234 | val c = async[ComputationBound]{
1178[warn] | ^
1179[warn] |Given search preference for cps.AsyncShift[Seq[Int]] between alternatives
1180[warn] | (cps.AsyncShift.shiftedSeqOps :
1181[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
1182[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
1183[warn] |)
1184[warn] |and
1185[warn] | (cps.AsyncShift.shiftedIterableOps :
1186[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
1187[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
1188[warn] |)
1189[warn] |will change.
1190[warn] |Current choice : the first alternative
1191[warn] |New choice from Scala 3.7: none - it's ambiguous
1192[warn] |
1193[warn] |where: X is a type variable
1194[warn] | X² is a type variable
1195[warn] 235 | Seq(1,2,3).foldRight("")((e,s) => "(" + await(T1.cbs(e.toString)) + "," + s + ")" )
1196[warn] 236 | }
1197[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftIterableOps.scala:241:36
1198[warn] 241 | val c = async[ComputationBound]{
1199[warn] | ^
1200[warn] |Given search preference for cps.AsyncShift[Seq[Int]] between alternatives
1201[warn] | (cps.AsyncShift.shiftedSeqOps :
1202[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
1203[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
1204[warn] |)
1205[warn] |and
1206[warn] | (cps.AsyncShift.shiftedIterableOps :
1207[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
1208[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
1209[warn] |)
1210[warn] |will change.
1211[warn] |Current choice : the first alternative
1212[warn] |New choice from Scala 3.7: none - it's ambiguous
1213[warn] |
1214[warn] |where: X is a type variable
1215[warn] | X² is a type variable
1216[warn] 242 | Seq(1,2,3).forall(_ == await(T1.cbi(3)))
1217[warn] 243 | }
1218[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftIterableOps.scala:247:36
1219[warn] 247 | val c = async[ComputationBound]{
1220[warn] | ^
1221[warn] |Given search preference for cps.AsyncShift[Seq[Int]] between alternatives
1222[warn] | (cps.AsyncShift.shiftedSeqOps :
1223[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
1224[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
1225[warn] |)
1226[warn] |and
1227[warn] | (cps.AsyncShift.shiftedIterableOps :
1228[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
1229[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
1230[warn] |)
1231[warn] |will change.
1232[warn] |Current choice : the first alternative
1233[warn] |New choice from Scala 3.7: none - it's ambiguous
1234[warn] |
1235[warn] |where: X is a type variable
1236[warn] | X² is a type variable
1237[warn] 248 | Seq(1,2,3).forall(_ > await(T1.cbi(0)))
1238[warn] 249 | }
1239[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftIterableOps.scala:253:36
1240[warn] 253 | val c = async[ComputationBound]{
1241[warn] | ^
1242[warn] |Given search preference for cps.AsyncShift[Seq[Nothing]] between alternatives
1243[warn] | (cps.AsyncShift.shiftedSeqOps :
1244[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
1245[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
1246[warn] |)
1247[warn] |and
1248[warn] | (cps.AsyncShift.shiftedIterableOps :
1249[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
1250[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
1251[warn] |)
1252[warn] |will change.
1253[warn] |Current choice : the first alternative
1254[warn] |New choice from Scala 3.7: none - it's ambiguous
1255[warn] |
1256[warn] |where: X is a type variable
1257[warn] | X² is a type variable
1258[warn] 254 | Seq().forall(_ == await(T1.cbi(0)))
1259[warn] 255 | }
1260[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftIterableOps.scala:314:36
1261[warn] 314 | val c = async[ComputationBound]{
1262[warn] | ^
1263[warn] |Given search preference for cps.AsyncShift[Seq[Int]] between alternatives
1264[warn] | (cps.AsyncShift.shiftedSeqOps :
1265[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
1266[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
1267[warn] |)
1268[warn] |and
1269[warn] | (cps.AsyncShift.shiftedIterableOps :
1270[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
1271[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
1272[warn] |)
1273[warn] |will change.
1274[warn] |Current choice : the first alternative
1275[warn] |New choice from Scala 3.7: none - it's ambiguous
1276[warn] |
1277[warn] |where: X is a type variable
1278[warn] | X² is a type variable
1279[warn] 315 | val x: Seq[Int] = (1 to 100).toSeq
1280[warn] 316 | x maxBy ( _ % await(T1.cbi(77)) )
1281[warn] 317 | }
1282[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftIterableOps.scala:322:36
1283[warn] 322 | val c = async[ComputationBound]{
1284[warn] | ^
1285[warn] |Given search preference for cps.AsyncShift[Seq[Int]] between alternatives
1286[warn] | (cps.AsyncShift.shiftedSeqOps :
1287[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
1288[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
1289[warn] |)
1290[warn] |and
1291[warn] | (cps.AsyncShift.shiftedIterableOps :
1292[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
1293[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
1294[warn] |)
1295[warn] |will change.
1296[warn] |Current choice : the first alternative
1297[warn] |New choice from Scala 3.7: none - it's ambiguous
1298[warn] |
1299[warn] |where: X is a type variable
1300[warn] | X² is a type variable
1301[warn] 323 | val x: Seq[Int] = (1 to 100).toSeq
1302[warn] 324 | x minBy ( _ % await(T1.cbi(77)) )
1303[warn] 325 | }
1304[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftSeq.scala:20:36 -
1305[warn] 20 | val c = async[ComputationBound]{
1306[warn] | ^
1307[warn] |Given search preference for cps.AsyncShift[Seq[String]] between alternatives
1308[warn] | (cps.AsyncShift.shiftedSeqOps :
1309[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
1310[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
1311[warn] |)
1312[warn] |and
1313[warn] | (cps.AsyncShift.shiftedIterableOps :
1314[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
1315[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
1316[warn] |)
1317[warn] |will change.
1318[warn] |Current choice : the first alternative
1319[warn] |New choice from Scala 3.7: none - it's ambiguous
1320[warn] |
1321[warn] |where: X is a type variable
1322[warn] | X² is a type variable
1323[warn] 21 | val seq = Seq("1234","3452","1","12","21","777777777")
1324[warn] 22 | seq.distinctBy{ x => await(T1.cbi(x.length)) }
1325[warn] 23 | }
1326[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftSeq.scala:32:36 -
1327[warn] 32 | val c = async[ComputationBound]{
1328[warn] | ^
1329[warn] |Given search preference for cps.AsyncShift[Seq[String]] between alternatives
1330[warn] | (cps.AsyncShift.shiftedSeqOps :
1331[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
1332[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
1333[warn] |)
1334[warn] |and
1335[warn] | (cps.AsyncShift.shiftedIterableOps :
1336[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
1337[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
1338[warn] |)
1339[warn] |will change.
1340[warn] |Current choice : the first alternative
1341[warn] |New choice from Scala 3.7: none - it's ambiguous
1342[warn] |
1343[warn] |where: X is a type variable
1344[warn] | X² is a type variable
1345[warn] 33 | val seq = Seq("1234","3452","1","12","21","777777777")
1346[warn] 34 | seq.indexWhere{ x => await(T1.cbt(x.charAt(0)=='7')) }
1347[warn] 35 | }
1348[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftSeq.scala:39:36 -
1349[warn] 39 | val c = async[ComputationBound]{
1350[warn] | ^
1351[warn] |Given search preference for cps.AsyncShift[Seq[String]] between alternatives
1352[warn] | (cps.AsyncShift.shiftedSeqOps :
1353[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
1354[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
1355[warn] |)
1356[warn] |and
1357[warn] | (cps.AsyncShift.shiftedIterableOps :
1358[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
1359[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
1360[warn] |)
1361[warn] |will change.
1362[warn] |Current choice : the first alternative
1363[warn] |New choice from Scala 3.7: none - it's ambiguous
1364[warn] |
1365[warn] |where: X is a type variable
1366[warn] | X² is a type variable
1367[warn] 40 | val seq = Seq("1234","3452","1","12","21","777777777")
1368[warn] 41 | seq.indexWhere{ x => await(T1.cbt(x.charAt(0)=='8')) }
1369[warn] 42 | }
1370[warn] -- Warning: /build/repo/shared/src/test/scala/cps/TestCBS1ShiftSeq.scala:70:36 -
1371[warn] 70 | val c = async[ComputationBound]{
1372[warn] | ^
1373[warn] |Given search preference for cps.AsyncShift[Seq[Int]] between alternatives
1374[warn] | (cps.AsyncShift.shiftedSeqOps :
1375[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
1376[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
1377[warn] |)
1378[warn] |and
1379[warn] | (cps.AsyncShift.shiftedIterableOps :
1380[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
1381[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
1382[warn] |)
1383[warn] |will change.
1384[warn] |Current choice : the first alternative
1385[warn] |New choice from Scala 3.7: none - it's ambiguous
1386[warn] |
1387[warn] |where: X is a type variable
1388[warn] | X² is a type variable
1389[warn] 71 | val seq = Seq(1,2,3,4,5,6,7,8)
1390[warn] 72 | seq.segmentLength( x => x < await(T1.cbi(6)) )
1391[warn] 73 | }
1392[warn] -- Warning: /build/repo/shared/src/test/scala/cps/vp/VP2.scala:22:72 -----------
1393[warn] 22 | def run1(url: String, clientId: String): Future[Unit] = async[Future] {
1394[warn] | ^
1395[warn] |Given search preference for cps.AsyncShift[Seq[cps.vp.VP2.Test]] between alternatives
1396[warn] | (cps.AsyncShift.shiftedSeqOps :
1397[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
1398[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
1399[warn] |)
1400[warn] |and
1401[warn] | (cps.AsyncShift.shiftedIterableOps :
1402[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
1403[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
1404[warn] |)
1405[warn] |will change.
1406[warn] |Current choice : the first alternative
1407[warn] |New choice from Scala 3.7: none - it's ambiguous
1408[warn] |
1409[warn] |where: X is a type variable
1410[warn] | X² is a type variable
1411[warn] 23 | val testContext = TestContext(clientId, url)
1412[warn] 24 | for(test <- tests) {
1413[warn] 25 | println(s"running ${test}")
1414[warn] 26 | try {
1415[warn] 27 | await(test.run(testContext))
1416[warn] 28 | }catch{
1417[warn] 29 | case NonFatal(ex) =>
1418[warn] 30 | if !(test eq ExtremeSize) then
1419[warn] 31 | println(s"exception during test: ${ex.getMessage} rerunning with trace")
1420[warn] 32 | //bug in dotty: https://github.com/lampepfl/dotty/issues/17445
1421[warn] 33 | //val traceContext = testContext.copy(trace=true)
1422[warn] 34 | val traceContext = TestContext(testContext.clientId, testContext.url, true)
1423[warn] 35 | try {
1424[warn] 36 | await(test.run(traceContext))
1425[warn] 37 | } catch {
1426[warn] 38 | case NonFatal(ex) =>
1427[warn] 39 | }
1428[warn] 40 | else
1429[warn] 41 | println(s"exception during test ${test}, ${ex.getMessage}")
1430[warn] 42 | }
1431[warn] 43 | }
1432[warn] 44 | println(s"summary metrics: ${testContext}")
1433[warn] 45 | }
1434[warn] -- [E129] Potential Issue Warning: /build/repo/shared/src/test/scala/cpstest/TestNonShiftedContextFunction.scala:38:12
1435[warn] 38 | if (false) then
1436[warn] | ^
1437[warn] | A pure expression does nothing in statement position
1438[warn] 39 | println(s"ctx=${summon[Context]}")
1439[warn] |
1440[warn] | longer explanation available when compiling with `-explain`
1441[warn] -- [E129] Potential Issue Warning: /build/repo/shared/src/test/scala/cpstest/TestNonShiftedContextFunction.scala:56:8
1442[warn] 56 | if (false) then
1443[warn] | ^
1444[warn] | A pure expression does nothing in statement position
1445[warn] 57 | println(s"ctx=${summon[Context]}")
1446[warn] |
1447[warn] | longer explanation available when compiling with `-explain`
1448[warn] -- Warning: /build/repo/shared/src/test/scala/cpstest/TestReturningExamples.scala:74:139
1449[warn] 74 | def fillbucketWithinBudget(userId: UserId, items: Seq[Item], budget: Long, api: DataAPI): Future[Either[String,Bucket]] = async[Future]{
1450[warn] | ^
1451[warn] |Given search preference for cps.AsyncShift[Seq[TestReturningExamples.this.Item]] between alternatives
1452[warn] | (cps.AsyncShift.shiftedSeqOps :
1453[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
1454[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
1455[warn] |)
1456[warn] |and
1457[warn] | (cps.AsyncShift.shiftedIterableOps :
1458[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
1459[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
1460[warn] |)
1461[warn] |will change.
1462[warn] |Current choice : the first alternative
1463[warn] |New choice from Scala 3.7: none - it's ambiguous
1464[warn] |
1465[warn] |where: X is a type variable
1466[warn] | X² is a type variable
1467[warn] 75 | returning {
1468[warn] 76 | val userInfo = await(api.fetchUserInfo(userId))
1469[warn] 77 | val config = api.config
1470[warn] 78 | if (userInfo.blacklisted)
1471[warn] 79 | throwReturn(Left("User is blacklisted"):Either[String,Bucket])
1472[warn] 80 | val bucket = items.foldLeft(Bucket.empty){ (bucket, item) =>
1473[warn] 81 | val itemInfo = await(api.fetchItemInfo(item))
1474[warn] 82 | if (!itemInfo.available) then
1475[warn] 83 | bucket.withMessage(s"item ${item.name} is not available")
1476[warn] 84 | else if (itemInfo.cost + bucket.cost > budget) then
1477[warn] 85 | bucket.withMessage(s"item ${item.name} is out of budget")
1478[warn] 86 | else
1479[warn] 87 | val newBucket = bucket.withItem(itemInfo)
1480[warn] 88 | if (newBucket.cost + config.minItemCost > budget) then
1481[warn] 89 | throwReturn(Right(newBucket):Either[String,Bucket])
1482[warn] 90 | newBucket
1483[warn] 91 | }
1484[warn] 92 | if (bucket.isEmpty) then
1485[warn] 93 | throwReturn(Left(s"No items available: ${bucket.messages.mkString}"):Either[String,Bucket])
1486[warn] 94 | Right(bucket)
1487[warn] 95 | }
1488[warn] 96 | }
1489[warn] -- Warning: /build/repo/shared/src/test/scala/cpstest/TestReturningExamples.scala:148:154
1490[warn] 148 | def fillMutableBucketWithinBudget(userId: UserId, items: Seq[Item], budget: Long, api: DataAPI): Future[Either[String,MutableBucket]] = async[Future] {
1491[warn] | ^
1492[warn] |Given search preference for cps.AsyncShift[Seq[TestReturningExamples.this.Item]] between alternatives
1493[warn] | (cps.AsyncShift.shiftedSeqOps :
1494[warn] | [A, C[X] <: Seq[X] & scala.collection.SeqOps[X, C, C[X]]]:
1495[warn] | cps.runtime.SeqAsyncShift[A, C, C[A]]
1496[warn] |)
1497[warn] |and
1498[warn] | (cps.AsyncShift.shiftedIterableOps :
1499[warn] | [A, C[X] <: Iterable[X²] & scala.collection.IterableOps[X², C, C[X²]]]:
1500[warn] | cps.runtime.IterableOpsAsyncShift[A, C, C[A]]
1501[warn] |)
1502[warn] |will change.
1503[warn] |Current choice : the first alternative
1504[warn] |New choice from Scala 3.7: none - it's ambiguous
1505[warn] |
1506[warn] |where: X is a type variable
1507[warn] | X² is a type variable
1508[warn] 149 | returning {
1509[warn] 150 | val userInfo = await(api.fetchUserInfo(userId))
1510[warn] 151 | val config = api.config
1511[warn] 152 |
1512[warn] 153 | if (userInfo.blacklisted)
1513[warn] 154 | throwReturn(Left("User is blacklisted"):Either[String,MutableBucket])
1514[warn] 155 | var remainingBudget = budget
1515[warn] 156 | val bucket = MutableBucket.empty
1516[warn] 157 | for(item <- items) {
1517[warn] 158 | val itemInfo = await(api.fetchItemInfo(item))
1518[warn] 159 | if (!itemInfo.available) then
1519[warn] 160 | bucket.addMessage(s"item ${item.name} is not available")
1520[warn] 161 | else if (itemInfo.cost > remainingBudget) then
1521[warn] 162 | bucket.addMessage(s"item ${item.name} is out of budget")
1522[warn] 163 | else
1523[warn] 164 | bucket.addItem(itemInfo)
1524[warn] 165 | remainingBudget = remainingBudget - itemInfo.cost
1525[warn] 166 | if (remainingBudget < config.minItemCost) then
1526[warn] 167 | throwReturn(Right(bucket):Either[String,MutableBucket])
1527[warn] 168 | }
1528[warn] 169 | if (bucket.isEmpty) then
1529[warn] 170 | throwReturn(Left("No items available"):Either[String,MutableBucket])
1530[warn] 171 | Right(bucket)
1531[warn] 172 | }
1532[warn] 173 | }
1533[warn] -- Warning: /build/repo/shared/src/test/scala/cps/SharedComputationBound.scala:1:8
1534[warn] 1 |package cps
1535[warn] |^^^^^^^^^^^
1536[warn] |No class, trait or object is defined in the compilation unit.
1537[warn] |The incremental compiler cannot record the dependency information in such case.
1538[warn] |Some errors like unused import referring to a non-existent class might not be reported.
1539[warn] -- [E121] Pattern Match Warning: /build/repo/js/src/test/scala/cps/TestJsPromiseInterop.scala:64:29
1540[warn] 64 | val check = async[Future]{
1541[warn] | ^
1542[warn] |Unreachable case except for null (if this is intentional, consider writing case null => instead).
1543[warn] 65 | try {
1544[warn] 66 | await(api.retrieveData("bad"))
1545[warn] 67 | } catch {
1546[warn] 68 | case ex: Throwable =>
1547[warn] 69 | ex.getMessage()
1548[warn] 70 | }
1549[warn] 71 | }
1550[warn] -- [E121] Pattern Match Warning: /build/repo/shared/src/test/scala/cps/TestCBS1Try.scala:185:18
1551[warn] 185 | val c = async{
1552[warn] | ^
1553[warn] |Unreachable case except for null (if this is intentional, consider writing case null => instead).
1554[warn] 186 | x = await(T1.cbi(1))
1555[warn] 187 | try {
1556[warn] 188 | failSyncOp()
1557[warn] 189 | x = 3
1558[warn] 190 | } catch {
1559[warn] 191 | case ex: Throwable =>
1560[warn] 192 | x = 2
1561[warn] 193 | throw ex
1562[warn] 194 | } finally {
1563[warn] 195 | y = await(T1.cbi(2))
1564[warn] 196 | }
1565[warn] 197 | x
1566[warn] 198 | }
1567[warn] there were 25 deprecation warnings; re-run with -deprecation for details
1568[warn] 23 warnings found
1569received body: ((x: scala.Int, y: scala.Int, z: scala.Int) => {
1570 logic.unification1.DatalogSyntax.|-[logic.unification1.examples.FindPathes.Path](logic.unification1.examples.FindPathes.Path.apply(x, y))[logic.unification1.examples.FindPathes.Edge](logic.unification1.examples.FindPathes.Edge.apply(x, y))
1571 logic.unification1.DatalogSyntax.|-[logic.unification1.examples.FindPathes.Path](logic.unification1.examples.FindPathes.Path.apply(x, z))[logic.unification1.DatalogSyntax.SyntaxHornClause[logic.unification1.examples.FindPathes.Path, logic.unification1.examples.FindPathes.Edge]](logic.unification1.DatalogSyntax.&[logic.unification1.examples.FindPathes.Path](logic.unification1.examples.FindPathes.Path.apply(x, y))[logic.unification1.examples.FindPathes.Edge](logic.unification1.examples.FindPathes.Edge.apply(y, z)))
1572})
1573received body: {
1574 logic.unification1.DatalogSyntax.|-[logic.unification1.examples.FindPathes.Edge](logic.unification1.examples.FindPathes.Edge.apply(1, 2))[scala.Boolean](true)
1575 logic.unification1.DatalogSyntax.|-[logic.unification1.examples.FindPathes.Edge](logic.unification1.examples.FindPathes.Edge.apply(2, 3))[scala.Boolean](true)
1576 logic.unification1.DatalogSyntax.|-[logic.unification1.examples.FindPathes.Edge](logic.unification1.examples.FindPathes.Edge.apply(3, 4))[scala.Boolean](true)
1577}
1578received query: ((x: scala.Int) => logic.unification1.examples.FindPathes.Path.apply(1, x))
1579[warn] there were 25 deprecation warnings; re-run with -deprecation for details
1580[warn] 24 warnings found
1581[info] done compiling
1582[info] Wrote /build/repo/js/target/scala-3.6.2/dotty-cps-async_sjs1_3-0.9.22.pom
1583[info] Main Scala API documentation to /build/repo/js/target/scala-3.6.2/api...
1584Problem parsing shared/src/main/scala/cps/macros/forest/ApplyTreeTransform.scala:[0..19..61503], documentation may not be generated.
1585Problem parsing shared/src/main/scala/cps/macros/forest/AsyncTreeShifter.scala:[0..19..1672], documentation may not be generated.
1586Problem parsing shared/src/main/scala/cps/macros/forest/AwaitTreeTransform.scala:[0..19..3035], documentation may not be generated.
1587Problem parsing shared/src/main/scala/cps/macros/forest/BlockTreeTransform.scala:[0..19..1164], documentation may not be generated.
1588Problem parsing shared/src/main/scala/cps/macros/forest/CpsTree.scala:[0..19..45174], documentation may not be generated.
1589Problem parsing shared/src/main/scala/cps/macros/forest/InlinedTreeTransform.scala:[118..137..16633], documentation may not be generated.
1590Problem parsing shared/src/main/scala/cps/macros/forest/KnownTreeFragments.scala:[0..19..2522], documentation may not be generated.
1591Problem parsing shared/src/main/scala/cps/macros/forest/LambdaTreeTransform.scala:[0..19..3429], documentation may not be generated.
1592Problem parsing shared/src/main/scala/cps/macros/forest/MatchTreeTransform.scala:[80..99..3508], documentation may not be generated.
1593Problem parsing shared/src/main/scala/cps/macros/forest/NonLocalReturnsTreeTransform.scala:[1..20..4074], documentation may not be generated.
1594Problem parsing shared/src/main/scala/cps/macros/forest/RootTreeTransform.scala:[97..116..11563], documentation may not be generated.
1595Problem parsing shared/src/main/scala/cps/macros/forest/SelectOuterTreeTransform.scala:[0..19..1792], documentation may not be generated.
1596Problem parsing shared/src/main/scala/cps/macros/forest/SelectTreeTransform.scala:[0..19..1722], documentation may not be generated.
1597Problem parsing shared/src/main/scala/cps/macros/forest/TypeApplyTreeTransform.scala:[0..19..1773], documentation may not be generated.
1598Problem parsing shared/src/main/scala/cps/macros/forest/ValDefTreeTransform.scala:[0..19..769], documentation may not be generated.
1599Problem parsing shared/src/main/scala/cps/macros/forest/application/ApplicationHelper.scala:[0..26..531], documentation may not be generated.
1600Problem parsing shared/src/main/scala/cps/macros/forest/application/ApplyArgRecordScope.scala:[0..26..27722], documentation may not be generated.
1601[info] Main Scala API documentation successful.
1602[info] :: delivering :: com.github.rssh#dotty-cps-async_sjs1_3;0.9.22 :: 0.9.22 :: release :: Sat Dec 21 18:49:20 CET 2024
1603[info] delivering ivy file to /build/repo/js/target/scala-3.6.2/ivy-0.9.22.xml
1604[info] published dotty-cps-async_sjs1_3 to /root/.ivy2/local/com.github.rssh/dotty-cps-async_sjs1_3/0.9.22/poms/dotty-cps-async_sjs1_3.pom
1605[info] published dotty-cps-async_sjs1_3 to /root/.ivy2/local/com.github.rssh/dotty-cps-async_sjs1_3/0.9.22/jars/dotty-cps-async_sjs1_3.jar
1606[info] published dotty-cps-async_sjs1_3 to /root/.ivy2/local/com.github.rssh/dotty-cps-async_sjs1_3/0.9.22/srcs/dotty-cps-async_sjs1_3-sources.jar
1607[info] published dotty-cps-async_sjs1_3 to /root/.ivy2/local/com.github.rssh/dotty-cps-async_sjs1_3/0.9.22/docs/dotty-cps-async_sjs1_3-javadoc.jar
1608[info] published ivy to /root/.ivy2/local/com.github.rssh/dotty-cps-async_sjs1_3/0.9.22/ivys/ivy.xml
1609[info] Fast optimizing /build/repo/js/target/scala-3.6.2/dotty-cps-async-test-fastopt
1610Starting build for ProjectRef(file:/build/repo/,compilerPlugin) (dotty-cps-async-compiler-plugin)...
1611Compile scalacOptions: List(-source:3.6-migration, -Wconf:msg=can be rewritten automatically under:s)
1612[info] compiling 52 Scala sources to /build/repo/compiler-plugin/target/scala-3.6.2/classes ...
1613[warn] there were 3 feature warnings; re-run with -feature for details
1614[warn] there were 4 deprecation warnings; re-run with -deprecation for details
1615[warn] two warnings found
1616[info] done compiling
1617[info] Main Scala API documentation to /build/repo/compiler-plugin/target/scala-3.6.2/api...
1618[info] Skipping unused scalacOptions: -Wconf, -source
1619[info] Main Scala API documentation successful.
1620[info] compiling 27 Scala sources to /build/repo/compiler-plugin/target/scala-3.6.2/test-classes ...
1621[warn] there were 5 deprecation warnings; re-run with -deprecation for details
1622[warn] one warning found
1623[info] done compiling
1624[info] Wrote /build/repo/compiler-plugin/target/scala-3.6.2/dotty-cps-async-compiler-plugin_3-0.9.22.pom
1625[info] Main Scala API documentation to /build/repo/compiler-plugin/target/scala-3.6.2/api...
1626[info] Skipping unused scalacOptions: -Wconf, -source
1627[info] Main Scala API documentation successful.
1628[info] :: delivering :: com.github.rssh#dotty-cps-async-compiler-plugin_3;0.9.22 :: 0.9.22 :: release :: Sat Dec 21 18:49:39 CET 2024
1629[info] delivering ivy file to /build/repo/compiler-plugin/target/scala-3.6.2/ivy-0.9.22.xml
1630[info] published dotty-cps-async-compiler-plugin_3 to /root/.ivy2/local/com.github.rssh/dotty-cps-async-compiler-plugin_3/0.9.22/poms/dotty-cps-async-compiler-plugin_3.pom
1631[info] published dotty-cps-async-compiler-plugin_3 to /root/.ivy2/local/com.github.rssh/dotty-cps-async-compiler-plugin_3/0.9.22/jars/dotty-cps-async-compiler-plugin_3.jar
1632[info] published dotty-cps-async-compiler-plugin_3 to /root/.ivy2/local/com.github.rssh/dotty-cps-async-compiler-plugin_3/0.9.22/srcs/dotty-cps-async-compiler-plugin_3-sources.jar
1633[info] published dotty-cps-async-compiler-plugin_3 to /root/.ivy2/local/com.github.rssh/dotty-cps-async-compiler-plugin_3/0.9.22/docs/dotty-cps-async-compiler-plugin_3-javadoc.jar
1634[info] published ivy to /root/.ivy2/local/com.github.rssh/dotty-cps-async-compiler-plugin_3/0.9.22/ivys/ivy.xml
1635
1636************************
1637Build summary:
1638[{
1639 "module": "dotty-cps-async",
1640 "compile": {"status": "ok", "tookMs": 20969, "warnings": 0, "errors": 0, "sourceVersion": "3.6-migration"},
1641 "doc": {"status": "ok", "tookMs": 7635, "files": 569, "totalSizeKb": 22992},
1642 "test-compile": {"status": "ok", "tookMs": 22517, "warnings": 41, "errors": 0, "sourceVersion": "3.6-migration"},
1643 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
1644 "publish": {"status": "ok", "tookMs": 4939}
1645},{
1646 "module": "dotty-cps-async-loom",
1647 "compile": {"status": "ok", "tookMs": 320, "warnings": 0, "errors": 0, "sourceVersion": "3.6-migration"},
1648 "doc": {"status": "ok", "tookMs": 342, "files": 340, "totalSizeKb": 6329},
1649 "test-compile": {"status": "ok", "tookMs": 975, "warnings": 0, "errors": 0, "sourceVersion": "3.6-migration"},
1650 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
1651 "publish": {"status": "ok", "tookMs": 968}
1652},{
1653 "module": "dotty-cps-async-logic",
1654 "compile": {"status": "ok", "tookMs": 1076, "warnings": 0, "errors": 0, "sourceVersion": "3.6-migration"},
1655 "doc": {"status": "ok", "tookMs": 1037, "files": 361, "totalSizeKb": 7815},
1656 "test-compile": {"status": "ok", "tookMs": 1164, "warnings": 0, "errors": 0, "sourceVersion": "3.6-migration"},
1657 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
1658 "publish": {"status": "ok", "tookMs": 1244}
1659},{
1660 "module": "dotty-cps-async",
1661 "compile": {"status": "ok", "tookMs": 7970, "warnings": 1, "errors": 0, "sourceVersion": "3.6-migration"},
1662 "doc": {"status": "ok", "tookMs": 3185, "files": 577, "totalSizeKb": 23769},
1663 "test-compile": {"status": "ok", "tookMs": 11209, "warnings": 22, "errors": 0, "sourceVersion": "3.6-migration"},
1664 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
1665 "publish": {"status": "ok", "tookMs": 3597}
1666},{
1667 "module": "dotty-cps-async-compiler-plugin",
1668 "compile": {"status": "ok", "tookMs": 3410, "warnings": 0, "errors": 0, "sourceVersion": "3.6-migration"},
1669 "doc": {"status": "ok", "tookMs": 1402, "files": 479, "totalSizeKb": 13114},
1670 "test-compile": {"status": "ok", "tookMs": 737, "warnings": 0, "errors": 0, "sourceVersion": "3.6-migration"},
1671 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
1672 "publish": {"status": "ok", "tookMs": 2063}
1673}]
1674************************
1675[success] Total time: 114 s (01:54), completed Dec 21, 2024, 6:49:39 PM
1676Checking patch build.sbt...
1677Applied patch build.sbt cleanly.