The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build AirbnbSwift, reference 1.0.8 (c7e833), with Swift 6.1 for Wasm on 30 May 2025 04:16:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/airbnb/swift.git
Reference: 1.0.8
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/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
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/airbnb/swift.git
https://github.com/airbnb/swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/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" : "/host/spi-builder-workspace/Sources/AirbnbSwiftFormatTool/airbnb.swiftformat",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/AirbnbSwiftFormatTool/swiftlint.yml",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AirbnbSwiftFormatTool.swift",
        "Command.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
[1/15386] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.88s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (1.48s)
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.1
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
[1397/45288358] Downloading https://github.com/calda/SwiftFormat/releases/download/0.56-beta-4/SwiftFormat.artifactbundle.zip
[5567656/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
Downloaded https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip (1.86s)
Downloaded https://github.com/calda/SwiftFormat/releases/download/0.56-beta-4/SwiftFormat.artifactbundle.zip (5.07s)
/host/spi-builder-workspace/Plugins/FormatSwift/Plugin.swift:53:13: warning: 'launchPath' is deprecated: renamed to 'executableURL'
 51 |
 52 |     let process = Process()
 53 |     process.launchPath = launchPath
    |             |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
    |             `- note: use 'executableURL' instead
 54 |     process.arguments = arguments
 55 |     try process.run()
[1/1] Compiling plugin FormatSwift
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/23] Write sources
[2/23] Copying swiftlint.yml
[2/23] Write sources
[2/23] Copying airbnb.swiftformat
[2/23] Copying swiftlint.yml
[5/23] Write sources
[11/23] Copying airbnb.swiftformat
[12/23] Write swift-version-24593BA9C3E375BF.txt
[14/27] Emitting module ArgumentParserToolInfo
[15/27] Compiling ArgumentParserToolInfo ToolInfo.swift
[16/28] Wrapping AST for ArgumentParserToolInfo for debugging
[18/28] Emitting module ArgumentParserToolInfo
[19/28] Compiling ArgumentParserToolInfo ToolInfo.swift
[20/67] Wrapping AST for ArgumentParserToolInfo for debugging
[22/105] Compiling ArgumentParser EnumerableFlag.swift
[23/105] Compiling ArgumentParser ExpressibleByArgument.swift
[24/105] Compiling ArgumentParser ParsableArguments.swift
[25/105] Compiling ArgumentParser ParsableArgumentsValidation.swift
[26/105] Compiling ArgumentParser ParsableCommand.swift
[27/105] Compiling ArgumentParser ArgumentDecoder.swift
[28/110] Emitting module ArgumentParser
[29/110] Compiling ArgumentParser BashCompletionsGenerator.swift
[30/110] Compiling ArgumentParser CompletionsGenerator.swift
[31/110] Compiling ArgumentParser FishCompletionsGenerator.swift
[32/110] Compiling ArgumentParser ZshCompletionsGenerator.swift
[33/110] Compiling ArgumentParser Argument.swift
[34/110] Compiling ArgumentParser ArgumentHelp.swift
[35/110] Compiling ArgumentParser ArgumentVisibility.swift
[36/110] Compiling ArgumentParser CompletionKind.swift
[37/110] Compiling ArgumentParser Errors.swift
[38/110] Compiling ArgumentParser Flag.swift
[39/110] Compiling ArgumentParser NameSpecification.swift
[40/110] Compiling ArgumentParser Option.swift
[41/110] Compiling ArgumentParser OptionGroup.swift
[42/110] Compiling ArgumentParser AsyncParsableCommand.swift
[43/110] Compiling ArgumentParser CommandConfiguration.swift
[44/110] Compiling ArgumentParser CommandGroup.swift
[45/110] Emitting module ArgumentParser
[68/115] Compiling ArgumentParser CollectionExtensions.swift
[69/115] Compiling ArgumentParser Platform.swift
[70/115] Compiling ArgumentParser SequenceExtensions.swift
[71/115] Compiling ArgumentParser StringExtensions.swift
[72/115] Compiling ArgumentParser Tree.swift
[78/115] Compiling ArgumentParser Name.swift
[79/115] Compiling ArgumentParser Parsed.swift
[80/115] Compiling ArgumentParser ParsedValues.swift
[81/115] Compiling ArgumentParser ParserError.swift
[82/115] Compiling ArgumentParser SplitArguments.swift
[83/115] Compiling ArgumentParser DumpHelpGenerator.swift
[84/115] Compiling ArgumentParser HelpCommand.swift
[85/115] Compiling ArgumentParser HelpGenerator.swift
[86/115] Compiling ArgumentParser MessageInfo.swift
[87/115] Compiling ArgumentParser UsageGenerator.swift
[88/115] Compiling ArgumentParser ArgumentDefinition.swift
[89/115] Compiling ArgumentParser ArgumentSet.swift
[90/115] Compiling ArgumentParser CommandParser.swift
[91/115] Compiling ArgumentParser InputKey.swift
[92/115] Compiling ArgumentParser InputOrigin.swift
[109/117] Wrapping AST for ArgumentParser for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[112/125] Emitting module AirbnbSwiftFormatTool
/host/spi-builder-workspace/Sources/AirbnbSwiftFormatTool/AirbnbSwiftFormatTool.swift:153:11: error: cannot find type 'Process' in scope
151 | }
152 |
153 | extension Process {
    |           `- error: cannot find type 'Process' in scope
154 |   var shellCommand: String {
155 |     let launchPath = launchPath ?? ""
/host/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: add '@MainActor' to make static property 'runCommand' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |   let log: Bool
[113/125] Compiling AirbnbSwiftFormatTool AirbnbSwiftFormatTool.swift
/host/spi-builder-workspace/Sources/AirbnbSwiftFormatTool/AirbnbSwiftFormatTool.swift:153:11: error: cannot find type 'Process' in scope
151 | }
152 |
153 | extension Process {
    |           `- error: cannot find type 'Process' in scope
154 |   var shellCommand: String {
155 |     let launchPath = launchPath ?? ""
[114/125] Compiling AirbnbSwiftFormatTool resource_bundle_accessor.swift
[115/125] Compiling AirbnbSwiftFormatTool Command.swift
/host/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: add '@MainActor' to make static property 'runCommand' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |   let log: Bool
/host/spi-builder-workspace/Sources/AirbnbSwiftFormatTool/Command.swift:28:19: error: cannot find 'Process' in scope
26 |   /// Synchronously runs this command and returns its exit code
27 |   private func executeShellCommand() throws -> Int32 {
28 |     let process = Process()
   |                   `- error: cannot find 'Process' in scope
29 |     process.launchPath = launchPath
30 |     process.arguments = arguments
/host/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: add '@MainActor' to make static property 'runCommand' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |   let log: Bool
/host/spi-builder-workspace/Sources/AirbnbSwiftFormatTool/Command.swift:29:13: warning: 'launchPath' is deprecated: renamed to 'executableURL'
27 |   private func executeShellCommand() throws -> Int32 {
28 |     let process = Process()
29 |     process.launchPath = launchPath
   |             |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
   |             `- note: use 'executableURL' instead
30 |     process.arguments = arguments
31 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
/host/spi-builder-workspace/Plugins/FormatSwift/Plugin.swift:53:13: warning: 'launchPath' is deprecated: renamed to 'executableURL'
 51 |
 52 |     let process = Process()
 53 |     process.launchPath = launchPath
    |             |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
    |             `- note: use 'executableURL' instead
 54 |     process.arguments = arguments
 55 |     try process.run()
[1/1] Compiling plugin FormatSwift
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/13] Write swift-version-24593BA9C3E375BF.txt
[4/17] Compiling ArgumentParserToolInfo ToolInfo.swift
[5/17] Emitting module ArgumentParserToolInfo
[8/18] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/93] Emitting module ArgumentParser
[11/98] Compiling ArgumentParser BashCompletionsGenerator.swift
[12/98] Compiling ArgumentParser CompletionsGenerator.swift
[13/98] Compiling ArgumentParser FishCompletionsGenerator.swift
[14/98] Compiling ArgumentParser ZshCompletionsGenerator.swift
[15/98] Compiling ArgumentParser Argument.swift
[16/98] Compiling ArgumentParser ArgumentHelp.swift
[17/98] Compiling ArgumentParser ArgumentVisibility.swift
[18/98] Compiling ArgumentParser CompletionKind.swift
[19/98] Compiling ArgumentParser Errors.swift
[20/98] Compiling ArgumentParser Flag.swift
[21/98] Compiling ArgumentParser NameSpecification.swift
[22/98] Compiling ArgumentParser Option.swift
[28/103] Compiling ArgumentParser CollectionExtensions.swift
[29/103] Compiling ArgumentParser Platform.swift
[30/103] Compiling ArgumentParser SequenceExtensions.swift
[31/103] Compiling ArgumentParser StringExtensions.swift
[32/103] Compiling ArgumentParser Tree.swift
[33/103] Emitting module ArgumentParser
[40/103] Compiling ArgumentParser OptionGroup.swift
[41/103] Compiling ArgumentParser AsyncParsableCommand.swift
[42/103] Compiling ArgumentParser CommandConfiguration.swift
[43/103] Compiling ArgumentParser CommandGroup.swift
[44/103] Compiling ArgumentParser EnumerableFlag.swift
[45/103] Compiling ArgumentParser ExpressibleByArgument.swift
[46/103] Compiling ArgumentParser ParsableArguments.swift
[47/103] Compiling ArgumentParser ParsableArgumentsValidation.swift
[48/103] Compiling ArgumentParser ParsableCommand.swift
[49/103] Compiling ArgumentParser ArgumentDecoder.swift
[60/103] Compiling ArgumentParser DumpHelpGenerator.swift
[61/103] Compiling ArgumentParser HelpCommand.swift
[62/103] Compiling ArgumentParser HelpGenerator.swift
[63/103] Compiling ArgumentParser MessageInfo.swift
[64/103] Compiling ArgumentParser UsageGenerator.swift
[66/103] Compiling ArgumentParser ArgumentDefinition.swift
[67/103] Compiling ArgumentParser ArgumentSet.swift
[68/103] Compiling ArgumentParser CommandParser.swift
[69/103] Compiling ArgumentParser InputKey.swift
[70/103] Compiling ArgumentParser InputOrigin.swift
[71/103] Compiling ArgumentParser Name.swift
[72/103] Compiling ArgumentParser Parsed.swift
[73/103] Compiling ArgumentParser ParsedValues.swift
[74/103] Compiling ArgumentParser ParserError.swift
[75/103] Compiling ArgumentParser SplitArguments.swift
[98/111] Compiling AirbnbSwiftFormatTool resource_bundle_accessor.swift
[99/111] Compiling AirbnbSwiftFormatTool Command.swift
/host/spi-builder-workspace/Sources/AirbnbSwiftFormatTool/Command.swift:29:13: warning: 'launchPath' is deprecated: renamed to 'executableURL'
27 |   private func executeShellCommand() throws -> Int32 {
28 |     let process = Process()
29 |     process.launchPath = launchPath
   |             |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
   |             `- note: use 'executableURL' instead
30 |     process.arguments = arguments
31 |
/host/spi-builder-workspace/Sources/AirbnbSwiftFormatTool/Command.swift:40:33: warning: 'launchPath' is deprecated: renamed to 'executableURL'
38 |
39 |     if log {
40 |       let commandName = process.launchPath?.components(separatedBy: "/").last ?? "unknown"
   |                                 |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
   |                                 `- note: use 'executableURL' instead
41 |       log("\(commandName) command completed with exit code \(process.terminationStatus)")
42 |     }
[100/111] Compiling AirbnbSwiftFormatTool resource_bundle_accessor.swift
[101/111] Compiling AirbnbSwiftFormatTool Command.swift
/host/spi-builder-workspace/Sources/AirbnbSwiftFormatTool/Command.swift:28:19: error: cannot find 'Process' in scope
26 |   /// Synchronously runs this command and returns its exit code
27 |   private func executeShellCommand() throws -> Int32 {
28 |     let process = Process()
   |                   `- error: cannot find 'Process' in scope
29 |     process.launchPath = launchPath
30 |     process.arguments = arguments
error: emit-module command failed with exit code 1 (use -v to see invocation)
[102/111] Emitting module AirbnbSwiftFormatTool
/host/spi-builder-workspace/Sources/AirbnbSwiftFormatTool/AirbnbSwiftFormatTool.swift:153:11: error: cannot find type 'Process' in scope
151 | }
152 |
153 | extension Process {
    |           `- error: cannot find type 'Process' in scope
154 |   var shellCommand: String {
155 |     let launchPath = launchPath ?? ""
[103/111] Compiling AirbnbSwiftFormatTool AirbnbSwiftFormatTool.swift
/host/spi-builder-workspace/Sources/AirbnbSwiftFormatTool/AirbnbSwiftFormatTool.swift:153:11: error: cannot find type 'Process' in scope
151 | }
152 |
153 | extension Process {
    |           `- error: cannot find type 'Process' in scope
154 |   var shellCommand: String {
155 |     let launchPath = launchPath ?? ""
[104/111] Emitting module AirbnbSwiftFormatTool
BUILD FAILURE 6.1 wasm