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 Linux on 30 Nov 2024 13:53:08 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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 -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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftNIOExtras/swift-nio-redis.git
Reference: develop
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/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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/SwiftNIOExtras/swift-nio-redis.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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 -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.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/72014] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.08s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.77.0 (0.74s)
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/1569] Fetching swift-atomics
[1053/5488] Fetching swift-atomics, swift-system
[5489/21091] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.41s)
[4856/19522] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.15s)
Fetched https://github.com/apple/swift-collections.git from cache (1.18s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.44s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.49s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (1.78s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.77.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.0
Building for debugging...
[0/22] Write sources
[11/22] Compiling _AtomicsShims.c
[12/22] Compiling CNIOWindows WSAStartup.c
[13/22] Compiling CNIOLinux liburing_shims.c
[14/22] Compiling CNIODarwin shim.c
[15/22] Write sources
[16/22] Compiling CNIOWindows shim.c
[17/22] Compiling CNIOWASI CNIOWASI.c
[18/22] Compiling CNIOLinux shim.c
[19/22] Write swift-version-24593BA9C3E375BF.txt
[20/64] Compiling c-nioatomics.c
[21/64] Compiling c-atomics.c
[23/70] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[24/70] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[25/70] Compiling InternalCollectionsUtilities Specialize.swift
[26/72] Emitting module _NIOBase64
[27/72] Compiling _NIOBase64 Base64.swift
[28/72] Compiling _NIODataStructures _TinyArray.swift
[29/72] Compiling _NIODataStructures PriorityQueue.swift
[30/73] Emitting module InternalCollectionsUtilities
[31/73] Emitting module NIOConcurrencyHelpers
[32/73] Compiling InternalCollectionsUtilities _SortedCollection.swift
[33/73] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[34/73] Compiling InternalCollectionsUtilities Debugging.swift
[35/73] Compiling InternalCollectionsUtilities Descriptions.swift
[36/73] Compiling InternalCollectionsUtilities UInt+reversed.swift
[37/73] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[38/73] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[39/73] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[40/73] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[41/73] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[42/73] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[43/73] Compiling InternalCollectionsUtilities Integer rank.swift
[44/73] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[46/73] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[53/75] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[54/75] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[59/75] Compiling Atomics IntegerOperations.swift
[60/75] Compiling Atomics Unmanaged extensions.swift
[64/76] Emitting module Atomics
[71/77] Compiling NIOConcurrencyHelpers NIOLock.swift
[73/77] Emitting module _NIODataStructures
[74/77] Compiling _NIODataStructures Heap.swift
[76/93] Compiling NIOConcurrencyHelpers atomics.swift
[77/93] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[78/93] Compiling NIOConcurrencyHelpers lock.swift
[79/94] Compiling DequeModule Deque+CustomReflectable.swift
[80/94] Compiling DequeModule Deque+Descriptions.swift
[82/96] Compiling DequeModule _DequeBuffer.swift
[83/96] Compiling DequeModule _DequeBufferHeader.swift
[84/96] Compiling DequeModule _DequeSlot.swift
[85/96] Compiling DequeModule _UnsafeWrappedBuffer.swift
[86/96] Compiling DequeModule Deque+Extras.swift
[87/96] Compiling DequeModule Deque+Hashable.swift
[88/96] Compiling DequeModule Deque+Equatable.swift
[89/96] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[90/96] Compiling DequeModule Deque._UnsafeHandle.swift
[91/96] Compiling DequeModule Deque.swift
[92/96] Compiling DequeModule Deque+Testing.swift
[93/96] Compiling DequeModule Deque._Storage.swift
[94/96] Compiling DequeModule Deque+Codable.swift
[95/96] Compiling DequeModule Deque+Collection.swift
[96/96] Emitting module DequeModule
[98/157] Compiling NIOCore IO.swift
[99/157] Compiling NIOCore IOData.swift
[100/157] Compiling NIOCore IPProtocol.swift
[101/157] Compiling NIOCore IntegerBitPacking.swift
[102/157] Compiling NIOCore IntegerTypes.swift
[103/157] Compiling NIOCore Interfaces.swift
[104/157] Compiling NIOCore Linux.swift
[105/157] Compiling NIOCore MarkedCircularBuffer.swift
[106/165] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[107/165] Compiling NIOCore EventLoopFuture+Deprecated.swift
[108/165] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[109/165] Compiling NIOCore EventLoopFuture.swift
[110/165] Compiling NIOCore FileDescriptor.swift
[111/165] Compiling NIOCore FileHandle.swift
[112/165] Compiling NIOCore FileRegion.swift
[113/165] Compiling NIOCore GlobalSingletons.swift
[114/165] Compiling NIOCore MulticastChannel.swift
[115/165] Compiling NIOCore NIOAny.swift
[116/165] Compiling NIOCore NIOCloseOnErrorHandler.swift
[117/165] Compiling NIOCore NIOLoopBound.swift
[118/165] Compiling NIOCore NIOScheduledCallback.swift
[119/165] Compiling NIOCore NIOSendable.swift
[120/165] Compiling NIOCore PointerHelpers.swift
[121/165] Compiling NIOCore RecvByteBufferAllocator.swift
[122/165] Compiling NIOCore CircularBuffer.swift
[123/165] Compiling NIOCore Codec.swift
[124/165] Compiling NIOCore ConvenienceOptionSupport.swift
[125/165] Compiling NIOCore DeadChannel.swift
[126/165] Compiling NIOCore DispatchQueue+WithFuture.swift
[127/165] Compiling NIOCore EventLoop+Deprecated.swift
[128/165] Compiling NIOCore EventLoop+SerialExecutor.swift
[129/165] Compiling NIOCore EventLoop.swift
[130/165] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[131/165] Compiling NIOCore BSDSocketAPI.swift
[132/165] Compiling NIOCore ByteBuffer-aux.swift
[133/165] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[134/165] Compiling NIOCore ByteBuffer-conversions.swift
[135/165] Compiling NIOCore ByteBuffer-core.swift
[136/165] Compiling NIOCore ByteBuffer-hex.swift
[137/165] Compiling NIOCore ByteBuffer-int.swift
[138/165] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[139/165] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[140/165] Compiling NIOCore SocketAddresses.swift
[141/165] Compiling NIOCore SocketOptionProvider.swift
[142/165] Compiling NIOCore SystemCallHelpers.swift
[143/165] Compiling NIOCore TimeAmount+Duration.swift
[144/165] Compiling NIOCore TypeAssistedChannelHandler.swift
[145/165] Compiling NIOCore UniversalBootstrapSupport.swift
[146/165] Compiling NIOCore Utilities.swift
[147/165] Compiling NIOCore ByteBuffer-multi-int.swift
[148/165] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[149/165] Compiling NIOCore ByteBuffer-views.swift
[150/165] Compiling NIOCore Channel.swift
[151/165] Compiling NIOCore ChannelHandler.swift
[152/165] Compiling NIOCore ChannelHandlers.swift
[153/165] Compiling NIOCore ChannelInvoker.swift
[154/165] Compiling NIOCore ChannelOption.swift
[155/165] Compiling NIOCore ChannelPipeline.swift
[156/165] Emitting module NIOCore
[157/165] Compiling NIOCore AddressedEnvelope.swift
[158/165] Compiling NIOCore AsyncAwaitSupport.swift
[159/165] Compiling NIOCore AsyncChannel.swift
[160/165] Compiling NIOCore AsyncChannelHandler.swift
[161/165] Compiling NIOCore AsyncChannelInboundStream.swift
[162/165] Compiling NIOCore AsyncChannelOutboundWriter.swift
[163/165] Compiling NIOCore NIOAsyncSequenceProducer.swift
[164/165] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[165/165] Compiling NIOCore NIOAsyncWriter.swift
[167/218] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[168/218] Emitting module NIOEmbedded
[169/218] Compiling NIOEmbedded AsyncTestingChannel.swift
[170/218] Compiling NIOEmbedded Embedded.swift
[172/219] Compiling NIOPosix IO.swift
[173/219] Compiling NIOPosix IntegerBitPacking.swift
[174/219] Compiling NIOPosix IntegerTypes.swift
[175/219] Compiling NIOPosix Linux.swift
[176/219] Compiling NIOPosix LinuxCPUSet.swift
[177/219] Compiling NIOPosix LinuxUring.swift
[178/219] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[179/219] Compiling NIOPosix Pool.swift
[180/219] Compiling NIOPosix PooledRecvBufferAllocator.swift
[181/219] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[182/219] Compiling NIOPosix PosixSingletons.swift
[183/219] Compiling NIOPosix RawSocketBootstrap.swift
[184/219] Compiling NIOPosix Resolver.swift
[185/219] Compiling NIOPosix Selectable.swift
[186/225] Compiling NIOPosix ThreadPosix.swift
[187/225] Compiling NIOPosix ThreadWindows.swift
[188/225] Compiling NIOPosix UnsafeTransfer.swift
[189/225] Compiling NIOPosix Utilities.swift
[190/225] Compiling NIOPosix VsockAddress.swift
[191/225] Compiling NIOPosix VsockChannelEvents.swift
[192/225] Emitting module NIOPosix
[193/225] Compiling NIOPosix SelectableChannel.swift
[194/225] Compiling NIOPosix SelectableEventLoop.swift
[195/225] Compiling NIOPosix SelectorEpoll.swift
[196/225] Compiling NIOPosix SelectorGeneric.swift
[197/225] Compiling NIOPosix SelectorKqueue.swift
[198/225] Compiling NIOPosix SelectorUring.swift
[199/225] Compiling NIOPosix ServerSocket.swift
[200/225] Compiling NIOPosix Socket.swift
[201/225] Compiling NIOPosix SocketChannel.swift
[202/225] Compiling NIOPosix SocketProtocols.swift
[203/225] Compiling NIOPosix System.swift
[204/225] Compiling NIOPosix Thread.swift
[205/225] Compiling NIOPosix BSDSocketAPICommon.swift
[206/225] Compiling NIOPosix BSDSocketAPIPosix.swift
[207/225] Compiling NIOPosix BSDSocketAPIWindows.swift
[208/225] Compiling NIOPosix BaseSocket.swift
[209/225] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[210/225] Compiling NIOPosix BaseSocketChannel.swift
[211/225] Compiling NIOPosix BaseStreamSocketChannel.swift
[212/225] Compiling NIOPosix Bootstrap.swift
[213/225] Compiling NIOPosix ControlMessage.swift
[214/225] Compiling NIOPosix DatagramVectorReadManager.swift
[215/225] Compiling NIOPosix Errors+Any.swift
[216/225] Compiling NIOPosix FileDescriptor.swift
[217/225] Compiling NIOPosix GetaddrinfoResolver.swift
[218/225] Compiling NIOPosix HappyEyeballs.swift
[219/225] Compiling NIOPosix NIOThreadPool.swift
[220/225] Compiling NIOPosix NonBlockingFileIO.swift
[221/225] Compiling NIOPosix PendingDatagramWritesManager.swift
[222/225] Compiling NIOPosix PendingWritesManager.swift
[223/225] Compiling NIOPosix PipeChannel.swift
[224/225] Compiling NIOPosix PipePair.swift
[225/225] Compiling NIOPosix PointerHelpers.swift
[227/228] Emitting module NIO
[228/228] Compiling NIO Exports.swift
[230/234] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[231/234] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[232/234] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[233/234] Emitting module NIOFoundationCompat
[234/234] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[236/242] Compiling NIORedis RESPPipelineSetup.swift
[237/242] Compiling NIORedis RESPValue.swift
/host/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 {
[238/242] Compiling NIORedis ByteBufferExtras.swift
[239/242] Emitting module NIORedis
/host/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 {
[240/242] Compiling NIORedis RESPEncodable.swift
[241/242] Compiling NIORedis RESPParser.swift
[242/242] Compiling NIORedis RESPChannelHandler.swift
Build complete! (54.43s)
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" : "/host/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"
}
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.