The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Storage, reference master (15877d), with Swift 6.0 for Linux on 31 Oct 2024 07:29:43 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/skelpo/storage.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/skelpo/storage
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 15877d3 Merge pull request #7 from skelpo/develop
Cloned https://github.com/skelpo/storage.git
Revision (git rev-parse @):
15877d3ee56daae7fae9c5f97056292a396ff1e7
SUCCESS checkout https://github.com/skelpo/storage.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/skelpo/storage.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-nio.git
[1/71091] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (6.80s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (1.00s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/3901] Fetching swift-system
[509/5470] Fetching swift-system, swift-atomics
[5315/20945] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.64s)
[6842/19376] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.60s)
Fetched https://github.com/apple/swift-collections.git from cache (1.65s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.67s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.72s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.98s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.76.1
Building for debugging...
[0/21] Write sources
[10/21] Compiling CNIOWindows shim.c
[11/21] Compiling CNIOWASI CNIOWASI.c
[12/21] Compiling CNIOWindows WSAStartup.c
[12/21] Write sources
[14/21] Compiling CNIODarwin shim.c
[15/21] Compiling CNIOLinux liburing_shims.c
[16/21] Compiling CNIOLinux shim.c
[17/21] Write swift-version-24593BA9C3E375BF.txt
[18/21] Compiling _AtomicsShims.c
[20/63] Emitting module InternalCollectionsUtilities
[20/65] Compiling c-nioatomics.c
[21/65] Compiling c-atomics.c
[23/71] Emitting module Atomics
[24/73] Compiling Atomics IntegerOperations.swift
[25/73] Compiling Atomics Unmanaged extensions.swift
[26/73] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[27/73] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[28/73] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[31/73] Compiling InternalCollectionsUtilities UInt+reversed.swift
[32/73] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[35/73] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[36/73] Compiling InternalCollectionsUtilities Specialize.swift
[37/73] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[38/73] Compiling InternalCollectionsUtilities Debugging.swift
[39/73] Compiling _NIODataStructures PriorityQueue.swift
[41/73] Compiling InternalCollectionsUtilities Descriptions.swift
[42/73] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[43/73] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[44/73] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[48/73] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[49/73] Compiling InternalCollectionsUtilities Integer rank.swift
[50/73] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[54/73] Compiling _NIODataStructures _TinyArray.swift
[55/73] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[56/73] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[57/73] Compiling InternalCollectionsUtilities _SortedCollection.swift
[59/73] Compiling _NIOBase64 Base64.swift
[60/73] Emitting module _NIOBase64
[61/75] Emitting module NIOConcurrencyHelpers
[62/75] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[63/75] Compiling NIOConcurrencyHelpers NIOLock.swift
[64/75] Compiling NIOConcurrencyHelpers lock.swift
[74/76] Compiling NIOConcurrencyHelpers atomics.swift
[75/76] Emitting module _NIODataStructures
[76/76] Compiling _NIODataStructures Heap.swift
[79/93] Compiling DequeModule Deque+Equatable.swift
[80/93] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[81/95] Compiling DequeModule Deque+Extras.swift
[82/95] Compiling DequeModule Deque+Hashable.swift
[83/95] Compiling DequeModule _DequeBuffer.swift
[84/95] Compiling DequeModule _DequeBufferHeader.swift
[85/95] Compiling DequeModule Deque+Testing.swift
[86/95] Compiling DequeModule Deque._Storage.swift
[87/95] Compiling DequeModule _DequeSlot.swift
[88/95] Compiling DequeModule _UnsafeWrappedBuffer.swift
[89/95] Compiling DequeModule Deque._UnsafeHandle.swift
[90/95] Compiling DequeModule Deque.swift
[91/95] Compiling DequeModule Deque+CustomReflectable.swift
[92/95] Compiling DequeModule Deque+Descriptions.swift
[93/95] Emitting module DequeModule
[94/95] Compiling DequeModule Deque+Codable.swift
[95/95] Compiling DequeModule Deque+Collection.swift
[97/156] Compiling NIOCore MulticastChannel.swift
[98/156] Compiling NIOCore NIOAny.swift
[99/156] Compiling NIOCore NIOCloseOnErrorHandler.swift
[100/156] Compiling NIOCore NIOLoopBound.swift
[101/156] Compiling NIOCore NIOScheduledCallback.swift
[102/156] Compiling NIOCore NIOSendable.swift
[103/156] Compiling NIOCore PointerHelpers.swift
[104/156] Compiling NIOCore RecvByteBufferAllocator.swift
[105/164] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[106/164] Compiling NIOCore SocketAddresses.swift
[107/164] Compiling NIOCore SocketOptionProvider.swift
[108/164] Compiling NIOCore SystemCallHelpers.swift
[109/164] Compiling NIOCore TimeAmount+Duration.swift
[110/164] Compiling NIOCore TypeAssistedChannelHandler.swift
[111/164] Compiling NIOCore UniversalBootstrapSupport.swift
[112/164] Compiling NIOCore Utilities.swift
[113/164] Compiling NIOCore AddressedEnvelope.swift
[114/164] Compiling NIOCore AsyncAwaitSupport.swift
[115/164] Compiling NIOCore AsyncChannel.swift
[116/164] Compiling NIOCore AsyncChannelHandler.swift
[117/164] Compiling NIOCore AsyncChannelInboundStream.swift
[118/164] Compiling NIOCore AsyncChannelOutboundWriter.swift
[119/164] Compiling NIOCore NIOAsyncSequenceProducer.swift
[120/164] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[121/164] Compiling NIOCore NIOAsyncWriter.swift
[122/164] Compiling NIOCore IO.swift
[123/164] Compiling NIOCore IOData.swift
[124/164] Compiling NIOCore IPProtocol.swift
[125/164] Compiling NIOCore IntegerBitPacking.swift
[126/164] Compiling NIOCore IntegerTypes.swift
[127/164] Compiling NIOCore Interfaces.swift
[128/164] Compiling NIOCore Linux.swift
[129/164] Compiling NIOCore MarkedCircularBuffer.swift
[130/164] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[131/164] Compiling NIOCore BSDSocketAPI.swift
[132/164] Compiling NIOCore ByteBuffer-aux.swift
[133/164] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[134/164] Compiling NIOCore ByteBuffer-conversions.swift
[135/164] Compiling NIOCore ByteBuffer-core.swift
[136/164] Compiling NIOCore ByteBuffer-hex.swift
[137/164] Compiling NIOCore ByteBuffer-int.swift
[138/164] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[139/164] Compiling NIOCore ByteBuffer-multi-int.swift
[140/164] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[141/164] Compiling NIOCore ByteBuffer-views.swift
[142/164] Compiling NIOCore Channel.swift
[143/164] Compiling NIOCore ChannelHandler.swift
[144/164] Compiling NIOCore ChannelHandlers.swift
[145/164] Compiling NIOCore ChannelInvoker.swift
[146/164] Compiling NIOCore ChannelOption.swift
[147/164] Compiling NIOCore ChannelPipeline.swift
[148/164] Compiling NIOCore CircularBuffer.swift
[149/164] Compiling NIOCore Codec.swift
[150/164] Compiling NIOCore ConvenienceOptionSupport.swift
[151/164] Compiling NIOCore DeadChannel.swift
[152/164] Compiling NIOCore DispatchQueue+WithFuture.swift
[153/164] Compiling NIOCore EventLoop+Deprecated.swift
[154/164] Compiling NIOCore EventLoop+SerialExecutor.swift
[155/164] Compiling NIOCore EventLoop.swift
[156/164] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[157/164] Compiling NIOCore EventLoopFuture+Deprecated.swift
[158/164] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[159/164] Compiling NIOCore EventLoopFuture.swift
[160/164] Compiling NIOCore FileDescriptor.swift
[161/164] Compiling NIOCore FileHandle.swift
[162/164] Compiling NIOCore FileRegion.swift
[163/164] Compiling NIOCore GlobalSingletons.swift
[164/164] Emitting module NIOCore
[166/217] Compiling NIOEmbedded AsyncTestingChannel.swift
[167/217] Emitting module NIOEmbedded
[168/217] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[169/217] Compiling NIOEmbedded Embedded.swift
[171/218] Compiling NIOPosix Pool.swift
[172/218] Compiling NIOPosix PooledRecvBufferAllocator.swift
[173/218] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[174/218] Compiling NIOPosix PosixSingletons.swift
[175/218] Compiling NIOPosix RawSocketBootstrap.swift
[176/218] Compiling NIOPosix Resolver.swift
[177/218] Compiling NIOPosix Selectable.swift
[178/224] Emitting module NIOPosix
[179/224] Compiling NIOPosix ServerSocket.swift
[180/224] Compiling NIOPosix Socket.swift
[181/224] Compiling NIOPosix SocketChannel.swift
[182/224] Compiling NIOPosix SocketProtocols.swift
[183/224] Compiling NIOPosix System.swift
[184/224] Compiling NIOPosix Thread.swift
[185/224] Compiling NIOPosix SelectableChannel.swift
[186/224] Compiling NIOPosix SelectableEventLoop.swift
[187/224] Compiling NIOPosix SelectorEpoll.swift
[188/224] Compiling NIOPosix SelectorGeneric.swift
[189/224] Compiling NIOPosix SelectorKqueue.swift
[190/224] Compiling NIOPosix SelectorUring.swift
[191/224] Compiling NIOPosix ThreadPosix.swift
[192/224] Compiling NIOPosix ThreadWindows.swift
[193/224] Compiling NIOPosix UnsafeTransfer.swift
[194/224] Compiling NIOPosix Utilities.swift
[195/224] Compiling NIOPosix VsockAddress.swift
[196/224] Compiling NIOPosix VsockChannelEvents.swift
[197/224] Compiling NIOPosix NIOThreadPool.swift
[198/224] Compiling NIOPosix NonBlockingFileIO.swift
[199/224] Compiling NIOPosix PendingDatagramWritesManager.swift
[200/224] Compiling NIOPosix PendingWritesManager.swift
[201/224] Compiling NIOPosix PipeChannel.swift
[202/224] Compiling NIOPosix PipePair.swift
[203/224] Compiling NIOPosix PointerHelpers.swift
[204/224] Compiling NIOPosix IO.swift
[205/224] Compiling NIOPosix IntegerBitPacking.swift
[206/224] Compiling NIOPosix IntegerTypes.swift
[207/224] Compiling NIOPosix Linux.swift
[208/224] Compiling NIOPosix LinuxCPUSet.swift
[209/224] Compiling NIOPosix LinuxUring.swift
[210/224] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[211/224] Compiling NIOPosix Bootstrap.swift
[212/224] Compiling NIOPosix ControlMessage.swift
[213/224] Compiling NIOPosix DatagramVectorReadManager.swift
[214/224] Compiling NIOPosix Errors+Any.swift
[215/224] Compiling NIOPosix FileDescriptor.swift
[216/224] Compiling NIOPosix GetaddrinfoResolver.swift
[217/224] Compiling NIOPosix HappyEyeballs.swift
[218/224] Compiling NIOPosix BSDSocketAPICommon.swift
[219/224] Compiling NIOPosix BSDSocketAPIPosix.swift
[220/224] Compiling NIOPosix BSDSocketAPIWindows.swift
[221/224] Compiling NIOPosix BaseSocket.swift
[222/224] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[223/224] Compiling NIOPosix BaseSocketChannel.swift
[224/224] Compiling NIOPosix BaseStreamSocketChannel.swift
[226/227] Emitting module NIO
[227/227] Compiling NIO Exports.swift
[229/233] Compiling Storage StorageError.swift
[230/233] Compiling Storage Storage.swift
[231/233] Compiling Storage LocalStorage.swift
/host/spi-builder-workspace/Sources/Storage/LocalStorage.swift:125:22: warning: capture of 'handle' with non-sendable type 'NIOFileHandle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
123 |             let write = self.io.write(fileHandle: handle, buffer: file.buffer, eventLoop: self.eventLoop)
124 |             return write.always { _ in
125 |                 try? handle.close()
    |                      `- warning: capture of 'handle' with non-sendable type 'NIOFileHandle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
126 |             }.map { name }
127 |         } catch let error {
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/FileHandle.swift:47:20: note: class 'NIOFileHandle' does not conform to the 'Sendable' protocol
 45 | ///
 46 | /// - warning: `NIOFileHandle` objects are not thread-safe and are mutable. They also cannot be fully thread-safe as they refer to a global underlying file descriptor.
 47 | public final class NIOFileHandle: FileDescriptor {
    |                    `- note: class 'NIOFileHandle' does not conform to the 'Sendable' protocol
 48 |     public private(set) var isOpen: Bool
 49 |     private let descriptor: CInt
/host/spi-builder-workspace/Sources/Storage/LocalStorage.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOCore'
  1 | import Foundation
  2 | import NIO
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOCore'
  3 |
  4 | /// A `Storage` implementation that handles local file storage.
/host/spi-builder-workspace/Sources/Storage/LocalStorage.swift:164:24: warning: capture of 'self' with non-sendable type 'LocalStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 49 | ///
 50 | ///     storage.delete(file:  "/Users/hackerman/projects/AwesomeProject")
 51 | public struct LocalStorage: Storage {
    |               `- note: consider making struct 'LocalStorage' conform to the 'Sendable' protocol
 52 |
 53 |     /// The event loop group that the service lives on.
    :
162 |                 }
163 |
164 |                 return self.eventLoop.makeSucceededFuture(())
    |                        `- warning: capture of 'self' with non-sendable type 'LocalStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
165 |             }.map {
166 |                 var buffer = self.allocator.buffer(capacity: fileData.count)
/host/spi-builder-workspace/Sources/Storage/LocalStorage.swift:161:21: warning: mutation of captured var 'fileData' in concurrently-executing code; this is an error in the Swift 6 language mode
159 |             ) { chunk in
160 |                 chunk.withUnsafeReadableBytes { ptr in
161 |                     fileData.append(ptr.bindMemory(to: UInt8.self))
    |                     `- warning: mutation of captured var 'fileData' in concurrently-executing code; this is an error in the Swift 6 language mode
162 |                 }
163 |
/host/spi-builder-workspace/Sources/Storage/LocalStorage.swift:166:30: warning: capture of 'self' with non-sendable type 'LocalStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 49 | ///
 50 | ///     storage.delete(file:  "/Users/hackerman/projects/AwesomeProject")
 51 | public struct LocalStorage: Storage {
    |               `- note: consider making struct 'LocalStorage' conform to the 'Sendable' protocol
 52 |
 53 |     /// The event loop group that the service lives on.
    :
164 |                 return self.eventLoop.makeSucceededFuture(())
165 |             }.map {
166 |                 var buffer = self.allocator.buffer(capacity: fileData.count)
    |                              `- warning: capture of 'self' with non-sendable type 'LocalStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
167 |                 buffer.writeBytes(fileData)
168 |                 return File(buffer: buffer, filename: name)
/host/spi-builder-workspace/Sources/Storage/LocalStorage.swift:166:62: warning: reference to captured var 'fileData' in concurrently-executing code; this is an error in the Swift 6 language mode
164 |                 return self.eventLoop.makeSucceededFuture(())
165 |             }.map {
166 |                 var buffer = self.allocator.buffer(capacity: fileData.count)
    |                                                              `- warning: reference to captured var 'fileData' in concurrently-executing code; this is an error in the Swift 6 language mode
167 |                 buffer.writeBytes(fileData)
168 |                 return File(buffer: buffer, filename: name)
/host/spi-builder-workspace/Sources/Storage/LocalStorage.swift:167:35: warning: reference to captured var 'fileData' in concurrently-executing code; this is an error in the Swift 6 language mode
165 |             }.map {
166 |                 var buffer = self.allocator.buffer(capacity: fileData.count)
167 |                 buffer.writeBytes(fileData)
    |                                   `- warning: reference to captured var 'fileData' in concurrently-executing code; this is an error in the Swift 6 language mode
168 |                 return File(buffer: buffer, filename: name)
169 |             }.always { _ in
/host/spi-builder-workspace/Sources/Storage/LocalStorage.swift:170:22: warning: capture of 'handle' with non-sendable type 'NIOFileHandle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
168 |                 return File(buffer: buffer, filename: name)
169 |             }.always { _ in
170 |                 try? handle.close()
    |                      `- warning: capture of 'handle' with non-sendable type 'NIOFileHandle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
171 |             }
172 |         } catch let error {
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/FileHandle.swift:47:20: note: class 'NIOFileHandle' does not conform to the 'Sendable' protocol
 45 | ///
 46 | /// - warning: `NIOFileHandle` objects are not thread-safe and are mutable. They also cannot be fully thread-safe as they refer to a global underlying file descriptor.
 47 | public final class NIOFileHandle: FileDescriptor {
    |                    `- note: class 'NIOFileHandle' does not conform to the 'Sendable' protocol
 48 |     public private(set) var isOpen: Bool
 49 |     private let descriptor: CInt
/host/spi-builder-workspace/Sources/Storage/LocalStorage.swift:189:26: warning: type 'File' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
187 |
188 |             // Read the updated file and return it.
189 |             return write.flatMap { self.fetch(file: file) }
    |                          `- warning: type 'File' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
190 |         } catch let error {
191 |             return self.eventLoop.makeFailedFuture(error)
/host/spi-builder-workspace/Sources/Storage/File.swift:5:15: note: consider making struct 'File' conform to the 'Sendable' protocol
 3 |
 4 | /// Represents a single file.
 5 | public struct File: Codable, Equatable {
   |               `- note: consider making struct 'File' conform to the 'Sendable' protocol
 6 |
 7 |     /// The name of the file, including the extension.
/host/spi-builder-workspace/Sources/Storage/LocalStorage.swift:189:36: warning: capture of 'self' with non-sendable type 'LocalStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 49 | ///
 50 | ///     storage.delete(file:  "/Users/hackerman/projects/AwesomeProject")
 51 | public struct LocalStorage: Storage {
    |               `- note: consider making struct 'LocalStorage' conform to the 'Sendable' protocol
 52 |
 53 |     /// The event loop group that the service lives on.
    :
187 |
188 |             // Read the updated file and return it.
189 |             return write.flatMap { self.fetch(file: file) }
    |                                    `- warning: capture of 'self' with non-sendable type 'LocalStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
190 |         } catch let error {
191 |             return self.eventLoop.makeFailedFuture(error)
/host/spi-builder-workspace/Sources/Storage/LocalStorage.swift:203:28: warning: capture of 'self' with non-sendable type 'LocalStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 49 | ///
 50 | ///     storage.delete(file:  "/Users/hackerman/projects/AwesomeProject")
 51 | public struct LocalStorage: Storage {
    |               `- note: consider making struct 'LocalStorage' conform to the 'Sendable' protocol
 52 |
 53 |     /// The event loop group that the service lives on.
    :
201 |             // Asynchronously
202 |             return self.threadPool.runIfActive(eventLoop: self.eventLoop) {
203 |                 return try self.manager.removeItem(atPath: file)
    |                            `- warning: capture of 'self' with non-sendable type 'LocalStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
204 |             }
205 |         } catch let error {
[232/233] Emitting module Storage
[233/233] Compiling Storage File.swift
Build complete! (80.80s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    }
  ],
  "manifest_display_name" : "Storage",
  "name" : "Storage",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Storage",
      "targets" : [
        "Storage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "StorageTests",
      "module_type" : "SwiftTarget",
      "name" : "StorageTests",
      "path" : "Tests/StorageTests",
      "sources" : [
        "StorageTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Storage"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Storage",
      "module_type" : "SwiftTarget",
      "name" : "Storage",
      "path" : "Sources/Storage",
      "product_dependencies" : [
        "NIO"
      ],
      "product_memberships" : [
        "Storage"
      ],
      "sources" : [
        "File.swift",
        "LocalStorage.swift",
        "Storage.swift",
        "StorageError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.