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 main (011590), with Swift 6.1 for Wasm on 28 May 2025 16:08:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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: 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/CuriositySoftware/XcodeTargetGraphGen
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 011590f Merge pull request #17 from CuriositySoftware/yimajo-patch-1
Cloned https://github.com/CuriositySoftware/XcodeTargetGraphGen.git
Revision (git rev-parse @):
011590fdc91172790caebd9c0a2a788d37f222ce
SUCCESS checkout https://github.com/CuriositySoftware/XcodeTargetGraphGen.git at main
========================================
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-3":/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
Fetching https://github.com/tuist/XcodeProj.git
[1/23290] Fetching xcodeproj
[11879/38641] Fetching xcodeproj, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.99s)
Fetched https://github.com/tuist/XcodeProj.git from cache (1.39s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (1.89s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.27.7 (0.42s)
Fetching https://github.com/tadija/AEXML.git
Fetching https://github.com/kylef/PathKit.git
[1/1411] Fetching pathkit
[1412/3538] Fetching pathkit, aexml
Fetched https://github.com/kylef/PathKit.git from cache (0.24s)
Fetched https://github.com/tadija/AEXML.git from cache (0.28s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.22s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.27s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.70s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.50s)
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/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
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/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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/26] Write sources
[12/26] Write swift-version-24593BA9C3E375BF.txt
[14/43] Emitting module ArgumentParserToolInfo
[15/43] Compiling ArgumentParserToolInfo ToolInfo.swift
[16/44] Wrapping AST for ArgumentParserToolInfo for debugging
[18/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)
[19/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)
[20/82] Emitting module Value
[21/82] Compiling Value Project.swift
[22/83] 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)
[23/83] 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/83] Compiling AEXML Parser.swift
[25/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/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
[27/84] Compiling ArgumentParser BashCompletionsGenerator.swift
[28/84] Compiling ArgumentParser CompletionsGenerator.swift
[29/84] Compiling ArgumentParser FishCompletionsGenerator.swift
[30/84] Compiling ArgumentParser ZshCompletionsGenerator.swift
[31/84] Compiling ArgumentParser Argument.swift
[32/84] Compiling ArgumentParser ArgumentHelp.swift
[33/84] Emitting module ArgumentParser
[34/84] Compiling ArgumentParser ArgumentVisibility.swift
[35/84] Compiling ArgumentParser CompletionKind.swift
[36/84] Compiling ArgumentParser Errors.swift
[37/84] Compiling ArgumentParser Flag.swift
[38/84] Compiling ArgumentParser NameSpecification.swift
[39/84] Compiling ArgumentParser Option.swift
[40/84] Compiling AEXML Error.swift
[41/84] Compiling AEXML Options.swift
[42/89] Compiling AEXML Document.swift
[43/89] Emitting module AEXML
[44/89] Compiling AEXML Element.swift
[45/89] Compiling AEXML Builders.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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 ConsoleClient.swift
[4/32] Compiling Client FileListReaderClient.swift
[5/32] Compiling Client FileOutputClient.swift
[6/32] Compiling AEXML Error.swift
[7/32] Compiling AEXML Options.swift
[8/32] Compiling AEXML Parser.swift
[9/32] Emitting module Client
[10/33] Emitting module Value
[11/33] Compiling Value Project.swift
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
[16/34] Compiling AEXML Document.swift
[17/34] Emitting module AEXML
[18/34] Compiling AEXML Element.swift
[19/34] Compiling AEXML Builders.swift
[19/35] Wrapping AST for Client for debugging
[19/35] Wrapping AST for Value for debugging
[20/35] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm