This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/plarson/WKCodable.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/plarson/WKCodable.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[3/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 |
[4/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)
[5/8] Compiling WKCodable Types.swift
[6/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)
[7/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)
[8/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
Build complete! (18.10s)
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.