Build Logs
guardian/etag-caching • 3.8.0:2026-01-13
Errors
0
Warnings
0
Total Lines
206
1##################################
2Clonning https://github.com/guardian/etag-caching.git into /build/repo using revision v12.1.1
3##################################
4Note: switching to '38655f39eccf1b4782895aec16fed34e1aa43ae2'.
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
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
32Execute tests: true
33sbt project found:
34No prepare script found for project guardian/etag-caching
35##################################
36Scala version: 3.8.0
37Targets: com.gu.etag-caching%aws-s3-base com.gu.etag-caching%aws-s3-sdk-v2 com.gu.etag-caching%core
38Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
39##################################
40Using extra scalacOptions: ,REQUIRE:-source:3.8
41Filtering out scalacOptions: ,-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.8.0
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.8.0"
58"++3.8.0 -v"
59"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-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.8.0 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}""" com.gu.etag-caching%aws-s3-base com.gu.etag-caching%aws-s3-sdk-v2 com.gu.etag-caching%core"
66
67[info] [launcher] getting org.scala-sbt sbt 1.12.0 (this may take some time)...
68[info] [launcher] getting Scala 2.12.21 (for sbt)...
69[info] welcome to sbt 1.12.0 (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.21. Compiling...
74[info] Compilation completed in 9.2s.
75[info] done compiling
76[info] loading settings for project etag-caching-root from build.sbt, version.sbt...
77[info] set current project to etag-caching-root (in build file:/build/repo/)
78Execute setCrossScalaVersions: 3.8.0
79OpenCB::Changing crossVersion 3.3.6 -> 3.8.0 in core/crossScalaVersions
80OpenCB::Changing crossVersion 3.3.6 -> 3.8.0 in etag-caching-root/crossScalaVersions
81OpenCB::Changing crossVersion 3.3.6 -> 3.8.0 in aws-s3-sdk-v2/crossScalaVersions
82OpenCB::Changing crossVersion 3.3.6 -> 3.8.0 in aws-s3-base/crossScalaVersions
83[info] set current project to etag-caching-root (in build file:/build/repo/)
84[info] Setting Scala version to 3.8.0 on 4 projects.
85[info] Switching Scala version on:
86[info] * etag-caching-root (2.13.18, 3.8.0)
87[info] core (2.13.18, 3.8.0)
88[info] aws-s3-base (2.13.18, 3.8.0)
89[info] aws-s3-sdk-v2 (2.13.18, 3.8.0)
90[info] Excluding projects:
91[info] Reapplying settings...
92[info] set current project to etag-caching-root (in build file:/build/repo/)
93Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
94[info] Reapplying settings...
95[info] set current project to etag-caching-root (in build file:/build/repo/)
96[info] Defining Global / credentials, aws-s3-base / credentials and 2 others.
97[info] The new values will be used by allCredentials, aws-s3-base / allCredentials and 17 others.
98[info] Run `last` for details.
99[info] Reapplying settings...
100[info] set current project to etag-caching-root (in build file:/build/repo/)
101Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
102[info] Reapplying settings...
103OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
104
105 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
106 Did you mean allExcludeDependencies ?
107 , retry without global scopes
108[info] Reapplying settings...
109[info] set current project to etag-caching-root (in build file:/build/repo/)
110Execute removeScalacOptionsStartingWith: -P:wartremover
111[info] Reapplying settings...
112[info] set current project to etag-caching-root (in build file:/build/repo/)
113[success] Total time: 0 s, completed Jan 13, 2026, 3:24:29 PM
114Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
115Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
116Starting build...
117Projects: Set(aws-s3-base, aws-s3-sdk-v2, core)
118Starting build for ProjectRef(file:/build/repo/,aws-s3-base) (aws-s3-base)... [0/3]
119OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
120Compile scalacOptions: --java-output-version:17, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
121[info] compiling 6 Scala sources to /build/repo/core/target/scala-3.8.0/classes ...
122[info] done compiling
123[info] compiling 2 Scala sources to /build/repo/aws-s3/base/target/scala-3.8.0/classes ...
124[info] done compiling
125Starting build for ProjectRef(file:/build/repo/,aws-s3-sdk-v2) (aws-s3-sdk-v2)... [1/3]
126Compile scalacOptions: --java-output-version:17, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
127[info] compiling 2 Scala sources to /build/repo/aws-s3/aws-sdk-v2/target/scala-3.8.0/classes ...
128[info] done compiling
129[info] compiling 3 Scala sources to /build/repo/aws-s3/aws-sdk-v2/target/scala-3.8.0/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.
134Success: PT0.113231153S
135Success: PT0.055609657S
136Not modified: PT0.055609657S
137Success: PT0.01424708S
138Success: PT0.015542608S
139[info] S3ObjectFetchingTest:
140[info] S3ObjectFetching
141[info] - should have an example to show how an S3-backed ETagCache is set up
142[info] - should support a simple way to fetch byte arrays
143Starting build for ProjectRef(file:/build/repo/,core) (core)... [2/3]
144Compile scalacOptions: --java-output-version:17, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
145[info] compiling 4 Scala sources to /build/repo/core/target/scala-3.8.0/test-classes ...
146[info] done compiling
147load begin: sample-key
148load end: sample-key
149reload begin: sample-key
150reload end: sample-key
151load begin: sample-key
152load end: sample-key
153[info] LoadingTest:
154[info] Creating a Loading instance from a Fetching instance
155[info] - should be done with 'thenParsing'
156[info] - should be possible with 'thenParsingWithKey', if we need the key for the 'parsing' phase
157[info] fetchThenParseIfNecessary
158[info] - should *only* do parsing if fetching found a change in ETag value
159[info] onUpdate
160[info] - should provide callbacks that allow logging updates
161[info] FreshnessPolicyTest:
162[info] AlwaysWaitForRefreshedValue policy
163[info] - should always give us the latest, refreshed value, even tho' it takes some time to make the ETag-checking fetch
164[info] TolerateOldValueWhileRefreshing policy
165[info] - should return instantly if there's an available old value
166[info] - should mean that ETagCache won't make additional requests if a value is cached locally
167
168************************
169Build summary:
170[{
171 "module": "aws-s3-base",
172 "compile": {"status": "ok", "tookMs": 5676, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
173 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
174 "test-compile": {"status": "ok", "tookMs": 277, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
175 "test": {"status": "ok", "tookMs": 179, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
176 "publish": {"status": "skipped", "tookMs": 0},
177 "metadata": {
178 "crossScalaVersions": ["2.13.18", "3.3.6"]
179}
180},{
181 "module": "aws-s3-sdk-v2",
182 "compile": {"status": "ok", "tookMs": 1219, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
183 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
184 "test-compile": {"status": "ok", "tookMs": 2757, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
185 "test": {"status": "ok", "tookMs": 12366, "passed": 2, "failed": 0, "ignored": 0, "skipped": 0, "total": 2, "byFramework": [{"framework": "unknown", "stats": {"passed": 2, "failed": 0, "ignored": 0, "skipped": 0, "total": 2}}]},
186 "publish": {"status": "skipped", "tookMs": 0},
187 "metadata": {
188 "crossScalaVersions": ["2.13.18", "3.3.6"]
189}
190},{
191 "module": "core",
192 "compile": {"status": "ok", "tookMs": 51, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
193 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
194 "test-compile": {"status": "ok", "tookMs": 2696, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
195 "test": {"status": "ok", "tookMs": 713, "passed": 7, "failed": 0, "ignored": 0, "skipped": 0, "total": 7, "byFramework": [{"framework": "unknown", "stats": {"passed": 7, "failed": 0, "ignored": 0, "skipped": 0, "total": 7}}]},
196 "publish": {"status": "skipped", "tookMs": 0},
197 "metadata": {
198 "crossScalaVersions": ["2.13.18", "3.3.6"]
199}
200}]
201************************
202[success] Total time: 31 s, completed Jan 13, 2026, 3:25:00 PM
203[0JChecking patch project/plugins.sbt...
204Checking patch build.sbt...
205Applied patch project/plugins.sbt cleanly.
206Applied patch build.sbt cleanly.