The Swift Package Index logo.Swift Package Index

Build Information

Successful build of AirbnbSwift, reference 1.2.0 (6c09dd), with Swift 6.1 for macOS (SPM) on 20 Dec 2025 17:01:44 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/airbnb/swift.git
Reference: 1.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/airbnb/swift
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at 6c09dd5 Add rule to always wrap function and property bodies onto multiple lines (#352)
Cloned https://github.com/airbnb/swift.git
Revision (git rev-parse @):
6c09dd57c2254b14bb48c15e209ed6e93058104f
SUCCESS checkout https://github.com/airbnb/swift.git at 1.2.0
========================================
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
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/22] Write sources
[6/22] Copying swiftlint.yml
[8/22] Copying airbnb.swiftformat
[9/22] Write AirbnbSwiftFormatTool-tool-entitlement.plist
[9/22] Write sources
[12/22] Copying swiftlint.yml
[12/22] Copying airbnb.swiftformat
[13/22] Write AirbnbSwiftFormatTool-entitlement.plist
[15/22] Write swift-version-2F0A5646E1D333AE.txt
[17/26] Compiling ArgumentParserToolInfo ToolInfo.swift
[18/26] Emitting module ArgumentParserToolInfo
[20/26] Compiling ArgumentParserToolInfo ToolInfo.swift
[21/120] Emitting module ArgumentParser
[22/125] Compiling ArgumentParser ArgumentHelp.swift
[23/125] Compiling ArgumentParser ArgumentVisibility.swift
[24/125] Compiling ArgumentParser CompletionKind.swift
[25/125] Compiling ArgumentParser Errors.swift
[26/125] Compiling ArgumentParser Flag.swift
[27/125] Compiling ArgumentParser ArgumentHelp.swift
[28/125] Compiling ArgumentParser ArgumentVisibility.swift
[29/125] Compiling ArgumentParser CompletionKind.swift
[30/125] Compiling ArgumentParser Errors.swift
[31/125] Compiling ArgumentParser Flag.swift
[32/125] Compiling ArgumentParser CodingKeyValidator.swift
[33/125] Compiling ArgumentParser NonsenseFlagsValidator.swift
[34/125] Compiling ArgumentParser ParsableArgumentsValidation.swift
[35/125] Compiling ArgumentParser PositionalArgumentsValidator.swift
[36/125] Compiling ArgumentParser UniqueNamesValidator.swift
[37/125] Compiling ArgumentParser CommandConfiguration.swift
[38/125] Compiling ArgumentParser CommandGroup.swift
[39/125] Compiling ArgumentParser EnumerableFlag.swift
[40/125] Compiling ArgumentParser ExpressibleByArgument.swift
[41/125] Compiling ArgumentParser ParsableArguments.swift
[42/125] Compiling ArgumentParser Platform.swift
[43/125] Compiling ArgumentParser SequenceExtensions.swift
[44/125] Compiling ArgumentParser StringExtensions.swift
[45/125] Compiling ArgumentParser SwiftExtensions.swift
[46/125] Compiling ArgumentParser Tree.swift
[47/125] Compiling ArgumentParser ParserError.swift
[48/125] Compiling ArgumentParser SplitArguments.swift
[49/125] Compiling ArgumentParser DumpHelpGenerator.swift
[50/125] Compiling ArgumentParser HelpCommand.swift
[51/125] Compiling ArgumentParser HelpGenerator.swift
[52/125] Compiling ArgumentParser MessageInfo.swift
[53/125] Compiling ArgumentParser UsageGenerator.swift
[54/125] Compiling ArgumentParser CollectionExtensions.swift
[55/125] Compiling ArgumentParser Foundation.swift
[56/125] Compiling ArgumentParser Mutex.swift
[67/130] Compiling ArgumentParser ParsableCommand.swift
[68/130] Compiling ArgumentParser ArgumentDecoder.swift
[69/130] Compiling ArgumentParser ArgumentDefinition.swift
[70/130] Compiling ArgumentParser ArgumentSet.swift
[71/130] Compiling ArgumentParser CommandParser.swift
[72/130] Emitting module ArgumentParser
[73/130] Compiling ArgumentParser InputOrigin.swift
[74/130] Compiling ArgumentParser Name.swift
[75/130] Compiling ArgumentParser Parsed.swift
[76/130] Compiling ArgumentParser ParsedValues.swift
[77/130] Compiling ArgumentParser BashCompletionsGenerator.swift
[78/130] Compiling ArgumentParser CompletionsGenerator.swift
[79/130] Compiling ArgumentParser FishCompletionsGenerator.swift
[80/130] Compiling ArgumentParser ZshCompletionsGenerator.swift
[81/130] Compiling ArgumentParser Argument.swift
[82/130] Compiling ArgumentParser ArgumentDiscussion.swift
[83/130] Compiling ArgumentParser CodingKeyValidator.swift
[84/130] Compiling ArgumentParser NonsenseFlagsValidator.swift
[85/130] Compiling ArgumentParser ParsableArgumentsValidation.swift
[86/130] Compiling ArgumentParser PositionalArgumentsValidator.swift
[87/130] Compiling ArgumentParser UniqueNamesValidator.swift
[93/130] Compiling ArgumentParser InputKey.swift
[125/138] Compiling AirbnbSwiftFormatTool resource_bundle_accessor.swift
[127/138] 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
[128/138] 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
[129/138] 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
[130/138] 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
[131/138] Compiling AirbnbSwiftFormatTool AirbnbSwiftFormatTool.swift
[132/138] Write Objects.LinkFileList
[134/138] Linking AirbnbSwiftFormatTool
[135/138] Linking AirbnbSwiftFormatTool-tool
[136/138] Applying AirbnbSwiftFormatTool
[137/138] Applying AirbnbSwiftFormatTool-tool
Build complete! (14.38s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (1.25s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.0 (1.83s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.0
Downloading binary artifact https://github.com/calda/SwiftFormat-nightly/releases/download/2025-12-20/SwiftFormat.artifactbundle.zip
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
[16375/46271351] Downloading https://github.com/calda/SwiftFormat-nightly/releases/download/2025-12-20/SwiftFormat.artifactbundle.zip
[11253767/57305396] Downloading https://github.com/calda/SwiftFormat-nightly/releases/download/2025-12-20/SwiftFormat.artifactbundle.zip, https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip (1.08s)
Downloaded https://github.com/calda/SwiftFormat-nightly/releases/download/2025-12-20/SwiftFormat.artifactbundle.zip (2.54s)
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.