The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-export, reference main (5dfa88), with Swift 6.1 for Linux on 7 Mar 2026 19:11:50 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.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 5dfa883 Update installer package
Cloned https://github.com/franklefebvre/swift-export.git
Revision (git rev-parse @):
5dfa883ff4c619bee2fed34a950db598b3da7f46
SUCCESS checkout https://github.com/franklefebvre/swift-export.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/franklefebvre/swift-export.git
https://github.com/franklefebvre/swift-export.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams.git
[1/17182] Fetching swift-argument-parser
[3782/28687] Fetching swift-argument-parser, yams
Fetched https://github.com/apple/swift-argument-parser from cache (1.68s)
Fetched https://github.com/jpsim/Yams.git from cache (1.71s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (4.06s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.0 (0.56s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/19] Write sources
[6/19] Compiling writer.c
[7/19] Compiling reader.c
[8/19] Compiling api.c
[9/19] Compiling emitter.c
[10/19] Write swift-version-24593BA9C3E375BF.txt
[11/19] Compiling parser.c
[12/19] Compiling scanner.c
[14/41] Emitting module ArgumentParserToolInfo
[15/41] Compiling ArgumentParserToolInfo ToolInfo.swift
[16/42] Emitting module Yams
[17/44] Wrapping AST for ArgumentParserToolInfo for debugging
[19/90] Compiling ArgumentParser BashCompletionsGenerator.swift
[20/90] Compiling ArgumentParser CompletionsGenerator.swift
[21/90] Compiling ArgumentParser FishCompletionsGenerator.swift
[22/90] Compiling ArgumentParser ParentCommand.swift
[23/90] Compiling ArgumentParser AsyncParsableCommand.swift
[24/90] Compiling ArgumentParser CommandConfiguration.swift
[25/90] Compiling ArgumentParser ParsableArguments.swift
[26/90] Compiling ArgumentParser InputOrigin.swift
[27/90] Compiling ArgumentParser Name.swift
[28/90] Compiling ArgumentParser ArgumentDiscussion.swift
[29/90] Compiling ArgumentParser ArgumentHelp.swift
[30/90] Compiling ArgumentParser Parsed.swift
[31/90] Compiling ArgumentParser ParsedValues.swift
[32/90] Compiling ArgumentParser ParserError.swift
[33/90] Compiling ArgumentParser ZshCompletionsGenerator.swift
[34/90] Compiling ArgumentParser Argument.swift
[35/90] Compiling ArgumentParser CommandGroup.swift
[36/90] Compiling ArgumentParser EnumerableFlag.swift
[37/90] Compiling ArgumentParser ExpressibleByArgument.swift
[38/90] Compiling ArgumentParser SplitArguments.swift
[39/90] Compiling ArgumentParser ArgumentVisibility.swift
[41/91] Emitting module ArgumentParser
[41/97] Wrapping AST for Yams for debugging
[43/97] Compiling ArgumentParser Foundation.swift
[44/97] Compiling ArgumentParser Mutex.swift
[45/97] Compiling ArgumentParser Platform.swift
[46/97] Compiling ArgumentParser SequenceExtensions.swift
[47/97] Compiling ArgumentParser StringExtensions.swift
[48/97] Compiling ArgumentParser SwiftExtensions.swift
[55/97] Compiling ArgumentParser Tree.swift
[56/97] Compiling ArgumentParser CodingKeyValidator.swift
[57/97] Compiling ArgumentParser NonsenseFlagsValidator.swift
[58/97] Compiling ArgumentParser ParsableArgumentsValidation.swift
[59/97] Compiling ArgumentParser PositionalArgumentsValidator.swift
[60/97] Compiling ArgumentParser UniqueNamesValidator.swift
[61/97] Compiling ArgumentParser DumpHelpGenerator.swift
[62/97] Compiling ArgumentParser HelpCommand.swift
[63/97] Compiling ArgumentParser HelpGenerator.swift
[64/97] Compiling ArgumentParser MessageInfo.swift
[65/97] Compiling ArgumentParser UsageGenerator.swift
[66/97] Compiling ArgumentParser CollectionExtensions.swift
[74/97] Compiling ArgumentParser ParsableCommand.swift
[75/97] Compiling ArgumentParser ArgumentDecoder.swift
[76/97] Compiling ArgumentParser ArgumentDefinition.swift
[77/97] Compiling ArgumentParser ArgumentSet.swift
[78/97] Compiling ArgumentParser CommandParser.swift
[79/97] Compiling ArgumentParser InputKey.swift
[81/97] Compiling ArgumentParser CompletionKind.swift
[82/97] Compiling ArgumentParser Errors.swift
[83/97] Compiling ArgumentParser Flag.swift
[84/97] Compiling ArgumentParser NameSpecification.swift
[85/97] Compiling ArgumentParser Option.swift
[86/97] Compiling ArgumentParser OptionGroup.swift
[94/98] Wrapping AST for ArgumentParser for debugging
[96/106] Compiling swift_export ExportError.swift
[97/106] Compiling swift_export URL+filePath.swift
[98/106] 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
    |                `- 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."
[99/106] Compiling swift_export Config.swift
[100/106] Compiling swift_export CommandRunner.swift
[101/106] Compiling swift_export Logger.swift
[102/106] Compiling swift_export String+terminal.swift
[103/106] 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
    |                `- 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:170:26: warning: sending value of non-Sendable type '() -> String' risks causing data races; this is an error in the Swift 6 language mode
168 |
169 |         if !dryRun {
170 |             await logger.info("Creating output directory: \(config.outputDirectory.filePath)")
    |                          |- warning: sending value of non-Sendable type '() -> String' risks causing data races; this is an error in the Swift 6 language mode
    |                          `- note: sending value of non-Sendable type '() -> String' to actor-isolated instance method 'info' risks causing data races between actor-isolated and local nonisolated uses
171 |             try FileManager.default.createDirectory(at: config.outputDirectory, withIntermediateDirectories: true)
172 |         }
    :
176 |         await logger.info("Creating signed installer package at \(pkgFile.filePath)")
177 |         let pkgIdentifier = config.exportConfig.package.identifier ?? codesignIdentifier
178 |         try await shell(.pkgbuild, "--identifier", pkgIdentifier, "--version", config.pkgVersion, "--root", pkgRoot.filePath, "--sign", config.exportConfig.package.certificate, pkgFile.filePath)
    |                        `- note: access can happen concurrently
179 |
180 |         await logger.info("Submitting installer package for notarization")
[104/107] Wrapping AST for swift-export for debugging
[105/107] Write Objects.LinkFileList
[106/107] Linking swift-export
Build complete! (26.58s)
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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.