The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of AirbnbSwift, reference release/1.4.0 (9cb218), with Swift 6.0 for macOS (SPM) on 1 Apr 2025 20:03:18 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RakuyoKit/swift.git
Reference: release/1.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/RakuyoKit/swift
 * branch            release/1.4.0 -> FETCH_HEAD
 * [new branch]      release/1.4.0 -> origin/release/1.4.0
HEAD is now at 9cb218a Modify the rules
Cloned https://github.com/RakuyoKit/swift.git
Revision (git rev-parse @):
9cb218a1d07839748c798f6f0427f1ef70610840
SUCCESS checkout https://github.com/RakuyoKit/swift.git at release/1.4.0
Fetching https://github.com/apple/swift-argument-parser
[1/14793] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.39s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.41s)
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
[16375/28197168] Downloading https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip
[19403429/39231213] Downloading https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip, https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
Downloading binary artifact https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip
Downloading binary artifact 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.41s)
Downloaded https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip (2.22s)
========================================
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": "swift",
      "name": "AirbnbSwift",
      "url": "https://github.com/RakuyoKit/swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift",
      "dependencies": [
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser",
          "version": "1.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/RakuyoKit/swift.git
[1/2369] Fetching swift
Fetched https://github.com/RakuyoKit/swift.git from cache (0.95s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.58s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.03s)
Creating working copy for https://github.com/RakuyoKit/swift.git
Working copy of https://github.com/RakuyoKit/swift.git resolved at release/1.4.0 (9cb218a)
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
Fetching binary artifact https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip from cache
Fetching binary artifact https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip from cache
Fetched https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip from cache (0.74s)
Fetched https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip from cache (1.07s)
Found 1 product dependencies
  - swift-argument-parser
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/RakuyoKit/swift.git
https://github.com/RakuyoKit/swift.git
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "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.2.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/12] Write sources
[4/12] Write AirbnbSwiftFormatTool-entitlement.plist
[6/12] Copying airbnb.swiftformat
[7/12] Copying swiftlint.yml
[8/12] Write swift-version-5BDAB9E9C0126B9D.txt
[10/14] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/14] Emitting module ArgumentParserToolInfo
[12/53] Compiling ArgumentParser InputOrigin.swift
[13/53] Compiling ArgumentParser Name.swift
[14/53] Compiling ArgumentParser Parsed.swift
[15/53] Compiling ArgumentParser ParsedValues.swift
[16/57] Compiling ArgumentParser ArgumentHelp.swift
[17/57] Compiling ArgumentParser ArgumentVisibility.swift
[18/57] Compiling ArgumentParser CompletionKind.swift
[19/57] Compiling ArgumentParser Errors.swift
[20/57] Compiling ArgumentParser Flag.swift
[21/57] Compiling ArgumentParser BashCompletionsGenerator.swift
[22/57] Compiling ArgumentParser CompletionsGenerator.swift
[23/57] Compiling ArgumentParser FishCompletionsGenerator.swift
[24/57] Compiling ArgumentParser ZshCompletionsGenerator.swift
[25/57] Compiling ArgumentParser Argument.swift
[26/57] Emitting module ArgumentParser
[27/57] Compiling ArgumentParser CommandConfiguration.swift
[28/57] Compiling ArgumentParser CommandGroup.swift
[29/57] Compiling ArgumentParser EnumerableFlag.swift
[30/57] Compiling ArgumentParser ExpressibleByArgument.swift
[31/57] Compiling ArgumentParser Platform.swift
[32/57] Compiling ArgumentParser SequenceExtensions.swift
[33/57] Compiling ArgumentParser StringExtensions.swift
[34/57] Compiling ArgumentParser Tree.swift
[35/57] Compiling ArgumentParser ArgumentDefinition.swift
[36/57] Compiling ArgumentParser ArgumentSet.swift
[37/57] Compiling ArgumentParser CommandParser.swift
[38/57] Compiling ArgumentParser InputKey.swift
[39/57] Compiling ArgumentParser ParserError.swift
[40/57] Compiling ArgumentParser SplitArguments.swift
[41/57] Compiling ArgumentParser DumpHelpGenerator.swift
[42/57] Compiling ArgumentParser HelpCommand.swift
[43/57] Compiling ArgumentParser NameSpecification.swift
[44/57] Compiling ArgumentParser Option.swift
[45/57] Compiling ArgumentParser OptionGroup.swift
[46/57] Compiling ArgumentParser AsyncParsableCommand.swift
[47/57] Compiling ArgumentParser HelpGenerator.swift
[48/57] Compiling ArgumentParser MessageInfo.swift
[49/57] Compiling ArgumentParser UsageGenerator.swift
[50/57] Compiling ArgumentParser CollectionExtensions.swift
[51/57] Compiling ArgumentParser ParsableArguments.swift
[52/57] Compiling ArgumentParser ParsableArgumentsValidation.swift
[53/57] Compiling ArgumentParser ParsableCommand.swift
[54/57] Compiling ArgumentParser ArgumentDecoder.swift
[55/61] Compiling AirbnbSwiftFormatTool resource_bundle_accessor.swift
[56/61] 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: annotate 'runCommand' 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
13 |
14 |   let log: Bool
[57/61] Compiling AirbnbSwiftFormatTool AirbnbSwiftFormatTool.swift
[58/61] 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: annotate 'runCommand' 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
13 |
14 |   let log: Bool
[58/61] Write Objects.LinkFileList
[59/61] Linking AirbnbSwiftFormatTool
[60/61] Applying AirbnbSwiftFormatTool
Build complete! (12.25s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "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.