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 AnyCodable, reference 1.2.0 (fe013c), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 08:58:07 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.2-13-gb0b1f23
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/asensei/AnyCodable.git
Reference: 1.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/asensei/AnyCodable
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at fe013cd bump podspec 1.2.0
Cloned https://github.com/asensei/AnyCodable.git
Revision (git rev-parse @):
fe013cd7393768e6ed993e907ae4a2c751f742cb
SUCCESS checkout https://github.com/asensei/AnyCodable.git at 1.2.0
========================================
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": "anycodable",
      "name": "AnyCodable",
      "url": "https://github.com/asensei/AnyCodable.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AnyCodable",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/asensei/AnyCodable.git
[3/212] Fetching anycodable
Fetched https://github.com/asensei/AnyCodable.git from cache (0.62s)
Creating working copy for https://github.com/asensei/AnyCodable.git
Working copy of https://github.com/asensei/AnyCodable.git resolved at 1.2.0 (fe013cd)
warning: '.resolve-product-dependencies': dependency 'anycodable' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/asensei/AnyCodable.git
https://github.com/asensei/AnyCodable.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AnyCodable",
  "name" : "AnyCodable",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "AnyCodable",
      "targets" : [
        "AnyCodable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AnyCodableTests",
      "module_type" : "SwiftTarget",
      "name" : "AnyCodableTests",
      "path" : "Tests/AnyCodableTests",
      "sources" : [
        "AnyCodableTests.swift",
        "KeyedContainerProtocol+EvaluatingNilTests.swift",
        "KeyedEncodingContainerProtocol+AnyCodableTests.swift"
      ],
      "target_dependencies" : [
        "AnyCodable"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AnyCodable",
      "module_type" : "SwiftTarget",
      "name" : "AnyCodable",
      "path" : "Sources/AnyCodable",
      "product_memberships" : [
        "AnyCodable"
      ],
      "sources" : [
        "AnyCodable.swift",
        "KeyedContainerProtocol+EvaluatingNil.swift",
        "KeyedEncodingContainerProtocol+AnyCodable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/6] Compiling AnyCodable KeyedEncodingContainerProtocol+AnyCodable.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnyCodable/KeyedEncodingContainerProtocol+AnyCodable.swift:13:5: warning: 'public' modifier is redundant for instance method declared in a public extension
11 | public extension KeyedEncodingContainerProtocol {
12 |
13 |     public mutating func encodeIfPresent(_ value: AnyCodable?, forKey key: Self.Key) throws {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
14 |
15 |         guard let someValue = value, someValue.value != nil else {
[4/6] Compiling AnyCodable AnyCodable.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnyCodable/AnyCodable.swift:26:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 24 | public extension AnyCodable {
 25 |
 26 |     public func assertValue<T>(_ type: T.Type) throws -> T {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 27 |
 28 |         switch type {
/Users/admin/builder/spi-builder-workspace/Sources/AnyCodable/AnyCodable.swift:43:5: warning: 'public' modifier is redundant for enum declared in a public extension
 41 | public extension AnyCodable {
 42 |
 43 |     public enum Error: Swift.Error {
    |     `- warning: 'public' modifier is redundant for enum declared in a public extension
 44 |         case typeMismatch(Any.Type)
 45 |     }
[5/6] Emitting module AnyCodable
/Users/admin/builder/spi-builder-workspace/Sources/AnyCodable/AnyCodable.swift:26:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 24 | public extension AnyCodable {
 25 |
 26 |     public func assertValue<T>(_ type: T.Type) throws -> T {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 27 |
 28 |         switch type {
/Users/admin/builder/spi-builder-workspace/Sources/AnyCodable/AnyCodable.swift:43:5: warning: 'public' modifier is redundant for enum declared in a public extension
 41 | public extension AnyCodable {
 42 |
 43 |     public enum Error: Swift.Error {
    |     `- warning: 'public' modifier is redundant for enum declared in a public extension
 44 |         case typeMismatch(Any.Type)
 45 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnyCodable/KeyedContainerProtocol+EvaluatingNil.swift:20:5: warning: 'public' modifier is redundant for instance method declared in a public extension
18 |      - `.some(nil)`: represents `null`.
19 |      */
20 |     public func decodeIfPresentEvaluatingNil<T>(_ type: T.Type, forKey key: Self.Key) throws -> T?? where T: Decodable {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
21 |
22 |         switch try? self.decodeNil(forKey: key) {
/Users/admin/builder/spi-builder-workspace/Sources/AnyCodable/KeyedEncodingContainerProtocol+AnyCodable.swift:13:5: warning: 'public' modifier is redundant for instance method declared in a public extension
11 | public extension KeyedEncodingContainerProtocol {
12 |
13 |     public mutating func encodeIfPresent(_ value: AnyCodable?, forKey key: Self.Key) throws {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
14 |
15 |         guard let someValue = value, someValue.value != nil else {
[6/6] Compiling AnyCodable KeyedContainerProtocol+EvaluatingNil.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnyCodable/KeyedContainerProtocol+EvaluatingNil.swift:20:5: warning: 'public' modifier is redundant for instance method declared in a public extension
18 |      - `.some(nil)`: represents `null`.
19 |      */
20 |     public func decodeIfPresentEvaluatingNil<T>(_ type: T.Type, forKey key: Self.Key) throws -> T?? where T: Decodable {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
21 |
22 |         switch try? self.decodeNil(forKey: key) {
Build complete! (4.32s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AnyCodable",
  "name" : "AnyCodable",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "AnyCodable",
      "targets" : [
        "AnyCodable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AnyCodableTests",
      "module_type" : "SwiftTarget",
      "name" : "AnyCodableTests",
      "path" : "Tests/AnyCodableTests",
      "sources" : [
        "AnyCodableTests.swift",
        "KeyedContainerProtocol+EvaluatingNilTests.swift",
        "KeyedEncodingContainerProtocol+AnyCodableTests.swift"
      ],
      "target_dependencies" : [
        "AnyCodable"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AnyCodable",
      "module_type" : "SwiftTarget",
      "name" : "AnyCodable",
      "path" : "Sources/AnyCodable",
      "product_memberships" : [
        "AnyCodable"
      ],
      "sources" : [
        "AnyCodable.swift",
        "KeyedContainerProtocol+EvaluatingNil.swift",
        "KeyedEncodingContainerProtocol+AnyCodable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.