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 master (757297), with Swift 6.1 for Linux on 25 Apr 2025 09:12:38 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/asensei/AnyCodable.git
Reference: master
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/asensei/AnyCodable
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 757297a Update README.md
Cloned https://github.com/asensei/AnyCodable.git
Revision (git rev-parse @):
757297ab1eea8d6b494a500f065dd10b71a34dfd
SUCCESS checkout https://github.com/asensei/AnyCodable.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/asensei/AnyCodable.git
https://github.com/asensei/AnyCodable.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AnyCodable",
  "name" : "AnyCodable",
  "path" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/6] Compiling AnyCodable KeyedEncodingContainerProtocol+AnyCodable.swift
/host/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
/host/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 {
/host/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] Compiling AnyCodable KeyedContainerProtocol+EvaluatingNil.swift
/host/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) {
[6/6] Emitting module AnyCodable
/host/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 {
/host/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 |     }
/host/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) {
/host/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 {
Build complete! (6.81s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AnyCodable",
  "name" : "AnyCodable",
  "path" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.