Build Logs

rssh/dotty-cps-async • scheduled_3.6.4-RC1-bin-20241205-c61897d-NIGHTLY

Errors

4

Warnings

1240

Total Lines

1629

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