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 Service, reference 1.0.2 (fa5b5d), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 22:37:20 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/service.git
Reference: 1.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vapor/service
 * tag               1.0.2      -> FETCH_HEAD
HEAD is now at fa5b5de swift 5 warning fixes (#38)
Cloned https://github.com/vapor/service.git
Revision (git rev-parse @):
fa5b5de62bd68bcde9a69933f31319e46c7275fb
SUCCESS checkout https://github.com/vapor/service.git at 1.0.2
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (1.49s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (2.09s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.88s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (1.49s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.52s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (1.11s)
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
========================================
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": "service",
      "name": "Service",
      "url": "https://github.com/vapor/service.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/service",
      "dependencies": [
        {
          "identity": "core",
          "name": "Core",
          "url": "https://github.com/vapor/core.git",
          "version": "3.10.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/core",
          "dependencies": [
            {
              "identity": "swift-nio",
              "name": "swift-nio",
              "url": "https://github.com/apple/swift-nio.git",
              "version": "1.14.4",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
              "dependencies": [
                {
                  "identity": "swift-nio-zlib-support",
                  "name": "swift-nio-zlib-support",
                  "url": "https://github.com/apple/swift-nio-zlib-support.git",
                  "version": "1.0.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-zlib-support",
                  "dependencies": [
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/vapor/service.git
[1/919] Fetching service
Fetched https://github.com/vapor/service.git from cache (0.79s)
Fetching https://github.com/vapor/core.git from cache
Fetched https://github.com/vapor/core.git from cache (0.47s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.52s)
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 1.14.4 (0.85s)
Fetching https://github.com/apple/swift-nio-zlib-support.git from cache
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.41s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (0.46s)
Creating working copy for https://github.com/vapor/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.2 (fa5b5de)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: '.resolve-product-dependencies': dependency 'service' is not used by any target
Found 1 product dependencies
  - Core
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/vapor/service.git
https://github.com/vapor/service.git
{
  "dependencies" : [
    {
      "identity" : "core",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/core.git"
    }
  ],
  "manifest_display_name" : "Service",
  "name" : "Service",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Service",
      "targets" : [
        "Service"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ServiceTests",
      "module_type" : "SwiftTarget",
      "name" : "ServiceTests",
      "path" : "Tests/ServiceTests",
      "sources" : [
        "ConfigTests.swift",
        "ServiceTests.swift",
        "Utilities.swift"
      ],
      "target_dependencies" : [
        "Service"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Service",
      "module_type" : "SwiftTarget",
      "name" : "Service",
      "path" : "Sources/Service",
      "product_dependencies" : [
        "Async",
        "Core",
        "Debugging"
      ],
      "product_memberships" : [
        "Service"
      ],
      "sources" : [
        "Config/Config.swift",
        "Container/BasicContainer.swift",
        "Container/BasicSubContainer.swift",
        "Container/Container.swift",
        "Container/ContainerAlias.swift",
        "Container/SubContainer.swift",
        "Environment/Environment.swift",
        "Provider/Provider.swift",
        "Services/BasicServiceFactory.swift",
        "Services/Service.swift",
        "Services/ServiceCache.swift",
        "Services/ServiceFactory.swift",
        "Services/ServiceID.swift",
        "Services/ServiceType.swift",
        "Services/Services.swift",
        "Services/TypeServiceFactory.swift",
        "Utilities/Deprecated.swift",
        "Utilities/Exports.swift",
        "Utilities/Extendable.swift",
        "Utilities/ServiceError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/16] Write sources
[10/16] Compiling CNIOLinux shim.c
[11/16] Compiling CNIOLinux ifaddrs-android.c
[12/16] Write swift-version-2F0A5646E1D333AE.txt
[13/25] Compiling CNIOSHA1 c_nio_sha1.c
[14/25] Compiling CNIODarwin shim.c
[15/25] Compiling c-atomics.c
[17/28] Compiling NIOPriorityQueue PriorityQueue.swift
[18/28] Compiling NIOConcurrencyHelpers atomics.swift
[19/28] Emitting module NIOConcurrencyHelpers
[20/28] Compiling NIOConcurrencyHelpers lock.swift
[21/28] Emitting module NIOPriorityQueue
[22/28] Compiling NIOPriorityQueue Heap.swift
[23/28] Emitting module COperatingSystem
[24/28] Compiling COperatingSystem libc.swift
[25/79] Compiling NIO IOData.swift
[26/79] Compiling NIO IntegerTypes.swift
[27/79] Compiling NIO Interfaces.swift
[28/79] Compiling NIO Linux.swift
[29/79] Compiling NIO LinuxCPUSet.swift
[30/79] Compiling NIO FileHandle.swift
[31/79] Compiling NIO FileRegion.swift
[32/79] Compiling NIO GetaddrinfoResolver.swift
[33/79] Compiling NIO HappyEyeballs.swift
[34/79] Compiling NIO Heap.swift
[35/79] Compiling NIO IO.swift
[36/84] Emitting module NIO
[37/84] Compiling NIO MarkedCircularBuffer.swift
[38/84] Compiling NIO MulticastChannel.swift
[39/84] Compiling NIO NIOAny.swift
[40/84] Compiling NIO NonBlockingFileIO.swift
[41/84] Compiling NIO PendingDatagramWritesManager.swift
[42/84] Compiling NIO ByteBuffer-core.swift
[43/84] Compiling NIO ByteBuffer-int.swift
[44/84] Compiling NIO ByteBuffer-views.swift
[45/84] Compiling NIO Channel.swift
[46/84] Compiling NIO ChannelHandler.swift
[47/84] Compiling NIO ChannelHandlers.swift
[48/84] Compiling NIO PendingWritesManager.swift
[49/84] Compiling NIO PriorityQueue.swift
[50/84] Compiling NIO RecvByteBufferAllocator.swift
[51/84] Compiling NIO Resolver.swift
[52/84] Compiling NIO Selectable.swift
[53/84] Compiling NIO ChannelInvoker.swift
[54/84] Compiling NIO ChannelOption.swift
[55/84] Compiling NIO ChannelPipeline.swift
[56/84] Compiling NIO CircularBuffer.swift
[57/84] Compiling NIO Codec.swift
[58/84] Compiling NIO CompositeError.swift
[59/84] Compiling NIO ContiguousCollection.swift
[60/84] Compiling NIO DeadChannel.swift
[61/84] Compiling NIO Embedded.swift
[62/84] Compiling NIO EventLoop.swift
[63/84] Compiling NIO EventLoopFuture.swift
[64/84] Compiling NIO FileDescriptor.swift
[65/84] Compiling NIO Selector.swift
[66/84] Compiling NIO ServerSocket.swift
[67/84] Compiling NIO Socket.swift
[68/84] Compiling NIO SocketAddresses.swift
[69/84] Compiling NIO SocketChannel.swift
[70/84] Compiling NIO AddressedEnvelope.swift
[71/84] Compiling NIO BaseSocket.swift
[72/84] Compiling NIO BaseSocketChannel.swift
[73/84] Compiling NIO BlockingIOThreadPool.swift
[74/84] Compiling NIO Bootstrap.swift
[75/84] Compiling NIO ByteBuffer-aux.swift
[76/84] Compiling NIO SocketOptionProvider.swift
[77/84] Compiling NIO System.swift
[78/84] Compiling NIO Thread.swift
[79/84] Compiling NIO TypeAssistedChannelHandler.swift
[80/84] Compiling NIO Utilities.swift
[81/84] Compiling Debugging SourceLocation.swift
[82/101] Emitting module Debugging
[83/101] Compiling Async Future+Void.swift
[84/102] Compiling Async Collection+Future.swift
[85/102] Compiling Async Deprecated.swift
[86/102] Compiling Async Exports.swift
[87/102] Compiling Async Future+DoCatch.swift
[88/102] Emitting module Async
[89/102] Compiling Async Future+Map.swift
[90/102] Compiling Async Future+Transform.swift
[91/102] Compiling Async Async+NIO.swift
[92/102] Compiling Async AsyncError.swift
[93/102] Compiling Async Future+Flatten.swift
[94/102] Compiling Async Future+Global.swift
[95/102] Compiling Async Future+Variadic.swift
[96/102] Compiling Async FutureType.swift
[97/102] Compiling Async QueueHandler.swift
[98/102] Compiling Async Worker.swift
[99/102] Compiling Debugging Demangler.swift
[100/102] Emitting module NIOFoundationCompat
[101/102] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[102/102] Compiling Debugging Debuggable.swift
[103/114] Compiling Bits Bytes.swift
[104/114] Compiling Bits ByteBuffer+peek.swift
[105/115] Compiling Bits ByteBuffer+string.swift
[106/115] Compiling Bits ByteBuffer+binaryFloatingPointOperations.swift
[107/115] Compiling Bits Byte+Control.swift
[108/115] Compiling Bits Byte+Digit.swift
[109/115] Emitting module Bits
[110/115] Compiling Bits BitsError.swift
[111/115] Compiling Bits Byte+Alphabet.swift
[112/115] Compiling Bits ByteBuffer+require.swift
[113/115] Compiling Bits Data+Bytes.swift
[114/115] Compiling Bits Data+Strings.swift
[115/115] Compiling Bits Deprecated.swift
[116/139] Compiling Core BasicKey.swift
[117/139] Compiling Core CaseInsensitiveString.swift
[118/139] Compiling Core Decodable+Reflectable.swift
[119/141] Compiling Core NotFound.swift
[120/141] Compiling Core OptionalType.swift
[121/141] Compiling Core Process+Execute.swift
[122/141] Compiling Core Reflectable.swift
[123/141] Compiling Core HeaderValue.swift
[124/141] Compiling Core LosslessDataConvertible.swift
[125/141] Compiling Core Deprecated.swift
[126/141] Compiling Core DirectoryConfig.swift
[127/141] Compiling Core Exports.swift
[128/141] Compiling Core ReflectionDecodable.swift
[129/141] Compiling Core ReflectionDecoders.swift
[130/141] Compiling Core CoreError.swift
[131/141] Compiling Core String+Utilities.swift
[132/141] Compiling Core Thread+Async.swift
[133/141] Emitting module Core
[134/141] Compiling Core Data+Base64URL.swift
[135/141] Compiling Core Data+Hex.swift
[136/141] Compiling Core DataCoders.swift
[137/141] Compiling Core MediaType.swift
[138/141] Compiling Core NestedData.swift
[139/141] Compiling Core File.swift
[140/141] Compiling Core Future+Unwrap.swift
[141/141] Compiling Core FutureEncoder.swift
[142/160] Compiling Service ServiceID.swift
[143/160] Compiling Service ServiceType.swift
[144/162] Compiling Service Deprecated.swift
[145/162] Compiling Service Exports.swift
[146/162] Compiling Service Environment.swift
[147/162] Compiling Service Provider.swift
[148/162] Compiling Service ServiceCache.swift
[149/162] Compiling Service ServiceFactory.swift
[150/162] Compiling Service Services.swift
[151/162] Compiling Service TypeServiceFactory.swift
[152/162] Compiling Service BasicServiceFactory.swift
[153/162] Compiling Service Service.swift
[154/162] Compiling Service ContainerAlias.swift
[155/162] Compiling Service SubContainer.swift
[156/162] Emitting module Service
/Users/admin/builder/spi-builder-workspace/Sources/Service/Utilities/ServiceError.swift:15:16: warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'ServiceError' has non-sendable type 'SourceLocation?'; this is an error in the Swift 6 language mode
13 |
14 |     /// See `Debuggable`.
15 |     public var sourceLocation: SourceLocation?
   |                `- warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'ServiceError' has non-sendable type 'SourceLocation?'; this is an error in the Swift 6 language mode
16 |
17 |     /// See `Debuggable`.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/core/Sources/Debugging/SourceLocation.swift:2:15: note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
 1 | /// A source-code location.
 2 | public struct SourceLocation {
   |               `- note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
 3 |     /// File in which this location exists.
 4 |     public var file: String
/Users/admin/builder/spi-builder-workspace/Sources/Service/Utilities/ServiceError.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Debugging'
 1 | import Debugging
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Debugging'
 2 |
 3 | /// An error using Services.
[157/162] Compiling Service Config.swift
[158/162] Compiling Service BasicContainer.swift
[159/162] Compiling Service BasicSubContainer.swift
[160/162] Compiling Service Container.swift
[161/162] Compiling Service Extendable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Service/Utilities/ServiceError.swift:15:16: warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'ServiceError' has non-sendable type 'SourceLocation?'; this is an error in the Swift 6 language mode
13 |
14 |     /// See `Debuggable`.
15 |     public var sourceLocation: SourceLocation?
   |                `- warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'ServiceError' has non-sendable type 'SourceLocation?'; this is an error in the Swift 6 language mode
16 |
17 |     /// See `Debuggable`.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/core/Sources/Debugging/SourceLocation.swift:2:15: note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
 1 | /// A source-code location.
 2 | public struct SourceLocation {
   |               `- note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
 3 |     /// File in which this location exists.
 4 |     public var file: String
/Users/admin/builder/spi-builder-workspace/Sources/Service/Utilities/ServiceError.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Debugging'
 1 | import Debugging
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Debugging'
 2 |
 3 | /// An error using Services.
[162/162] Compiling Service ServiceError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Service/Utilities/ServiceError.swift:15:16: warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'ServiceError' has non-sendable type 'SourceLocation?'; this is an error in the Swift 6 language mode
13 |
14 |     /// See `Debuggable`.
15 |     public var sourceLocation: SourceLocation?
   |                `- warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'ServiceError' has non-sendable type 'SourceLocation?'; this is an error in the Swift 6 language mode
16 |
17 |     /// See `Debuggable`.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/core/Sources/Debugging/SourceLocation.swift:2:15: note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
 1 | /// A source-code location.
 2 | public struct SourceLocation {
   |               `- note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
 3 |     /// File in which this location exists.
 4 |     public var file: String
/Users/admin/builder/spi-builder-workspace/Sources/Service/Utilities/ServiceError.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Debugging'
 1 | import Debugging
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Debugging'
 2 |
 3 | /// An error using Services.
Build complete! (10.50s)
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for zlib
warning: couldn't find pc file for zlib
Build complete.
{
  "dependencies" : [
    {
      "identity" : "core",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/core.git"
    }
  ],
  "manifest_display_name" : "Service",
  "name" : "Service",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Service",
      "targets" : [
        "Service"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ServiceTests",
      "module_type" : "SwiftTarget",
      "name" : "ServiceTests",
      "path" : "Tests/ServiceTests",
      "sources" : [
        "ConfigTests.swift",
        "ServiceTests.swift",
        "Utilities.swift"
      ],
      "target_dependencies" : [
        "Service"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Service",
      "module_type" : "SwiftTarget",
      "name" : "Service",
      "path" : "Sources/Service",
      "product_dependencies" : [
        "Async",
        "Core",
        "Debugging"
      ],
      "product_memberships" : [
        "Service"
      ],
      "sources" : [
        "Config/Config.swift",
        "Container/BasicContainer.swift",
        "Container/BasicSubContainer.swift",
        "Container/Container.swift",
        "Container/ContainerAlias.swift",
        "Container/SubContainer.swift",
        "Environment/Environment.swift",
        "Provider/Provider.swift",
        "Services/BasicServiceFactory.swift",
        "Services/Service.swift",
        "Services/ServiceCache.swift",
        "Services/ServiceFactory.swift",
        "Services/ServiceID.swift",
        "Services/ServiceType.swift",
        "Services/Services.swift",
        "Services/TypeServiceFactory.swift",
        "Utilities/Deprecated.swift",
        "Utilities/Exports.swift",
        "Utilities/Extendable.swift",
        "Utilities/ServiceError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.