Build Information
Successful build of AirbnbSwift, reference master (ea5b44
), with Swift 6.1 for macOS (SPM) on 2 May 2025 01:38:36 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.3
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 ea5b449 Remove unusedPrivateDeclarations rule (#304)
Cloned https://github.com/airbnb/swift.git
Revision (git rev-parse @):
ea5b4491624882b35f9bb6352b35e57217f48136
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 (0.69s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.0.3 (1.34s)
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/releases/download/0.56-beta-9/SwiftFormat.artifactbundle.zip
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
[16375/11034045] Downloading https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
[11066795/56437733] 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-9/SwiftFormat.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip (1.49s)
Downloaded https://github.com/calda/SwiftFormat/releases/download/0.56-beta-9/SwiftFormat.artifactbundle.zip (2.99s)
========================================
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.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/airbnb/swift.git
[1/4083] Fetching swift
Fetched https://github.com/airbnb/swift.git from cache (2.42s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.54s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (1.09s)
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
Creating working copy for https://github.com/airbnb/swift.git
Working copy of https://github.com/airbnb/swift.git resolved at master (ea5b449)
Fetching binary artifact https://github.com/calda/SwiftFormat/releases/download/0.56-beta-9/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.15s)
Fetched https://github.com/calda/SwiftFormat/releases/download/0.56-beta-9/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
[5/20] Copying swiftlint.yml
[7/20] Write sources
[9/20] Copying airbnb.swiftformat
[11/20] Write AirbnbSwiftFormatTool-tool-entitlement.plist
[11/20] Write AirbnbSwiftFormatTool-entitlement.plist
[13/20] Write swift-version-2F0A5646E1D333AE.txt
[15/24] Compiling ArgumentParserToolInfo ToolInfo.swift
[16/24] Emitting module ArgumentParserToolInfo
[17/24] Compiling ArgumentParserToolInfo ToolInfo.swift
[18/24] Emitting module ArgumentParserToolInfo
[19/94] Emitting module ArgumentParser
[21/100] Compiling ArgumentParser Parsed.swift
[22/100] Compiling ArgumentParser ParsedValues.swift
[23/100] Compiling ArgumentParser ParserError.swift
[24/100] Compiling ArgumentParser SplitArguments.swift
[25/100] Compiling ArgumentParser SequenceExtensions.swift
[26/100] Compiling ArgumentParser StringExtensions.swift
[27/100] Compiling ArgumentParser Tree.swift
[28/100] Compiling ArgumentParser Argument.swift
[29/100] Compiling ArgumentParser ArgumentHelp.swift
[30/100] Compiling ArgumentParser CompletionKind.swift
[31/100] Compiling ArgumentParser Errors.swift
[36/100] Compiling ArgumentParser Flag.swift
[37/100] Compiling ArgumentParser NameSpecification.swift
[38/100] Compiling ArgumentParser Option.swift
[39/100] Compiling ArgumentParser OptionGroup.swift
[40/100] Compiling ArgumentParser CommandConfiguration.swift
[41/100] Compiling ArgumentParser EnumerableFlag.swift
[42/100] Compiling ArgumentParser ExpressibleByArgument.swift
[43/100] Compiling ArgumentParser ParsableArguments.swift
[52/100] Compiling ArgumentParser BashCompletionsGenerator.swift
[53/100] Compiling ArgumentParser CompletionsGenerator.swift
[54/100] Compiling ArgumentParser FishCompletionsGenerator.swift
[55/100] Compiling ArgumentParser ZshCompletionsGenerator.swift
[63/100] Compiling ArgumentParser ParsableArgumentsValidation.swift
[64/100] Compiling ArgumentParser ParsableCommand.swift
[65/100] Compiling ArgumentParser ArgumentDecoder.swift
[66/100] Compiling ArgumentParser ArgumentDefinition.swift
[67/100] Compiling ArgumentParser CollectionExtensions.swift
[68/100] Compiling ArgumentParser ArgumentSet.swift
[69/100] Compiling ArgumentParser CommandParser.swift
[70/100] Compiling ArgumentParser InputOrigin.swift
[71/100] Compiling ArgumentParser Name.swift
[72/100] Compiling ArgumentParser DumpHelpGenerator.swift
[73/100] Compiling ArgumentParser HelpCommand.swift
[74/100] Compiling ArgumentParser HelpGenerator.swift
[80/100] Compiling ArgumentParser MessageInfo.swift
[81/100] Compiling ArgumentParser UsageGenerator.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] 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
[98/108] Compiling AirbnbSwiftFormatTool AirbnbSwiftFormatTool.swift
[99/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] Write Objects.LinkFileList
[101/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
[102/108] Compiling AirbnbSwiftFormatTool AirbnbSwiftFormatTool.swift
[103/108] Compiling AirbnbSwiftFormatTool resource_bundle_accessor.swift
[103/108] Write Objects.LinkFileList
[104/108] Linking AirbnbSwiftFormatTool
[105/108] Applying AirbnbSwiftFormatTool
[106/108] Linking AirbnbSwiftFormatTool-tool
[107/108] Applying AirbnbSwiftFormatTool-tool
Build complete! (8.86s)
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.