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 0.1.1 (d57f38), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 03:25:44 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/plarson/WKCodable.git
Reference: 0.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/plarson/WKCodable
 * tag               0.1.1      -> FETCH_HEAD
HEAD is now at d57f386 Type cleanup
Cloned https://github.com/plarson/WKCodable.git
Revision (git rev-parse @):
d57f386b7ceab3a5f7937a948c6c45cae6933183
SUCCESS checkout https://github.com/plarson/WKCodable.git at 0.1.1
========================================
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": "wkcodable",
      "name": "WKCodable",
      "url": "https://github.com/plarson/WKCodable.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WKCodable",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/plarson/WKCodable.git
[3/295] Fetching wkcodable
Fetched https://github.com/plarson/WKCodable.git from cache (0.74s)
Creating working copy for https://github.com/plarson/WKCodable.git
Working copy of https://github.com/plarson/WKCodable.git resolved at 0.1.1 (d57f386)
warning: '.resolve-product-dependencies': dependency 'wkcodable' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/plarson/WKCodable.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/8] Compiling WKCodable WKTDecoder.swift
/Users/admin/builder/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
[4/8] Compiling WKCodable WKTEncoder.swift
/Users/admin/builder/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 WKBDecoder.swift
/Users/admin/builder/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 |
[6/8] Compiling WKCodable Types.swift
[7/8] Compiling WKCodable WKBEncoder.swift
/Users/admin/builder/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)
[8/8] Emitting module WKCodable
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
Build complete! (8.51s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "WKCodable",
  "name" : "WKCodable",
  "path" : "/Users/admin/builder/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"
}
Done.