Build Information
Successful build of AirbnbSwift, reference release/1.4.0 (9cb218
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 15:10:20 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/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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
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.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
[4/21] Copying swiftlint.yml
[4/21] Write sources
[7/21] Copying airbnb.swiftformat
[8/21] Write AirbnbSwiftFormatTool-tool-entitlement.plist
[11/21] Write AirbnbSwiftFormatTool-entitlement.plist
[13/21] Copying swiftlint.yml
[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 NameSpecification.swift
[21/103] Compiling ArgumentParser Option.swift
[22/103] Compiling ArgumentParser OptionGroup.swift
[23/103] Compiling ArgumentParser AsyncParsableCommand.swift
[24/107] Compiling ArgumentParser InputOrigin.swift
[25/107] Compiling ArgumentParser Name.swift
[26/107] Compiling ArgumentParser Parsed.swift
[27/107] Compiling ArgumentParser ParsedValues.swift
[28/107] Compiling ArgumentParser CommandConfiguration.swift
[29/107] Compiling ArgumentParser CommandGroup.swift
[30/107] Compiling ArgumentParser EnumerableFlag.swift
[31/107] Compiling ArgumentParser ExpressibleByArgument.swift
[32/107] Compiling ArgumentParser BashCompletionsGenerator.swift
[33/107] Compiling ArgumentParser CompletionsGenerator.swift
[34/107] Compiling ArgumentParser FishCompletionsGenerator.swift
[35/107] Compiling ArgumentParser ZshCompletionsGenerator.swift
[36/107] Compiling ArgumentParser Argument.swift
[42/107] Emitting module ArgumentParser
[43/111] Compiling ArgumentParser ArgumentHelp.swift
[44/111] Compiling ArgumentParser ArgumentVisibility.swift
[45/111] Compiling ArgumentParser CompletionKind.swift
[46/111] Compiling ArgumentParser Errors.swift
[47/111] Compiling ArgumentParser Flag.swift
[48/111] Compiling ArgumentParser ArgumentDefinition.swift
[49/111] Compiling ArgumentParser ArgumentSet.swift
[50/111] Compiling ArgumentParser CommandParser.swift
[51/111] Compiling ArgumentParser InputKey.swift
[52/111] Emitting module ArgumentParser
[57/111] Compiling ArgumentParser ParsableArguments.swift
[58/111] Compiling ArgumentParser ParsableArgumentsValidation.swift
[59/111] Compiling ArgumentParser ParsableCommand.swift
[60/111] Compiling ArgumentParser ArgumentDecoder.swift
[66/111] Compiling ArgumentParser ParserError.swift
[67/111] Compiling ArgumentParser SplitArguments.swift
[68/111] Compiling ArgumentParser DumpHelpGenerator.swift
[69/111] Compiling ArgumentParser HelpCommand.swift
[70/111] Compiling ArgumentParser Platform.swift
[71/111] Compiling ArgumentParser SequenceExtensions.swift
[72/111] Compiling ArgumentParser StringExtensions.swift
[73/111] Compiling ArgumentParser Tree.swift
[78/111] Compiling ArgumentParser HelpGenerator.swift
[79/111] Compiling ArgumentParser MessageInfo.swift
[80/111] Compiling ArgumentParser UsageGenerator.swift
[81/111] Compiling ArgumentParser CollectionExtensions.swift
[106/119] Compiling AirbnbSwiftFormatTool resource_bundle_accessor.swift
[107/119] Compiling AirbnbSwiftFormatTool AirbnbSwiftFormatTool.swift
[108/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
[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
[109/119] Write Objects.LinkFileList
[111/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
[112/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
[113/119] Compiling AirbnbSwiftFormatTool resource_bundle_accessor.swift
[114/119] Compiling AirbnbSwiftFormatTool AirbnbSwiftFormatTool.swift
[114/119] Write Objects.LinkFileList
[115/119] Linking AirbnbSwiftFormatTool-tool
[116/119] Linking AirbnbSwiftFormatTool
[117/119] Applying AirbnbSwiftFormatTool-tool
[118/119] Applying AirbnbSwiftFormatTool
Build complete! (12.97s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.72s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (1.25s)
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/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip
[8948/11034045] Downloading https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
[10518510/39231213] Downloading https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip, https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip (1.69s)
Downloaded https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip (2.57s)
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.