The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build AllCache, reference master (2fe87f), with Swift 6.2 (beta) for Linux on 18 Jun 2025 16:31:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 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:         linux
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-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/JuanjoArreola/ShallowPromises.git
Fetching https://github.com/JuanjoArreola/Logg.git
[1/159] Fetching logg
[59/222] Fetching logg, shallowpromises
Fetched https://github.com/JuanjoArreola/ShallowPromises.git from cache (0.43s)
Fetched https://github.com/JuanjoArreola/Logg.git from cache (0.43s)
Computing version for https://github.com/JuanjoArreola/ShallowPromises.git
Computed https://github.com/JuanjoArreola/ShallowPromises.git at 0.7.1 (1.23s)
Computing version for https://github.com/JuanjoArreola/Logg.git
Computed https://github.com/JuanjoArreola/Logg.git at 2.4.1 (1.59s)
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-24593BA9C3E375BF.txt
[6/19] Compiling ShallowPromises PromiseFailure.swift
[7/19] Compiling Logg ConsoleLogger.swift
[8/20] Compiling Logg Logger.swift
[9/20] Compiling ShallowPromises Cancellable.swift
[10/20] Emitting module ShallowPromises
[11/20] Compiling Logg LogLevel.swift
[12/20] Compiling Logg LogContext.swift
[13/20] Emitting module Logg
[14/20] Compiling Logg CompositeLogger.swift
[15/20] Compiling Logg ConsoleFormatter.swift
[16/20] Compiling Logg LogFormatter.swift
[17/20] Compiling Logg FileLogger.swift
[18/20] Compiling ShallowPromises Futures.swift
[19/20] Compiling ShallowPromises Promise.swift
[21/21] Compiling Logg DefaultFormatter.swift
[23/31] Compiling AllCache Processor.swift
[24/32] Compiling AllCache Fetcher.swift
[25/32] Compiling AllCache ElementDescriptor.swift
[26/32] Compiling AllCache JSONSerializer.swift
[27/32] Compiling AllCache MemoryCache.swift
[28/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
[29/32] Compiling AllCache Serializer.swift
[30/32] Emitting module AllCache
[31/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 {
[32/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 {
BUILD FAILURE 6.2 linux