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.1 for Android on 29 May 2025 15:54:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/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.1
Building package at path:  $PWD
https://github.com/stackotter/XcodeGen.git
https://github.com/stackotter/XcodeGen.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    },
    {
      "identity" : "jsonutilities",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.2.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/yonaskolb/JSONUtilities.git"
    },
    {
      "identity" : "spectre",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Spectre.git"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow.git"
    },
    {
      "identity" : "swiftxcodeproj",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.10.1",
            "upper_bound" : "9.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/stackotter/SwiftXcodeProj.git"
    },
    {
      "identity" : "swiftcli",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.3",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jakeheis/SwiftCLI.git"
    },
    {
      "identity" : "version",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mxcl/Version"
    },
    {
      "identity" : "graphviz",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/wabiverse/GraphViz.git"
    }
  ],
  "manifest_display_name" : "XcodeGen",
  "name" : "XcodeGen",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "xcodegen",
      "targets" : [
        "XcodeGen"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "XcodeGenKit",
      "targets" : [
        "XcodeGenKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ProjectSpec",
      "targets" : [
        "ProjectSpec"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XcodeGenKitTests",
      "module_type" : "SwiftTarget",
      "name" : "XcodeGenKitTests",
      "path" : "Tests/XcodeGenKitTests",
      "product_dependencies" : [
        "Spectre",
        "PathKit"
      ],
      "sources" : [
        "BreakpointGeneratorTests.swift",
        "CarthageDependencyResolverTests.swift",
        "GraphVizGeneratorTests.swift",
        "PBXProjGeneratorTests.swift",
        "ProjectGeneratorTests.swift",
        "SchemeGeneratorTests.swift",
        "SourceGeneratorTests.swift"
      ],
      "target_dependencies" : [
        "XcodeGenKit",
        "TestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XcodeGenKit",
      "module_type" : "SwiftTarget",
      "name" : "XcodeGenKit",
      "path" : "Sources/XcodeGenKit",
      "product_dependencies" : [
        "JSONUtilities",
        "SwiftXcodeProj",
        "PathKit",
        "GraphViz"
      ],
      "product_memberships" : [
        "xcodegen",
        "XcodeGenKit"
      ],
      "sources" : [
        "BreakpointGenerator.swift",
        "CarthageDependencyResolver.swift",
        "CarthageVersionLoader.swift",
        "FileWriter.swift",
        "GraphVizGenerator.swift",
        "InfoPlistGenerator.swift",
        "PBXProjGenerator.swift",
        "ProjectGenerator.swift",
        "SchemeGenerator.swift",
        "SettingsBuilder.swift",
        "SettingsPresetFile.swift",
        "SourceGenerator.swift",
        "Version.swift",
        "XCProjExtensions.swift"
      ],
      "target_dependencies" : [
        "ProjectSpec",
        "XcodeGenCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "XcodeGenCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "XcodeGenCoreTests",
      "path" : "Tests/XcodeGenCoreTests",
      "product_dependencies" : [
        "Spectre",
        "PathKit"
      ],
      "sources" : [
        "ArrayExtensionsTests.swift",
        "AtomicTests.swift",
        "GlobTests.swift",
        "PathExtensionsTests.swift"
      ],
      "target_dependencies" : [
        "XcodeGenCore",
        "TestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XcodeGenCore",
      "module_type" : "SwiftTarget",
      "name" : "XcodeGenCore",
      "path" : "Sources/XcodeGenCore",
      "product_dependencies" : [
        "PathKit",
        "Yams"
      ],
      "product_memberships" : [
        "xcodegen",
        "XcodeGenKit",
        "ProjectSpec"
      ],
      "sources" : [
        "ArrayExtensions.swift",
        "Atomic.swift",
        "Glob.swift",
        "MD5.swift",
        "PathExtensions.swift",
        "StringDiff.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "XcodeGenCLI",
      "module_type" : "SwiftTarget",
      "name" : "XcodeGenCLI",
      "path" : "Sources/XcodeGenCLI",
      "product_dependencies" : [
        "SwiftCLI",
        "Rainbow",
        "PathKit",
        "Version"
      ],
      "product_memberships" : [
        "xcodegen"
      ],
      "sources" : [
        "Arguments.swift",
        "Commands/DumpCommand.swift",
        "Commands/GenerateCommand.swift",
        "Commands/ProjectCommand.swift",
        "GenerationError.swift",
        "XcodeGenCLI.swift"
      ],
      "target_dependencies" : [
        "XcodeGenKit",
        "ProjectSpec"
      ],
      "type" : "library"
    },
    {
      "c99name" : "XcodeGen",
      "module_type" : "SwiftTarget",
      "name" : "XcodeGen",
      "path" : "Sources/XcodeGen",
      "product_dependencies" : [
        "Version"
      ],
      "product_memberships" : [
        "xcodegen"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "XcodeGenCLI"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "TestSupport",
      "module_type" : "SwiftTarget",
      "name" : "TestSupport",
      "path" : "Sources/TestSupport",
      "product_dependencies" : [
        "SwiftXcodeProj",
        "Spectre",
        "PathKit"
      ],
      "sources" : [
        "TestHelpers.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ProjectSpecTests",
      "module_type" : "SwiftTarget",
      "name" : "ProjectSpecTests",
      "path" : "Tests/ProjectSpecTests",
      "product_dependencies" : [
        "Spectre",
        "PathKit"
      ],
      "sources" : [
        "Dictionary+Extension_Tests.swift",
        "ProjectSpecTests.swift",
        "SpecLoadingTests.swift"
      ],
      "target_dependencies" : [
        "ProjectSpec",
        "TestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ProjectSpec",
      "module_type" : "SwiftTarget",
      "name" : "ProjectSpec",
      "path" : "Sources/ProjectSpec",
      "product_dependencies" : [
        "JSONUtilities",
        "SwiftXcodeProj",
        "Yams",
        "Version"
      ],
      "product_memberships" : [
        "xcodegen",
        "XcodeGenKit",
        "ProjectSpec"
      ],
      "sources" : [
        "AggregateTarget.swift",
        "Array+Extension.swift",
        "Breakpoint.swift",
        "BuildPhaseSpec.swift",
        "BuildRule.swift",
        "BuildScript.swift",
        "BuildSettingsContainer.swift",
        "CacheFile.swift",
        "Config.swift",
        "Decoding.swift",
        "Dependency.swift",
        "DeploymentTarget.swift",
        "Dictionary+Extension.swift",
        "Encoding.swift",
        "FileType.swift",
        "GroupOrdering.swift",
        "Linkage.swift",
        "NSRegularExpressionExtensions.swift",
        "PathContainer.swift",
        "Platform.swift",
        "Plist.swift",
        "Project.swift",
        "ProjectReference.swift",
        "ProjectTarget.swift",
        "Scheme.swift",
        "Settings.swift",
        "SourceType.swift",
        "SpecFile.swift",
        "SpecLoader.swift",
        "SpecOptions.swift",
        "SpecParsingError.swift",
        "SpecValidation.swift",
        "SpecValidationError.swift",
        "SwiftPackage.swift",
        "Target.swift",
        "TargetReference.swift",
        "TargetScheme.swift",
        "TargetSource.swift",
        "Template.swift",
        "TestPlan.swift",
        "TestTargeReference.swift",
        "VersionExtensions.swift",
        "XCProjExtensions.swift",
        "Yaml.swift"
      ],
      "target_dependencies" : [
        "XcodeGenCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PerformanceTests",
      "module_type" : "SwiftTarget",
      "name" : "PerformanceTests",
      "path" : "Tests/PerformanceTests",
      "product_dependencies" : [
        "Spectre",
        "PathKit"
      ],
      "sources" : [
        "PerformanceTests.swift",
        "TestProject.swift"
      ],
      "target_dependencies" : [
        "XcodeGenKit",
        "TestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FixtureTests",
      "module_type" : "SwiftTarget",
      "name" : "FixtureTests",
      "path" : "Tests/FixtureTests",
      "product_dependencies" : [
        "Spectre",
        "PathKit"
      ],
      "sources" : [
        "FixtureTests.swift"
      ],
      "target_dependencies" : [
        "XcodeGenKit",
        "TestSupport"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/wabiverse/GraphViz.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/jakeheis/SwiftCLI.git
Fetching https://github.com/mxcl/Version
Fetching https://github.com/stackotter/SwiftXcodeProj.git
[1/1021] Fetching spectre
[1022/1596] Fetching spectre, graphviz
[1034/6670] Fetching spectre, graphviz, swiftcli
[1233/6958] Fetching spectre, graphviz, swiftcli, version
[5031/23441] Fetching spectre, graphviz, swiftcli, version, swiftxcodeproj
Fetching https://github.com/onevcat/Rainbow.git
Fetched https://github.com/wabiverse/GraphViz.git from cache (0.52s)
Fetched https://github.com/kylef/Spectre.git from cache (0.52s)
Fetching https://github.com/yonaskolb/JSONUtilities.git
Fetching https://github.com/jpsim/Yams.git
[10967/21845] Fetching swiftcli, version, swiftxcodeproj
[12451/23041] Fetching swiftcli, version, swiftxcodeproj, rainbow
[21724/24394] Fetching swiftcli, version, swiftxcodeproj, rainbow, jsonutilities
[24395/35051] Fetching swiftcli, version, swiftxcodeproj, rainbow, jsonutilities, yams
Fetched https://github.com/yonaskolb/JSONUtilities.git from cache (1.34s)
[28370/33698] Fetching swiftcli, version, swiftxcodeproj, rainbow, yams
Fetched https://github.com/onevcat/Rainbow.git from cache (1.50s)
[27281/32502] Fetching swiftcli, version, swiftxcodeproj, yams
Fetching https://github.com/kylef/PathKit.git
Fetched https://github.com/mxcl/Version from cache (1.88s)
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (1.89s)
[22238/27140] Fetching swiftxcodeproj, yams
Fetched https://github.com/stackotter/SwiftXcodeProj.git from cache (1.91s)
[5862/10657] Fetching yams
[7248/12068] Fetching yams, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.51s)
[9592/10657] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (2.54s)
Computing version for https://github.com/wabiverse/GraphViz.git
Computed https://github.com/wabiverse/GraphViz.git at 0.6.0 (3.99s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (0.96s)
Computing version for https://github.com/yonaskolb/JSONUtilities.git
Computed https://github.com/yonaskolb/JSONUtilities.git at 4.2.0 (4.03s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (1.17s)
Computing version for https://github.com/stackotter/SwiftXcodeProj.git
Computed https://github.com/stackotter/SwiftXcodeProj.git at 8.11.0 (2.13s)
Fetching https://github.com/tadija/AEXML.git
[1/2127] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.46s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (1.66s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.70s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.1.0 (0.94s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (3.12s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.91s)
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/stackotter/SwiftXcodeProj.git
Working copy of https://github.com/stackotter/SwiftXcodeProj.git resolved at 8.11.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/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 6.0.3
Creating working copy for https://github.com/yonaskolb/JSONUtilities.git
Working copy of https://github.com/yonaskolb/JSONUtilities.git resolved at 4.2.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/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 2.1.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/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.6.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
Building for debugging...
[0/43] Write sources
[18/43] Compiling writer.c
[19/43] Compiling reader.c
[20/43] Compiling parser.c
[21/43] Compiling api.c
[22/43] Compiling emitter.c
[23/43] Compiling scanner.c
[24/43] Write swift-version-24593BA9C3E375BF.txt
[26/137] Emitting module Version
[27/137] Compiling Version Version+Codable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/137] 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 |         }
[29/137] Compiling JSONUtilities DecodingError.swift
[30/137] Compiling JSONUtilities Dictionary+JSONKey.swift
[31/138] Compiling Rainbow Style.swift
[32/138] Compiling Yams Tag.swift
[33/138] Compiling Yams YamlAnchorProviding.swift
[34/138] Compiling Version Version+Range.swift
[35/138] Compiling Version Version.swift
[36/140] Compiling Rainbow String+Rainbow.swift
[37/140] Compiling Rainbow StringGenerator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/140] Emitting module Spectre
/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 |
/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 |
/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 |
[41/141] Compiling Rainbow XcodeColorsSupport.swift
[42/141] Emitting module JSONUtilities
[43/142] Compiling JSONUtilities URL+JSONPrimitiveConvertible.swift
[44/142] Compiling GraphViz KeyValuePairs+Extensions.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 |
[45/142] Compiling GraphViz Graph.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 |
[46/142] Compiling Spectre Global.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 |
[47/142] Compiling GraphViz Location.swift
[48/142] Compiling GraphViz Ordering.swift
[49/142] Compiling GraphViz Point.swift
[50/142] Compiling GraphViz Position.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 |
[52/144] Compiling GraphViz Node.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 |
[53/144] Compiling GraphViz Format.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 |
[54/146] 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 |
[55/146] Compiling Spectre Reporters.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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[56/146] Emitting module SwiftCLI
/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 |
/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 |
/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 |
/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 |
[62/146] Compiling Spectre XCTest.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 |
/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 |
[64/146] Compiling Yams YamlError.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 |
[65/146] Compiling JSONUtilities JSONObjectConvertible.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[66/146] 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
[67/146] 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
[68/146] Compiling JSONUtilities KeyPath.swift
[69/146] 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 |
[70/146] Compiling Spectre Path.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 |
[71/146] Compiling GraphViz Color.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 |
/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 |
/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 |
[74/146] Compiling GraphViz LayoutAlgorithm.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 |
[75/146] Compiling GraphViz Subgraph.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 |
[76/146] Compiling GraphViz AspectRatio.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 |
[77/146] Compiling JSONUtilities Dictionary+KeyPath.swift
[78/146] Compiling JSONUtilities InvalidItemBehaviour.swift
[79/146] Compiling GraphViz Size.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 |
[80/146] Compiling SwiftCLI Stream.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 |
/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 |
/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 |
/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 |
[84/146] Compiling GraphViz Rectangle.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 |
[87/146] Compiling JSONUtilities JSONFileLoading.swift
[88/146] Compiling Version Version+Comparable.swift
[89/146] Compiling Version Version+Foundation.swift
[96/147] Emitting module GraphViz
[101/147] Compiling Rainbow Rainbow.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 |         }
/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 |         }
[111/147] Compiling SwiftCLI ValueBox.swift
[112/147] Compiling JSONUtilities JSONPrimitiveConvertible.swift
[122/148] Emitting module Yams
/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 |
[130/150] 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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
Building for debugging...
[0/19] Write swift-version-24593BA9C3E375BF.txt
[2/113] Compiling Spectre Reporters.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 |
[3/114] 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 |
[4/114] Compiling JSONUtilities InvalidItemBehaviour.swift
[5/114] Compiling JSONUtilities JSONFileLoading.swift
[6/114] Compiling JSONUtilities Dictionary+KeyPath.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/114] Emitting module Spectre
/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 |
[8/115] Compiling Version Version+Codable.swift
[9/115] Compiling Version Version+Comparable.swift
[10/115] Compiling Rainbow Style.swift
[11/116] Compiling Yams String+Yams.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 |
[12/116] Compiling Yams Mark.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 |
[13/118] Emitting module Version
[14/118] Compiling JSONUtilities JSONObjectConvertible.swift
[15/118] Compiling JSONUtilities JSONPrimitiveConvertible.swift
[16/118] Compiling JSONUtilities KeyPath.swift
[17/118] Compiling Spectre XCTest.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 |
[18/118] Compiling JSONUtilities URL+JSONPrimitiveConvertible.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/118] Compiling Spectre Case.swift
[20/118] Compiling Spectre Context.swift
[21/118] 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 |         }
[22/118] Compiling Spectre Failure.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 |
[23/118] Compiling Rainbow Color.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 |
[24/118] Compiling Rainbow ControlCode.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 |
/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 |
/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 |
[27/118] 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 |
[28/118] Compiling Version Version+Range.swift
[29/118] Compiling Version Version+Foundation.swift
[30/118] 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 |
[31/118] 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 |
[32/118] Compiling Version Version.swift
[33/118] Compiling Yams RedundancyAliasingStrategy.swift
[34/118] Compiling Yams Representer.swift
[35/118] Compiling Yams Tag.swift
[36/118] Compiling Yams YamlAnchorProviding.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/118] Emitting module SwiftCLI
/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 |
[38/118] 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 |
[39/120] Compiling Spectre Global.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 |
[40/121] Compiling Spectre Path.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 |
[41/121] Compiling Rainbow StringGenerator.swift
[42/121] Compiling Yams Node.Alias.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 |
[43/121] Compiling Yams Node.Mapping.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 |
[44/121] Compiling SwiftCLI Parser.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 |
/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 |
/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 |
/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 |
/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 |
[49/121] Compiling Rainbow Rainbow.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 |         }
/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/121] Compiling Rainbow String+Rainbow.swift
[55/121] Compiling Yams Node.Scalar.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 |
[56/121] Compiling Yams Node.Sequence.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 |
[57/121] Compiling Yams Node.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 |
/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 |
/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/121] Compiling GraphViz Rectangle.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 |
[61/121] Emitting module JSONUtilities
error: emit-module command failed with exit code 1 (use -v to see invocation)
[62/121] 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
BUILD FAILURE 6.1 android