Build Information
Successful build of AirbnbSwift, reference 1.0.8 (c7e833
), with Swift 6.0 for macOS (SPM) on 4 Jan 2025 01:13:16 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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/airbnb/swift.git
Reference: 1.0.8
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/airbnb/swift
* tag 1.0.8 -> FETCH_HEAD
HEAD is now at c7e833f Update to SwiftFormat 0.56-beta-4 (#296)
Cloned https://github.com/airbnb/swift.git
Revision (git rev-parse @):
c7e833face3f893b8defde66eecb66f24b55ca35
SUCCESS checkout https://github.com/airbnb/swift.git at 1.0.8
Fetching https://github.com/apple/swift-argument-parser
[1/12401] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.51s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.0.3 (0.59s)
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
[32750/45288358] Downloading https://github.com/calda/SwiftFormat/releases/download/0.56-beta-4/SwiftFormat.artifactbundle.zip
[7042908/56322403] Downloading https://github.com/calda/SwiftFormat/releases/download/0.56-beta-4/SwiftFormat.artifactbundle.zip, https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
Downloading binary artifact https://github.com/calda/SwiftFormat/releases/download/0.56-beta-4/SwiftFormat.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip (1.45s)
Downloaded https://github.com/calda/SwiftFormat/releases/download/0.56-beta-4/SwiftFormat.artifactbundle.zip (3.13s)
========================================
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/4041] Fetching swift
Fetched https://github.com/airbnb/swift.git from cache (2.41s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.57s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.47s)
Creating working copy for https://github.com/airbnb/swift.git
Working copy of https://github.com/airbnb/swift.git resolved at 1.0.8 (c7e833f)
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/calda/SwiftFormat/releases/download/0.56-beta-4/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.11s)
Fetched https://github.com/calda/SwiftFormat/releases/download/0.56-beta-4/SwiftFormat.artifactbundle.zip from cache (1.82s)
Found 1 product dependencies
- swift-argument-parser
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
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.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
Building for debugging...
[1/11] Write sources
[4/11] Write AirbnbSwiftFormatTool-entitlement.plist
[5/11] Copying swiftlint.yml
[5/11] Copying airbnb.swiftformat
[7/11] Write swift-version-5BDAB9E9C0126B9D.txt
[9/13] Emitting module ArgumentParserToolInfo
[10/13] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/48] Compiling ArgumentParser Flag.swift
[12/48] Compiling ArgumentParser NameSpecification.swift
[13/48] Compiling ArgumentParser Option.swift
[14/48] Compiling ArgumentParser OptionGroup.swift
[15/51] Emitting module ArgumentParser
[16/51] Compiling ArgumentParser Argument.swift
[17/51] Compiling ArgumentParser ArgumentHelp.swift
[18/51] Compiling ArgumentParser CompletionKind.swift
[19/51] Compiling ArgumentParser Errors.swift
[20/51] Compiling ArgumentParser CommandConfiguration.swift
[21/51] Compiling ArgumentParser EnumerableFlag.swift
[22/51] Compiling ArgumentParser ExpressibleByArgument.swift
[23/51] Compiling ArgumentParser ParsableArguments.swift
[24/51] Compiling ArgumentParser BashCompletionsGenerator.swift
[25/51] Compiling ArgumentParser CompletionsGenerator.swift
[26/51] Compiling ArgumentParser FishCompletionsGenerator.swift
[27/51] Compiling ArgumentParser ZshCompletionsGenerator.swift
[28/51] Compiling ArgumentParser ParsableArgumentsValidation.swift
[29/51] Compiling ArgumentParser ParsableCommand.swift
[30/51] Compiling ArgumentParser ArgumentDecoder.swift
[31/51] Compiling ArgumentParser ArgumentDefinition.swift
[32/51] Compiling ArgumentParser Parsed.swift
[33/51] Compiling ArgumentParser ParsedValues.swift
[34/51] Compiling ArgumentParser ParserError.swift
[35/51] Compiling ArgumentParser SplitArguments.swift
[36/51] Compiling ArgumentParser SequenceExtensions.swift
[37/51] Compiling ArgumentParser StringExtensions.swift
[38/51] Compiling ArgumentParser Tree.swift
[39/51] Compiling ArgumentParser MessageInfo.swift
[40/51] Compiling ArgumentParser UsageGenerator.swift
[41/51] Compiling ArgumentParser CollectionExtensions.swift
[42/51] Compiling ArgumentParser ArgumentSet.swift
[43/51] Compiling ArgumentParser CommandParser.swift
[44/51] Compiling ArgumentParser InputOrigin.swift
[45/51] Compiling ArgumentParser Name.swift
[46/51] Compiling ArgumentParser DumpHelpGenerator.swift
[47/51] Compiling ArgumentParser HelpCommand.swift
[48/51] Compiling ArgumentParser HelpGenerator.swift
[49/55] 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
[50/55] 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
[51/55] Compiling AirbnbSwiftFormatTool resource_bundle_accessor.swift
[52/55] Compiling AirbnbSwiftFormatTool AirbnbSwiftFormatTool.swift
[52/55] Write Objects.LinkFileList
[53/55] Linking AirbnbSwiftFormatTool
[54/55] Applying AirbnbSwiftFormatTool
Build complete! (12.20s)
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.