Build Logs

tabdulradi/happypath • scheduled_3.8.0-RC1-bin-20251114-d221ef5-NIGHTLY

Errors

0

Warnings

24

Total Lines

288

1##################################
2Clonning https://github.com/tabdulradi/happypath.git into /build/repo using revision v0.3.0
3##################################
4Note: switching to 'af6f20185411bfe428848c9b11786b87f3be7d46'.
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-RC2
22Migrating project for -source:3.7 using Scala 3.7.4-RC2
23----
24Preparing build for 3.7.4-RC2
25Would try to apply common scalacOption (best-effort, sbt/mill only):
26Append: -rewrite,REQUIRE:-source:3.7-migration
27Remove: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
28----
29Starting build for 3.7.4-RC2
30Execute tests: false
31sbt project found:
32Sbt version 1.5.2 is not supported, minimal supported version is 1.11.5
33Enforcing usage of sbt in version 1.11.5
34No prepare script found for project tabdulradi/happypath
35/opencb/project-builder/sbt/prepare-project.sh: line 107: /root/.ssh/config: No such file or directory
36##################################
37Scala version: 3.7.4-RC2
38Targets: com.abdulradi%happypath-core
39Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.7"],"sourcePatches":[]}
40##################################
41Using extra scalacOptions: -rewrite,REQUIRE:-source:3.7-migration
42Filtering out scalacOptions: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
43[sbt_options] declare -a sbt_options=()
44[process_args] java_version = '17'
45[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
46# Executing command line:
47java
48-Dfile.encoding=UTF-8
49-Dcommunitybuild.scala=3.7.4-RC2
50-Dcommunitybuild.project.dependencies.add=
51-Xmx7G
52-Xms4G
53-Xss8M
54-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
55-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
56-jar
57/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
58"setCrossScalaVersions 3.7.4-RC2"
59"++3.7.4-RC2 -v"
60"mapScalacOptions "-rewrite,REQUIRE:-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s" "-indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
61"set every credentials := Nil"
62"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
63"removeScalacOptionsStartingWith -P:wartremover"
64
65moduleMappings
66"runBuild 3.7.4-RC2 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.7"],"sourcePatches":[]}""" com.abdulradi%happypath-core"
67
68[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
69[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
70[info] loading project definition from /build/repo/project
71[info] compiling 3 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
72[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
73[info] Compilation completed in 8.959s.
74[info] done compiling
75[info] loading settings for project root from build.sbt...
76[info] set current project to happypath (in build file:/build/repo/)
77Execute setCrossScalaVersions: 3.7.4-RC2
78OpenCB::Changing crossVersion 3.0.0 -> 3.7.4-RC2 in core/crossScalaVersions
79OpenCB::Changing crossVersion 3.0.0 -> 3.7.4-RC2 in root/crossScalaVersions
80[info] set current project to happypath (in build file:/build/repo/)
81[info] Setting Scala version to 3.7.4-RC2 on 2 projects.
82[info] Switching Scala version on:
83[info] * root (3.7.4-RC2)
84[info] core (3.7.4-RC2)
85[info] Excluding projects:
86[info] Reapplying settings...
87[info] set current project to happypath (in build file:/build/repo/)
88Execute mapScalacOptions: -rewrite,REQUIRE:-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
89[info] Reapplying settings...
90[info] set current project to happypath (in build file:/build/repo/)
91[info] Defining Global / credentials, core / credentials, credentials
92[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 9 others.
93[info] Run `last` for details.
94[info] Reapplying settings...
95[info] set current project to happypath (in build file:/build/repo/)
96Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
97[info] Reapplying settings...
98OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
99
100 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:336)
101 Did you mean core / allExcludeDependencies ?
102 , retry without global scopes
103[info] Reapplying settings...
104[info] set current project to happypath (in build file:/build/repo/)
105Execute removeScalacOptionsStartingWith: -P:wartremover
106[info] Reapplying settings...
107[info] set current project to happypath (in build file:/build/repo/)
108[success] Total time: 0 s, completed Nov 15, 2025, 1:00:01 AM
109Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.7"],"sourcePatches":[]}
110Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
111Starting build...
112Projects: Set(core)
113Starting build for ProjectRef(file:/build/repo/,core) (happypath-core)... [0/1]
114OpenCB::Exclude Scala3 specific scalacOption `-rewrite` in Scala 2.12.20 module Global
115OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.7-migration` in Scala 2.12.20 module Global
116OpenCB::Filter out '-source:future', matches setting pattern '^-?-source(:.*)?'
117Compile scalacOptions: -Yexplicit-nulls, -Ycook-comments, -Ysafe-init, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
118[info] compiling 4 Scala sources to /build/repo/core/target/scala-3.7.4-RC2/classes ...
119[warn] Option -Ycook-docs is deprecated: Use -Xcook-docs instead.
120[warn] Option -Ysafe-init is deprecated: Use -Wsafe-init instead.
121[warn] two warnings found
122[info] done compiling
123[info] compiling 1 Scala source to /build/repo/core/target/scala-3.7.4-RC2/test-classes ...
124[warn] Option -Ycook-docs is deprecated: Use -Xcook-docs instead.
125[warn] Option -Ysafe-init is deprecated: Use -Wsafe-init instead.
126[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/core/src/test/scala/com/abdulradi/happypath/Examples.scala:20:24
127[warn] 20 | enum AppError derives UnhappyCase:
128[warn] | ^
129[warn] |the type test for AppError cannot be checked at runtime because it's a local class
130[warn] |
131[warn] | longer explanation available when compiling with `-explain`
132[warn] three warnings found
133[info] done compiling
134
135************************
136Build summary:
137[{
138 "module": "happypath-core",
139 "compile": {"status": "ok", "tookMs": 4548, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
140 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
141 "test-compile": {"status": "ok", "tookMs": 1445, "warnings": 1, "errors": 0, "sourceVersion": "3.7-migration"},
142 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
143 "publish": {"status": "skipped", "tookMs": 0},
144 "metadata": {
145 "crossScalaVersions": ["3.0.0"]
146}
147}]
148************************
149[success] Total time: 11 s, completed Nov 15, 2025, 1:00:13 AM
150[0JChecking patch project/plugins.sbt...
151Checking patch project/build.properties...
152Checking patch build.sbt...
153Applied patch project/plugins.sbt cleanly.
154Applied patch project/build.properties cleanly.
155Applied patch build.sbt cleanly.
156No migration rewrite changes found, would not commit
157----
158Preparing build for 3.8.0-RC1-bin-20251114-d221ef5-NIGHTLY
159Scala binary version found: 3.8
160Implicitly using source version 3.8
161Scala binary version found: 3.8
162Implicitly using source version 3.8
163Would try to apply common scalacOption (best-effort, sbt/mill only):
164Append: ,REQUIRE:-source:3.8
165Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
166----
167Starting build for 3.8.0-RC1-bin-20251114-d221ef5-NIGHTLY
168Execute tests: false
169sbt project found:
170Sbt version 1.5.2 is not supported, minimal supported version is 1.11.5
171Enforcing usage of sbt in version 1.11.5
172No prepare script found for project tabdulradi/happypath
173/opencb/project-builder/sbt/prepare-project.sh: line 107: /root/.ssh/config: No such file or directory
174##################################
175Scala version: 3.8.0-RC1-bin-20251114-d221ef5-NIGHTLY
176Targets: com.abdulradi%happypath-core
177Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.7"],"sourcePatches":[]}
178##################################
179Using extra scalacOptions: ,REQUIRE:-source:3.8
180Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
181[sbt_options] declare -a sbt_options=()
182[process_args] java_version = '17'
183[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
184# Executing command line:
185java
186-Dfile.encoding=UTF-8
187-Dcommunitybuild.scala=3.8.0-RC1-bin-20251114-d221ef5-NIGHTLY
188-Dcommunitybuild.project.dependencies.add=
189-Xmx7G
190-Xms4G
191-Xss8M
192-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
193-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
194-jar
195/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
196"setCrossScalaVersions 3.8.0-RC1-bin-20251114-d221ef5-NIGHTLY"
197"++3.8.0-RC1-bin-20251114-d221ef5-NIGHTLY -v"
198"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
199"set every credentials := Nil"
200"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
201"removeScalacOptionsStartingWith -P:wartremover"
202
203moduleMappings
204"runBuild 3.8.0-RC1-bin-20251114-d221ef5-NIGHTLY """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.7"],"sourcePatches":[]}""" com.abdulradi%happypath-core"
205
206[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
207[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
208[info] loading project definition from /build/repo/project
209[info] loading settings for project root from build.sbt...
210[info] set current project to happypath (in build file:/build/repo/)
211Execute setCrossScalaVersions: 3.8.0-RC1-bin-20251114-d221ef5-NIGHTLY
212OpenCB::Changing crossVersion 3.0.0 -> 3.8.0-RC1-bin-20251114-d221ef5-NIGHTLY in core/crossScalaVersions
213OpenCB::Changing crossVersion 3.0.0 -> 3.8.0-RC1-bin-20251114-d221ef5-NIGHTLY in root/crossScalaVersions
214[info] set current project to happypath (in build file:/build/repo/)
215[info] Setting Scala version to 3.8.0-RC1-bin-20251114-d221ef5-NIGHTLY on 2 projects.
216[info] Switching Scala version on:
217[info] * root (3.8.0-RC1-bin-20251114-d221ef5-NIGHTLY)
218[info] core (3.8.0-RC1-bin-20251114-d221ef5-NIGHTLY)
219[info] Excluding projects:
220[info] Reapplying settings...
221[info] set current project to happypath (in build file:/build/repo/)
222Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
223[info] Reapplying settings...
224[info] set current project to happypath (in build file:/build/repo/)
225[info] Defining Global / credentials, core / credentials, credentials
226[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 9 others.
227[info] Run `last` for details.
228[info] Reapplying settings...
229[info] set current project to happypath (in build file:/build/repo/)
230Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
231[info] Reapplying settings...
232OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
233
234 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:336)
235 Did you mean core / allExcludeDependencies ?
236 , retry without global scopes
237[info] Reapplying settings...
238[info] set current project to happypath (in build file:/build/repo/)
239Execute removeScalacOptionsStartingWith: -P:wartremover
240[info] Reapplying settings...
241[info] set current project to happypath (in build file:/build/repo/)
242[success] Total time: 0 s, completed Nov 15, 2025, 1:00:22 AM
243Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.7"],"sourcePatches":[]}
244Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
245Starting build...
246Projects: Set(core)
247Starting build for ProjectRef(file:/build/repo/,core) (happypath-core)... [0/1]
248OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
249OpenCB::Filter out '-source:future', matches setting pattern '^-?-source(:.*)?'
250Compile scalacOptions: -Yexplicit-nulls, -Ycook-comments, -Ysafe-init, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
251[info] compiling 4 Scala sources to /build/repo/core/target/scala-3.8.0-RC1-bin-20251114-d221ef5-NIGHTLY/classes ...
252[warn] Option -Ycook-docs is deprecated: Use -Xcook-docs instead.
253[warn] Option -Ysafe-init is deprecated: Use -Wsafe-init instead.
254[warn] two warnings found
255[info] done compiling
256[info] compiling 1 Scala source to /build/repo/core/target/scala-3.8.0-RC1-bin-20251114-d221ef5-NIGHTLY/test-classes ...
257[warn] Option -Ycook-docs is deprecated: Use -Xcook-docs instead.
258[warn] Option -Ysafe-init is deprecated: Use -Wsafe-init instead.
259[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/core/src/test/scala/com/abdulradi/happypath/Examples.scala:20:24
260[warn] 20 | enum AppError derives UnhappyCase:
261[warn] | ^
262[warn] |the type test for AppError cannot be checked at runtime because it's a local class
263[warn] |
264[warn] | longer explanation available when compiling with `-explain`
265[warn] three warnings found
266[info] done compiling
267
268************************
269Build summary:
270[{
271 "module": "happypath-core",
272 "compile": {"status": "ok", "tookMs": 6371, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
273 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
274 "test-compile": {"status": "ok", "tookMs": 1676, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
275 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
276 "publish": {"status": "skipped", "tookMs": 0},
277 "metadata": {
278 "crossScalaVersions": ["3.0.0"]
279}
280}]
281************************
282[success] Total time: 14 s, completed Nov 15, 2025, 1:00:36 AM
283[0JChecking patch project/plugins.sbt...
284Checking patch project/build.properties...
285Checking patch build.sbt...
286Applied patch project/plugins.sbt cleanly.
287Applied patch project/build.properties cleanly.
288Applied patch build.sbt cleanly.