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 swift-nio-redis, reference 0.11.0 (8bdd2e), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 06:48:21 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftNIOExtras/swift-nio-redis.git
Reference: 0.11.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftNIOExtras/swift-nio-redis
 * tag               0.11.0     -> FETCH_HEAD
HEAD is now at 8bdd2e9 Merge branch 'develop'
Cloned https://github.com/SwiftNIOExtras/swift-nio-redis.git
Revision (git rev-parse @):
8bdd2e97af4d6f5894912041ee6cfc303837622d
SUCCESS checkout https://github.com/SwiftNIOExtras/swift-nio-redis.git at 0.11.0
Fetching https://github.com/apple/swift-nio.git
[1/71147] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.68s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.77s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/1569] Fetching swift-atomics
[17/5470] Fetching swift-atomics, swift-system
[2369/20945] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.95s)
Fetched https://github.com/apple/swift-system.git from cache (1.95s)
Fetched https://github.com/apple/swift-collections.git from cache (1.95s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.50s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.51s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.82s)
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.76.1
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swift-nio-redis",
      "name": "swift-nio-redis",
      "url": "https://github.com/SwiftNIOExtras/swift-nio-redis.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-redis",
      "dependencies": [
        {
          "identity": "swift-nio",
          "name": "swift-nio",
          "url": "https://github.com/apple/swift-nio.git",
          "version": "2.76.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
          "dependencies": [
            {
              "identity": "swift-atomics",
              "name": "swift-atomics",
              "url": "https://github.com/apple/swift-atomics.git",
              "version": "1.2.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
              "dependencies": [
              ]
            },
            {
              "identity": "swift-collections",
              "name": "swift-collections",
              "url": "https://github.com/apple/swift-collections.git",
              "version": "1.1.4",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
              "dependencies": [
              ]
            },
            {
              "identity": "swift-system",
              "name": "swift-system",
              "url": "https://github.com/apple/swift-system.git",
              "version": "1.4.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/SwiftNIOExtras/swift-nio-redis.git
[1/359] Fetching swift-nio-redis
Fetched https://github.com/SwiftNIOExtras/swift-nio-redis.git from cache (0.86s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.79s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.03s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.50s)
Fetched https://github.com/apple/swift-system.git from cache (0.56s)
Fetched https://github.com/apple/swift-collections.git from cache (0.56s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.03s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.04s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.03s)
Creating working copy for https://github.com/SwiftNIOExtras/swift-nio-redis.git
Working copy of https://github.com/SwiftNIOExtras/swift-nio-redis.git resolved at 0.11.0 (8bdd2e9)
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
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
warning: '.resolve-product-dependencies': dependency 'swift-nio-redis' is not used by any target
Found 1 product dependencies
  - swift-nio
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/SwiftNIOExtras/swift-nio-redis.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/23] Write sources
[1/23] Copying PrivacyInfo.xcprivacy
[1/23] Write sources
[12/23] Compiling CNIOWindows WSAStartup.c
[13/23] Compiling CNIOWindows shim.c
[14/23] Write sources
[15/23] Write swift-version--7754E27361AE5C74.txt
[16/23] Compiling CNIOWASI CNIOWASI.c
[17/23] Compiling CNIOLinux liburing_shims.c
[18/23] Compiling CNIOLinux shim.c
[19/47] Compiling _AtomicsShims.c
[20/66] Compiling CNIODarwin shim.c
[22/66] Emitting module InternalCollectionsUtilities
[22/67] Compiling c-nioatomics.c
[23/67] Compiling c-atomics.c
[25/73] Compiling _NIOBase64 Base64.swift
[26/73] Emitting module _NIOBase64
[27/73] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[28/73] Compiling Atomics ManagedAtomic.swift
[29/73] Compiling Atomics ManagedAtomicLazyReference.swift
[30/73] Compiling Atomics Primitives.shims.swift
[31/73] Compiling Atomics AtomicInteger.swift
[32/73] Compiling Atomics AtomicOptionalWrappable.swift
[33/73] Compiling Atomics AtomicReference.swift
[36/73] Compiling Atomics UnsafeAtomic.swift
[37/73] Compiling Atomics UnsafeAtomicLazyReference.swift
[38/75] Compiling Atomics IntegerOperations.swift
[39/75] Compiling Atomics Unmanaged extensions.swift
[40/75] Compiling _NIODataStructures PriorityQueue.swift
[41/75] Compiling _NIODataStructures _TinyArray.swift
[42/75] Compiling Atomics OptionalRawRepresentable.swift
[43/75] Compiling Atomics RawRepresentable.swift
[44/75] Compiling Atomics AtomicBool.swift
[45/75] Compiling Atomics IntegerConformances.swift
[46/75] Compiling Atomics PointerConformances.swift
[47/75] Compiling Atomics Primitives.native.swift
[50/75] Compiling Atomics AtomicMemoryOrderings.swift
[51/75] Compiling Atomics DoubleWord.swift
[52/75] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[53/91] Emitting module _NIODataStructures
[54/91] Compiling _NIODataStructures Heap.swift
[55/91] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[56/91] Compiling DequeModule _DequeSlot.swift
[57/91] Compiling DequeModule _DequeBufferHeader.swift
[58/91] Compiling DequeModule _DequeBuffer.swift
[61/92] Compiling DequeModule Deque._UnsafeHandle.swift
[62/92] Compiling DequeModule Deque.swift
[63/92] Compiling Atomics AtomicStorage.swift
[64/92] Compiling Atomics AtomicValue.swift
[65/92] Compiling DequeModule _UnsafeWrappedBuffer.swift
[66/92] Compiling NIOConcurrencyHelpers lock.swift
[67/92] Compiling NIOConcurrencyHelpers atomics.swift
[68/92] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[69/92] Emitting module NIOConcurrencyHelpers
[70/92] Compiling NIOConcurrencyHelpers NIOLock.swift
[71/92] Compiling DequeModule Deque+Testing.swift
[72/92] Compiling DequeModule Deque._Storage.swift
[73/92] Compiling DequeModule Deque+CustomReflectable.swift
[74/92] Compiling DequeModule Deque+Descriptions.swift
[75/92] Compiling DequeModule Deque+Equatable.swift
[76/92] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[79/92] Compiling DequeModule Deque+Extras.swift
[80/92] Compiling DequeModule Deque+Hashable.swift
[81/92] Compiling DequeModule Deque+Codable.swift
[82/92] Compiling DequeModule Deque+Collection.swift
[87/92] Emitting module Atomics
[92/92] Emitting module DequeModule
[93/154] Compiling NIOCore AddressedEnvelope.swift
[94/154] Compiling NIOCore AsyncAwaitSupport.swift
[95/154] Compiling NIOCore AsyncChannel.swift
[96/154] Compiling NIOCore AsyncChannelHandler.swift
[97/154] Compiling NIOCore AsyncChannelInboundStream.swift
[98/154] Compiling NIOCore AsyncChannelOutboundWriter.swift
[99/154] Compiling NIOCore NIOAsyncSequenceProducer.swift
[100/160] Compiling NIOCore SocketOptionProvider.swift
[101/160] Compiling NIOCore SystemCallHelpers.swift
[102/160] Compiling NIOCore TimeAmount+Duration.swift
[103/160] Compiling NIOCore TypeAssistedChannelHandler.swift
[104/160] Compiling NIOCore UniversalBootstrapSupport.swift
[105/160] Compiling NIOCore Utilities.swift
[106/160] Compiling NIOCore Codec.swift
[107/160] Compiling NIOCore ConvenienceOptionSupport.swift
[108/160] Compiling NIOCore DeadChannel.swift
[109/160] Compiling NIOCore DispatchQueue+WithFuture.swift
[110/160] Compiling NIOCore EventLoop+Deprecated.swift
[111/160] Compiling NIOCore EventLoop+SerialExecutor.swift
[112/160] Compiling NIOCore EventLoop.swift
[113/160] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[114/160] Compiling NIOCore NIOAsyncWriter.swift
[115/160] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[116/160] Compiling NIOCore BSDSocketAPI.swift
[117/160] Compiling NIOCore ByteBuffer-aux.swift
[118/160] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[119/160] Compiling NIOCore ByteBuffer-conversions.swift
[120/160] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[121/160] Compiling NIOCore EventLoopFuture+Deprecated.swift
[122/160] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[123/160] Compiling NIOCore EventLoopFuture.swift
[124/160] Compiling NIOCore FileDescriptor.swift
[125/160] Compiling NIOCore FileHandle.swift
[126/160] Compiling NIOCore FileRegion.swift
[127/160] Compiling NIOCore Channel.swift
[128/160] Compiling NIOCore ChannelHandler.swift
[129/160] Compiling NIOCore ChannelHandlers.swift
[130/160] Compiling NIOCore ChannelInvoker.swift
[131/160] Compiling NIOCore ChannelOption.swift
[132/160] Compiling NIOCore ChannelPipeline.swift
[133/160] Compiling NIOCore CircularBuffer.swift
[134/160] Compiling NIOCore NIOScheduledCallback.swift
[135/160] Compiling NIOCore NIOSendable.swift
[136/160] Compiling NIOCore PointerHelpers.swift
[137/160] Compiling NIOCore RecvByteBufferAllocator.swift
[138/160] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[139/160] Compiling NIOCore SocketAddresses.swift
[140/160] Compiling NIOCore Linux.swift
[141/160] Compiling NIOCore MarkedCircularBuffer.swift
[142/160] Compiling NIOCore MulticastChannel.swift
[143/160] Compiling NIOCore NIOAny.swift
[144/160] Compiling NIOCore NIOCloseOnErrorHandler.swift
[145/160] Compiling NIOCore NIOLoopBound.swift
[146/160] Compiling NIOCore GlobalSingletons.swift
[147/160] Compiling NIOCore IO.swift
[148/160] Compiling NIOCore IOData.swift
[149/160] Compiling NIOCore IPProtocol.swift
[150/160] Compiling NIOCore IntegerBitPacking.swift
[151/160] Compiling NIOCore IntegerTypes.swift
[152/160] Compiling NIOCore Interfaces.swift
[153/160] Compiling NIOCore ByteBuffer-core.swift
[154/160] Compiling NIOCore ByteBuffer-hex.swift
[155/160] Compiling NIOCore ByteBuffer-int.swift
[156/160] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[157/160] Compiling NIOCore ByteBuffer-multi-int.swift
[158/160] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[159/160] Compiling NIOCore ByteBuffer-views.swift
[160/160] Emitting module NIOCore
[161/214] Compiling NIOEmbedded AsyncTestingChannel.swift
[162/214] Compiling NIOEmbedded Embedded.swift
[163/214] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[164/214] Emitting module NIOEmbedded
[165/214] Compiling NIOPosix SocketProtocols.swift
[166/214] Compiling NIOPosix System.swift
[167/214] Compiling NIOPosix Thread.swift
[168/214] Compiling NIOPosix ThreadPosix.swift
[169/214] Compiling NIOPosix ThreadWindows.swift
[170/219] Compiling NIOPosix PooledRecvBufferAllocator.swift
[171/219] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[172/219] Compiling NIOPosix PosixSingletons.swift
[173/219] Compiling NIOPosix RawSocketBootstrap.swift
[174/219] Compiling NIOPosix Resolver.swift
[175/219] Compiling NIOPosix Selectable.swift
[176/219] Compiling NIOPosix SelectableChannel.swift
[177/219] Compiling NIOPosix SelectableEventLoop.swift
[178/219] Compiling NIOPosix SelectorEpoll.swift
[179/219] Compiling NIOPosix SelectorGeneric.swift
[180/219] Compiling NIOPosix BSDSocketAPICommon.swift
[181/219] Compiling NIOPosix BSDSocketAPIPosix.swift
[182/219] Compiling NIOPosix BSDSocketAPIWindows.swift
[183/219] Compiling NIOPosix BaseSocket.swift
[184/219] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[185/219] Compiling NIOPosix BaseSocketChannel.swift
[186/219] Compiling NIOPosix PendingWritesManager.swift
[187/219] Compiling NIOPosix PipeChannel.swift
[188/219] Compiling NIOPosix PipePair.swift
[189/219] Compiling NIOPosix PointerHelpers.swift
[190/219] Compiling NIOPosix Pool.swift
[191/219] Compiling NIOPosix SelectorKqueue.swift
[192/219] Compiling NIOPosix SelectorUring.swift
[193/219] Compiling NIOPosix ServerSocket.swift
[194/219] Compiling NIOPosix Socket.swift
[195/219] Compiling NIOPosix SocketChannel.swift
[196/219] Compiling NIOPosix GetaddrinfoResolver.swift
[197/219] Compiling NIOPosix HappyEyeballs.swift
[198/219] Compiling NIOPosix IO.swift
[199/219] Compiling NIOPosix IntegerBitPacking.swift
[200/219] Compiling NIOPosix IntegerTypes.swift
[201/219] Compiling NIOPosix Linux.swift
[202/219] Compiling NIOPosix BaseStreamSocketChannel.swift
[203/219] Compiling NIOPosix Bootstrap.swift
[204/219] Compiling NIOPosix ControlMessage.swift
[205/219] Compiling NIOPosix DatagramVectorReadManager.swift
[206/219] Compiling NIOPosix Errors+Any.swift
[207/219] Compiling NIOPosix FileDescriptor.swift
[208/219] Emitting module NIOPosix
[209/219] Compiling NIOPosix LinuxCPUSet.swift
[210/219] Compiling NIOPosix LinuxUring.swift
[211/219] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[212/219] Compiling NIOPosix NIOThreadPool.swift
[213/219] Compiling NIOPosix NonBlockingFileIO.swift
[214/219] Compiling NIOPosix PendingDatagramWritesManager.swift
[215/219] Compiling NIOPosix UnsafeTransfer.swift
[216/219] Compiling NIOPosix Utilities.swift
[217/219] Compiling NIOPosix VsockAddress.swift
[218/219] Compiling NIOPosix VsockChannelEvents.swift
[219/219] Compiling NIOPosix resource_bundle_accessor.swift
[220/221] Emitting module NIO
[221/221] Compiling NIO Exports.swift
[222/225] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[223/225] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[224/225] Emitting module NIOFoundationCompat
[225/225] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[226/232] Compiling NIORedis RESPValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIORedis/RESPValue.swift:43:15: warning: stored property '_storage' of 'Sendable'-conforming struct 'RESPError' has non-sendable type 'RESPError._Storage'; this is an error in the Swift 6 language mode
 33 |   public var message : String { return _storage.message }
 34 |
 35 |   private final class _Storage {
    |                       `- note: class '_Storage' does not conform to the 'Sendable' protocol
 36 |     let code    : String
 37 |     let message : String
    :
 41 |     }
 42 |   }
 43 |   private let _storage : _Storage
    |               `- warning: stored property '_storage' of 'Sendable'-conforming struct 'RESPError' has non-sendable type 'RESPError._Storage'; this is an error in the Swift 6 language mode
 44 |
 45 |   public var description: String {
[227/232] Compiling NIORedis RESPPipelineSetup.swift
[228/232] Compiling NIORedis RESPEncodable.swift
[229/232] Compiling NIORedis RESPChannelHandler.swift
[230/232] Emitting module NIORedis
/Users/admin/builder/spi-builder-workspace/Sources/NIORedis/RESPValue.swift:43:15: warning: stored property '_storage' of 'Sendable'-conforming struct 'RESPError' has non-sendable type 'RESPError._Storage'; this is an error in the Swift 6 language mode
 33 |   public var message : String { return _storage.message }
 34 |
 35 |   private final class _Storage {
    |                       `- note: class '_Storage' does not conform to the 'Sendable' protocol
 36 |     let code    : String
 37 |     let message : String
    :
 41 |     }
 42 |   }
 43 |   private let _storage : _Storage
    |               `- warning: stored property '_storage' of 'Sendable'-conforming struct 'RESPError' has non-sendable type 'RESPError._Storage'; this is an error in the Swift 6 language mode
 44 |
 45 |   public var description: String {
[231/232] Compiling NIORedis RESPParser.swift
[232/232] Compiling NIORedis ByteBufferExtras.swift
Build complete! (37.18s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.18.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    }
  ],
  "manifest_display_name" : "swift-nio-redis",
  "name" : "swift-nio-redis",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "NIORedis",
      "targets" : [
        "NIORedis"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NIORedisTests",
      "module_type" : "SwiftTarget",
      "name" : "NIORedisTests",
      "path" : "Tests/NIORedisTests",
      "sources" : [
        "RESPValueTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "NIORedis"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NIORedis",
      "module_type" : "SwiftTarget",
      "name" : "NIORedis",
      "path" : "Sources/NIORedis",
      "product_dependencies" : [
        "NIO",
        "NIOFoundationCompat"
      ],
      "product_memberships" : [
        "NIORedis"
      ],
      "sources" : [
        "ByteBufferExtras.swift",
        "RESPChannelHandler.swift",
        "RESPEncodable.swift",
        "RESPParser.swift",
        "RESPPipelineSetup.swift",
        "RESPValue.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.