Build Information
Successful build of swift-export, reference 1.0.0 (e4e893
), with Swift 6.0 for macOS (SPM) on 6 Nov 2024 00:53:42 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: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/franklefebvre/swift-export
* tag 1.0.0 -> FETCH_HEAD
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 1.0.0
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser
[1/9902] Fetching yams
[2/22255] Fetching yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (7.71s)
Fetched https://github.com/jpsim/Yams.git from cache (7.71s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.1.3 (3.70s)
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.1.3
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
========================================
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
[3/25] Fetching swift-export
Fetched https://github.com/franklefebvre/swift-export.git from cache (1.17s)
Creating working copy for https://github.com/franklefebvre/swift-export.git
Working copy of https://github.com/franklefebvre/swift-export.git resolved at 1.0.0 (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
[5/16] Write swift-export-entitlement.plist
[6/16] Write swift-version--7754E27361AE5C74.txt
[7/18] Compiling reader.c
[8/18] Compiling writer.c
[9/18] Compiling api.c
[10/18] Compiling parser.c
[11/18] Compiling emitter.c
[12/18] Compiling scanner.c
[14/33] Emitting module ArgumentParserToolInfo
[15/33] Compiling ArgumentParserToolInfo ToolInfo.swift
[16/72] Compiling Yams Tag.swift
[17/73] Compiling ArgumentParser InputOrigin.swift
[18/73] Compiling ArgumentParser Name.swift
[19/73] Compiling ArgumentParser Parsed.swift
[20/73] Compiling ArgumentParser ParsedValues.swift
[21/77] Compiling ArgumentParser CommandConfiguration.swift
[22/77] Compiling ArgumentParser CommandGroup.swift
[23/77] Compiling ArgumentParser EnumerableFlag.swift
[24/77] Compiling ArgumentParser ExpressibleByArgument.swift
[25/77] Compiling ArgumentParser NameSpecification.swift
[26/77] Compiling ArgumentParser Option.swift
[27/77] Compiling ArgumentParser OptionGroup.swift
[28/77] Compiling ArgumentParser AsyncParsableCommand.swift
[29/77] Compiling ArgumentParser ArgumentHelp.swift
[30/77] Compiling ArgumentParser ArgumentVisibility.swift
[31/77] Compiling ArgumentParser CompletionKind.swift
[32/77] Compiling ArgumentParser Errors.swift
[33/77] Compiling ArgumentParser Flag.swift
[34/77] Compiling ArgumentParser Platform.swift
[35/77] Compiling ArgumentParser SequenceExtensions.swift
[36/77] Compiling ArgumentParser StringExtensions.swift
[37/77] Compiling ArgumentParser Tree.swift
[38/77] Emitting module ArgumentParser
[39/77] Compiling ArgumentParser ParsableArguments.swift
[40/77] Compiling ArgumentParser ParsableArgumentsValidation.swift
[41/77] Compiling ArgumentParser ParsableCommand.swift
[42/77] Compiling ArgumentParser ArgumentDecoder.swift
[43/77] Compiling ArgumentParser ArgumentDefinition.swift
[44/77] Compiling ArgumentParser ArgumentSet.swift
[45/77] Compiling ArgumentParser CommandParser.swift
[46/77] Compiling ArgumentParser InputKey.swift
[47/77] Compiling Yams YamlError.swift
[48/77] Compiling Yams String+Yams.swift
[49/77] Compiling Yams Resolver.swift
[50/77] Compiling Yams Representer.swift
[51/77] Compiling ArgumentParser ParserError.swift
[52/77] Compiling ArgumentParser SplitArguments.swift
[55/77] Emitting module Yams
[64/77] Compiling ArgumentParser DumpHelpGenerator.swift
[65/77] Compiling ArgumentParser HelpCommand.swift
[66/77] Compiling ArgumentParser HelpGenerator.swift
[67/77] Compiling ArgumentParser MessageInfo.swift
[68/77] Compiling ArgumentParser UsageGenerator.swift
[69/77] Compiling ArgumentParser CollectionExtensions.swift
[70/77] Compiling ArgumentParser BashCompletionsGenerator.swift
[71/77] Compiling ArgumentParser CompletionsGenerator.swift
[72/77] Compiling ArgumentParser FishCompletionsGenerator.swift
[73/77] Compiling ArgumentParser ZshCompletionsGenerator.swift
[74/77] Compiling ArgumentParser Argument.swift
[75/85] Compiling swift_export URL+filePath.swift
[76/85] Compiling swift_export Logger.swift
[77/85] Compiling swift_export ExportError.swift
[78/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")
[79/85] Compiling swift_export String+terminal.swift
[80/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."
[81/85] Compiling swift_export Config.swift
[82/85] Compiling swift_export CommandRunner.swift
[82/85] Write Objects.LinkFileList
[83/85] Linking swift-export
[84/85] Applying swift-export
Build complete! (19.54s)
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.