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 WPSwift, reference 0.1.5 (998bf9), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 14:45:16 UTC.

Swift 6 data race errors: 1

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/rocxteady/WPSwift.git
Reference: 0.1.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rocxteady/WPSwift
 * tag               0.1.5      -> FETCH_HEAD
HEAD is now at 998bf97 Create LICENSE
Cloned https://github.com/rocxteady/WPSwift.git
Revision (git rev-parse @):
998bf97ba352993b64fc3e6d062a4aac9ee2bb64
SUCCESS checkout https://github.com/rocxteady/WPSwift.git at 0.1.5
Fetching https://github.com/rocxteady/Resting.git
[1/281] Fetching resting
Fetched https://github.com/rocxteady/Resting.git from cache (0.78s)
Computing version for https://github.com/rocxteady/Resting.git
Computed https://github.com/rocxteady/Resting.git at 0.0.9 (0.52s)
Creating working copy for https://github.com/rocxteady/Resting.git
Working copy of https://github.com/rocxteady/Resting.git resolved at 0.0.9
========================================
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": "wpswift",
      "name": "WPSwift",
      "url": "https://github.com/rocxteady/WPSwift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WPSwift",
      "dependencies": [
        {
          "identity": "resting",
          "name": "Resting",
          "url": "https://github.com/rocxteady/Resting.git",
          "version": "0.0.9",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Resting",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/rocxteady/WPSwift.git
[1/615] Fetching wpswift
Fetched https://github.com/rocxteady/WPSwift.git from cache (0.76s)
Fetching https://github.com/rocxteady/Resting.git from cache
Fetched https://github.com/rocxteady/Resting.git from cache (0.44s)
Computing version for https://github.com/rocxteady/Resting.git
Computed https://github.com/rocxteady/Resting.git at 0.0.9 (0.02s)
Creating working copy for https://github.com/rocxteady/WPSwift.git
Working copy of https://github.com/rocxteady/WPSwift.git resolved at 0.1.5 (998bf97)
Creating working copy for https://github.com/rocxteady/Resting.git
Working copy of https://github.com/rocxteady/Resting.git resolved at 0.0.9
warning: '.resolve-product-dependencies': dependency 'wpswift' is not used by any target
Found 1 product dependencies
  - Resting
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/rocxteady/WPSwift.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/9] Write sources
[1/9] Copying Localizable.strings
[2/9] Copying Info.plist
[2/9] Copying Localizable.strings
[2/9] Write sources
[5/9] Copying Localizable.strings
[5/9] Copying Info.plist
[5/9] Copying Localizable.strings
[8/9] Write swift-version--7754E27361AE5C74.txt
[10/17] Compiling Resting RestingError.swift
[11/17] Compiling Resting resource_bundle_accessor.swift
[12/17] Compiling Resting DataWithURLResponse.swift
[13/17] Emitting module Resting
[14/17] Compiling Resting Resting.swift
[15/17] Compiling Resting URLComponents+Helper.swift
[16/17] Compiling Resting RequestConfiguration.swift
[17/17] Compiling Resting URLSession+Helper.swift
[18/41] Compiling WPSwift Localizable.swift
[19/41] Compiling WPSwift APIInfo.swift
[20/41] Compiling WPSwift AnyCodable.swift
[21/43] Compiling WPSwift RestClient+Configuration.swift
[22/43] Compiling WPSwift URL+Configuration.swift
[23/43] Compiling WPSwift DateFormatter+Default.swift
[24/43] Compiling WPSwift SimplePost.swift
[25/43] Compiling WPSwift APIInfoRepository.swift
[26/43] Compiling WPSwift CategoriesRepository.swift
[27/43] Compiling WPSwift PostsRepository.swift
[28/43] Emitting module WPSwift
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/WPSwift.swift:36:24: warning: static property '_configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 |         }
35 |     }
36 |     static private var _configuration: WPConfiguration?
   |                        |- warning: static property '_configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate '_configuration' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |     static let sessionConfiguration = URLSessionConfiguration.default
38 |
[29/43] Compiling WPSwift EmptyModel.swift
[30/43] Compiling WPSwift FeaturedMedia.swift
[31/43] Compiling WPSwift Author.swift
[32/43] Compiling WPSwift Category.swift
[33/43] Compiling WPSwift EmbeddedContent.swift
[34/43] Compiling WPSwift Params.swift
[35/43] Compiling WPSwift Post.swift
[36/43] Compiling WPSwift WPSwift.swift
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/WPSwift.swift:36:24: warning: static property '_configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 |         }
35 |     }
36 |     static private var _configuration: WPConfiguration?
   |                        |- warning: static property '_configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate '_configuration' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |     static let sessionConfiguration = URLSessionConfiguration.default
38 |
[37/43] Compiling WPSwift resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/WPSwift.swift:36:24: warning: static property '_configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 |         }
35 |     }
36 |     static private var _configuration: WPConfiguration?
   |                        |- warning: static property '_configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate '_configuration' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |     static let sessionConfiguration = URLSessionConfiguration.default
38 |
[38/43] Compiling WPSwift WPClient.swift
[39/43] Compiling WPSwift WPClientConfiguration.swift
[40/43] Compiling WPSwift WPEndpoint.swift
[41/43] Compiling WPSwift JSONDecoder+Utils.swift
[42/43] Compiling WPSwift JSONEncoder+Utils.swift
[43/43] Compiling WPSwift String+DecodedHTML.swift
Build complete! (18.73s)
Build complete.
{
  "default_localization" : "en",
  "dependencies" : [
    {
      "identity" : "resting",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.9",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/rocxteady/Resting.git"
    }
  ],
  "manifest_display_name" : "WPSwift",
  "name" : "WPSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "WPSwift",
      "targets" : [
        "WPSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WPSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "WPSwiftTests",
      "path" : "Tests/WPSwiftTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/WPSwiftTests/Resources/APIInfo.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/WPSwiftTests/Resources/Any.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/WPSwiftTests/Resources/Categories.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/WPSwiftTests/Resources/Category.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/WPSwiftTests/Resources/Post.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/WPSwiftTests/Resources/PostNoEmbedded.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/WPSwiftTests/Resources/PostToCreate.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/WPSwiftTests/Resources/PostToUpdate.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/WPSwiftTests/Resources/Posts.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/WPSwiftTests/Resources/SimplePost.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/WPSwiftTests/Resources/SimplePosts.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "APITests/APIClientTests.swift",
        "APITests/AnyCodableTests.swift",
        "Mocks/APIInfo+Mock.swift",
        "Mocks/AnyCodable+Mock.swift",
        "Mocks/Author+Mock.swift",
        "Mocks/EmbeddedContent+Mock.swift",
        "Mocks/FeaturedMedia+Mock.swift",
        "Mocks/MockError.swift",
        "Mocks/MockedURLProtocol.swift",
        "Mocks/Post+Mock.swift",
        "Mocks/PostCategory+Mock.swift",
        "Mocks/SimplePost+Mock.swift",
        "RepositoryTests/APIInfoRepositoryTests.swift",
        "RepositoryTests/CategoriessRepositoryTests.swift",
        "RepositoryTests/PostsRepositoryTests.swift",
        "WPSwiftSetupTests.swift"
      ],
      "target_dependencies" : [
        "WPSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WPSwift",
      "module_type" : "SwiftTarget",
      "name" : "WPSwift",
      "path" : "Sources/WPSwift",
      "product_dependencies" : [
        "Resting"
      ],
      "product_memberships" : [
        "WPSwift"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/Resources/en.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "en"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/Resources/tr.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "tr"
            }
          }
        }
      ],
      "sources" : [
        "API/WPClient.swift",
        "API/WPClientConfiguration.swift",
        "API/WPEndpoint.swift",
        "Extensions/RestClient+Configuration.swift",
        "Extensions/URL+Configuration.swift",
        "Helpers/DateFormatter+Default.swift",
        "Helpers/JSONDecoder+Utils.swift",
        "Helpers/JSONEncoder+Utils.swift",
        "Helpers/String+DecodedHTML.swift",
        "Localization/Localizable.swift",
        "Models/APIInfo.swift",
        "Models/AnyCodable.swift",
        "Models/Author.swift",
        "Models/Category.swift",
        "Models/EmbeddedContent.swift",
        "Models/EmptyModel.swift",
        "Models/FeaturedMedia.swift",
        "Models/Params.swift",
        "Models/Post.swift",
        "Models/SimplePost.swift",
        "Repositories/APIInfoRepository.swift",
        "Repositories/CategoriesRepository.swift",
        "Repositories/PostsRepository.swift",
        "WPSwift.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LocalizationTests",
      "module_type" : "SwiftTarget",
      "name" : "LocalizationTests",
      "path" : "Tests/LocalizationTests",
      "sources" : [
        "LocalizationTests.swift"
      ],
      "target_dependencies" : [
        "WPSwift"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.8"
}
Done.