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 Android on 28 May 2025 16:08:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: 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:         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-4609320-1":/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
[6756/38641] Fetching xcodeproj, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.05s)
Fetched https://github.com/tuist/XcodeProj.git from cache (1.38s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (1.83s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.27.7 (0.45s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/tadija/AEXML.git
[1/1411] Fetching pathkit
[1215/3538] Fetching pathkit, aexml
Fetched https://github.com/kylef/PathKit.git from cache (0.30s)
Fetched https://github.com/tadija/AEXML.git from cache (0.30s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.18s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.26s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.77s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.55s)
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/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/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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
[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/44] Compiling AEXML Builders.swift
[19/44] Emitting module AEXML
[20/44] 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)
[21/82] Compiling ArgumentParser OptionGroup.swift
[22/82] Compiling ArgumentParser AsyncParsableCommand.swift
[23/82] Compiling ArgumentParser CommandConfiguration.swift
[24/82] Compiling ArgumentParser CommandGroup.swift
[25/82] Compiling ArgumentParser EnumerableFlag.swift
[26/87] Compiling ArgumentParser ArgumentVisibility.swift
[27/87] Compiling ArgumentParser CompletionKind.swift
[28/87] Compiling ArgumentParser Errors.swift
[29/87] Compiling ArgumentParser Flag.swift
[30/87] Compiling ArgumentParser NameSpecification.swift
[31/87] Compiling ArgumentParser Option.swift
[32/87] Compiling ArgumentParser BashCompletionsGenerator.swift
[33/87] Compiling ArgumentParser CompletionsGenerator.swift
[34/87] Compiling ArgumentParser FishCompletionsGenerator.swift
[35/87] Compiling ArgumentParser ZshCompletionsGenerator.swift
[36/87] Compiling ArgumentParser Argument.swift
[37/87] Compiling ArgumentParser ArgumentHelp.swift
[38/87] Emitting module ArgumentParser
[39/87] Compiling ArgumentParser ArgumentDefinition.swift
[40/87] Compiling ArgumentParser ArgumentSet.swift
[41/87] Compiling ArgumentParser CommandParser.swift
[42/87] Compiling ArgumentParser InputKey.swift
[43/87] Compiling ArgumentParser InputOrigin.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 ArgumentParser CollectionExtensions.swift
[50/87] Compiling ArgumentParser Platform.swift
[51/87] Compiling ArgumentParser SequenceExtensions.swift
[52/87] Compiling ArgumentParser StringExtensions.swift
[53/87] Compiling ArgumentParser Tree.swift
[54/87] Emitting module Value
[55/87] Compiling Value Project.swift
[56/88] 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)
[57/88] Compiling AEXML Parser.swift
[58/88] Compiling AEXML Element.swift
[59/88] Compiling AEXML Document.swift
[60/88] Compiling AEXML Error.swift
[61/88] Compiling AEXML Options.swift
[62/88] 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)
[63/89] 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
[64/89] 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
[65/89] 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)
[69/90] Compiling ArgumentParser Name.swift
[70/90] Compiling ArgumentParser Parsed.swift
[71/90] Compiling ArgumentParser ParsedValues.swift
[72/90] Compiling ArgumentParser ParserError.swift
[73/90] Compiling ArgumentParser SplitArguments.swift
[74/90] Compiling ArgumentParser DumpHelpGenerator.swift
[75/90] Compiling ArgumentParser HelpCommand.swift
[76/90] Compiling ArgumentParser HelpGenerator.swift
[77/90] Compiling ArgumentParser MessageInfo.swift
[78/90] Compiling ArgumentParser UsageGenerator.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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] Emitting module Client
[4/32] Compiling Client FileListReaderClient.swift
[5/32] Compiling Client FileOutputClient.swift
[6/32] Compiling Client ConsoleClient.swift
[7/32] Compiling AEXML Error.swift
[8/32] Emitting module AEXML
[9/33] Compiling AEXML Builders.swift
[10/33] Compiling AEXML Options.swift
[11/33] Compiling AEXML Parser.swift
[12/33] Compiling AEXML Document.swift
[13/33] Compiling AEXML Element.swift
[14/33] Emitting module Value
[15/33] Compiling Value Project.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/35] 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
[20/35] Emitting module ArgumentParserToolInfo
[21/35] Compiling ArgumentParserToolInfo ToolInfo.swift
[22/35] Wrapping AST for Client for debugging
[23/35] Wrapping AST for Value for debugging
[24/35] Wrapping AST for AEXML for debugging
[26/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
[27/76] Emitting module Converter
BUILD FAILURE 6.1 android