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 XcodeGen, reference 2.35.2 (8f5622), with Swift 6.2 (beta) for Android on 22 Jun 2025 00:17:40 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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stackotter/XcodeGen.git
Reference: 2.35.2
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/stackotter/XcodeGen
 * tag               2.35.2     -> FETCH_HEAD
HEAD is now at 8f56226 Fix GraphViz.
Cloned https://github.com/stackotter/XcodeGen.git
Revision (git rev-parse @):
8f562268f8b54461b6ddfe817d624bc4e307a30e
SUCCESS checkout https://github.com/stackotter/XcodeGen.git at 2.35.2
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/stackotter/XcodeGen.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/wabiverse/GraphViz.git
Fetching https://github.com/stackotter/SwiftXcodeProj.git
Fetching https://github.com/jakeheis/SwiftCLI.git
[1/5074] Fetching swiftcli
[2336/5649] Fetching swiftcli, graphviz
[2348/6670] Fetching swiftcli, graphviz, spectre
[2379/7866] Fetching swiftcli, graphviz, spectre, rainbow
[3727/24349] Fetching swiftcli, graphviz, spectre, rainbow, swiftxcodeproj
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (0.99s)
Fetching https://github.com/yonaskolb/JSONUtilities.git
[9551/19275] Fetching graphviz, spectre, rainbow, swiftxcodeproj
[13343/20628] Fetching graphviz, spectre, rainbow, swiftxcodeproj, jsonutilities
Fetched https://github.com/yonaskolb/JSONUtilities.git from cache (0.43s)
[14990/19275] Fetching graphviz, spectre, rainbow, swiftxcodeproj
Fetching https://github.com/jpsim/Yams.git
[19276/30149] Fetching graphviz, spectre, rainbow, swiftxcodeproj, yams
Fetching https://github.com/mxcl/Version
Fetched https://github.com/wabiverse/GraphViz.git from cache (2.43s)
Fetched https://github.com/kylef/Spectre.git from cache (2.43s)
Fetched https://github.com/onevcat/Rainbow.git from cache (2.44s)
[21594/27357] Fetching swiftxcodeproj, yams
Fetching https://github.com/kylef/PathKit.git
Fetched https://github.com/stackotter/SwiftXcodeProj.git from cache (2.50s)
[5546/10874] Fetching yams
[5765/11167] Fetching yams, version
[6275/12578] Fetching yams, version, pathkit
Fetched https://github.com/mxcl/Version from cache (0.49s)
[6231/12285] Fetching yams, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.62s)
[6199/10874] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (2.80s)
Computing version for https://github.com/wabiverse/GraphViz.git
Computed https://github.com/wabiverse/GraphViz.git at 0.6.0 (5.17s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (0.78s)
Computing version for https://github.com/yonaskolb/JSONUtilities.git
Computed https://github.com/yonaskolb/JSONUtilities.git at 4.2.0 (4.84s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.76s)
Computing version for https://github.com/stackotter/SwiftXcodeProj.git
Computed https://github.com/stackotter/SwiftXcodeProj.git at 8.11.0 (0.74s)
Fetching https://github.com/tadija/AEXML.git
[1/2127] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.39s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (1.27s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.90s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.2.0 (0.79s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (4.74s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.80s)
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.6.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/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 6.0.3
Creating working copy for https://github.com/stackotter/SwiftXcodeProj.git
Working copy of https://github.com/stackotter/SwiftXcodeProj.git resolved at 8.11.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/wabiverse/GraphViz.git
Working copy of https://github.com/wabiverse/GraphViz.git resolved at 0.6.0
Creating working copy for https://github.com/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 2.2.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/yonaskolb/JSONUtilities.git
Working copy of https://github.com/yonaskolb/JSONUtilities.git resolved at 4.2.0
Building for debugging...
[0/43] Write sources
[18/43] Compiling writer.c
[19/43] Compiling reader.c
[20/43] Write swift-version-8C5A4AE7A8CE2BA.txt
[21/44] Compiling parser.c
[22/96] Compiling api.c
[23/108] Compiling emitter.c
[24/117] Compiling scanner.c
[26/123] Emitting module AEXML
[27/123] Emitting module GraphViz
[28/125] Compiling JSONUtilities DecodingError.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[29/125] Compiling JSONUtilities Dictionary+JSONKey.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[30/125] Compiling Spectre Expectation.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[31/127] Compiling Spectre Reporter.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[32/128] Compiling Spectre GlobalContext.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[33/128] Compiling Version Version+Range.swift
[34/128] Compiling GraphViz Rectangle.swift
[35/128] Compiling GraphViz Size.swift
[36/128] Compiling Rainbow StringGenerator.swift
[37/128] Emitting module Version
[38/128] Compiling Version Version+Codable.swift
[39/129] Compiling Rainbow Style.swift
[40/129] Compiling SwiftCLI ValueBox.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[41/129] Compiling SwiftCLI VersionCommand.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[42/129] Compiling Rainbow String+Rainbow.swift
[43/129] Compiling Version Version.swift
[44/129] Compiling Rainbow XcodeColorsSupport.swift
[45/129] Compiling JSONUtilities JSONFileLoading.swift
[49/130] Compiling Spectre Failure.swift
[50/130] Compiling JSONUtilities URL+JSONPrimitiveConvertible.swift
[51/130] Compiling SwiftCLI ArgumentListManipulator.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 |         // Check if we are in any term env and the output is a tty.
56 |         let termType = getEnvValue("TERM")
57 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
58 |             return .console
59 |         }
[52/130] Compiling SwiftCLI CLI.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 |         // Check if we are in any term env and the output is a tty.
56 |         let termType = getEnvValue("TERM")
57 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
58 |             return .console
59 |         }
[53/130] Compiling Rainbow Rainbow.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[54/130] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 |         // Check if we are in any term env and the output is a tty.
56 |         let termType = getEnvValue("TERM")
57 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
58 |             return .console
59 |         }
[55/130] Compiling Version Version+Comparable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[56/130] 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
[57/130] Compiling SwiftCLI Error.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[58/130] Compiling SwiftCLI HelpCommand.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[59/130] Compiling SwiftCLI HelpMessageGenerator.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[60/130] Compiling SwiftCLI Term.swift
[61/130] Compiling SwiftCLI Validation.swift
BUILD FAILURE 6.2 android