Build Information
Successful build of swift-export, reference main (e4e893
), with Swift 6.0 for macOS (SPM) on 6 Nov 2024 00:56:10 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/franklefebvre/swift-export.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/franklefebvre/swift-export
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e4e8938 Fix download link
Cloned https://github.com/franklefebvre/swift-export.git
Revision (git rev-parse @):
e4e89380b885ae47b96e09744a2b6dd99de33cf0
SUCCESS checkout https://github.com/franklefebvre/swift-export.git at main
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams.git
[1/9902] Fetching yams
[2/22255] Fetching yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (2.28s)
Fetched https://github.com/jpsim/Yams.git from cache (2.28s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.1.3 (3.38s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.51s)
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.1.3
========================================
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-export",
"name": "swift-export",
"url": "https://github.com/franklefebvre/swift-export.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-export",
"dependencies": [
]
}
]
}
Fetching https://github.com/franklefebvre/swift-export.git
[1/25] Fetching swift-export
Fetched https://github.com/franklefebvre/swift-export.git from cache (1.15s)
Creating working copy for https://github.com/franklefebvre/swift-export.git
Working copy of https://github.com/franklefebvre/swift-export.git resolved at main (e4e8938)
warning: '.resolve-product-dependencies': dependency 'swift-export' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/franklefebvre/swift-export.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/16] Write sources
[2/16] Write swift-export-entitlement.plist
[2/16] Write sources
[6/16] Write swift-version--7754E27361AE5C74.txt
[7/18] Compiling reader.c
[8/18] Compiling parser.c
[9/18] Compiling emitter.c
[10/18] Compiling scanner.c
[11/18] Compiling api.c
[12/18] Compiling writer.c
[14/33] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/33] Emitting module ArgumentParserToolInfo
[16/72] Compiling ArgumentParser CommandConfiguration.swift
[17/72] Compiling ArgumentParser CommandGroup.swift
[18/72] Compiling ArgumentParser EnumerableFlag.swift
[19/72] Compiling ArgumentParser ExpressibleByArgument.swift
[20/76] Compiling ArgumentParser InputOrigin.swift
[21/76] Compiling ArgumentParser Name.swift
[22/76] Compiling ArgumentParser Parsed.swift
[23/76] Compiling ArgumentParser ParsedValues.swift
[24/76] Compiling ArgumentParser BashCompletionsGenerator.swift
[25/76] Compiling ArgumentParser CompletionsGenerator.swift
[26/76] Compiling ArgumentParser FishCompletionsGenerator.swift
[27/76] Compiling ArgumentParser ZshCompletionsGenerator.swift
[28/76] Compiling ArgumentParser Argument.swift
[29/76] Emitting module ArgumentParser
[30/76] Compiling ArgumentParser Platform.swift
[31/76] Compiling ArgumentParser SequenceExtensions.swift
[32/76] Compiling ArgumentParser StringExtensions.swift
[33/76] Compiling ArgumentParser Tree.swift
[34/76] Compiling Yams String+Yams.swift
[39/77] Compiling Yams Tag.swift
[42/77] Compiling Yams Representer.swift
[43/77] Compiling Yams Resolver.swift
[46/77] Emitting module Yams
[49/77] Compiling ArgumentParser NameSpecification.swift
[50/77] Compiling ArgumentParser Option.swift
[51/77] Compiling ArgumentParser OptionGroup.swift
[52/77] Compiling ArgumentParser AsyncParsableCommand.swift
[53/77] Compiling ArgumentParser ArgumentHelp.swift
[54/77] Compiling ArgumentParser ArgumentVisibility.swift
[55/77] Compiling ArgumentParser CompletionKind.swift
[56/77] Compiling ArgumentParser Errors.swift
[57/77] Compiling ArgumentParser Flag.swift
[58/77] Compiling ArgumentParser ArgumentDefinition.swift
[59/77] Compiling ArgumentParser ArgumentSet.swift
[60/77] Compiling ArgumentParser CommandParser.swift
[61/77] Compiling ArgumentParser InputKey.swift
[62/77] Compiling ArgumentParser ParserError.swift
[63/77] Compiling ArgumentParser SplitArguments.swift
[64/77] Compiling ArgumentParser DumpHelpGenerator.swift
[65/77] Compiling ArgumentParser HelpCommand.swift
[66/77] Compiling ArgumentParser ParsableArguments.swift
[67/77] Compiling ArgumentParser ParsableArgumentsValidation.swift
[68/77] Compiling ArgumentParser ParsableCommand.swift
[69/77] Compiling ArgumentParser ArgumentDecoder.swift
[70/77] Compiling ArgumentParser HelpGenerator.swift
[71/77] Compiling ArgumentParser MessageInfo.swift
[72/77] Compiling ArgumentParser UsageGenerator.swift
[73/77] Compiling ArgumentParser CollectionExtensions.swift
[74/77] Compiling Yams YamlError.swift
[75/85] Compiling swift_export String+terminal.swift
[76/85] Compiling swift_export URL+filePath.swift
[77/85] Compiling swift_export Config.swift
[78/85] Compiling swift_export CommandRunner.swift
[79/85] Compiling swift_export ExportError.swift
[80/85] Compiling swift_export SwiftExport.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExport.swift:6:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | @main
5 | struct SwiftExport: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' 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
7 | commandName: "swift export",
8 | abstract: "A utility to create macOS installer packages for command-line tools."
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExport.swift:179:26: warning: sending value of non-Sendable type '() -> String' with later accesses from nonisolated context to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
177 |
178 | if !dryRun {
179 | await logger.info("Creating output directory: \(config.outputDirectory.filePath)")
| `- warning: sending value of non-Sendable type '() -> String' with later accesses from nonisolated context to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
180 | try FileManager.default.createDirectory(at: config.outputDirectory, withIntermediateDirectories: true)
181 | }
:
185 | await logger.info("Creating signed installer package at \(pkgFile.filePath)")
186 | let pkgIdentifier = config.exportConfig.package.identifier ?? codesignIdentifier
187 | try await shell(.pkgbuild, "--identifier", pkgIdentifier, "--version", config.pkgVersion, "--root", pkgRoot.filePath, "--sign", config.exportConfig.package.certificate, pkgFile.filePath)
| `- note: access can happen concurrently
188 |
189 | await logger.info("Submitting installer package for notarization")
[81/85] Compiling swift_export Logger.swift
[82/85] Emitting module swift_export
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExport.swift:6:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | @main
5 | struct SwiftExport: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' 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
7 | commandName: "swift export",
8 | abstract: "A utility to create macOS installer packages for command-line tools."
[82/85] Write Objects.LinkFileList
[83/85] Linking swift-export
[84/85] Applying swift-export
Build complete! (18.69s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "5.1.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
}
],
"manifest_display_name" : "swift-export",
"name" : "swift-export",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "swift-export",
"targets" : [
"swift-export"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "swift_export",
"module_type" : "SwiftTarget",
"name" : "swift-export",
"path" : "Sources",
"product_dependencies" : [
"ArgumentParser",
"Yams"
],
"product_memberships" : [
"swift-export"
],
"sources" : [
"CommandRunner.swift",
"Config.swift",
"ExportError.swift",
"Logger.swift",
"String+terminal.swift",
"SwiftExport.swift",
"URL+filePath.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.9"
}
Done.