Build Logs

juliano/randomuser-scala • 3.8.0-RC3:2025-12-04

Errors

9

Warnings

0

Total Lines

250

1##################################
2Clonning https://github.com/juliano/randomuser-scala.git into /build/repo using revision v0.1.4
3##################################
4Note: switching to '3c0e3a237ee0b9d12a4b0280a11ef893d4af4e39'.
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.8.0-RC3
23Scala binary version found: 3.8
24Implicitly using source version 3.8
25Scala binary version found: 3.8
26Implicitly using source version 3.8
27Would try to apply common scalacOption (best-effort, sbt/mill only):
28Append: ,REQUIRE:-source:3.8
29Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
30----
31Starting build for 3.8.0-RC3
32Execute tests: true
33sbt project found:
34Sbt version 1.11.2 is not supported, minimal supported version is 1.11.5
35Enforcing usage of sbt in version 1.11.5
36No prepare script found for project juliano/randomuser-scala
37##################################
38Scala version: 3.8.0-RC3
39Targets: io.github.juliano%random-user
40Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
41##################################
42Using extra scalacOptions: ,REQUIRE:-source:3.8
43Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
44[sbt_options] declare -a sbt_options=()
45[process_args] java_version = '21'
46[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21/rt.jar'
47# Executing command line:
48java
49-Dfile.encoding=UTF-8
50-Dcommunitybuild.scala=3.8.0-RC3
51-Dcommunitybuild.project.dependencies.add=
52-Xmx7G
53-Xms4G
54-Xss8M
55-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
56-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21
57-jar
58/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
59"setCrossScalaVersions 3.8.0-RC3"
60"++3.8.0-RC3 -v"
61"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
62"set every credentials := Nil"
63"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
64"removeScalacOptionsStartingWith -P:wartremover"
65
66moduleMappings
67"runBuild 3.8.0-RC3 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}""" io.github.juliano%random-user"
68
69[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 21)
70[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
71[info] loading project definition from /build/repo/project
72[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
73[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
74[info] Compilation completed in 8.041s.
75[info] done compiling
76[info] loading settings for project root from build.sbt...
77[info] set current project to random-user (in build file:/build/repo/)
78Execute setCrossScalaVersions: 3.8.0-RC3
79OpenCB::Changing crossVersion 3.5.0 -> 3.8.0-RC3 in root/crossScalaVersions
80OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC3) in root/crossScalaVersions
81[info] set current project to random-user (in build file:/build/repo/)
82[info] Setting Scala version to 3.8.0-RC3 on 1 projects.
83[info] Switching Scala version on:
84[info] * root (3.8.0-RC3)
85[info] Excluding projects:
86[info] Reapplying settings...
87[info] set current project to random-user (in build file:/build/repo/)
88Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
89[info] Reapplying settings...
90[info] set current project to random-user (in build file:/build/repo/)
91[info] Defining Global / credentials, credentials
92[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 8 others.
93[info] Run `last` for details.
94[info] Reapplying settings...
95[info] set current project to random-user (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:331)
101 Did you mean allExcludeDependencies ?
102 , retry without global scopes
103[info] Reapplying settings...
104[info] set current project to random-user (in build file:/build/repo/)
105Execute removeScalacOptionsStartingWith: -P:wartremover
106[info] Reapplying settings...
107[info] set current project to random-user (in build file:/build/repo/)
108[success] Total time: 0 s, completed Dec 4, 2025, 2:16:18 PM
109Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
110Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
111Starting build...
112Projects: Set(root)
113Starting build for ProjectRef(file:/build/repo/,root) (random-user)... [0/1]
114OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
115Compile scalacOptions: -Wconf:msg=can be rewritten automatically under:s, -source:3.8
116[info] scalafmt: Formatting 1 Scala sources (/build/repo)...
117[info] scalafmt: Formatting 5 Scala sources (/build/repo)...
118[info] compiling 5 Scala sources to /build/repo/target/scala-3.8.0-RC3/classes ...
119[info] done compiling
120[info] compiling 1 Scala source to /build/repo/target/scala-3.8.0-RC3/test-classes ...
121[info] done compiling
122+ RandomUser API client specs
123 + gender - only male
124 + gender - only female
125 + default params
126 + results
127 + nationalities
128 + password - min and max characters
129 + password - max characters
130 - noinfo
131 ✗ 0 was not equal to 2
132 content.results.length == 2 && content.info.isEmpty
133 .length = 0
134 .results = Nil
135 content = Content(
136 results = Nil,
137 info = Some(Info(
138 seed = "d3adb33f",
139 results = 1,
140 page = 1,
141 version = "1.4"
142 ))
143 )
144 at /build/repo/src/test/scala/io/github/juliano/randomuser/ClientSpec.scala:87
145 ✗ Result was false
146 content.results.length == 2 && content.info.isEmpty
147 .info = Some(Info(
148 seed = "d3adb33f",
149 results = 1,
150 page = 1,
151 version = "1.4"
152 ))
153 content = Content(
154 results = Nil,
155 info = Some(Info(
156 seed = "d3adb33f",
157 results = 1,
158 page = 1,
159 version = "1.4"
160 ))
161 )
162 at /build/repo/src/test/scala/io/github/juliano/randomuser/ClientSpec.scala:87
163
164 + include fields
165 + exclude fields
166timestamp=2025-12-04T13:17:55.609621431Z level=WARN thread=#zio-fiber-430 message="Test RandomUser API client specs - seed and page has taken more than 1 m to execute. If this is not expected, consider using TestAspect.timeout to timeout runaway tests for faster diagnostics."
167 - seed and page
168 scala.MatchError: sttp.client3.SttpClientException$TimeoutException: Exception when sending request: GET https://randomuser.me/api/?results=4&seed=qKNCJYADS5KdsrYFWM&page=2 (of class sttp.client3.SttpClientException$TimeoutException)
169 at scala.PartialFunction$$anon$1.apply(PartialFunction.scala:385)
170 at scala.PartialFunction$$anon$1.apply(PartialFunction.scala:385)
171 at io.github.juliano.randomuser.ApiException$$anon$1.applyOrElse(ApiException.scala:10)
172 at io.github.juliano.randomuser.ApiException$$anon$1.applyOrElse(ApiException.scala:9)
173 at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:39)
174 at zio.Cause$Fail.map(Cause.scala:998)
175 at zio.ZIO.mapError$$anonfun$1(ZIO.scala:998)
176 at zio.ZIO.mapErrorCause$$anonfun$1(ZIO.scala:1010)
177 at sttp.client3.impl.zio.RIOMonadAsyncError.error(RIOMonadAsyncError.scala:24)
178 at io.github.juliano.randomuser.ClientSpec.spec(ClientSpec.scala:66)
179 at io.github.juliano.randomuser.ClientSpec.spec(ClientSpec.scala:67)
1809 tests passed. 2 tests failed. 0 tests ignored.
181
182
183 - RandomUser API client specs / noinfo
184 ✗ 0 was not equal to 2
185 content.results.length == 2 && content.info.isEmpty
186 .length = 0
187 .results = Nil
188 content = Content(
189 results = Nil,
190 info = Some(Info(
191 seed = "d3adb33f",
192 results = 1,
193 page = 1,
194 version = "1.4"
195 ))
196 )
197 at /build/repo/src/test/scala/io/github/juliano/randomuser/ClientSpec.scala:87
198 ✗ Result was false
199 content.results.length == 2 && content.info.isEmpty
200 .info = Some(Info(
201 seed = "d3adb33f",
202 results = 1,
203 page = 1,
204 version = "1.4"
205 ))
206 content = Content(
207 results = Nil,
208 info = Some(Info(
209 seed = "d3adb33f",
210 results = 1,
211 page = 1,
212 version = "1.4"
213 ))
214 )
215 at /build/repo/src/test/scala/io/github/juliano/randomuser/ClientSpec.scala:87
216
217 - RandomUser API client specs - seed and page
218 scala.MatchError: sttp.client3.SttpClientException$TimeoutException: Exception when sending request: GET https://randomuser.me/api/?results=4&seed=qKNCJYADS5KdsrYFWM&page=2 (of class sttp.client3.SttpClientException$TimeoutException)
219 at scala.PartialFunction$$anon$1.apply(PartialFunction.scala:385)
220 at scala.PartialFunction$$anon$1.apply(PartialFunction.scala:385)
221 at io.github.juliano.randomuser.ApiException$$anon$1.applyOrElse(ApiException.scala:10)
222 at io.github.juliano.randomuser.ApiException$$anon$1.applyOrElse(ApiException.scala:9)
223 at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:39)
224 at zio.Cause$Fail.map(Cause.scala:998)
225 at zio.ZIO.mapError$$anonfun$1(ZIO.scala:998)
226 at zio.ZIO.mapErrorCause$$anonfun$1(ZIO.scala:1010)
227 at sttp.client3.impl.zio.RIOMonadAsyncError.error(RIOMonadAsyncError.scala:24)
228 at io.github.juliano.randomuser.ClientSpec.spec(ClientSpec.scala:66)
229 at io.github.juliano.randomuser.ClientSpec.spec(ClientSpec.scala:67)
230Executed in 1 m 10 s
231
232
233************************
234Build summary:
235[{
236 "module": "random-user",
237 "compile": {"status": "ok", "tookMs": 20844, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
238 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
239 "test-compile": {"status": "ok", "tookMs": 2046, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
240 "test": {"status": "failed", "tookMs": 71599, "passed": 9, "failed": 2, "ignored": 0, "skipped": 0, "total": 11, "byFramework": [{"framework": "unknown", "stats": {"passed": 9, "failed": 2, "ignored": 0, "skipped": 0, "total": 11}}]},
241 "publish": {"status": "skipped", "tookMs": 0},
242 "metadata": {
243 "crossScalaVersions": ["2.12.20"]
244}
245}]
246************************
247[error] Scala3CommunityBuild$ProjectBuildFailureException: 1 module(s) finished with failures: random-user
248[error] (Global / runBuild) Scala3CommunityBuild$ProjectBuildFailureException: 1 module(s) finished with failures: random-user
249[error] Total time: 107 s (0:01:47.0), completed Dec 4, 2025, 2:18:05 PM
250[0JBuild failed, not retrying.