Build Information
Successful build of AirbnbSwift, reference master (a5f2dc
), with Swift 6.1 for macOS (SPM) on 14 Jun 2025 21:06:28 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/airbnb/swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/airbnb/swift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at a5f2dc3 Add table of contents link to Testing section
Cloned https://github.com/airbnb/swift.git
Revision (git rev-parse @):
a5f2dc382c3b4a444f269b69e7079954c99b69f4
SUCCESS checkout https://github.com/airbnb/swift.git at master
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (1.62s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.0.3 (2.27s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.0.3
Downloading binary artifact https://github.com/calda/SwiftFormat-nightly/releases/download/2025-06-13-b/SwiftFormat.artifactbundle.zip
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
[8259/45575992] Downloading https://github.com/calda/SwiftFormat-nightly/releases/download/2025-06-13-b/SwiftFormat.artifactbundle.zip
[69294/56610037] Downloading https://github.com/calda/SwiftFormat-nightly/releases/download/2025-06-13-b/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.58s)
Downloaded https://github.com/calda/SwiftFormat-nightly/releases/download/2025-06-13-b/SwiftFormat.artifactbundle.zip (3.05s)
========================================
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/airbnb/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.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/airbnb/swift.git
[1/4228] Fetching swift
Fetched https://github.com/airbnb/swift.git from cache (2.02s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.56s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (1.10s)
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.1
Creating working copy for https://github.com/airbnb/swift.git
Working copy of https://github.com/airbnb/swift.git resolved at master (a5f2dc3)
Fetching binary artifact https://github.com/calda/SwiftFormat-nightly/releases/download/2025-06-13-b/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 (1.14s)
Fetched https://github.com/calda/SwiftFormat-nightly/releases/download/2025-06-13-b/SwiftFormat.artifactbundle.zip from cache (1.89s)
Found 1 product dependencies
- swift-argument-parser
========================================
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
Building for debugging...
[1/20] Write sources
[3/20] Copying swiftlint.yml
[3/20] Write sources
[7/20] Write AirbnbSwiftFormatTool-tool-entitlement.plist
[9/20] Write AirbnbSwiftFormatTool-entitlement.plist
[10/20] Copying airbnb.swiftformat
[11/20] Copying swiftlint.yml
[13/20] Write swift-version-2F0A5646E1D333AE.txt
[15/24] Compiling ArgumentParserToolInfo ToolInfo.swift
[16/24] Emitting module ArgumentParserToolInfo
[18/24] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/94] Compiling ArgumentParser Parsed.swift
[20/94] Compiling ArgumentParser ParsedValues.swift
[21/94] Compiling ArgumentParser ParserError.swift
[22/94] Compiling ArgumentParser SplitArguments.swift
[23/97] Emitting module ArgumentParser
[25/100] Compiling ArgumentParser CommandConfiguration.swift
[26/100] Compiling ArgumentParser EnumerableFlag.swift
[27/100] Compiling ArgumentParser ExpressibleByArgument.swift
[28/100] Compiling ArgumentParser ParsableArguments.swift
[29/100] Compiling ArgumentParser SequenceExtensions.swift
[30/100] Compiling ArgumentParser StringExtensions.swift
[31/100] Compiling ArgumentParser Tree.swift
[32/100] Compiling ArgumentParser Argument.swift
[33/100] Compiling ArgumentParser ArgumentHelp.swift
[34/100] Compiling ArgumentParser CompletionKind.swift
[35/100] Compiling ArgumentParser Errors.swift
[36/100] Compiling ArgumentParser ZshCompletionsGenerator.swift
[37/100] Compiling ArgumentParser ArgumentSet.swift
[38/100] Compiling ArgumentParser CommandParser.swift
[39/100] Compiling ArgumentParser InputOrigin.swift
[40/100] Compiling ArgumentParser ParsableArgumentsValidation.swift
[41/100] Compiling ArgumentParser ParsableCommand.swift
[42/100] Compiling ArgumentParser ArgumentDecoder.swift
[43/100] Compiling ArgumentParser ArgumentDefinition.swift
[55/100] Compiling ArgumentParser MessageInfo.swift
[56/100] Compiling ArgumentParser UsageGenerator.swift
[57/100] Compiling ArgumentParser CollectionExtensions.swift
[58/100] Compiling ArgumentParser Flag.swift
[59/100] Compiling ArgumentParser NameSpecification.swift
[60/100] Compiling ArgumentParser Option.swift
[61/100] Compiling ArgumentParser BashCompletionsGenerator.swift
[62/100] Compiling ArgumentParser OptionGroup.swift
[63/100] Compiling ArgumentParser CompletionsGenerator.swift
[64/100] Compiling ArgumentParser FishCompletionsGenerator.swift
[68/100] Compiling ArgumentParser Name.swift
[77/100] Compiling ArgumentParser DumpHelpGenerator.swift
[78/100] Compiling ArgumentParser HelpCommand.swift
[79/100] Compiling ArgumentParser HelpGenerator.swift
[95/108] Compiling AirbnbSwiftFormatTool resource_bundle_accessor.swift
[96/108] 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
[97/108] Compiling AirbnbSwiftFormatTool resource_bundle_accessor.swift
[98/108] 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
[99/108] 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
[100/108] 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
[101/108] Compiling AirbnbSwiftFormatTool AirbnbSwiftFormatTool.swift
[102/108] Write Objects.LinkFileList
[104/108] Linking AirbnbSwiftFormatTool-tool
[105/108] Linking AirbnbSwiftFormatTool
[106/108] Applying AirbnbSwiftFormatTool-tool
[107/108] Applying AirbnbSwiftFormatTool
Build complete! (8.41s)
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.