Build Logs

guardian/anghammarad • 3.8.0-RC5:2025-12-31

Errors

1

Warnings

0

Total Lines

240

1##################################
2Clonning https://github.com/guardian/anghammarad.git into /build/repo using revision v6.0.0
3##################################
4Note: switching to 'bbfcfedc90a46c445ba8c2ae7517ca2ce6d869c9'.
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-RC5
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-RC5
32Execute tests: true
33sbt project found:
34Sbt version 1.11.4 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 guardian/anghammarad
37##################################
38Scala version: 3.8.0-RC5
39Targets: com.gu%anghammarad-client com.gu%anghammarad-common
40Project projectConfig: {"tests":null}
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 = '17'
46[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
47# Executing command line:
48java
49-Dfile.encoding=UTF-8
50-Dcommunitybuild.scala=3.8.0-RC5
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_17_0_8
57-jar
58/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
59"setCrossScalaVersions 3.8.0-RC5"
60"++3.8.0-RC5 -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-RC5 """{"tests":null}""" com.gu%anghammarad-client com.gu%anghammarad-common"
68
69[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
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.141s.
75[info] done compiling
76[info] loading settings for project root from build.sbt, version.sbt...
77[info] set current project to anghammarad-root (in build file:/build/repo/)
78Execute setCrossScalaVersions: 3.8.0-RC5
79OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC5 in anghammarad/crossScalaVersions
80OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC5 in common/crossScalaVersions
81OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC5 in client/crossScalaVersions
82OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC5 in root/crossScalaVersions
83OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC5 in dev/crossScalaVersions
84[info] set current project to anghammarad-root (in build file:/build/repo/)
85[info] Setting Scala version to 3.8.0-RC5 on 5 projects.
86[info] Switching Scala version on:
87[info] * root (2.13.16, 3.8.0-RC5)
88[info] anghammarad (2.13.16, 3.8.0-RC5)
89[info] common (2.13.16, 3.8.0-RC5)
90[info] dev (2.13.16, 3.8.0-RC5)
91[info] client (2.13.16, 3.8.0-RC5)
92[info] Excluding projects:
93[info] Reapplying settings...
94[info] set current project to anghammarad-root (in build file:/build/repo/)
95Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
96[info] Reapplying settings...
97[info] set current project to anghammarad-root (in build file:/build/repo/)
98[info] Defining Global / credentials, anghammarad / credentials and 3 others.
99[info] The new values will be used by ThisBuild / scalafixSbtResolversAsCoursierRepositories, allCredentials and 23 others.
100[info] Run `last` for details.
101[info] Reapplying settings...
102[info] set current project to anghammarad-root (in build file:/build/repo/)
103Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
104[info] Reapplying settings...
105OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
106
107 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
108 Did you mean allExcludeDependencies ?
109 , retry without global scopes
110[info] Reapplying settings...
111[info] set current project to anghammarad-root (in build file:/build/repo/)
112Execute removeScalacOptionsStartingWith: -P:wartremover
113[info] Reapplying settings...
114[info] set current project to anghammarad-root (in build file:/build/repo/)
115[success] Total time: 0 s, completed Dec 31, 2025, 9:57:46 PM
116Build config: {"tests":null}
117Parsed config: Failure(sjsonnew.DeserializationException: Expected String as JString, but got JNull)
118Starting build...
119Projects: Set(client, common)
120Starting build for ProjectRef(file:/build/repo/,client) (anghammarad-client)... [0/2]
121OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
122OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
123OpenCB::Filter out '-Xfatal-warnings', matches setting pattern '^-?-Xfatal-warnings'
124Compile scalacOptions: -encoding, UTF-8, --java-output-version:17, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
125[info] compiling 4 Scala sources to /build/repo/common/target/scala-3.8.0-RC5/classes ...
126[info] done compiling
127[info] compiling 3 Scala sources to /build/repo/client/target/scala-3.8.0-RC5/classes ...
128[info] done compiling
129[info] compiling 1 Scala source to /build/repo/client/target/scala-3.8.0-RC5/test-classes ...
130[info] done compiling
131SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
132SLF4J: Defaulting to no-operation (NOP) logger implementation
133SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
134[info] JsonTest:
135[info] targetJson
136[info] - produces valid JSON for a Stack
137[info] - produces valid JSON for a Stage
138[info] - produces valid JSON for an App
139[info] - produces valid JSON for an AwsAccount
140[info] - produces valid JSON for a GitHubTeamSlug
141[info] - produces valid JSON for all
142[info] actionsJson
143[info] - produces correct JSON for an action
144[info] messageJson
145[info] - sets message as provided
146[info] - sets sender as provided
147[info] represents channel correctly
148[info] - for 'All'
149[info] - for 'Email'
150[info] - for 'HangoutsChat'
151[info] - includes target
152[info] - includes actions
153[info] properly escapes input
154[info] - quotes are escaped
155Starting build for ProjectRef(file:/build/repo/,common) (anghammarad-common)... [1/2]
156Compile scalacOptions: -encoding, UTF-8, --java-output-version:17, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
157[info] compiling 1 Scala source to /build/repo/common/target/scala-3.8.0-RC5/test-classes ...
158[info] done compiling
159[info] TargetsTest:
160[info] includesAwsAccount
161[info] - returns false if AwsAccount is enquired about and not present
162[info] - returns true if AwsAccount is enquired about and present
163[info] includesStack
164[info] - returns false if Stack is enquired about and not present
165[info] - returns true if Stack is enquired about and present
166[info] includesApp
167[info] - returns false if App is enquired about and not present
168[info] - returns true if App is enquired about and present
169[info] includesStage
170[info] - returns false if Stage is enquired about and not present
171[info] - returns true if Stage is enquired about and present
172[info] stageMatches
173[info] - returns true if the stages match
174[info] - returns true if the stages match among other targets
175[info] - returns false if the stages do not match
176[info] - returns false if the stages do not match among other targets
177[info] - returns true if multiple stages are present as long as there is an overlap
178[info] awsAccountMatches
179[info] - returns true if the AWS Accounts match
180[info] - returns true if the AWS Accounts match among other targets
181[info] - returns false if the AWS Accounts do not match
182[info] - returns false if the AWS Accounts do not match among other targets
183[info] - returns true if multiple AWS Accounts are present as long as there is an overlap
184[info] stackMatches
185[info] - returns true if the Stacks match
186[info] - returns true if the Stacks match among other targets
187[info] - returns false if the Stacks do not match
188[info] - returns false if the Stacks do not match among other targets
189[info] - returns true if multiple Stacks are present as long as there is an overlap
190[info] appMatches
191[info] - returns true if the Apps match
192[info] - returns true if the Apps match among other targets
193[info] - returns false if the Apps do not match
194[info] - returns false if the Apps do not match among other targets
195[info] - returns true if multiple Apps are present as long as there is an overlap
196[info] githubTeamSlugMatches
197[info] - returns true if the Slugs match
198[info] - returns true if the Slugs match among other targets
199[info] - returns false if the Slugs do not match
200[info] - returns false if the Slugs do not match among other targets
201[info] - returns true if multiple Slugs are present as long as there is an overlap
202[info] sortMappingsByTargets
203[info] - matching app goes before matching stage and aws account
204[info] - non-matching app goes after matching stage and aws account
205[info] - matching stack goes before matching aws account
206[info] - non-matching stack goes after matching aws account
207[info] - PROD stage in mappings determines priority if two otherwise equivalent matches are found
208[info] - Lack of stage in mappings gets priority over a specific CODE mapping if two otherwise equivalent matches are found
209
210************************
211Build summary:
212[{
213 "module": "anghammarad-client",
214 "compile": {"status": "ok", "tookMs": 6413, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
215 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
216 "test-compile": {"status": "ok", "tookMs": 1873, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
217 "test": {"status": "ok", "tookMs": 617, "passed": 15, "failed": 0, "ignored": 0, "skipped": 0, "total": 15, "byFramework": [{"framework": "unknown", "stats": {"passed": 15, "failed": 0, "ignored": 0, "skipped": 0, "total": 15}}]},
218 "publish": {"status": "skipped", "tookMs": 0},
219 "metadata": {
220 "crossScalaVersions": ["2.13.16", "3.3.6"]
221}
222},{
223 "module": "anghammarad-common",
224 "compile": {"status": "ok", "tookMs": 57, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
225 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
226 "test-compile": {"status": "ok", "tookMs": 1848, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
227 "test": {"status": "ok", "tookMs": 315, "passed": 39, "failed": 0, "ignored": 0, "skipped": 0, "total": 39, "byFramework": [{"framework": "unknown", "stats": {"passed": 39, "failed": 0, "ignored": 0, "skipped": 0, "total": 39}}]},
228 "publish": {"status": "skipped", "tookMs": 0},
229 "metadata": {
230 "crossScalaVersions": ["2.13.16", "3.3.6"]
231}
232}]
233************************
234[success] Total time: 15 s, completed Dec 31, 2025, 9:58:01 PM
235[0JChecking patch project/plugins.sbt...
236Checking patch project/build.properties...
237Checking patch build.sbt...
238Applied patch project/plugins.sbt cleanly.
239Applied patch project/build.properties cleanly.
240Applied patch build.sbt cleanly.