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 WKCodable, reference master (7f4a5d), with Swift 6.1 for Linux on 25 Apr 2025 22:11:05 UTC.

Swift 6 data race errors: 0

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/plarson/WKCodable.git
Reference: master
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/plarson/WKCodable
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7f4a5d5 Add x,y initializer
Cloned https://github.com/plarson/WKCodable.git
Revision (git rev-parse @):
7f4a5d567f743dc767aefde99feb743f9a4459e8
SUCCESS checkout https://github.com/plarson/WKCodable.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/plarson/WKCodable.git
https://github.com/plarson/WKCodable.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "WKCodable",
  "name" : "WKCodable",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "WKCodable",
      "targets" : [
        "WKCodable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WKCodableTests",
      "module_type" : "SwiftTarget",
      "name" : "WKCodableTests",
      "path" : "Tests/WKCodableTests",
      "sources" : [
        "WKBCodableLittleEndianTests.swift",
        "WKBCodableTests.swift",
        "WKTCodableTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "WKCodable"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WKCodable",
      "module_type" : "SwiftTarget",
      "name" : "WKCodable",
      "path" : "Sources/WKCodable",
      "product_memberships" : [
        "WKCodable"
      ],
      "sources" : [
        "Types.swift",
        "WKBDecoder.swift",
        "WKBEncoder.swift",
        "WKTDecoder.swift",
        "WKTEncoder.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.1"
}
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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/8] Compiling WKCodable WKBDecoder.swift
/host/spi-builder-workspace/Sources/WKCodable/WKBDecoder.swift:201:46: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
199 |
200 |     private func read<T>(into: inout T) throws {
201 |         try read(MemoryLayout<T>.size, into: &into)
    |                                              `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
202 |     }
203 |
[4/8] Emitting module WKCodable
/host/spi-builder-workspace/Sources/WKCodable/WKBEncoder.swift:21:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 19 |     // MARK: - Public
 20 |
 21 |     public func encode(_ value: Geometry) -> Data {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 22 |         data = Data()
 23 |         encode(value, withSrid: true)
/host/spi-builder-workspace/Sources/WKCodable/WKTDecoder.swift:20:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 18 |     // MARK: - Public
 19 |
 20 |     public func decode<T>(from value: String) throws -> T {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 21 |         scanner = Scanner(string: value)
 22 |         scanner.charactersToBeSkipped = CharacterSet.whitespaces
/host/spi-builder-workspace/Sources/WKCodable/WKTEncoder.swift:12:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 10 |     // MARK: - Public
 11 |
 12 |     public func encode(_ value: Geometry) -> String {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 13 |         result = String()
 14 |         encode(value, withSrid: true)
[5/8] Compiling WKCodable WKTDecoder.swift
/host/spi-builder-workspace/Sources/WKCodable/WKTDecoder.swift:20:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 18 |     // MARK: - Public
 19 |
 20 |     public func decode<T>(from value: String) throws -> T {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 21 |         scanner = Scanner(string: value)
 22 |         scanner.charactersToBeSkipped = CharacterSet.whitespaces
[6/8] Compiling WKCodable Types.swift
[7/8] Compiling WKCodable WKTEncoder.swift
/host/spi-builder-workspace/Sources/WKCodable/WKTEncoder.swift:12:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 10 |     // MARK: - Public
 11 |
 12 |     public func encode(_ value: Geometry) -> String {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 13 |         result = String()
 14 |         encode(value, withSrid: true)
[8/8] Compiling WKCodable WKBEncoder.swift
/host/spi-builder-workspace/Sources/WKCodable/WKBEncoder.swift:21:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 19 |     // MARK: - Public
 20 |
 21 |     public func encode(_ value: Geometry) -> Data {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 22 |         data = Data()
 23 |         encode(value, withSrid: true)
Build complete! (6.81s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "WKCodable",
  "name" : "WKCodable",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "WKCodable",
      "targets" : [
        "WKCodable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WKCodableTests",
      "module_type" : "SwiftTarget",
      "name" : "WKCodableTests",
      "path" : "Tests/WKCodableTests",
      "sources" : [
        "WKBCodableLittleEndianTests.swift",
        "WKBCodableTests.swift",
        "WKTCodableTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "WKCodable"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WKCodable",
      "module_type" : "SwiftTarget",
      "name" : "WKCodable",
      "path" : "Sources/WKCodable",
      "product_memberships" : [
        "WKCodable"
      ],
      "sources" : [
        "Types.swift",
        "WKBDecoder.swift",
        "WKBEncoder.swift",
        "WKTDecoder.swift",
        "WKTEncoder.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.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
Done.