Build Information
Failed to build AllCache, reference master (2fe87f
), with Swift 6.2 (beta) for Android on 18 Jun 2025 16:32:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/JuanjoArreola/AllCache.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/JuanjoArreola/AllCache
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 2fe87f2 Merge branch 'new'
Cloned https://github.com/JuanjoArreola/AllCache.git
Revision (git rev-parse @):
2fe87f2690c13cb7a012f5346cf3824477aec512
SUCCESS checkout https://github.com/JuanjoArreola/AllCache.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/JuanjoArreola/AllCache.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/JuanjoArreola/ShallowPromises.git
Fetching https://github.com/JuanjoArreola/Logg.git
[1/63] Fetching shallowpromises
[64/222] Fetching shallowpromises, logg
Fetched https://github.com/JuanjoArreola/ShallowPromises.git from cache (0.35s)
Fetched https://github.com/JuanjoArreola/Logg.git from cache (0.35s)
Computing version for https://github.com/JuanjoArreola/ShallowPromises.git
Computed https://github.com/JuanjoArreola/ShallowPromises.git at 0.7.1 (0.93s)
Computing version for https://github.com/JuanjoArreola/Logg.git
Computed https://github.com/JuanjoArreola/Logg.git at 2.4.1 (1.52s)
Creating working copy for https://github.com/JuanjoArreola/Logg.git
Working copy of https://github.com/JuanjoArreola/Logg.git resolved at 2.4.1
Creating working copy for https://github.com/JuanjoArreola/ShallowPromises.git
Working copy of https://github.com/JuanjoArreola/ShallowPromises.git resolved at 0.7.1
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-8C5A4AE7A8CE2BA.txt
[6/19] Compiling Logg ConsoleLogger.swift
[7/20] Compiling Logg FileLogger.swift
[8/20] Compiling Logg Logger.swift
[9/20] Compiling ShallowPromises PromiseFailure.swift
[10/20] Compiling Logg DefaultFormatter.swift
[11/20] Emitting module Logg
[12/20] Compiling Logg CompositeLogger.swift
[13/20] Compiling Logg ConsoleFormatter.swift
[14/20] Compiling Logg LogFormatter.swift
[15/20] Compiling Logg LogContext.swift
[16/20] Compiling Logg LogLevel.swift
[17/21] Emitting module ShallowPromises
[18/21] Compiling ShallowPromises Futures.swift
[20/21] Compiling ShallowPromises Cancellable.swift
[21/21] Compiling ShallowPromises Promise.swift
[23/31] Compiling AllCache MemoryCache.swift
[24/32] Compiling AllCache Processor.swift
[25/32] Compiling AllCache ElementDescriptor.swift
[26/32] Compiling AllCache JSONSerializer.swift
[27/32] Compiling AllCache Fetcher.swift
[28/32] Compiling AllCache Serializer.swift
[29/32] Emitting module AllCache
[30/32] Compiling AllCache AllCacheFormatter.swift
/host/spi-builder-workspace/Sources/AllCache/Cache.swift:52:18: warning: capture of non-sendable type 'F.Type' in an isolated closure; this is an error in the Swift 6 language mode
50 | let promise = createPromise(for: descriptor)
51 | workingQueue.async {
52 | self.searchOnDisk(descriptor: descriptor, promise: promise)
| `- warning: capture of non-sendable type 'F.Type' in an isolated closure; this is an error in the Swift 6 language mode
53 | }
54 |
/host/spi-builder-workspace/Sources/AllCache/Cache.swift:52:13: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
50 | let promise = createPromise(for: descriptor)
51 | workingQueue.async {
52 | self.searchOnDisk(descriptor: descriptor, promise: promise)
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
53 | }
54 |
/host/spi-builder-workspace/Sources/AllCache/Cache.swift:44:17: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public func instance<F: Fetcher>(for descriptor: ElementDescriptor<T, F>) -> Promise<T> where F.T == T {
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
45 | if let result = memoryCache.instance(forKey: descriptor.descriptorKey) {
46 | return Promise().fulfill(with: result)
/host/spi-builder-workspace/Sources/AllCache/Cache.swift:44:42: warning: capture of non-sendable type 'F.Type' in an isolated closure; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public func instance<F: Fetcher>(for descriptor: ElementDescriptor<T, F>) -> Promise<T> where F.T == T {
| `- warning: capture of non-sendable type 'F.Type' in an isolated closure; this is an error in the Swift 6 language mode
45 | if let result = memoryCache.instance(forKey: descriptor.descriptorKey) {
46 | return Promise().fulfill(with: result)
/host/spi-builder-workspace/Sources/AllCache/Cache.swift:139:23: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
137 | memoryCache.set(instance, forKey: key)
138 | workingQueue.async {
139 | try? self.diskCache.set(instance, forKey: key)
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/AllCache/Cache.swift:136:15: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
134 | // MARK: - Set
135 |
136 | open func set(_ instance: T, forKey key: String) {
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
137 | memoryCache.set(instance, forKey: key)
138 | workingQueue.async {
/host/spi-builder-workspace/Sources/AllCache/Cache.swift:148:23: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
146 | memoryCache.removeInstance(forKey: key)
147 | workingQueue.async {
148 | try? self.diskCache.removeInstance(forKey: key)
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
149 | }
150 | }
/host/spi-builder-workspace/Sources/AllCache/Cache.swift:145:15: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
143 | // MARK: - Delete
144 |
145 | open func removeInstance(forKey key: String) {
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
146 | memoryCache.removeInstance(forKey: key)
147 | workingQueue.async {
/host/spi-builder-workspace/Sources/AllCache/Cache.swift:155:18: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
153 | memoryCache.clear()
154 | workingQueue.async {
155 | self.diskCache.clear()
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
156 | }
157 | }
/host/spi-builder-workspace/Sources/AllCache/Cache.swift:152:15: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
150 | }
151 |
152 | open func clear() {
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
153 | memoryCache.clear()
154 | workingQueue.async {
[31/32] Compiling AllCache Cache.swift
/host/spi-builder-workspace/Sources/AllCache/Cache.swift:52:18: warning: capture of non-sendable type 'F.Type' in an isolated closure; this is an error in the Swift 6 language mode
50 | let promise = createPromise(for: descriptor)
51 | workingQueue.async {
52 | self.searchOnDisk(descriptor: descriptor, promise: promise)
| `- warning: capture of non-sendable type 'F.Type' in an isolated closure; this is an error in the Swift 6 language mode
53 | }
54 |
/host/spi-builder-workspace/Sources/AllCache/Cache.swift:52:13: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
50 | let promise = createPromise(for: descriptor)
51 | workingQueue.async {
52 | self.searchOnDisk(descriptor: descriptor, promise: promise)
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
53 | }
54 |
/host/spi-builder-workspace/Sources/AllCache/Cache.swift:44:17: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public func instance<F: Fetcher>(for descriptor: ElementDescriptor<T, F>) -> Promise<T> where F.T == T {
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
45 | if let result = memoryCache.instance(forKey: descriptor.descriptorKey) {
46 | return Promise().fulfill(with: result)
/host/spi-builder-workspace/Sources/AllCache/Cache.swift:44:42: warning: capture of non-sendable type 'F.Type' in an isolated closure; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public func instance<F: Fetcher>(for descriptor: ElementDescriptor<T, F>) -> Promise<T> where F.T == T {
| `- warning: capture of non-sendable type 'F.Type' in an isolated closure; this is an error in the Swift 6 language mode
45 | if let result = memoryCache.instance(forKey: descriptor.descriptorKey) {
46 | return Promise().fulfill(with: result)
/host/spi-builder-workspace/Sources/AllCache/Cache.swift:139:23: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
137 | memoryCache.set(instance, forKey: key)
138 | workingQueue.async {
139 | try? self.diskCache.set(instance, forKey: key)
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/AllCache/Cache.swift:136:15: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
134 | // MARK: - Set
135 |
136 | open func set(_ instance: T, forKey key: String) {
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
137 | memoryCache.set(instance, forKey: key)
138 | workingQueue.async {
/host/spi-builder-workspace/Sources/AllCache/Cache.swift:148:23: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
146 | memoryCache.removeInstance(forKey: key)
147 | workingQueue.async {
148 | try? self.diskCache.removeInstance(forKey: key)
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
149 | }
150 | }
/host/spi-builder-workspace/Sources/AllCache/Cache.swift:145:15: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
143 | // MARK: - Delete
144 |
145 | open func removeInstance(forKey key: String) {
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
146 | memoryCache.removeInstance(forKey: key)
147 | workingQueue.async {
/host/spi-builder-workspace/Sources/AllCache/Cache.swift:155:18: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
153 | memoryCache.clear()
154 | workingQueue.async {
155 | self.diskCache.clear()
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
156 | }
157 | }
/host/spi-builder-workspace/Sources/AllCache/Cache.swift:152:15: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
150 | }
151 |
152 | open func clear() {
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
153 | memoryCache.clear()
154 | workingQueue.async {
[32/32] Compiling AllCache DiskCache.swift
/host/spi-builder-workspace/Sources/AllCache/DiskCache.swift:44:17: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
42 | result = try serializer.deserialize(Data(contentsOf: url))
43 | diskQueue.async(flags: .barrier) {
44 | self.updateLastAccess(ofKey: key)
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
45 | }
46 | }
/host/spi-builder-workspace/Sources/AllCache/DiskCache.swift:35:17: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 | }
34 |
35 | public func instance(forKey key: String) throws -> T? {
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | var result: T?
37 | try diskQueue.sync {
/host/spi-builder-workspace/Sources/AllCache/DiskCache.swift:52:23: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
50 | public func removeInstance(forKey key: String) throws {
51 | diskQueue.async(flags: .barrier) {
52 | let url = self.cacheDirectory.appendingPathComponent(validkey(from: key))
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
53 | let attributes = try? self.fileManager.attributesOfItem(atPath: url.path)
54 | try? self.fileManager.removeItem(at: url)
/host/spi-builder-workspace/Sources/AllCache/DiskCache.swift:50:17: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
48 | }
49 |
50 | public func removeInstance(forKey key: String) throws {
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
51 | diskQueue.async(flags: .barrier) {
52 | let url = self.cacheDirectory.appendingPathComponent(validkey(from: key))
/host/spi-builder-workspace/Sources/AllCache/DiskCache.swift:64:36: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
62 | diskQueue.async(flags: .barrier) {
63 | let resourceKeys: [URLResourceKey] = [.contentAccessDateKey, .totalFileAllocatedSizeKey]
64 | guard let enumerator = self.cacheDirectory.enumerator(includingPropertiesForKeys: resourceKeys) else {
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
65 | return
66 | }
/host/spi-builder-workspace/Sources/AllCache/DiskCache.swift:61:17: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
59 | }
60 |
61 | public func remove(olderThan limit: Date) {
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
62 | diskQueue.async(flags: .barrier) {
63 | let resourceKeys: [URLResourceKey] = [.contentAccessDateKey, .totalFileAllocatedSizeKey]
/host/spi-builder-workspace/Sources/AllCache/DiskCache.swift:87:48: error: type 'Data.WritingOptions' has no member 'atomicWrite'
85 | diskQueue.async(flags: .barrier) {
86 | let url = self.cacheDirectory.appendingPathComponent(validkey(from: key))
87 | try? data.write(to: url, options: .atomicWrite)
| `- error: type 'Data.WritingOptions' has no member 'atomicWrite'
88 | self.size += data.count
89 | self.restrictSize()
/host/spi-builder-workspace/Sources/AllCache/DiskCache.swift:95:36: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
93 | public func clear() {
94 | diskQueue.async(flags: .barrier) {
95 | guard let enumerator = self.cacheDirectory.enumerator(includingPropertiesForKeys: nil) else { return }
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
96 | for case let url as URL in enumerator {
97 | self.removeIfPossible(url: url)
/host/spi-builder-workspace/Sources/AllCache/DiskCache.swift:93:17: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
91 | }
92 |
93 | public func clear() {
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
94 | diskQueue.async(flags: .barrier) {
95 | guard let enumerator = self.cacheDirectory.enumerator(includingPropertiesForKeys: nil) else { return }
/host/spi-builder-workspace/Sources/AllCache/DiskCache.swift:120:16: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
118 | }
119 | diskQueue.async {
120 | if self.shrinking { return }
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
121 | self.shrinking = true
122 | do {
/host/spi-builder-workspace/Sources/AllCache/DiskCache.swift:115:10: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
113 | }
114 |
115 | func restrictSize() {
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
116 | guard maxCapacity > 0, size > maxCapacity else {
117 | return
BUILD FAILURE 6.2 android