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 Linux on 27 Nov 2024 12:38:47 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.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/plarson/WKCodable.git
Reference: 0.1.1
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
 * 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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/plarson/WKCodable.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/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)
[4/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)
[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] 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)
[7/8] Compiling WKCodable Types.swift
[8/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 |
Build complete! (9.42s)
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.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.