The Swift Package Index logo.Swift Package Index

Build Information

Failed to build XcodeTargetGraphGen, reference v1.0.0 (a73c78), with Swift 6.1 for Android on 28 May 2025 16:08:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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:         android
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-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/tuist/XcodeProj.git
Fetching https://github.com/apple/swift-argument-parser
[1/23290] Fetching xcodeproj
[3495/38641] Fetching xcodeproj, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (2.68s)
Fetched https://github.com/tuist/XcodeProj.git from cache (2.71s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (3.34s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.27.7 (0.82s)
Fetching https://github.com/tadija/AEXML.git
Fetching https://github.com/kylef/PathKit.git
[1/1411] Fetching pathkit
[1257/3538] Fetching pathkit, aexml
Fetched https://github.com/kylef/PathKit.git from cache (0.35s)
Fetched https://github.com/tadija/AEXML.git from cache (0.45s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (3.61s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (1.55s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (2.09s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.71s)
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/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/26] Write sources
[12/26] Write swift-version-24593BA9C3E375BF.txt
[14/43] Emitting module Value
[15/43] Emitting module AEXML
[16/43] Compiling AEXML Builders.swift
[17/43] Emitting module ArgumentParserToolInfo
[18/43] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/44] Wrapping AST for ArgumentParserToolInfo for debugging
[21/82] Compiling ArgumentParser ArgumentVisibility.swift
[22/82] Compiling ArgumentParser CompletionKind.swift
[23/82] Compiling ArgumentParser Errors.swift
[24/82] Compiling ArgumentParser Flag.swift
[25/82] Compiling ArgumentParser NameSpecification.swift
[26/82] Compiling ArgumentParser Option.swift
[27/87] Emitting module ArgumentParser
[28/87] Compiling ArgumentParser BashCompletionsGenerator.swift
[29/87] Compiling ArgumentParser CompletionsGenerator.swift
[30/87] Compiling ArgumentParser FishCompletionsGenerator.swift
[31/87] Compiling ArgumentParser ZshCompletionsGenerator.swift
[32/87] Compiling ArgumentParser Argument.swift
[33/87] Compiling ArgumentParser ArgumentHelp.swift
[34/87] Compiling ArgumentParser CollectionExtensions.swift
[35/87] Compiling ArgumentParser Platform.swift
[36/87] Compiling ArgumentParser SequenceExtensions.swift
[37/87] Compiling ArgumentParser StringExtensions.swift
[38/87] Compiling ArgumentParser Tree.swift
[39/87] Compiling ArgumentParser OptionGroup.swift
[40/87] Compiling ArgumentParser AsyncParsableCommand.swift
[41/87] Compiling ArgumentParser CommandConfiguration.swift
[42/87] Compiling ArgumentParser CommandGroup.swift
[43/87] Compiling ArgumentParser EnumerableFlag.swift
[44/87] Compiling ArgumentParser ExpressibleByArgument.swift
[45/87] Compiling ArgumentParser ParsableArguments.swift
[46/87] Compiling ArgumentParser ParsableArgumentsValidation.swift
[47/87] Compiling ArgumentParser ParsableCommand.swift
[48/87] Compiling ArgumentParser ArgumentDecoder.swift
[49/87] 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)
[50/87] Compiling ArgumentParser Name.swift
[51/87] Compiling ArgumentParser Parsed.swift
[52/87] Compiling ArgumentParser ParsedValues.swift
[53/87] Compiling ArgumentParser ParserError.swift
[54/87] Compiling ArgumentParser SplitArguments.swift
[55/87] 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)
[56/87] Compiling ArgumentParser ArgumentDefinition.swift
[57/87] Compiling ArgumentParser ArgumentSet.swift
[58/87] Compiling ArgumentParser CommandParser.swift
[59/87] Compiling ArgumentParser InputKey.swift
[60/87] Compiling ArgumentParser InputOrigin.swift
[61/87] Compiling ArgumentParser DumpHelpGenerator.swift
[62/87] Compiling ArgumentParser HelpCommand.swift
[63/87] Compiling ArgumentParser HelpGenerator.swift
[64/87] Compiling ArgumentParser MessageInfo.swift
[65/87] Compiling ArgumentParser UsageGenerator.swift
[66/87] 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)
[67/87] 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)
[68/89] Compiling Value Project.swift
[69/89] Compiling AEXML Element.swift
[70/89] Compiling AEXML Options.swift
[71/89] Compiling AEXML Error.swift
[72/89] Compiling AEXML Parser.swift
[73/90] Compiling AEXML Document.swift
[76/91] 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)
[77/91] 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
[77/91] Wrapping AST for Client for debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-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 Value Project.swift
[4/32] Compiling Client FileOutputClient.swift
[5/32] Emitting module ArgumentParserToolInfo
[6/32] Emitting module Value
[7/33] Compiling Client FileListReaderClient.swift
[8/33] Compiling Client ConsoleClient.swift
[9/33] Emitting module Client
[10/34] Compiling AEXML Builders.swift
[11/34] Emitting module AEXML
[14/34] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/35] Compiling AEXML Parser.swift
[16/35] Compiling AEXML Options.swift
[17/35] Compiling AEXML Error.swift
[17/35] Wrapping AST for Client for debugging
[19/34] Wrapping AST for Value for debugging
[21/34] Compiling AEXML Document.swift
[22/34] Compiling AEXML Element.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/38] 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
[25/38] 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
[25/38] Wrapping AST for AEXML for debugging
BUILD FAILURE 6.1 android