Build Information
Successful build of swift-export, reference main (e4e893
), with Swift 6.0 for Linux on 6 Nov 2024 00:45:34 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/franklefebvre/swift-export.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams.git
[1/9902] Fetching yams
[5646/22255] Fetching yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.71s)
Fetched https://github.com/jpsim/Yams.git from cache (0.98s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.1.3 (1.74s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.39s)
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/18] Write sources
[5/18] Compiling writer.c
[6/18] Compiling reader.c
[7/18] Compiling api.c
[8/18] Compiling emitter.c
[9/18] Compiling parser.c
[10/18] Write swift-version-24593BA9C3E375BF.txt
[11/18] Compiling scanner.c
[13/35] Emitting module ArgumentParserToolInfo
[14/35] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/36] Wrapping AST for ArgumentParserToolInfo for debugging
[17/74] Compiling ArgumentParser ParsableArguments.swift
[18/74] Compiling ArgumentParser ParsableArgumentsValidation.swift
[19/75] Compiling ArgumentParser ZshCompletionsGenerator.swift
[20/75] Compiling ArgumentParser Argument.swift
[21/75] Compiling ArgumentParser ArgumentHelp.swift
[22/75] Compiling ArgumentParser ExpressibleByArgument.swift
[23/75] Compiling ArgumentParser CompletionsGenerator.swift
[24/75] Compiling ArgumentParser FishCompletionsGenerator.swift
[25/75] Compiling ArgumentParser OptionGroup.swift
[26/75] Compiling ArgumentParser AsyncParsableCommand.swift
[27/75] Emitting module Yams
[28/75] Compiling ArgumentParser CommandConfiguration.swift
[29/75] Compiling ArgumentParser CommandGroup.swift
[30/75] Compiling ArgumentParser EnumerableFlag.swift
[31/75] Compiling ArgumentParser BashCompletionsGenerator.swift
[32/75] Compiling Yams YamlError.swift
[33/76] Wrapping AST for Yams for debugging
[35/76] Emitting module ArgumentParser
[50/81] Compiling ArgumentParser ParsableCommand.swift
[51/81] Compiling ArgumentParser ArgumentDecoder.swift
[52/81] Compiling ArgumentParser ArgumentVisibility.swift
[53/81] Compiling ArgumentParser CompletionKind.swift
[54/81] Compiling ArgumentParser Errors.swift
[55/81] Compiling ArgumentParser Flag.swift
[56/81] Compiling ArgumentParser NameSpecification.swift
[57/81] Compiling ArgumentParser Option.swift
[58/81] Compiling ArgumentParser ArgumentDefinition.swift
[59/81] Compiling ArgumentParser ArgumentSet.swift
[60/81] Compiling ArgumentParser CommandParser.swift
[61/81] Compiling ArgumentParser InputKey.swift
[62/81] Compiling ArgumentParser InputOrigin.swift
[63/81] Compiling ArgumentParser CollectionExtensions.swift
[64/81] Compiling ArgumentParser Platform.swift
[65/81] Compiling ArgumentParser SequenceExtensions.swift
[66/81] Compiling ArgumentParser StringExtensions.swift
[67/81] Compiling ArgumentParser Tree.swift
[68/81] Compiling ArgumentParser DumpHelpGenerator.swift
[69/81] Compiling ArgumentParser HelpCommand.swift
[70/81] Compiling ArgumentParser HelpGenerator.swift
[71/81] Compiling ArgumentParser MessageInfo.swift
[72/81] Compiling ArgumentParser UsageGenerator.swift
[73/81] Compiling ArgumentParser Name.swift
[74/81] Compiling ArgumentParser Parsed.swift
[75/81] Compiling ArgumentParser ParsedValues.swift
[76/81] Compiling ArgumentParser ParserError.swift
[77/81] Compiling ArgumentParser SplitArguments.swift
[78/82] Wrapping AST for ArgumentParser for debugging
[80/90] Compiling swift_export ExportError.swift
[81/90] Compiling swift_export URL+filePath.swift
[82/90] Compiling swift_export CommandRunner.swift
[83/90] Emitting module swift_export
/host/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."
[84/90] Compiling swift_export Config.swift
[85/90] Compiling swift_export Logger.swift
[86/90] Compiling swift_export SwiftExport.swift
/host/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."
/host/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")
[87/90] Compiling swift_export String+terminal.swift
[88/91] Wrapping AST for swift-export for debugging
[89/91] Write Objects.LinkFileList
[90/91] Linking swift-export
Build complete! (19.19s)
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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.