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 Linux on 25 Apr 2025 22:31:43 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/service.git
Reference: 1.0.2
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/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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/vapor/service.git
https://github.com/vapor/service.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (0.79s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (1.37s)
Fetching https://github.com/apple/swift-nio.git
[1/75431] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.15s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (4.74s)
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.17s)
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.72s)
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.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
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for debugging...
[0/16] Write sources
[10/16] Compiling CNIODarwin shim.c
[11/16] Compiling CNIOLinux ifaddrs-android.c
[12/16] Compiling CNIOSHA1 c_nio_sha1.c
[13/16] Compiling CNIOLinux shim.c
[14/16] Write swift-version-24593BA9C3E375BF.txt
[15/25] Compiling c-atomics.c
[17/28] Compiling Debugging SourceLocation.swift
[18/28] Compiling COperatingSystem libc.swift
[19/28] Emitting module COperatingSystem
[21/29] Compiling Debugging Demangler.swift
[22/29] Emitting module NIOPriorityQueue
[23/29] Compiling NIOPriorityQueue Heap.swift
[24/29] Compiling NIOPriorityQueue PriorityQueue.swift
[25/29] Emitting module Debugging
[26/29] Compiling Debugging Debuggable.swift
[27/31] Emitting module NIOConcurrencyHelpers
[28/31] Compiling NIOConcurrencyHelpers atomics.swift
[29/31] Compiling NIOConcurrencyHelpers lock.swift
[33/82] Compiling NIO ByteBuffer-int.swift
[34/82] Compiling NIO ByteBuffer-views.swift
[35/82] Compiling NIO Channel.swift
[36/82] Compiling NIO ChannelHandler.swift
[37/82] Compiling NIO ChannelHandlers.swift
[38/82] Compiling NIO ChannelInvoker.swift
[39/82] Compiling NIO ChannelOption.swift
[40/88] Emitting module NIO
[41/88] Compiling NIO Heap.swift
[42/88] Compiling NIO IO.swift
[43/88] Compiling NIO IOData.swift
[44/88] Compiling NIO IntegerTypes.swift
[45/88] Compiling NIO Interfaces.swift
[46/88] Compiling NIO Linux.swift
[47/88] Compiling NIO LinuxCPUSet.swift
[48/88] Compiling NIO MarkedCircularBuffer.swift
[49/88] Compiling NIO MulticastChannel.swift
[50/88] Compiling NIO NIOAny.swift
[51/88] Compiling NIO NonBlockingFileIO.swift
[52/88] Compiling NIO PendingDatagramWritesManager.swift
[53/88] Compiling NIO PendingWritesManager.swift
[54/88] Compiling NIO PriorityQueue.swift
[55/88] Compiling NIO RecvByteBufferAllocator.swift
[56/88] Compiling NIO Resolver.swift
[57/88] Compiling NIO Selectable.swift
[58/88] Compiling NIO Selector.swift
[59/88] Compiling NIO ServerSocket.swift
[60/88] Compiling NIO Socket.swift
[61/88] Compiling NIO SocketAddresses.swift
[62/88] Compiling NIO EventLoop.swift
[63/88] Compiling NIO EventLoopFuture.swift
[64/88] Compiling NIO FileDescriptor.swift
[65/88] Compiling NIO FileHandle.swift
[66/88] Compiling NIO FileRegion.swift
[67/88] Compiling NIO GetaddrinfoResolver.swift
[68/88] Compiling NIO HappyEyeballs.swift
[69/88] Compiling NIO ChannelPipeline.swift
[70/88] Compiling NIO CircularBuffer.swift
[71/88] Compiling NIO Codec.swift
[72/88] Compiling NIO CompositeError.swift
[73/88] Compiling NIO ContiguousCollection.swift
[74/88] Compiling NIO DeadChannel.swift
[75/88] Compiling NIO Embedded.swift
[76/88] Compiling NIO AddressedEnvelope.swift
[77/88] Compiling NIO BaseSocket.swift
[78/88] Compiling NIO BaseSocketChannel.swift
[79/88] Compiling NIO BlockingIOThreadPool.swift
[80/88] Compiling NIO Bootstrap.swift
[81/88] Compiling NIO ByteBuffer-aux.swift
[82/88] Compiling NIO ByteBuffer-core.swift
[83/88] Compiling NIO SocketChannel.swift
[84/88] Compiling NIO SocketOptionProvider.swift
[85/88] Compiling NIO System.swift
[86/88] Compiling NIO Thread.swift
[87/88] Compiling NIO TypeAssistedChannelHandler.swift
[88/88] Compiling NIO Utilities.swift
[90/118] Emitting module NIOFoundationCompat
[91/118] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[92/118] Compiling Bits BitsError.swift
[93/118] Compiling Bits Byte+Alphabet.swift
[94/118] Emitting module Async
[95/118] Compiling Bits Byte+Control.swift
[96/118] Compiling Bits Byte+Digit.swift
[100/121] Compiling Bits ByteBuffer+binaryFloatingPointOperations.swift
[101/121] Compiling Bits ByteBuffer+peek.swift
[102/121] Compiling Bits ByteBuffer+require.swift
[103/121] Compiling Bits ByteBuffer+string.swift
[104/121] Compiling Bits Bytes.swift
[105/121] Emitting module Bits
[108/121] Compiling Async FutureType.swift
[109/121] Compiling Async QueueHandler.swift
[110/121] Compiling Async Worker.swift
[111/121] Compiling Bits Deprecated.swift
[112/121] Compiling Bits Data+Bytes.swift
[113/121] Compiling Bits Data+Strings.swift
[114/121] Compiling Async Future+Map.swift
[115/121] Compiling Async Future+Transform.swift
[118/121] Compiling Async Exports.swift
[119/121] Compiling Async Future+DoCatch.swift
[124/146] Compiling Core DirectoryConfig.swift
[125/146] Compiling Core Exports.swift
[126/146] Compiling Core File.swift
[127/149] Compiling Core Future+Unwrap.swift
[128/149] Compiling Core FutureEncoder.swift
[129/149] Compiling Core HeaderValue.swift
[130/149] Compiling Core BasicKey.swift
[131/149] Compiling Core CaseInsensitiveString.swift
[132/149] Compiling Core Decodable+Reflectable.swift
[133/149] Compiling Core ReflectionDecodable.swift
[134/149] Compiling Core ReflectionDecoders.swift
[135/149] Compiling Core CoreError.swift
[136/149] Compiling Core Data+Base64URL.swift
[137/149] Compiling Core Reflectable.swift
[138/149] Compiling Core String+Utilities.swift
[139/149] Compiling Core Thread+Async.swift
[140/149] Emitting module Core
[141/149] Compiling Core NotFound.swift
[142/149] Compiling Core OptionalType.swift
[143/149] Compiling Core Process+Execute.swift
[144/149] Compiling Core LosslessDataConvertible.swift
[145/149] Compiling Core MediaType.swift
[146/149] Compiling Core NestedData.swift
[147/149] Compiling Core Data+Hex.swift
[148/149] Compiling Core DataCoders.swift
[149/149] Compiling Core Deprecated.swift
[151/169] Compiling Service Deprecated.swift
[152/169] Compiling Service Exports.swift
[153/171] Emitting module Service
/host/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`.
/host/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
/host/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.
[154/171] Compiling Service Environment.swift
[155/171] Compiling Service Provider.swift
[156/171] Compiling Service BasicServiceFactory.swift
[157/171] Compiling Service Service.swift
[158/171] Compiling Service ServiceCache.swift
[159/171] Compiling Service ServiceFactory.swift
[160/171] Compiling Service Container.swift
[161/171] Compiling Service ContainerAlias.swift
[162/171] Compiling Service SubContainer.swift
[163/171] Compiling Service ServiceID.swift
[164/171] Compiling Service ServiceType.swift
[165/171] Compiling Service Services.swift
[166/171] Compiling Service TypeServiceFactory.swift
[167/171] Compiling Service Extendable.swift
/host/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`.
/host/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
/host/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.
[168/171] Compiling Service ServiceError.swift
/host/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`.
/host/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
/host/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.
[169/171] Compiling Service Config.swift
[170/171] Compiling Service BasicContainer.swift
[171/171] Compiling Service BasicSubContainer.swift
Build complete! (23.53s)
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" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.