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 XcodeTargetGraphGen, reference v1.0.0 (a73c78), with Swift 6.1 for Wasm on 28 May 2025 16:08:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/CuriositySoftware/XcodeTargetGraphGen.git
Reference: v1.0.0
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/CuriositySoftware/XcodeTargetGraphGen
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at a73c786 Merge pull request #8 from CuriositySoftware/logo
Cloned https://github.com/CuriositySoftware/XcodeTargetGraphGen.git
Revision (git rev-parse @):
a73c786c997828817e9daed77e745527e83beba8
SUCCESS checkout https://github.com/CuriositySoftware/XcodeTargetGraphGen.git at v1.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/CuriositySoftware/XcodeTargetGraphGen.git
https://github.com/CuriositySoftware/XcodeTargetGraphGen.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "xcodeproj",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.10.0",
            "upper_bound" : "9.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tuist/XcodeProj.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "XcodeTargetGraphGen",
  "name" : "XcodeTargetGraphGen",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "xcgraphgen",
      "targets" : [
        "XcodeTargetGraphGen"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XcodeTargetGraphGenTests",
      "module_type" : "SwiftTarget",
      "name" : "XcodeTargetGraphGenTests",
      "path" : "Tests",
      "sources" : [
        "FileOutputClientTests.swift",
        "MermaidFormatterTests.swift",
        "NodeEdgeFormatterTests.swift",
        "ProjectConverterTests.swift",
        "SubgraphFormatterTests.swift"
      ],
      "target_dependencies" : [
        "XcodeTargetGraphGen",
        "Mermaid"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XcodeTargetGraphGen",
      "module_type" : "SwiftTarget",
      "name" : "XcodeTargetGraphGen",
      "path" : "Sources/XcodeTargetGraphGen",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "xcgraphgen"
      ],
      "sources" : [
        "XcodeTargetGraphGenCommand.swift"
      ],
      "target_dependencies" : [
        "Generator"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Value",
      "module_type" : "SwiftTarget",
      "name" : "Value",
      "path" : "Sources/Value",
      "product_memberships" : [
        "xcgraphgen"
      ],
      "sources" : [
        "Project.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Mermaid",
      "module_type" : "SwiftTarget",
      "name" : "Mermaid",
      "path" : "Sources/Formatter",
      "product_memberships" : [
        "xcgraphgen"
      ],
      "sources" : [
        "Mermaid/MermaidFormatter.swift",
        "Mermaid/NodeEdgeFormatter.swift",
        "Mermaid/SubgraphFormatter.swift",
        "Mermaid/SyntaxType.swift"
      ],
      "target_dependencies" : [
        "Converter"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Generator",
      "module_type" : "SwiftTarget",
      "name" : "Generator",
      "path" : "Sources/Generator",
      "product_dependencies" : [
        "XcodeProj"
      ],
      "product_memberships" : [
        "xcgraphgen"
      ],
      "sources" : [
        "Generator.swift",
        "ProjectMaker.swift"
      ],
      "target_dependencies" : [
        "Mermaid",
        "Client",
        "Value"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Converter",
      "module_type" : "SwiftTarget",
      "name" : "Converter",
      "path" : "Sources/Converter",
      "product_memberships" : [
        "xcgraphgen"
      ],
      "sources" : [
        "FormatterRepresentation.swift",
        "ProjectConverter.swift"
      ],
      "target_dependencies" : [
        "Value"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Client",
      "module_type" : "SwiftTarget",
      "name" : "Client",
      "path" : "Sources/Client",
      "product_memberships" : [
        "xcgraphgen"
      ],
      "sources" : [
        "ConsoleClient.swift",
        "FileListReaderClient.swift",
        "FileOutputClient.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/tuist/XcodeProj.git
Fetching https://github.com/apple/swift-argument-parser
[1/23290] Fetching xcodeproj
[7687/38641] Fetching xcodeproj, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.52s)
Fetched https://github.com/tuist/XcodeProj.git from cache (1.55s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (2.30s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.27.7 (1.93s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/tadija/AEXML.git
[1/2127] Fetching aexml
[2128/3538] Fetching aexml, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.61s)
Fetched https://github.com/tadija/AEXML.git from cache (0.61s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (6.95s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.37s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.84s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.97s)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.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.5.0
Creating working copy for https://github.com/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 8.27.7
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/26] Write sources
[12/26] Write swift-version-24593BA9C3E375BF.txt
[14/43] Emitting module Client
/host/spi-builder-workspace/Sources/Client/ConsoleClient.swift:8:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'ConsoleClient' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct ConsoleClient {
   |               `- note: consider making struct 'ConsoleClient' conform to the 'Sendable' protocol
 4 |     public var log: (_ text: String) -> Void
 5 | }
 6 |
 7 | public extension ConsoleClient {
 8 |     static let live: Self = {
   |                |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'ConsoleClient' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |         .init { text in
10 |             print(text)
/host/spi-builder-workspace/Sources/Client/FileListReaderClient.swift:8:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileListReaderClient' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct FileListReaderClient {
   |               `- note: consider making struct 'FileListReaderClient' conform to the 'Sendable' protocol
 4 |     public var read: (_ fileURL: URL) throws -> [String]
 5 | }
 6 |
 7 | public extension FileListReaderClient {
 8 |     static let live: Self = {
   |                |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileListReaderClient' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |         .init { url in
10 |             let content = try String(contentsOf: url, encoding: .utf8)
/host/spi-builder-workspace/Sources/Client/FileOutputClient.swift:8:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileOutputClient' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct FileOutputClient {
   |               `- note: consider making struct 'FileOutputClient' conform to the 'Sendable' protocol
 4 |     public var write: (_ text: String, _ url: URL) throws -> Void
 5 | }
 6 |
 7 | public extension FileOutputClient {
 8 |     static let live: Self = {
   |                |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileOutputClient' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |         .init { text, url in
10 |             try text.write(to: url, atomically: true, encoding: .utf8)
[15/43] Emitting module Value
[16/43] Emitting module ArgumentParserToolInfo
[17/43] Compiling ArgumentParserToolInfo ToolInfo.swift
[18/44] Emitting module AEXML
[19/44] Compiling AEXML Builders.swift
[20/44] Wrapping AST for ArgumentParserToolInfo for debugging
[22/82] Compiling Client FileListReaderClient.swift
/host/spi-builder-workspace/Sources/Client/FileListReaderClient.swift:8:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileListReaderClient' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct FileListReaderClient {
   |               `- note: consider making struct 'FileListReaderClient' conform to the 'Sendable' protocol
 4 |     public var read: (_ fileURL: URL) throws -> [String]
 5 | }
 6 |
 7 | public extension FileListReaderClient {
 8 |     static let live: Self = {
   |                |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileListReaderClient' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |         .init { url in
10 |             let content = try String(contentsOf: url, encoding: .utf8)
[23/82] Compiling Client ConsoleClient.swift
/host/spi-builder-workspace/Sources/Client/ConsoleClient.swift:8:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'ConsoleClient' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct ConsoleClient {
   |               `- note: consider making struct 'ConsoleClient' conform to the 'Sendable' protocol
 4 |     public var log: (_ text: String) -> Void
 5 | }
 6 |
 7 | public extension ConsoleClient {
 8 |     static let live: Self = {
   |                |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'ConsoleClient' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |         .init { text in
10 |             print(text)
[24/82] Compiling Client FileOutputClient.swift
/host/spi-builder-workspace/Sources/Client/FileOutputClient.swift:8:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileOutputClient' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct FileOutputClient {
   |               `- note: consider making struct 'FileOutputClient' conform to the 'Sendable' protocol
 4 |     public var write: (_ text: String, _ url: URL) throws -> Void
 5 | }
 6 |
 7 | public extension FileOutputClient {
 8 |     static let live: Self = {
   |                |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileOutputClient' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |         .init { text, url in
10 |             try text.write(to: url, atomically: true, encoding: .utf8)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/83] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[26/83] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[27/83] Compiling AEXML Parser.swift
[28/83] Compiling AEXML Options.swift
[29/83] Compiling Value Project.swift
[30/84] Compiling AEXML Element.swift
[31/84] Compiling AEXML Error.swift
[32/84] Compiling ArgumentParser ArgumentVisibility.swift
[33/84] Compiling ArgumentParser CompletionKind.swift
[34/84] Compiling ArgumentParser Errors.swift
[35/84] Compiling ArgumentParser Flag.swift
[36/84] Compiling ArgumentParser NameSpecification.swift
[37/84] Compiling ArgumentParser Option.swift
[38/89] Compiling AEXML Document.swift
[39/89] Emitting module ArgumentParser
[40/89] Compiling ArgumentParser BashCompletionsGenerator.swift
[41/90] Compiling ArgumentParser CompletionsGenerator.swift
[42/90] Compiling ArgumentParser FishCompletionsGenerator.swift
[43/90] Compiling ArgumentParser ZshCompletionsGenerator.swift
[44/90] Compiling ArgumentParser Argument.swift
[45/90] Compiling ArgumentParser ArgumentHelp.swift
[46/90] Compiling ArgumentParser OptionGroup.swift
[47/90] Compiling ArgumentParser AsyncParsableCommand.swift
[48/90] Compiling ArgumentParser CommandConfiguration.swift
[49/90] Compiling ArgumentParser CommandGroup.swift
[50/90] Compiling ArgumentParser EnumerableFlag.swift
[52/90] Compiling ArgumentParser ExpressibleByArgument.swift
[53/90] Compiling ArgumentParser ParsableArguments.swift
[54/90] Compiling ArgumentParser ParsableArgumentsValidation.swift
[55/90] Compiling ArgumentParser ParsableCommand.swift
[56/90] Compiling ArgumentParser ArgumentDecoder.swift
[57/90] Compiling ArgumentParser ArgumentDefinition.swift
[58/90] Compiling ArgumentParser ArgumentSet.swift
[59/90] Compiling ArgumentParser CommandParser.swift
[60/90] Compiling ArgumentParser InputKey.swift
[61/90] Compiling ArgumentParser InputOrigin.swift
[64/90] Compiling ArgumentParser Name.swift
[65/90] Compiling ArgumentParser Parsed.swift
[66/90] Compiling ArgumentParser ParsedValues.swift
[67/90] Compiling ArgumentParser ParserError.swift
[68/90] Compiling ArgumentParser SplitArguments.swift
[69/90] Compiling ArgumentParser DumpHelpGenerator.swift
[70/90] Compiling ArgumentParser HelpCommand.swift
[71/90] Compiling ArgumentParser HelpGenerator.swift
[72/90] Compiling ArgumentParser MessageInfo.swift
[73/90] Compiling ArgumentParser UsageGenerator.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/15] Write swift-version-24593BA9C3E375BF.txt
[3/32] Compiling Client FileOutputClient.swift
[4/32] Compiling Client FileListReaderClient.swift
[5/32] Compiling Client ConsoleClient.swift
[6/32] Compiling AEXML Error.swift
[7/32] Emitting module Client
[8/33] Compiling AEXML Builders.swift
[9/33] Emitting module AEXML
[10/33] Compiling Value Project.swift
[11/33] Emitting module Value
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/34] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[14/34] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[15/34] Compiling AEXML Options.swift
[16/34] Compiling AEXML Parser.swift
[17/34] Wrapping AST for Client for debugging
BUILD FAILURE 6.1 wasm