Build Logs

guardian/cross-platform-navigation • 3.8.0-RC3:2025-12-04

Errors

2

Warnings

10

Total Lines

174

1##################################
2Clonning https://github.com/guardian/cross-platform-navigation.git into /build/repo using revision v1.3.2
3##################################
4Note: switching to '1f4bcf2699a7ff2bfe90f5d8a5ef2c7104008110'.
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.10.1 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/cross-platform-navigation
37##################################
38Scala version: 3.8.0-RC3
39Targets: com.gu%cross-platform-navigation
40Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"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 = '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-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_17_0_8
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":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}""" com.gu%cross-platform-navigation"
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.724s.
75[info] done compiling
76/build/repo/build.sbt:10: warning: method sonatypeOssRepos in class ResolverFunctions is deprecated (since 1.11.2): Sonatype OSS Repository Hosting (OSSRH) was sunset on 2025-06-30; remove this resolver. If snapshots are required, use:
77 resolvers += Resolver.sonatypeCentralSnapshots
78resolvers ++= Resolver.sonatypeOssRepos("releases")
79 ^
80[info] loading settings for project repo from build.sbt, version.sbt...
81[info] set current project to cross-platform-navigation (in build file:/build/repo/)
82Execute setCrossScalaVersions: 3.8.0-RC3
83OpenCB::Changing crossVersion 3.3.3 -> 3.8.0-RC3 in repo/crossScalaVersions
84[info] set current project to cross-platform-navigation (in build file:/build/repo/)
85[info] Setting Scala version to 3.8.0-RC3 on 1 projects.
86[info] Switching Scala version on:
87[info] * repo (3.8.0-RC3, 2.13.14)
88[info] Excluding projects:
89[info] Reapplying settings...
90[info] set current project to cross-platform-navigation (in build file:/build/repo/)
91Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
92[info] Reapplying settings...
93[info] set current project to cross-platform-navigation (in build file:/build/repo/)
94[info] Defining Global / credentials, credentials
95[info] The new values will be used by allCredentials, credentials and 2 others.
96[info] Run `last` for details.
97[info] Reapplying settings...
98[info] set current project to cross-platform-navigation (in build file:/build/repo/)
99Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
100[info] Reapplying settings...
101OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
102
103 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
104 Did you mean allExcludeDependencies ?
105 , retry without global scopes
106[info] Reapplying settings...
107[info] set current project to cross-platform-navigation (in build file:/build/repo/)
108Execute removeScalacOptionsStartingWith: -P:wartremover
109[info] Reapplying settings...
110[info] set current project to cross-platform-navigation (in build file:/build/repo/)
111[success] Total time: 0 s, completed Dec 4, 2025, 12:48:58 PM
112Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
113Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
114Starting build...
115Projects: Set(repo)
116Starting build for ProjectRef(file:/build/repo/,repo) (cross-platform-navigation)... [0/1]
117OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
118OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
119Compile scalacOptions: -unchecked, --java-output-version:17, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
120[info] compiling 3 Scala sources to /build/repo/target/scala-3.8.0-RC3/classes ...
121[info] done compiling
122[info] compiling 3 Scala sources to /build/repo/target/scala-3.8.0-RC3/test-classes ...
123[warn] -- Warning: /build/repo/src/test/scala/com/gu/navigation/NavigationIntegrationTest.scala:19:6
124[warn] 19 | navigationProvider.navigation(json) must not (throwA[NavigationParseError])
125[warn] | ^
126[warn] | Line is indented too far to the left, or a `}` is missing
127[warn] -- Warning: /build/repo/src/test/scala/com/gu/navigation/NavigationIntegrationTest.scala:25:6
128[warn] 25 | navigationProvider.navigation(json) must not (throwA[NavigationParseError])
129[warn] | ^
130[warn] | Line is indented too far to the left, or a `}` is missing
131[warn] two warnings found
132[info] done compiling
133SLF4J(W): No SLF4J providers were found.
134SLF4J(W): Defaulting to no-operation (NOP) logger implementation
135SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details.
136[info] NavigationProviderTest
137[info] Navigation Provider should
138[info] + correctly parse valid input
139[info] + throw an exception if the json is invalid
140[info] + detail the invalid fields when an exception is thrown
141[info] Total for specification NavigationProviderTest
142[info] Finished in 136 ms
143[info] 3 examples, 0 failure, 0 error
144[info] NavigationIntegrationTest
145[info] Navigation should
146[info] + parse the uk menu ok
147[info] + parse the us menu ok
148[info] + parse the au navigation
149[info] + parse the international edition
150[info] Total for specification NavigationIntegrationTest
151[info] Finished in 150 ms
152[info] 4 examples, 0 failure, 0 error
153
154************************
155Build summary:
156[{
157 "module": "cross-platform-navigation",
158 "compile": {"status": "ok", "tookMs": 9007, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
159 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
160 "test-compile": {"status": "ok", "tookMs": 2233, "warnings": 2, "errors": 0, "sourceVersion": "3.8"},
161 "test": {"status": "ok", "tookMs": 1422, "passed": 7, "failed": 0, "ignored": 0, "skipped": 0, "total": 7, "byFramework": [{"framework": "specs2", "stats": {"passed": 7, "failed": 0, "ignored": 0, "skipped": 0, "total": 7}}]},
162 "publish": {"status": "skipped", "tookMs": 0},
163 "metadata": {
164 "crossScalaVersions": ["3.3.3", "2.13.14"]
165}
166}]
167************************
168[success] Total time: 32 s, completed Dec 4, 2025, 12:49:30 PM
169[0JChecking patch project/plugins.sbt...
170Checking patch project/build.properties...
171Checking patch build.sbt...
172Applied patch project/plugins.sbt cleanly.
173Applied patch project/build.properties cleanly.
174Applied patch build.sbt cleanly.