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 DatabaseKit, reference 1.3.3 (8f352c), with Swift 6.0 for Linux on 27 Nov 2024 13:26:46 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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/database-kit.git
Reference: 1.3.3
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/database-kit
 * tag               1.3.3      -> FETCH_HEAD
HEAD is now at 8f352c8 publicize KeyedCache.get(_:) (#57)
Cloned https://github.com/vapor/database-kit.git
Revision (git rev-parse @):
8f352c8e66dab301ab9bfef912a01ce1361ba1e4
SUCCESS checkout https://github.com/vapor/database-kit.git at 1.3.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/vapor/database-kit.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/vapor/core.git
Fetching https://github.com/vapor/service.git
[1/919] Fetching service
[277/21062] Fetching service, core
Fetched https://github.com/vapor/service.git from cache (0.71s)
Fetched https://github.com/vapor/core.git from cache (0.73s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (0.50s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.49s)
Fetching https://github.com/apple/swift-nio.git
[1/71949] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.23s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.61s)
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.20s)
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.47s)
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/vapor/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.2
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
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for debugging...
[0/17] Write sources
[11/17] Compiling CNIODarwin shim.c
[12/17] Compiling CNIOLinux ifaddrs-android.c
[13/17] Compiling CNIOSHA1 c_nio_sha1.c
[14/17] Compiling CNIOLinux shim.c
[15/17] Write swift-version-24593BA9C3E375BF.txt
[16/26] Compiling c-atomics.c
[18/29] Compiling Debugging SourceLocation.swift
[19/29] Emitting module NIOConcurrencyHelpers
[20/29] Emitting module COperatingSystem
[21/29] Compiling COperatingSystem libc.swift
[22/29] Compiling NIOPriorityQueue PriorityQueue.swift
[23/30] Compiling NIOPriorityQueue Heap.swift
[24/30] Emitting module NIOPriorityQueue
[25/31] Compiling NIOConcurrencyHelpers atomics.swift
[26/31] Compiling NIOConcurrencyHelpers lock.swift
[30/82] Compiling Debugging Demangler.swift
[31/82] Emitting module Debugging
[32/82] Compiling Debugging Debuggable.swift
[34/83] Compiling NIO Heap.swift
[35/83] Compiling NIO IO.swift
[36/83] Compiling NIO IOData.swift
[37/83] Compiling NIO IntegerTypes.swift
[38/83] Compiling NIO Interfaces.swift
[39/83] Compiling NIO Linux.swift
[40/83] Compiling NIO LinuxCPUSet.swift
[41/89] Compiling NIO ByteBuffer-int.swift
[42/89] Compiling NIO ByteBuffer-views.swift
[43/89] Compiling NIO Channel.swift
[44/89] Compiling NIO ChannelHandler.swift
[45/89] Compiling NIO ChannelHandlers.swift
[46/89] Compiling NIO ChannelInvoker.swift
[47/89] Compiling NIO ChannelOption.swift
[48/89] Compiling NIO MarkedCircularBuffer.swift
[49/89] Compiling NIO MulticastChannel.swift
[50/89] Compiling NIO NIOAny.swift
[51/89] Compiling NIO NonBlockingFileIO.swift
[52/89] Compiling NIO PendingDatagramWritesManager.swift
[53/89] Compiling NIO PendingWritesManager.swift
[54/89] Compiling NIO PriorityQueue.swift
[55/89] Compiling NIO RecvByteBufferAllocator.swift
[56/89] Compiling NIO Resolver.swift
[57/89] Compiling NIO Selectable.swift
[58/89] Compiling NIO Selector.swift
[59/89] Compiling NIO ServerSocket.swift
[60/89] Compiling NIO Socket.swift
[61/89] Compiling NIO SocketAddresses.swift
[62/89] Emitting module NIO
[63/89] Compiling NIO EventLoop.swift
[64/89] Compiling NIO EventLoopFuture.swift
[65/89] Compiling NIO FileDescriptor.swift
[66/89] Compiling NIO FileHandle.swift
[67/89] Compiling NIO FileRegion.swift
[68/89] Compiling NIO GetaddrinfoResolver.swift
[69/89] Compiling NIO HappyEyeballs.swift
[70/89] Compiling NIO ChannelPipeline.swift
[71/89] Compiling NIO CircularBuffer.swift
[72/89] Compiling NIO Codec.swift
[73/89] Compiling NIO CompositeError.swift
[74/89] Compiling NIO ContiguousCollection.swift
[75/89] Compiling NIO DeadChannel.swift
[76/89] Compiling NIO Embedded.swift
[77/89] Compiling NIO AddressedEnvelope.swift
[78/89] Compiling NIO BaseSocket.swift
[79/89] Compiling NIO BaseSocketChannel.swift
[80/89] Compiling NIO BlockingIOThreadPool.swift
[81/89] Compiling NIO Bootstrap.swift
[82/89] Compiling NIO ByteBuffer-aux.swift
[83/89] Compiling NIO ByteBuffer-core.swift
[84/89] Compiling NIO SocketChannel.swift
[85/89] Compiling NIO SocketOptionProvider.swift
[86/89] Compiling NIO System.swift
[87/89] Compiling NIO Thread.swift
[88/89] Compiling NIO TypeAssistedChannelHandler.swift
[89/89] Compiling NIO Utilities.swift
[91/119] Compiling Bits ByteBuffer+binaryFloatingPointOperations.swift
[92/119] Compiling Bits ByteBuffer+peek.swift
[93/120] Compiling Bits Byte+Control.swift
[94/120] Compiling Bits Byte+Digit.swift
[95/120] Compiling Async Worker.swift
[96/120] Emitting module NIOFoundationCompat
[97/120] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[98/121] Emitting module Bits
[99/122] Emitting module Async
[100/122] Compiling Bits BitsError.swift
[101/122] Compiling Bits Byte+Alphabet.swift
[103/122] Compiling Bits ByteBuffer+require.swift
[104/122] Compiling Bits ByteBuffer+string.swift
[105/122] Compiling Bits Data+Bytes.swift
[106/122] Compiling Bits Bytes.swift
[109/122] Compiling Bits Deprecated.swift
[110/122] Compiling Async Future+Map.swift
[111/122] Compiling Async Future+Transform.swift
[112/122] Compiling Async Future+Variadic.swift
[113/122] Compiling Async Future+Void.swift
[114/122] Compiling Async FutureType.swift
[115/122] Compiling Async QueueHandler.swift
[118/123] Compiling Bits Data+Strings.swift
[125/147] Compiling Core NotFound.swift
[126/147] Compiling Core OptionalType.swift
[127/147] Compiling Core Process+Execute.swift
[128/150] Compiling Core Data+Hex.swift
[129/150] Compiling Core DataCoders.swift
[130/150] Compiling Core Deprecated.swift
[131/150] Compiling Core DirectoryConfig.swift
[132/150] Compiling Core Exports.swift
[133/150] Compiling Core File.swift
[134/150] Compiling Core Future+Unwrap.swift
[135/150] Compiling Core FutureEncoder.swift
[136/150] Compiling Core HeaderValue.swift
[137/150] Compiling Core Reflectable.swift
[138/150] Compiling Core String+Utilities.swift
[139/150] Compiling Core Thread+Async.swift
[140/150] Compiling Core BasicKey.swift
[141/150] Compiling Core CaseInsensitiveString.swift
[142/150] Compiling Core Decodable+Reflectable.swift
[143/150] Compiling Core ReflectionDecodable.swift
[144/150] Emitting module Core
[145/150] Compiling Core LosslessDataConvertible.swift
[146/150] Compiling Core MediaType.swift
[147/150] Compiling Core NestedData.swift
[148/150] Compiling Core ReflectionDecoders.swift
[149/150] Compiling Core CoreError.swift
[150/150] Compiling Core Data+Base64URL.swift
[152/170] Compiling Service Deprecated.swift
[153/170] Compiling Service Exports.swift
[154/172] Emitting module Service
[155/172] Compiling Service Environment.swift
[156/172] Compiling Service Provider.swift
[157/172] Compiling Service BasicServiceFactory.swift
[158/172] Compiling Service Container.swift
[159/172] Compiling Service ContainerAlias.swift
[160/172] Compiling Service SubContainer.swift
[161/172] Compiling Service ServiceID.swift
[162/172] Compiling Service ServiceType.swift
[163/172] Compiling Service Services.swift
[164/172] Compiling Service TypeServiceFactory.swift
[165/172] Compiling Service Service.swift
[166/172] Compiling Service ServiceCache.swift
[167/172] Compiling Service ServiceFactory.swift
[168/172] Compiling Service Config.swift
[169/172] Compiling Service BasicContainer.swift
[170/172] Compiling Service BasicSubContainer.swift
[171/172] Compiling Service Extendable.swift
[172/172] Compiling Service ServiceError.swift
[174/201] Compiling DatabaseKit DictionaryKeyedCache.swift
[175/201] Compiling DatabaseKit KeyedCache.swift
[176/201] Compiling DatabaseKit KeyedCacheSupporting.swift
[177/201] Compiling DatabaseKit MemoryKeyedCache.swift
[178/204] Compiling DatabaseKit Container+CachedConnection.swift
[179/204] Compiling DatabaseKit Container+NewConnection.swift
[180/204] Compiling DatabaseKit DatabaseConnectable.swift
[181/204] Compiling DatabaseKit DatabaseConnection.swift
[182/204] Compiling DatabaseKit DatabaseLog.swift
[183/204] Compiling DatabaseKit DatabaseLogHandler.swift
[184/204] Compiling DatabaseKit DatabaseLogger.swift
[185/204] Compiling DatabaseKit LogSupporting.swift
[186/204] Emitting module DatabaseKit
/host/spi-builder-workspace/Sources/DatabaseKit/Utilities/DatabaseKitError.swift:15:16: warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'DatabaseKitError' 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 'DatabaseKitError' 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/DatabaseKit/Utilities/DatabaseKitError.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 | /// Errors that can be thrown while working with Vapor.
[187/204] Compiling DatabaseKit DatabaseIdentifier.swift
[188/204] Compiling DatabaseKit DatabaseQueryable.swift
[189/204] Compiling DatabaseKit Databases.swift
[190/204] Compiling DatabaseKit DatabaseKeyedCache.swift
[191/204] Compiling DatabaseKit PrintLogHandler.swift
/host/spi-builder-workspace/Sources/DatabaseKit/Utilities/DatabaseKitError.swift:15:16: warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'DatabaseKitError' 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 'DatabaseKitError' 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/DatabaseKit/Utilities/DatabaseKitError.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 | /// Errors that can be thrown while working with Vapor.
[192/204] Compiling DatabaseKit DatabaseKitProvider.swift
/host/spi-builder-workspace/Sources/DatabaseKit/Utilities/DatabaseKitError.swift:15:16: warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'DatabaseKitError' 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 'DatabaseKitError' 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/DatabaseKit/Utilities/DatabaseKitError.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 | /// Errors that can be thrown while working with Vapor.
[193/204] Compiling DatabaseKit DatabaseKitError.swift
/host/spi-builder-workspace/Sources/DatabaseKit/Utilities/DatabaseKitError.swift:15:16: warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'DatabaseKitError' 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 'DatabaseKitError' 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/DatabaseKit/Utilities/DatabaseKitError.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 | /// Errors that can be thrown while working with Vapor.
[194/204] Compiling DatabaseKit DatabaseStringFindable.swift
[195/204] Compiling DatabaseKit Container+ConnectionPool.swift
[196/204] Compiling DatabaseKit DatabaseConnectionPool.swift
[197/204] Compiling DatabaseKit DatabaseConnectionPoolCache.swift
[198/204] Compiling DatabaseKit DatabaseConnectionPoolConfig.swift
[199/204] Compiling DatabaseKit ConfiguredDatabase.swift
[200/204] Compiling DatabaseKit Database.swift
[201/204] Compiling DatabaseKit DatabaseConfig.swift
[202/204] Compiling DatabaseKit Deprecated.swift
[203/204] Compiling DatabaseKit Exports.swift
[204/204] Compiling DatabaseKit URL+DatabaseName.swift
Build complete! (29.76s)
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"
    },
    {
      "identity" : "service",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/service.git"
    }
  ],
  "manifest_display_name" : "DatabaseKit",
  "name" : "DatabaseKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DatabaseKit",
      "targets" : [
        "DatabaseKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DatabaseKitTests",
      "module_type" : "SwiftTarget",
      "name" : "DatabaseKitTests",
      "path" : "Tests/DatabaseKitTests",
      "sources" : [
        "SQLiteBenchmarkTests.swift"
      ],
      "target_dependencies" : [
        "DatabaseKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DatabaseKit",
      "module_type" : "SwiftTarget",
      "name" : "DatabaseKit",
      "path" : "Sources/DatabaseKit",
      "product_dependencies" : [
        "Async",
        "Service"
      ],
      "product_memberships" : [
        "DatabaseKit"
      ],
      "sources" : [
        "Connection/Container+CachedConnection.swift",
        "Connection/Container+NewConnection.swift",
        "Connection/DatabaseConnectable.swift",
        "Connection/DatabaseConnection.swift",
        "Connection/DatabaseStringFindable.swift",
        "ConnectionPool/Container+ConnectionPool.swift",
        "ConnectionPool/DatabaseConnectionPool.swift",
        "ConnectionPool/DatabaseConnectionPoolCache.swift",
        "ConnectionPool/DatabaseConnectionPoolConfig.swift",
        "Database/ConfiguredDatabase.swift",
        "Database/Database.swift",
        "Database/DatabaseConfig.swift",
        "Database/DatabaseIdentifier.swift",
        "Database/DatabaseQueryable.swift",
        "Database/Databases.swift",
        "KeyedCache/DatabaseKeyedCache.swift",
        "KeyedCache/DictionaryKeyedCache.swift",
        "KeyedCache/KeyedCache.swift",
        "KeyedCache/KeyedCacheSupporting.swift",
        "KeyedCache/MemoryKeyedCache.swift",
        "Log/DatabaseLog.swift",
        "Log/DatabaseLogHandler.swift",
        "Log/DatabaseLogger.swift",
        "Log/LogSupporting.swift",
        "Log/PrintLogHandler.swift",
        "Service/DatabaseKitProvider.swift",
        "Utilities/DatabaseKitError.swift",
        "Utilities/Deprecated.swift",
        "Utilities/Exports.swift",
        "Utilities/URL+DatabaseName.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.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.