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-statsd-client, reference main (6907f7), with Swift 5.9 for Linux on 2 Apr 2025 17:40:25 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-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-statsd-client.git
Reference: main
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/apple/swift-statsd-client
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6907f7b Enable macOS CI on pull requests (#52)
Cloned https://github.com/apple/swift-statsd-client.git
Revision (git rev-parse @):
6907f7b307b3e58c2a56be7fb01ddb9bbe1c627e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-statsd-client.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/apple/swift-statsd-client.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-atomics.git
[1/2171] Fetching swift-metrics
[2172/3876] Fetching swift-metrics, swift-atomics
Fetched https://github.com/apple/swift-metrics.git (0.25s)
[1/74605] Fetching swift-nio
Fetched https://github.com/apple/swift-atomics.git (3.59s)
Fetched https://github.com/apple/swift-nio.git (3.68s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.30s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.6.1 (0.30s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.81.0 (1.15s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4221] Fetching swift-system
[3674/20124] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (0.91s)
Fetched https://github.com/apple/swift-collections.git (0.93s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.28s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.47s)
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
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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.6.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.81.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
Building for debugging...
[0/9] Compiling CNIOWASI CNIOWASI.c
[1/9] Compiling CNIOLinux liburing_shims.c
[2/9] Compiling _AtomicsShims.c
[3/9] Compiling CNIOWindows WSAStartup.c
[4/9] Compiling CNIOWindows shim.c
[5/9] Compiling CNIODarwin shim.c
[6/9] Compiling CNIOLinux shim.c
[8/54] Emitting module _NIOBase64
[9/54] Emitting module _NIODataStructures
[10/54] Emitting module InternalCollectionsUtilities
[10/56] Compiling c-nioatomics.c
[11/56] Compiling c-atomics.c
[13/62] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[14/62] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[17/62] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[18/62] Compiling InternalCollectionsUtilities Specialize.swift
[19/64] Compiling InternalCollectionsUtilities _SortedCollection.swift
[20/64] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[21/64] Compiling InternalCollectionsUtilities Debugging.swift
[22/64] Compiling InternalCollectionsUtilities Descriptions.swift
[23/64] Compiling _NIODataStructures PriorityQueue.swift
[24/64] Compiling Atomics AtomicReference.swift
[27/64] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[28/64] Compiling InternalCollectionsUtilities Integer rank.swift
[29/64] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[33/64] Compiling Atomics IntegerOperations.swift
[34/64] Compiling Atomics Unmanaged extensions.swift
[39/64] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[40/64] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[41/64] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[42/64] Emitting module Atomics
[46/64] Compiling Atomics Primitives.shims.swift
[47/64] Compiling Atomics AtomicInteger.swift
[48/64] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[49/65] Compiling _NIODataStructures _TinyArray.swift
[55/67] Compiling CoreMetrics Metrics.swift
[56/67] Compiling _NIOBase64 Base64.swift
[62/85] Emitting module CoreMetrics
[63/85] Compiling CoreMetrics Locks.swift
[64/86] Compiling _NIODataStructures Heap.swift
[66/88] Compiling NIOConcurrencyHelpers lock.swift
[69/89] Compiling DequeModule Deque+Testing.swift
[70/89] Compiling DequeModule Deque._Storage.swift
[71/89] Compiling DequeModule Deque+Extras.swift
[72/89] Compiling DequeModule Deque+Hashable.swift
[74/91] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[75/91] Compiling NIOConcurrencyHelpers NIOLock.swift
[76/91] Emitting module NIOConcurrencyHelpers
[77/91] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[78/91] Compiling NIOConcurrencyHelpers atomics.swift
[81/93] Compiling DequeModule _DequeSlot.swift
[82/93] Compiling DequeModule _UnsafeWrappedBuffer.swift
[83/93] Compiling DequeModule _DequeBuffer.swift
[84/93] Compiling DequeModule _DequeBufferHeader.swift
[85/93] Compiling DequeModule Deque+Equatable.swift
[86/93] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[87/93] Compiling DequeModule Deque._UnsafeHandle.swift
[88/93] Compiling DequeModule Deque.swift
[89/93] Compiling DequeModule Deque+Codable.swift
[90/93] Compiling DequeModule Deque+Collection.swift
[91/93] Compiling DequeModule Deque+CustomReflectable.swift
[92/93] Compiling DequeModule Deque+Descriptions.swift
[93/93] Emitting module DequeModule
[96/154] Compiling NIOCore AddressedEnvelope.swift
[97/154] Compiling NIOCore AsyncAwaitSupport.swift
[98/154] Compiling NIOCore AsyncChannel.swift
[99/154] Compiling NIOCore AsyncChannelHandler.swift
[100/154] Compiling NIOCore AsyncChannelInboundStream.swift
[101/154] Compiling NIOCore AsyncChannelOutboundWriter.swift
[102/154] Compiling NIOCore NIOAsyncSequenceProducer.swift
[103/154] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[104/154] Compiling NIOCore NIOAsyncWriter.swift
[105/162] Compiling NIOCore EventLoop.swift
[106/162] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[107/162] Compiling NIOCore EventLoopFuture+Deprecated.swift
[108/162] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[109/162] Compiling NIOCore EventLoopFuture.swift
[110/162] Compiling NIOCore FileDescriptor.swift
[111/162] Compiling NIOCore FileHandle.swift
[112/162] Compiling NIOCore FileRegion.swift
[113/162] Compiling NIOCore GlobalSingletons.swift
[114/162] Compiling NIOCore IO.swift
[115/162] Compiling NIOCore IOData.swift
[116/162] Compiling NIOCore IPProtocol.swift
[117/162] Compiling NIOCore IntegerBitPacking.swift
[118/162] Compiling NIOCore IntegerTypes.swift
[119/162] Compiling NIOCore Interfaces.swift
[120/162] Compiling NIOCore Linux.swift
[121/162] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[122/162] Compiling NIOCore BSDSocketAPI.swift
[123/162] Compiling NIOCore ByteBuffer-aux.swift
[124/162] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[125/162] Compiling NIOCore ByteBuffer-conversions.swift
[126/162] Compiling NIOCore ByteBuffer-core.swift
[127/162] Compiling NIOCore ByteBuffer-hex.swift
[128/162] Compiling NIOCore ByteBuffer-int.swift
[129/162] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[130/162] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[131/162] Compiling NIOCore SocketAddresses.swift
[132/162] Compiling NIOCore SocketOptionProvider.swift
[133/162] Compiling NIOCore SystemCallHelpers.swift
[134/162] Compiling NIOCore TimeAmount+Duration.swift
[135/162] Compiling NIOCore TypeAssistedChannelHandler.swift
[136/162] Compiling NIOCore UniversalBootstrapSupport.swift
[137/162] Compiling NIOCore Utilities.swift
[138/162] Compiling NIOCore MarkedCircularBuffer.swift
[139/162] Compiling NIOCore MulticastChannel.swift
[140/162] Compiling NIOCore NIOAny.swift
[141/162] Compiling NIOCore NIOCloseOnErrorHandler.swift
[142/162] Compiling NIOCore NIOLoopBound.swift
[143/162] Compiling NIOCore NIOScheduledCallback.swift
[144/162] Compiling NIOCore NIOSendable.swift
[145/162] Compiling NIOCore RecvByteBufferAllocator.swift
[146/162] Compiling NIOCore ChannelPipeline.swift
[147/162] Compiling NIOCore CircularBuffer.swift
[148/162] Compiling NIOCore Codec.swift
[149/162] Compiling NIOCore ConvenienceOptionSupport.swift
[150/162] Compiling NIOCore DeadChannel.swift
[151/162] Compiling NIOCore DispatchQueue+WithFuture.swift
[152/162] Compiling NIOCore EventLoop+Deprecated.swift
[153/162] Compiling NIOCore EventLoop+SerialExecutor.swift
[154/162] Compiling NIOCore ByteBuffer-multi-int.swift
[155/162] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[156/162] Compiling NIOCore ByteBuffer-views.swift
[157/162] Compiling NIOCore Channel.swift
[158/162] Compiling NIOCore ChannelHandler.swift
[159/162] Compiling NIOCore ChannelHandlers.swift
[160/162] Compiling NIOCore ChannelInvoker.swift
[161/162] Compiling NIOCore ChannelOption.swift
[162/162] Emitting module NIOCore
[165/215] Compiling NIOEmbedded AsyncTestingEventLoop.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOEmbedded/AsyncTestingEventLoop.swift:21:17: remark: '@preconcurrency' attribute on module 'Dispatch' is unused
@preconcurrency import Dispatch
~~~~~~~~~~~~~~~~^
[166/215] Compiling NIOEmbedded AsyncTestingChannel.swift
[167/215] Compiling NIOEmbedded Embedded.swift
[168/215] Emitting module NIOEmbedded
[171/217] Emitting module NIOPosix
[172/223] Compiling NIOPosix BSDSocketAPICommon.swift
[173/223] Compiling NIOPosix BSDSocketAPIPosix.swift
[174/223] Compiling NIOPosix BSDSocketAPIWindows.swift
[175/223] Compiling NIOPosix BaseSocket.swift
[176/223] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[177/223] Compiling NIOPosix BaseSocketChannel.swift
[178/223] Compiling NIOPosix BaseStreamSocketChannel.swift
[179/223] Compiling NIOPosix ServerSocket.swift
[180/223] Compiling NIOPosix Socket.swift
[181/223] Compiling NIOPosix SocketChannel.swift
[182/223] Compiling NIOPosix SocketProtocols.swift
[183/223] Compiling NIOPosix System.swift
[184/223] Compiling NIOPosix Thread.swift
[185/223] Compiling NIOPosix ThreadPosix.swift
[186/223] Compiling NIOPosix ThreadWindows.swift
[187/223] Compiling NIOPosix UnsafeTransfer.swift
[188/223] Compiling NIOPosix Utilities.swift
[189/223] Compiling NIOPosix VsockAddress.swift
[190/223] Compiling NIOPosix VsockChannelEvents.swift
[191/223] Compiling NIOPosix Bootstrap.swift
[192/223] Compiling NIOPosix ControlMessage.swift
[193/223] Compiling NIOPosix DatagramVectorReadManager.swift
[194/223] Compiling NIOPosix Errors+Any.swift
[195/223] Compiling NIOPosix FileDescriptor.swift
[196/223] Compiling NIOPosix GetaddrinfoResolver.swift
[197/223] Compiling NIOPosix HappyEyeballs.swift
[198/223] Compiling NIOPosix SelectableChannel.swift
[199/223] Compiling NIOPosix SelectableEventLoop.swift
[200/223] Compiling NIOPosix SelectorEpoll.swift
[201/223] Compiling NIOPosix SelectorGeneric.swift
[202/223] Compiling NIOPosix SelectorKqueue.swift
[203/223] Compiling NIOPosix SelectorUring.swift
[204/223] Compiling NIOPosix PooledRecvBufferAllocator.swift
[205/223] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[206/223] Compiling NIOPosix PosixSingletons.swift
[207/223] Compiling NIOPosix RawSocketBootstrap.swift
[208/223] Compiling NIOPosix Resolver.swift
[209/223] Compiling NIOPosix Selectable.swift
[210/223] Compiling NIOPosix IO.swift
[211/223] Compiling NIOPosix IntegerBitPacking.swift
[212/223] Compiling NIOPosix IntegerTypes.swift
[213/223] Compiling NIOPosix Linux.swift
[214/223] Compiling NIOPosix LinuxCPUSet.swift
[215/223] Compiling NIOPosix LinuxUring.swift
[216/223] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[217/223] Compiling NIOPosix NIOThreadPool.swift
[218/223] Compiling NIOPosix NonBlockingFileIO.swift
[219/223] Compiling NIOPosix PendingDatagramWritesManager.swift
[220/223] Compiling NIOPosix PendingWritesManager.swift
[221/223] Compiling NIOPosix PipeChannel.swift
[222/223] Compiling NIOPosix PipePair.swift
[223/223] Compiling NIOPosix Pool.swift
[226/227] Compiling NIO Exports.swift
[227/227] Emitting module NIO
[230/232] Emitting module StatsdClient
[231/232] Compiling StatsdClient Atomics.swift
[232/232] Compiling StatsdClient StatsdClient.swift
/host/spi-builder-workspace/Sources/StatsdClient/StatsdClient.swift:445:74: warning: type 'Client.Encoder' does not conform to the 'Sendable' protocol
            .channelInitializer { channel in channel.pipeline.addHandler(Encoder(address: self.address)) }
                                                                         ^
/host/spi-builder-workspace/Sources/StatsdClient/StatsdClient.swift:450:25: note: class 'Encoder' does not conform to the 'Sendable' protocol
    private final class Encoder: ChannelOutboundHandler {
                        ^
Build complete! (29.56s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-metrics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-metrics.git"
    },
    {
      "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"
    },
    {
      "identity" : "swift-atomics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-atomics.git"
    }
  ],
  "manifest_display_name" : "swift-statsd-client",
  "name" : "swift-statsd-client",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "StatsdClient",
      "targets" : [
        "StatsdClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "StatsdClientTests",
      "module_type" : "SwiftTarget",
      "name" : "StatsdClientTests",
      "path" : "Tests/StatsdClientTests",
      "product_dependencies" : [
        "NIOCore"
      ],
      "sources" : [
        "StatsdClientIPV6Tests+XCTest.swift",
        "StatsdClientIPV6Tests.swift",
        "StatsdClientTests+XCTest.swift",
        "StatsdClientTests.swift",
        "TestServer.swift"
      ],
      "target_dependencies" : [
        "StatsdClient"
      ],
      "type" : "test"
    },
    {
      "c99name" : "StatsdClient",
      "module_type" : "SwiftTarget",
      "name" : "StatsdClient",
      "path" : "Sources/StatsdClient",
      "product_dependencies" : [
        "CoreMetrics",
        "NIO",
        "Atomics"
      ],
      "product_memberships" : [
        "StatsdClient"
      ],
      "sources" : [
        "Atomics.swift",
        "StatsdClient.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Done.