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 AirbnbSwift, reference 1.0.8 (c7e833), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 06:43:00 UTC.

Swift 6 data race errors: 2

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.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/airbnb/swift.git
Reference: 1.0.8
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/airbnb/swift
 * tag               1.0.8      -> FETCH_HEAD
HEAD is now at c7e833f Update to SwiftFormat 0.56-beta-4 (#296)
Cloned https://github.com/airbnb/swift.git
Revision (git rev-parse @):
c7e833face3f893b8defde66eecb66f24b55ca35
SUCCESS checkout https://github.com/airbnb/swift.git at 1.0.8
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/airbnb/swift.git
https://github.com/airbnb/swift.git
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "AirbnbSwift",
  "name" : "AirbnbSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "FormatSwift",
      "targets" : [
        "FormatSwift"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "AirbnbSwiftFormatTool",
      "targets" : [
        "AirbnbSwiftFormatTool"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swiftformat",
      "module_type" : "BinaryTarget",
      "name" : "swiftformat",
      "path" : "remote/archive/SwiftFormat.artifactbundle.zip",
      "product_memberships" : [
        "FormatSwift"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "SwiftLintBinary",
      "module_type" : "BinaryTarget",
      "name" : "SwiftLintBinary",
      "path" : "remote/archive/SwiftLintBinary-macos.artifactbundle.zip",
      "product_memberships" : [
        "FormatSwift"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "FormatSwift",
      "module_type" : "PluginTarget",
      "name" : "FormatSwift",
      "path" : "Plugins/FormatSwift",
      "plugin_capability" : {
        "intent" : {
          "description" : "Formats Swift source files according to the Airbnb Swift Style Guide",
          "type" : "custom",
          "verb" : "format"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "Format Swift source files",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "FormatSwift"
      ],
      "sources" : [
        "CommandContext.swift",
        "Plugin.swift"
      ],
      "target_dependencies" : [
        "AirbnbSwiftFormatTool",
        "swiftformat",
        "SwiftLintBinary"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "AirbnbSwiftFormatToolTests",
      "module_type" : "SwiftTarget",
      "name" : "AirbnbSwiftFormatToolTests",
      "path" : "Tests/AirbnbSwiftFormatToolTests",
      "sources" : [
        "AirbnbSwiftFormatToolTests.swift"
      ],
      "target_dependencies" : [
        "AirbnbSwiftFormatTool"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AirbnbSwiftFormatTool",
      "module_type" : "SwiftTarget",
      "name" : "AirbnbSwiftFormatTool",
      "path" : "Sources/AirbnbSwiftFormatTool",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "FormatSwift",
        "AirbnbSwiftFormatTool"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/AirbnbSwiftFormatTool/airbnb.swiftformat",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/AirbnbSwiftFormatTool/swiftlint.yml",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AirbnbSwiftFormatTool.swift",
        "Command.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.6"
}
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
[1/1] Compiling plugin FormatSwift
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/21] Write sources
[6/21] Copying swiftlint.yml
[6/21] Write sources
[6/21] Copying airbnb.swiftformat
[7/21] Copying swiftlint.yml
[8/21] Write sources
[12/21] Write AirbnbSwiftFormatTool-entitlement.plist
[13/21] Write AirbnbSwiftFormatTool-tool-entitlement.plist
[14/21] Write swift-version-2F0A5646E1D333AE.txt
[16/25] Compiling ArgumentParserToolInfo ToolInfo.swift
[17/25] Emitting module ArgumentParserToolInfo
[18/25] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/25] Emitting module ArgumentParserToolInfo
[20/103] Compiling ArgumentParser CommandConfiguration.swift
[21/103] Compiling ArgumentParser CommandGroup.swift
[22/103] Compiling ArgumentParser EnumerableFlag.swift
[23/103] Compiling ArgumentParser ExpressibleByArgument.swift
[24/107] Emitting module ArgumentParser
[26/111] Compiling ArgumentParser BashCompletionsGenerator.swift
[27/111] Compiling ArgumentParser CompletionsGenerator.swift
[28/111] Compiling ArgumentParser FishCompletionsGenerator.swift
[29/111] Compiling ArgumentParser ZshCompletionsGenerator.swift
[30/111] Compiling ArgumentParser Argument.swift
[31/111] Compiling ArgumentParser ArgumentHelp.swift
[32/111] Compiling ArgumentParser ArgumentVisibility.swift
[33/111] Compiling ArgumentParser CompletionKind.swift
[34/111] Compiling ArgumentParser Errors.swift
[35/111] Compiling ArgumentParser Flag.swift
[41/111] Compiling ArgumentParser ArgumentDefinition.swift
[42/111] Compiling ArgumentParser ArgumentSet.swift
[43/111] Compiling ArgumentParser CommandParser.swift
[44/111] Compiling ArgumentParser InputKey.swift
[49/111] Compiling ArgumentParser HelpGenerator.swift
[50/111] Compiling ArgumentParser MessageInfo.swift
[51/111] Compiling ArgumentParser UsageGenerator.swift
[52/111] Compiling ArgumentParser CollectionExtensions.swift
[53/111] Compiling ArgumentParser Platform.swift
[55/111] Compiling ArgumentParser SequenceExtensions.swift
[57/111] Compiling ArgumentParser StringExtensions.swift
[59/111] Compiling ArgumentParser Tree.swift
[61/111] Compiling ArgumentParser HelpGenerator.swift
[62/111] Compiling ArgumentParser MessageInfo.swift
[63/111] Compiling ArgumentParser UsageGenerator.swift
[64/111] Compiling ArgumentParser CollectionExtensions.swift
[65/111] Compiling ArgumentParser CommandConfiguration.swift
[66/111] Compiling ArgumentParser CommandGroup.swift
[67/111] Compiling ArgumentParser EnumerableFlag.swift
[68/111] Compiling ArgumentParser ExpressibleByArgument.swift
[69/111] Compiling ArgumentParser InputOrigin.swift
[70/111] Compiling ArgumentParser Name.swift
[71/111] Compiling ArgumentParser Parsed.swift
[72/111] Compiling ArgumentParser ParsedValues.swift
[73/111] Compiling ArgumentParser ParsableArguments.swift
[74/111] Compiling ArgumentParser ParsableArgumentsValidation.swift
[75/111] Compiling ArgumentParser ParsableCommand.swift
[76/111] Compiling ArgumentParser ArgumentDecoder.swift
[106/119] Emitting module AirbnbSwiftFormatTool
/Users/admin/builder/spi-builder-workspace/Sources/AirbnbSwiftFormatTool/Command.swift:12:14: warning: static property 'runCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 |   /// This property can be overridden to provide a mock implementation in unit tests.
12 |   static var runCommand: (Command) throws -> Int32 = { try $0.executeShellCommand() }
   |              |- warning: static property 'runCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'runCommand' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: add '@MainActor' to make static property 'runCommand' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |   let log: Bool
[107/119] Compiling AirbnbSwiftFormatTool Command.swift
/Users/admin/builder/spi-builder-workspace/Sources/AirbnbSwiftFormatTool/Command.swift:12:14: warning: static property 'runCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 |   /// This property can be overridden to provide a mock implementation in unit tests.
12 |   static var runCommand: (Command) throws -> Int32 = { try $0.executeShellCommand() }
   |              |- warning: static property 'runCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'runCommand' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: add '@MainActor' to make static property 'runCommand' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |   let log: Bool
[108/119] Compiling AirbnbSwiftFormatTool resource_bundle_accessor.swift
[109/119] Compiling AirbnbSwiftFormatTool Command.swift
/Users/admin/builder/spi-builder-workspace/Sources/AirbnbSwiftFormatTool/Command.swift:12:14: warning: static property 'runCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 |   /// This property can be overridden to provide a mock implementation in unit tests.
12 |   static var runCommand: (Command) throws -> Int32 = { try $0.executeShellCommand() }
   |              |- warning: static property 'runCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'runCommand' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: add '@MainActor' to make static property 'runCommand' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |   let log: Bool
[110/119] Compiling AirbnbSwiftFormatTool resource_bundle_accessor.swift
[111/119] Compiling AirbnbSwiftFormatTool AirbnbSwiftFormatTool.swift
[112/119] Emitting module AirbnbSwiftFormatTool
/Users/admin/builder/spi-builder-workspace/Sources/AirbnbSwiftFormatTool/Command.swift:12:14: warning: static property 'runCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 |   /// This property can be overridden to provide a mock implementation in unit tests.
12 |   static var runCommand: (Command) throws -> Int32 = { try $0.executeShellCommand() }
   |              |- warning: static property 'runCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'runCommand' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: add '@MainActor' to make static property 'runCommand' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |   let log: Bool
[113/119] Compiling AirbnbSwiftFormatTool AirbnbSwiftFormatTool.swift
[113/119] Write Objects.LinkFileList
[115/119] Linking AirbnbSwiftFormatTool
[116/119] Linking AirbnbSwiftFormatTool-tool
[117/119] Applying AirbnbSwiftFormatTool
[118/119] Applying AirbnbSwiftFormatTool-tool
Build complete! (14.88s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (1.31s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (1.85s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
Downloading binary artifact https://github.com/calda/SwiftFormat/releases/download/0.56-beta-4/SwiftFormat.artifactbundle.zip
[16375/11034045] Downloading https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
[11066804/56322403] Downloading https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip, https://github.com/calda/SwiftFormat/releases/download/0.56-beta-4/SwiftFormat.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip (1.47s)
[42204963/45288358] Downloading https://github.com/calda/SwiftFormat/releases/download/0.56-beta-4/SwiftFormat.artifactbundle.zip
Downloaded https://github.com/calda/SwiftFormat/releases/download/0.56-beta-4/SwiftFormat.artifactbundle.zip (3.36s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "AirbnbSwift",
  "name" : "AirbnbSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "FormatSwift",
      "targets" : [
        "FormatSwift"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "AirbnbSwiftFormatTool",
      "targets" : [
        "AirbnbSwiftFormatTool"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swiftformat",
      "module_type" : "BinaryTarget",
      "name" : "swiftformat",
      "path" : "remote/archive/SwiftFormat.artifactbundle.zip",
      "product_memberships" : [
        "FormatSwift"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "SwiftLintBinary",
      "module_type" : "BinaryTarget",
      "name" : "SwiftLintBinary",
      "path" : "remote/archive/SwiftLintBinary-macos.artifactbundle.zip",
      "product_memberships" : [
        "FormatSwift"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "FormatSwift",
      "module_type" : "PluginTarget",
      "name" : "FormatSwift",
      "path" : "Plugins/FormatSwift",
      "plugin_capability" : {
        "intent" : {
          "description" : "Formats Swift source files according to the Airbnb Swift Style Guide",
          "type" : "custom",
          "verb" : "format"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "Format Swift source files",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "FormatSwift"
      ],
      "sources" : [
        "CommandContext.swift",
        "Plugin.swift"
      ],
      "target_dependencies" : [
        "AirbnbSwiftFormatTool",
        "swiftformat",
        "SwiftLintBinary"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "AirbnbSwiftFormatToolTests",
      "module_type" : "SwiftTarget",
      "name" : "AirbnbSwiftFormatToolTests",
      "path" : "Tests/AirbnbSwiftFormatToolTests",
      "sources" : [
        "AirbnbSwiftFormatToolTests.swift"
      ],
      "target_dependencies" : [
        "AirbnbSwiftFormatTool"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AirbnbSwiftFormatTool",
      "module_type" : "SwiftTarget",
      "name" : "AirbnbSwiftFormatTool",
      "path" : "Sources/AirbnbSwiftFormatTool",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "FormatSwift",
        "AirbnbSwiftFormatTool"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/AirbnbSwiftFormatTool/airbnb.swiftformat",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/AirbnbSwiftFormatTool/swiftlint.yml",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AirbnbSwiftFormatTool.swift",
        "Command.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.6"
}
Done.