Build Logs
dacr/jassh • scheduled_3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY
Errors
0
Warnings
20
Total Lines
337
1##################################
2Clonning https://github.com/dacr/jassh.git into /build/repo using revision v1.1.1
3##################################
4Note: switching to 'ad142ca28d10540ee3b395e6fa5cea4983a852a1'.
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
21Using target Scala version for migration: 3.7.4
22Migrating project for -source:3.4 using Scala 3.7.4
23----
24Preparing build for 3.7.4
25Would try to apply common scalacOption (best-effort, sbt/mill only):
26Append: -rewrite,REQUIRE:-source:3.4-migration
27Remove: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
28
29Try apply source patch:
30Path: src/test/scala/fr/janalyse/ssh/ShellOperationsTest.scala
31Pattern: ls
32Replacement: ls()
33Starting compilation server
34Compiling project (Scala 3.7.3, JVM (17))
35Compiled project (Scala 3.7.3, JVM (17))
36Successfully applied pattern ' ls ' in src/test/scala/fr/janalyse/ssh/ShellOperationsTest.scala
37
38Try apply source patch:
39Path: src/main/scala/fr/janalyse/ssh/SSH.scala
40Pattern: getMessage contains (".*") =>
41Replacement: getMessage.contains($1) =>
42Successfully applied pattern 'getMessage contains (".*") =>' in src/main/scala/fr/janalyse/ssh/SSH.scala
43----
44Starting build for 3.7.4
45Execute tests: false
46sbt project found:
47Sbt version 1.10.2 is not supported, minimal supported version is 1.11.5
48Enforcing usage of sbt in version 1.11.5
49No prepare script found for project dacr/jassh
50##################################
51Scala version: 3.7.4
52Targets: fr.janalyse%janalyse-ssh
53Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4"],"sourcePatches":[{"path":"src/test/scala/fr/janalyse/ssh/ShellOperationsTest.scala","pattern":" ls ","replaceWith":" ls() "},{"path":"src/main/scala/fr/janalyse/ssh/SSH.scala","pattern":"getMessage contains (\".*\") =>","replaceWith":"getMessage.contains($1) =>"}]}
54##################################
55Using extra scalacOptions: -rewrite,REQUIRE:-source:3.4-migration
56Filtering out scalacOptions: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
57[sbt_options] declare -a sbt_options=()
58[process_args] java_version = '17'
59[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
60# Executing command line:
61java
62-Dfile.encoding=UTF-8
63-Dcommunitybuild.scala=3.7.4
64-Dcommunitybuild.project.dependencies.add=
65-Xmx7G
66-Xms4G
67-Xss8M
68-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
69-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
70-jar
71/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
72"setCrossScalaVersions 3.7.4"
73"++3.7.4 -v"
74"mapScalacOptions "-rewrite,REQUIRE:-source:3.4-migration,-Wconf:msg=can be rewritten automatically under:s" "-indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
75"set every credentials := Nil"
76"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
77"removeScalacOptionsStartingWith -P:wartremover"
78
79moduleMappings
80"runBuild 3.7.4 """{"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4"],"sourcePatches":[{"path":"src/test/scala/fr/janalyse/ssh/ShellOperationsTest.scala","pattern":" ls ","replaceWith":" ls() "},{"path":"src/main/scala/fr/janalyse/ssh/SSH.scala","pattern":"getMessage contains (\".*\") =>","replaceWith":"getMessage.contains($1) =>"}]}""" fr.janalyse%janalyse-ssh"
81
82[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
83[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
84[info] loading project definition from /build/repo/project
85[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
86[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
87[info] Compilation completed in 8.917s.
88[info] done compiling
89/build/repo/publish.sbt:7: warning: value sonatypeOssSnapshots in object resolver is deprecated (since 1.11.2): Sonatype OSS Repository Hosting (OSSRH) will be sunset on 2025-06-30; use the following instead:
90 resolvers += Resolver.sonatypeCentralSnapshots
91publishTo := Some(if (isSnapshot.value) Opts.resolver.sonatypeOssSnapshots.head else Opts.resolver.sonatypeStaging)
92 ^
93/build/repo/publish.sbt:7: warning: value sonatypeStaging in object resolver is deprecated (since 1.11.2): Sonatype OSS Repository Hosting (OSSRH) will be sunset on 2025-06-30; use the following instead:
94 publishTo := {
95 if (isSnapshot.value) Some(Resolver.sonatypeCentralSnapshots)
96 else localStaging.value
97 }
98publishTo := Some(if (isSnapshot.value) Opts.resolver.sonatypeOssSnapshots.head else Opts.resolver.sonatypeStaging)
99 ^
100[info] loading settings for project repo from build.sbt, publish.sbt, version.sbt...
101[info] set current project to janalyse-ssh (in build file:/build/repo/)
102Execute setCrossScalaVersions: 3.7.4
103OpenCB::Changing crossVersion 3.5.1 -> 3.7.4 in repo/crossScalaVersions
104[info] set current project to janalyse-ssh (in build file:/build/repo/)
105[info] Setting Scala version to 3.7.4 on 1 projects.
106[info] Switching Scala version on:
107[info] * repo (2.13.15, 3.7.4)
108[info] Excluding projects:
109[info] Reapplying settings...
110[info] set current project to janalyse-ssh (in build file:/build/repo/)
111Execute mapScalacOptions: -rewrite,REQUIRE:-source:3.4-migration,-Wconf:msg=can be rewritten automatically under:s -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
112[info] Reapplying settings...
113[info] set current project to janalyse-ssh (in build file:/build/repo/)
114[info] Defining Global / credentials, credentials
115[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 6 others.
116[info] Run `last` for details.
117[info] Reapplying settings...
118[info] set current project to janalyse-ssh (in build file:/build/repo/)
119Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
120[info] Reapplying settings...
121OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
122
123 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
124 Did you mean allExcludeDependencies ?
125 , retry without global scopes
126[info] Reapplying settings...
127[info] set current project to janalyse-ssh (in build file:/build/repo/)
128Execute removeScalacOptionsStartingWith: -P:wartremover
129[info] Reapplying settings...
130[info] set current project to janalyse-ssh (in build file:/build/repo/)
131[success] Total time: 0 s, completed Dec 6, 2025, 1:12:16 AM
132Build config: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4"],"sourcePatches":[{"path":"src/test/scala/fr/janalyse/ssh/ShellOperationsTest.scala","pattern":" ls ","replaceWith":" ls() "},{"path":"src/main/scala/fr/janalyse/ssh/SSH.scala","pattern":"getMessage contains (\".*\") =>","replaceWith":"getMessage.contains($1) =>"}]}
133Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
134Starting build...
135Projects: Set(repo)
136Starting build for ProjectRef(file:/build/repo/,repo) (janalyse-ssh)... [0/1]
137OpenCB::Exclude Scala3 specific scalacOption `-rewrite` in Scala 2.12.20 module Global
138OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.4-migration` in Scala 2.12.20 module Global
139OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
140OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
141Compile scalacOptions: -unchecked, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.4-migration
142[info] compiling 28 Scala sources to /build/repo/target/scala-3.7.4/classes ...
143[warn] -- [E121] Pattern Match Warning: /build/repo/src/main/scala/fr/janalyse/ssh/ShellOperations.scala:451:11
144[warn] 451 | case x =>
145[warn] | ^
146[warn] |Unreachable case except for null (if this is intentional, consider writing case null => instead).
147[info] [patched file /build/repo/src/main/scala/fr/janalyse/ssh/SSH.scala]
148[info] [patched file /build/repo/src/main/scala/fr/janalyse/ssh/SSHTools.scala]
149[info] [patched file /build/repo/src/main/scala/fr/janalyse/ssh/CommonOperations.scala]
150[info] [patched file /build/repo/src/main/scala/fr/janalyse/ssh/SSHRemoteFile.scala]
151[warn] there were 9 deprecation warnings; re-run with -deprecation for details
152[warn] two warnings found
153[info] done compiling
154[info] compiling 4 Scala sources to /build/repo/target/scala-3.7.4/classes ...
155[warn] there were 4 deprecation warnings; re-run with -deprecation for details
156[warn] one warning found
157[info] done compiling
158[info] compiling 14 Scala sources to /build/repo/target/scala-3.7.4/test-classes ...
159[info] [patched file /build/repo/src/test/scala/fr/janalyse/ssh/ShellOperationsTest.scala]
160[info] [patched file /build/repo/src/test/scala/fr/janalyse/ssh/SSHAPITest.scala]
161[warn] there were 2 deprecation warnings; re-run with -deprecation for details
162[warn] one warning found
163[info] done compiling
164[info] compiling 2 Scala sources to /build/repo/target/scala-3.7.4/test-classes ...
165[info] done compiling
166
167************************
168Build summary:
169[{
170 "module": "janalyse-ssh",
171 "compile": {"status": "ok", "tookMs": 10623, "warnings": 1, "errors": 0, "sourceVersion": "3.4-migration"},
172 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
173 "test-compile": {"status": "ok", "tookMs": 7071, "warnings": 0, "errors": 0, "sourceVersion": "3.4-migration"},
174 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
175 "publish": {"status": "skipped", "tookMs": 0},
176 "metadata": {
177 "crossScalaVersions": ["2.13.15", "3.5.1"]
178}
179}]
180************************
181[success] Total time: 43 s, completed Dec 6, 2025, 1:12:58 AM
182[0JChecking patch src/test/scala/fr/janalyse/ssh/ShellOperationsTest.scala...
183Checking patch src/main/scala/fr/janalyse/ssh/SSH.scala...
184Checking patch project/plugins.sbt...
185Checking patch project/build.properties...
186Checking patch build.sbt...
187Applied patch src/test/scala/fr/janalyse/ssh/ShellOperationsTest.scala cleanly.
188Applied patch src/main/scala/fr/janalyse/ssh/SSH.scala cleanly.
189Applied patch project/plugins.sbt cleanly.
190Applied patch project/build.properties cleanly.
191Applied patch build.sbt cleanly.
192Commit migration rewrites
193Switched to a new branch 'opencb/migrate-source-3.4'
194[opencb/migrate-source-3.4 5d8e5f1] Apply Scala compiler rewrites using -source:3.4-migration using Scala 3.7.4
195 6 files changed, 20 insertions(+), 20 deletions(-)
196----
197Preparing build for 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY
198Scala binary version found: 3.8
199Implicitly using source version 3.8
200Scala binary version found: 3.8
201Implicitly using source version 3.8
202Would try to apply common scalacOption (best-effort, sbt/mill only):
203Append: ,REQUIRE:-source:3.8
204Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
205
206Try apply source patch:
207Path: src/test/scala/fr/janalyse/ssh/ShellOperationsTest.scala
208Pattern: ls
209Replacement: ls()
210Successfully applied pattern ' ls ' in src/test/scala/fr/janalyse/ssh/ShellOperationsTest.scala
211
212Try apply source patch:
213Path: src/main/scala/fr/janalyse/ssh/SSH.scala
214Pattern: getMessage contains (".*") =>
215Replacement: getMessage.contains($1) =>
216Successfully applied pattern 'getMessage contains (".*") =>' in src/main/scala/fr/janalyse/ssh/SSH.scala
217----
218Starting build for 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY
219Execute tests: false
220sbt project found:
221Sbt version 1.10.2 is not supported, minimal supported version is 1.11.5
222Enforcing usage of sbt in version 1.11.5
223No prepare script found for project dacr/jassh
224##################################
225Scala version: 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY
226Targets: fr.janalyse%janalyse-ssh
227Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4"],"sourcePatches":[{"path":"src/test/scala/fr/janalyse/ssh/ShellOperationsTest.scala","pattern":" ls ","replaceWith":" ls() "},{"path":"src/main/scala/fr/janalyse/ssh/SSH.scala","pattern":"getMessage contains (\".*\") =>","replaceWith":"getMessage.contains($1) =>"}]}
228##################################
229Using extra scalacOptions: ,REQUIRE:-source:3.8
230Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
231[sbt_options] declare -a sbt_options=()
232[process_args] java_version = '17'
233[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
234# Executing command line:
235java
236-Dfile.encoding=UTF-8
237-Dcommunitybuild.scala=3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY
238-Dcommunitybuild.project.dependencies.add=
239-Xmx7G
240-Xms4G
241-Xss8M
242-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
243-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
244-jar
245/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
246"setCrossScalaVersions 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY"
247"++3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY -v"
248"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
249"set every credentials := Nil"
250"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
251"removeScalacOptionsStartingWith -P:wartremover"
252
253moduleMappings
254"runBuild 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY """{"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4"],"sourcePatches":[{"path":"src/test/scala/fr/janalyse/ssh/ShellOperationsTest.scala","pattern":" ls ","replaceWith":" ls() "},{"path":"src/main/scala/fr/janalyse/ssh/SSH.scala","pattern":"getMessage contains (\".*\") =>","replaceWith":"getMessage.contains($1) =>"}]}""" fr.janalyse%janalyse-ssh"
255
256[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
257[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
258[info] loading project definition from /build/repo/project
259[info] loading settings for project repo from build.sbt, publish.sbt, version.sbt...
260[info] set current project to janalyse-ssh (in build file:/build/repo/)
261Execute setCrossScalaVersions: 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY
262OpenCB::Changing crossVersion 3.5.1 -> 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY in repo/crossScalaVersions
263[info] set current project to janalyse-ssh (in build file:/build/repo/)
264[info] Setting Scala version to 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY on 1 projects.
265[info] Switching Scala version on:
266[info] * repo (2.13.15, 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY)
267[info] Excluding projects:
268[info] Reapplying settings...
269[info] set current project to janalyse-ssh (in build file:/build/repo/)
270Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
271[info] Reapplying settings...
272[info] set current project to janalyse-ssh (in build file:/build/repo/)
273[info] Defining Global / credentials, credentials
274[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 6 others.
275[info] Run `last` for details.
276[info] Reapplying settings...
277[info] set current project to janalyse-ssh (in build file:/build/repo/)
278Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
279[info] Reapplying settings...
280OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
281
282 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
283 Did you mean allExcludeDependencies ?
284 , retry without global scopes
285[info] Reapplying settings...
286[info] set current project to janalyse-ssh (in build file:/build/repo/)
287Execute removeScalacOptionsStartingWith: -P:wartremover
288[info] Reapplying settings...
289[info] set current project to janalyse-ssh (in build file:/build/repo/)
290[success] Total time: 0 s, completed Dec 6, 2025, 1:13:08 AM
291Build config: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4"],"sourcePatches":[{"path":"src/test/scala/fr/janalyse/ssh/ShellOperationsTest.scala","pattern":" ls ","replaceWith":" ls() "},{"path":"src/main/scala/fr/janalyse/ssh/SSH.scala","pattern":"getMessage contains (\".*\") =>","replaceWith":"getMessage.contains($1) =>"}]}
292Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
293Starting build...
294Projects: Set(repo)
295Starting build for ProjectRef(file:/build/repo/,repo) (janalyse-ssh)... [0/1]
296OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
297OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
298OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
299Compile scalacOptions: -unchecked, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
300[info] compiling 28 Scala sources to /build/repo/target/scala-3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY/classes ...
301[warn] -- [E121] Pattern Match Warning: /build/repo/src/main/scala/fr/janalyse/ssh/ShellOperations.scala:451:11
302[warn] 451 | case x =>
303[warn] | ^
304[warn] |Unreachable case except for null (if this is intentional, consider writing case null => instead).
305[warn] there were 9 deprecation warnings; re-run with -deprecation for details
306[warn] two warnings found
307[info] done compiling
308[info] compiling 14 Scala sources to /build/repo/target/scala-3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY/test-classes ...
309[warn] there were 2 deprecation warnings; re-run with -deprecation for details
310[warn] one warning found
311[info] done compiling
312
313************************
314Build summary:
315[{
316 "module": "janalyse-ssh",
317 "compile": {"status": "ok", "tookMs": 12699, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
318 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
319 "test-compile": {"status": "ok", "tookMs": 6797, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
320 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
321 "publish": {"status": "skipped", "tookMs": 0},
322 "metadata": {
323 "crossScalaVersions": ["2.13.15", "3.5.1"]
324}
325}]
326************************
327[success] Total time: 29 s, completed Dec 6, 2025, 1:13:37 AM
328[0JChecking patch src/test/scala/fr/janalyse/ssh/ShellOperationsTest.scala...
329Checking patch src/main/scala/fr/janalyse/ssh/SSH.scala...
330Checking patch project/plugins.sbt...
331Checking patch project/build.properties...
332Checking patch build.sbt...
333Applied patch src/test/scala/fr/janalyse/ssh/ShellOperationsTest.scala cleanly.
334Applied patch src/main/scala/fr/janalyse/ssh/SSH.scala cleanly.
335Applied patch project/plugins.sbt cleanly.
336Applied patch project/build.properties cleanly.
337Applied patch build.sbt cleanly.