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 develop (7d74e4), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 06:48:26 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: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftNIOExtras/swift-nio-redis
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 7d74e47 Make sure the channel is flushed
Cloned https://github.com/SwiftNIOExtras/swift-nio-redis.git
Revision (git rev-parse @):
7d74e47d65f341856658962c351a2a2206e74677
SUCCESS checkout https://github.com/SwiftNIOExtras/swift-nio-redis.git at develop
Fetching https://github.com/apple/swift-nio.git
[1/71147] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.20s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.72s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/3901] Fetching swift-system
[2/5470] Fetching swift-system, swift-atomics
[2126/20945] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.11s)
[4830/19376] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.92s)
Fetched https://github.com/apple/swift-system.git from cache (1.92s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.48s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.50s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.74s)
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
========================================
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.80s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.81s)
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-system.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.49s)
Fetched https://github.com/apple/swift-system.git from cache (0.51s)
Fetched https://github.com/apple/swift-collections.git from cache (0.57s)
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 develop (7d74e47)
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-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
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
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
[7/23] Copying PrivacyInfo.xcprivacy
[8/23] Write sources
[12/23] Write swift-version--7754E27361AE5C74.txt
[13/23] Write sources
[14/23] Compiling CNIOWindows WSAStartup.c
[15/23] Compiling CNIOWASI CNIOWASI.c
[15/23] Compiling CNIOWindows shim.c
[17/23] Compiling CNIOLinux shim.c
[18/23] Compiling CNIOLinux liburing_shims.c
[19/47] Compiling _AtomicsShims.c
[20/66] Compiling CNIODarwin shim.c
[21/66] Compiling c-nioatomics.c
[22/66] Compiling c-atomics.c
[24/72] Compiling Atomics UnsafeAtomic.swift
[25/72] Compiling Atomics UnsafeAtomicLazyReference.swift
[26/73] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[27/73] Compiling Atomics OptionalRawRepresentable.swift
[28/73] Compiling Atomics RawRepresentable.swift
[29/73] Compiling Atomics AtomicOptionalWrappable.swift
[30/73] Compiling Atomics AtomicReference.swift
[31/73] Emitting module _NIOBase64
[32/73] Compiling _NIOBase64 Base64.swift
[33/73] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[36/73] Compiling Atomics ManagedAtomic.swift
[37/73] Compiling Atomics ManagedAtomicLazyReference.swift
[40/73] Compiling Atomics AtomicMemoryOrderings.swift
[41/73] Compiling Atomics DoubleWord.swift
[42/73] Compiling Atomics AtomicStorage.swift
[43/73] Compiling Atomics AtomicValue.swift
[48/75] Compiling Atomics AtomicBool.swift
[49/75] Compiling Atomics IntegerConformances.swift
[50/75] Compiling Atomics PointerConformances.swift
[51/75] Compiling Atomics Primitives.native.swift
[52/75] Emitting module InternalCollectionsUtilities
[55/91] Compiling Atomics IntegerOperations.swift
[56/91] Compiling Atomics Unmanaged extensions.swift
[57/91] Compiling DequeModule _DequeSlot.swift
[58/92] Compiling DequeModule Deque+Extras.swift
[59/92] Compiling DequeModule Deque+Hashable.swift
[60/92] Emitting module _NIODataStructures
[61/92] Compiling _NIODataStructures _TinyArray.swift
[62/92] Compiling _NIODataStructures PriorityQueue.swift
[63/92] Compiling _NIODataStructures Heap.swift
[64/92] Compiling DequeModule _DequeBufferHeader.swift
[65/92] Compiling DequeModule _UnsafeWrappedBuffer.swift
[66/92] Compiling Atomics Primitives.shims.swift
[67/92] Compiling Atomics AtomicInteger.swift
[68/92] Compiling NIOConcurrencyHelpers atomics.swift
[69/92] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[70/92] Compiling NIOConcurrencyHelpers lock.swift
[71/92] Compiling NIOConcurrencyHelpers NIOLock.swift
[72/92] Emitting module NIOConcurrencyHelpers
[73/92] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[74/92] Compiling DequeModule Deque+Testing.swift
[75/92] Compiling DequeModule Deque._Storage.swift
[76/92] Compiling DequeModule Deque._UnsafeHandle.swift
[77/92] Compiling DequeModule Deque.swift
[78/92] Compiling DequeModule Deque+Equatable.swift
[79/92] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[80/92] Compiling DequeModule Deque+CustomReflectable.swift
[81/92] Compiling DequeModule Deque+Descriptions.swift
[82/92] Compiling DequeModule Deque+Codable.swift
[83/92] Compiling DequeModule Deque+Collection.swift
[84/92] Compiling DequeModule _DequeBuffer.swift
[85/92] Emitting module DequeModule
[90/92] Emitting module Atomics
[93/154] Compiling NIOCore Linux.swift
[94/154] Compiling NIOCore MarkedCircularBuffer.swift
[95/154] Compiling NIOCore MulticastChannel.swift
[96/154] Compiling NIOCore NIOAny.swift
[97/154] Compiling NIOCore NIOCloseOnErrorHandler.swift
[98/154] Compiling NIOCore NIOLoopBound.swift
[99/160] Compiling NIOCore SocketOptionProvider.swift
[100/160] Compiling NIOCore SystemCallHelpers.swift
[101/160] Compiling NIOCore TimeAmount+Duration.swift
[102/160] Compiling NIOCore TypeAssistedChannelHandler.swift
[103/160] Compiling NIOCore UniversalBootstrapSupport.swift
[104/160] Compiling NIOCore Utilities.swift
[105/160] Compiling NIOCore AddressedEnvelope.swift
[106/160] Compiling NIOCore AsyncAwaitSupport.swift
[107/160] Compiling NIOCore AsyncChannel.swift
[108/160] Compiling NIOCore AsyncChannelHandler.swift
[109/160] Compiling NIOCore AsyncChannelInboundStream.swift
[110/160] Compiling NIOCore AsyncChannelOutboundWriter.swift
[111/160] Compiling NIOCore NIOAsyncSequenceProducer.swift
[112/160] Compiling NIOCore Codec.swift
[113/160] Compiling NIOCore ConvenienceOptionSupport.swift
[114/160] Compiling NIOCore DeadChannel.swift
[115/160] Compiling NIOCore DispatchQueue+WithFuture.swift
[116/160] Compiling NIOCore EventLoop+Deprecated.swift
[117/160] Compiling NIOCore EventLoop+SerialExecutor.swift
[118/160] Compiling NIOCore EventLoop.swift
[119/160] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[120/160] Compiling NIOCore EventLoopFuture+Deprecated.swift
[121/160] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[122/160] Compiling NIOCore EventLoopFuture.swift
[123/160] Compiling NIOCore FileDescriptor.swift
[124/160] Compiling NIOCore FileHandle.swift
[125/160] Compiling NIOCore FileRegion.swift
[126/160] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[127/160] Compiling NIOCore NIOAsyncWriter.swift
[128/160] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[129/160] Compiling NIOCore BSDSocketAPI.swift
[130/160] Compiling NIOCore ByteBuffer-aux.swift
[131/160] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[132/160] Compiling NIOCore ByteBuffer-conversions.swift
[133/160] Compiling NIOCore Channel.swift
[134/160] Compiling NIOCore ChannelHandler.swift
[135/160] Compiling NIOCore ChannelHandlers.swift
[136/160] Compiling NIOCore ChannelInvoker.swift
[137/160] Compiling NIOCore ChannelOption.swift
[138/160] Compiling NIOCore ChannelPipeline.swift
[139/160] Compiling NIOCore CircularBuffer.swift
[140/160] Compiling NIOCore NIOScheduledCallback.swift
[141/160] Compiling NIOCore NIOSendable.swift
[142/160] Compiling NIOCore PointerHelpers.swift
[143/160] Compiling NIOCore RecvByteBufferAllocator.swift
[144/160] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[145/160] Compiling NIOCore SocketAddresses.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] Emitting module NIOEmbedded
[162/214] Compiling NIOEmbedded AsyncTestingChannel.swift
[163/214] Compiling NIOEmbedded Embedded.swift
[164/214] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[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 Selectable.swift
[171/219] Compiling NIOPosix SelectableChannel.swift
[172/219] Compiling NIOPosix SelectableEventLoop.swift
[173/219] Compiling NIOPosix SelectorEpoll.swift
[174/219] Compiling NIOPosix SelectorGeneric.swift
[175/219] Compiling NIOPosix GetaddrinfoResolver.swift
[176/219] Compiling NIOPosix HappyEyeballs.swift
[177/219] Compiling NIOPosix IO.swift
[178/219] Compiling NIOPosix IntegerBitPacking.swift
[179/219] Compiling NIOPosix IntegerTypes.swift
[180/219] Compiling NIOPosix Linux.swift
[181/219] Emitting module NIOPosix
[182/219] Compiling NIOPosix BSDSocketAPICommon.swift
[183/219] Compiling NIOPosix BSDSocketAPIPosix.swift
[184/219] Compiling NIOPosix BSDSocketAPIWindows.swift
[185/219] Compiling NIOPosix BaseSocket.swift
[186/219] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[187/219] Compiling NIOPosix BaseSocketChannel.swift
[188/219] Compiling NIOPosix BaseStreamSocketChannel.swift
[189/219] Compiling NIOPosix Bootstrap.swift
[190/219] Compiling NIOPosix ControlMessage.swift
[191/219] Compiling NIOPosix DatagramVectorReadManager.swift
[192/219] Compiling NIOPosix Errors+Any.swift
[193/219] Compiling NIOPosix FileDescriptor.swift
[194/219] Compiling NIOPosix PendingWritesManager.swift
[195/219] Compiling NIOPosix PipeChannel.swift
[196/219] Compiling NIOPosix PipePair.swift
[197/219] Compiling NIOPosix PointerHelpers.swift
[198/219] Compiling NIOPosix Pool.swift
[199/219] Compiling NIOPosix PooledRecvBufferAllocator.swift
[200/219] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[201/219] Compiling NIOPosix PosixSingletons.swift
[202/219] Compiling NIOPosix RawSocketBootstrap.swift
[203/219] Compiling NIOPosix Resolver.swift
[204/219] Compiling NIOPosix SelectorKqueue.swift
[205/219] Compiling NIOPosix SelectorUring.swift
[206/219] Compiling NIOPosix ServerSocket.swift
[207/219] Compiling NIOPosix Socket.swift
[208/219] Compiling NIOPosix SocketChannel.swift
[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] Compiling NIO Exports.swift
[221/221] Emitting module NIO
[222/225] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[223/225] Emitting module NIOFoundationCompat
[224/225] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[225/225] Compiling NIOFoundationCompat Codable+ByteBuffer.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 RESPChannelHandler.swift
[229/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 {
[230/232] Compiling NIORedis ByteBufferExtras.swift
[231/232] Compiling NIORedis RESPParser.swift
[232/232] Compiling NIORedis RESPEncodable.swift
Build complete! (35.07s)
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.