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.1 for Linux on 25 Apr 2025 08:08:07 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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.1
Building package at path:  $PWD
https://github.com/skelpo/storage.git
https://github.com/skelpo/storage.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-nio.git
[1/75431] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.18s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (5.36s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/1705] Fetching swift-atomics
[1672/6058] Fetching swift-atomics, swift-system
[6059/22300] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.10s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.10s)
Fetched https://github.com/apple/swift-collections.git from cache (1.12s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.80s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.76s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.84s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.0
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-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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Building for debugging...
[0/21] Write sources
[10/21] Compiling CNIOWASI CNIOWASI.c
[11/21] Compiling CNIOWindows WSAStartup.c
[11/21] Compiling _AtomicsShims.c
[13/21] Write sources
[14/21] Compiling CNIOLinux liburing_shims.c
[14/21] Compiling CNIOWindows shim.c
[14/21] Compiling CNIODarwin shim.c
[17/21] Compiling CNIOLinux shim.c
[18/21] Write swift-version-24593BA9C3E375BF.txt
[19/63] Compiling c-nioatomics.c
[21/63] Compiling Atomics UnsafeAtomic.swift
[22/63] Compiling Atomics UnsafeAtomicLazyReference.swift
[23/65] Compiling _NIODataStructures _TinyArray.swift
[24/65] Emitting module Atomics
[25/65] Compiling Atomics IntegerConformances.swift
[26/65] Compiling Atomics PointerConformances.swift
[27/65] Compiling Atomics Primitives.native.swift
[28/65] Emitting module InternalCollectionsUtilities
[29/65] Compiling Atomics ManagedAtomic.swift
[30/65] Compiling Atomics ManagedAtomicLazyReference.swift
[31/65] Compiling _NIODataStructures PriorityQueue.swift
[32/67] Compiling Atomics OptionalRawRepresentable.swift
[33/67] Compiling Atomics RawRepresentable.swift
[34/67] Compiling Atomics AtomicBool.swift
[35/67] Compiling Atomics AtomicReference.swift
[36/67] Compiling InternalCollectionsUtilities Debugging.swift
[37/67] Compiling InternalCollectionsUtilities Descriptions.swift
[38/67] Compiling Atomics Primitives.shims.swift
[39/67] Compiling Atomics AtomicInteger.swift
[40/67] Compiling Atomics AtomicMemoryOrderings.swift
[41/67] Compiling Atomics DoubleWord.swift
[46/67] Compiling Atomics AtomicOptionalWrappable.swift
[54/67] Emitting module _NIOBase64
[55/67] Compiling _NIOBase64 Base64.swift
[62/68] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[63/68] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[64/69] Compiling Atomics IntegerOperations.swift
[65/69] Compiling Atomics Unmanaged extensions.swift
[67/70] Compiling c-atomics.c
[69/91] Compiling DequeModule Deque+CustomReflectable.swift
[70/91] Compiling DequeModule Deque+Descriptions.swift
[71/93] Compiling DequeModule _DequeBuffer.swift
[72/93] Compiling DequeModule _DequeBufferHeader.swift
[73/93] Compiling DequeModule Deque+Equatable.swift
[74/93] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[75/93] Emitting module _NIODataStructures
[76/93] Compiling _NIODataStructures Heap.swift
[77/94] Compiling DequeModule Deque+Extras.swift
[78/94] Compiling DequeModule Deque+Hashable.swift
[79/94] Compiling NIOConcurrencyHelpers lock.swift
[81/94] Compiling NIOConcurrencyHelpers NIOLock.swift
[82/94] Compiling DequeModule _DequeSlot.swift
[83/94] Compiling DequeModule _UnsafeWrappedBuffer.swift
[84/94] Emitting module NIOConcurrencyHelpers
[85/94] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[86/94] Compiling DequeModule Deque+Testing.swift
[87/94] Compiling DequeModule Deque._Storage.swift
[88/94] Compiling DequeModule Deque._UnsafeHandle.swift
[89/94] Compiling DequeModule Deque.swift
[90/94] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[91/94] Compiling NIOConcurrencyHelpers atomics.swift
[93/95] Emitting module DequeModule
[94/95] Compiling DequeModule Deque+Codable.swift
[95/95] Compiling DequeModule Deque+Collection.swift
[97/155] Compiling NIOCore MarkedCircularBuffer.swift
[98/155] Compiling NIOCore MulticastChannel.swift
[99/155] Compiling NIOCore NIOAny.swift
[100/155] Compiling NIOCore NIOCloseOnErrorHandler.swift
[101/155] Compiling NIOCore NIOLoopBound.swift
[102/155] Compiling NIOCore NIOScheduledCallback.swift
[103/155] Compiling NIOCore NIOSendable.swift
[104/155] Compiling NIOCore RecvByteBufferAllocator.swift
[105/163] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[106/163] Compiling NIOCore SocketAddresses.swift
[107/163] Compiling NIOCore SocketOptionProvider.swift
[108/163] Compiling NIOCore SystemCallHelpers.swift
[109/163] Compiling NIOCore TimeAmount+Duration.swift
[110/163] Compiling NIOCore TypeAssistedChannelHandler.swift
[111/163] Compiling NIOCore UniversalBootstrapSupport.swift
[112/163] Compiling NIOCore Utilities.swift
[113/163] Compiling NIOCore EventLoop.swift
[114/163] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[115/163] Compiling NIOCore EventLoopFuture+Deprecated.swift
[116/163] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[117/163] Compiling NIOCore EventLoopFuture.swift
[118/163] Compiling NIOCore FileDescriptor.swift
[119/163] Compiling NIOCore FileHandle.swift
[120/163] Compiling NIOCore FileRegion.swift
[121/163] Compiling NIOCore ChannelPipeline.swift
[122/163] Compiling NIOCore CircularBuffer.swift
[123/163] Compiling NIOCore Codec.swift
[124/163] Compiling NIOCore ConvenienceOptionSupport.swift
[125/163] Compiling NIOCore DeadChannel.swift
[126/163] Compiling NIOCore DispatchQueue+WithFuture.swift
[127/163] Compiling NIOCore EventLoop+Deprecated.swift
[128/163] Compiling NIOCore EventLoop+SerialExecutor.swift
[129/163] Compiling NIOCore GlobalSingletons.swift
[130/163] Compiling NIOCore IO.swift
[131/163] Compiling NIOCore IOData.swift
[132/163] Compiling NIOCore IPProtocol.swift
[133/163] Compiling NIOCore IntegerBitPacking.swift
[134/163] Compiling NIOCore IntegerTypes.swift
[135/163] Compiling NIOCore Interfaces.swift
[136/163] Compiling NIOCore Linux.swift
[137/163] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[138/163] Compiling NIOCore BSDSocketAPI.swift
[139/163] Compiling NIOCore ByteBuffer-aux.swift
[140/163] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[141/163] Compiling NIOCore ByteBuffer-conversions.swift
[142/163] Compiling NIOCore ByteBuffer-core.swift
[143/163] Compiling NIOCore ByteBuffer-hex.swift
[144/163] Compiling NIOCore ByteBuffer-int.swift
[145/163] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[146/163] Emitting module NIOCore
[147/163] Compiling NIOCore ByteBuffer-multi-int.swift
[148/163] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[149/163] Compiling NIOCore ByteBuffer-views.swift
[150/163] Compiling NIOCore Channel.swift
[151/163] Compiling NIOCore ChannelHandler.swift
[152/163] Compiling NIOCore ChannelHandlers.swift
[153/163] Compiling NIOCore ChannelInvoker.swift
[154/163] Compiling NIOCore ChannelOption.swift
[155/163] Compiling NIOCore AddressedEnvelope.swift
[156/163] Compiling NIOCore AsyncAwaitSupport.swift
[157/163] Compiling NIOCore AsyncChannel.swift
[158/163] Compiling NIOCore AsyncChannelHandler.swift
[159/163] Compiling NIOCore AsyncChannelInboundStream.swift
[160/163] Compiling NIOCore AsyncChannelOutboundWriter.swift
[161/163] Compiling NIOCore NIOAsyncSequenceProducer.swift
[162/163] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[163/163] Compiling NIOCore NIOAsyncWriter.swift
[165/215] Compiling NIOEmbedded Embedded.swift
[166/215] Emitting module NIOEmbedded
[167/215] Compiling NIOEmbedded AsyncTestingChannel.swift
[168/215] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[170/216] Emitting module NIOPosix
[171/222] Compiling NIOPosix IO.swift
[172/222] Compiling NIOPosix IntegerBitPacking.swift
[173/222] Compiling NIOPosix IntegerTypes.swift
[174/222] Compiling NIOPosix Linux.swift
[175/222] Compiling NIOPosix LinuxCPUSet.swift
[176/222] Compiling NIOPosix LinuxUring.swift
[177/222] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[178/222] Compiling NIOPosix SelectableChannel.swift
[179/222] Compiling NIOPosix SelectableEventLoop.swift
[180/222] Compiling NIOPosix SelectorEpoll.swift
[181/222] Compiling NIOPosix SelectorGeneric.swift
[182/222] Compiling NIOPosix SelectorKqueue.swift
[183/222] Compiling NIOPosix SelectorUring.swift
[184/222] Compiling NIOPosix ThreadPosix.swift
[185/222] Compiling NIOPosix ThreadWindows.swift
[186/222] Compiling NIOPosix UnsafeTransfer.swift
[187/222] Compiling NIOPosix Utilities.swift
[188/222] Compiling NIOPosix VsockAddress.swift
[189/222] Compiling NIOPosix VsockChannelEvents.swift
[190/222] Compiling NIOPosix ServerSocket.swift
[191/222] Compiling NIOPosix Socket.swift
[192/222] Compiling NIOPosix SocketChannel.swift
[193/222] Compiling NIOPosix SocketProtocols.swift
[194/222] Compiling NIOPosix System.swift
[195/222] Compiling NIOPosix Thread.swift
[196/222] Compiling NIOPosix PooledRecvBufferAllocator.swift
[197/222] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[198/222] Compiling NIOPosix PosixSingletons.swift
[199/222] Compiling NIOPosix RawSocketBootstrap.swift
[200/222] Compiling NIOPosix Resolver.swift
[201/222] Compiling NIOPosix Selectable.swift
[202/222] Compiling NIOPosix BSDSocketAPICommon.swift
[203/222] Compiling NIOPosix BSDSocketAPIPosix.swift
[204/222] Compiling NIOPosix BSDSocketAPIWindows.swift
[205/222] Compiling NIOPosix BaseSocket.swift
[206/222] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[207/222] Compiling NIOPosix BaseSocketChannel.swift
[208/222] Compiling NIOPosix BaseStreamSocketChannel.swift
[209/222] Compiling NIOPosix Bootstrap.swift
[210/222] Compiling NIOPosix ControlMessage.swift
[211/222] Compiling NIOPosix DatagramVectorReadManager.swift
[212/222] Compiling NIOPosix Errors+Any.swift
[213/222] Compiling NIOPosix FileDescriptor.swift
[214/222] Compiling NIOPosix GetaddrinfoResolver.swift
[215/222] Compiling NIOPosix HappyEyeballs.swift
[216/222] Compiling NIOPosix NIOThreadPool.swift
[217/222] Compiling NIOPosix NonBlockingFileIO.swift
[218/222] Compiling NIOPosix PendingDatagramWritesManager.swift
[219/222] Compiling NIOPosix PendingWritesManager.swift
[220/222] Compiling NIOPosix PipeChannel.swift
[221/222] Compiling NIOPosix PipePair.swift
[222/222] Compiling NIOPosix Pool.swift
[224/225] Emitting module NIO
[225/225] Compiling NIO Exports.swift
[227/231] Compiling Storage Storage.swift
[228/231] Compiling Storage StorageError.swift
[229/231] Compiling Storage File.swift
[230/231] Emitting module Storage
[231/231] Compiling Storage LocalStorage.swift
/host/spi-builder-workspace/Sources/Storage/LocalStorage.swift:120:26: warning: 'init(descriptor:)' is deprecated: Avoid using NIOFileHandle. The type is difficult to hold correctly, use NIOFileSystem as a replacement API.
118 |                 throw StorageError(identifier: "errno", reason: "(\(errno))" + String(cString: strerror(errno)))
119 |             }
120 |             let handle = NIOFileHandle(descriptor: fd)
    |                          `- warning: 'init(descriptor:)' is deprecated: Avoid using NIOFileHandle. The type is difficult to hold correctly, use NIOFileSystem as a replacement API.
121 |
122 |             // Stream the file data into the empty file.
/host/spi-builder-workspace/Sources/Storage/LocalStorage.swift:148:30: warning: 'init(path:)' is deprecated: Avoid using NIOFileHandle. The type is difficult to hold correctly, use NIOFileSystem as a replacement API.
146 |             }
147 |
148 |             let handle = try NIOFileHandle(path: file)
    |                              `- warning: 'init(path:)' is deprecated: Avoid using NIOFileHandle. The type is difficult to hold correctly, use NIOFileSystem as a replacement API.
149 |             var fileData = Data()
150 |             fileData.reserveCapacity(fileSize.intValue)
/host/spi-builder-workspace/Sources/Storage/LocalStorage.swift:164:24: warning: capture of 'self' with non-sendable type 'LocalStorage' in a '@Sendable' closure
 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
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
 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
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
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
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
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
168 |                 return File(buffer: buffer, filename: name)
169 |             }.always { _ in
/host/spi-builder-workspace/Sources/Storage/LocalStorage.swift:189:26: warning: type 'File' does not conform to the 'Sendable' protocol
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
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
 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
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
 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
204 |             }
205 |         } catch let error {
Build complete! (42.10s)
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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.