Build Logs

tabdulradi/happypath • 3.8.0-RC5:2025-12-31

Errors

0

Warnings

24

Total Lines

286

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