The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftImportChecks, reference main (758ea9), with Swift 6.1 for Android on 20 Mar 2026 16:31:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/michaelversus/SwiftImportChecks.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/michaelversus/SwiftImportChecks
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 758ea99 bump up version
Cloned https://github.com/michaelversus/SwiftImportChecks.git
Revision (git rev-parse @):
758ea99a5b32379f56b649ff49a4505dfde9a5f0
SUCCESS checkout https://github.com/michaelversus/SwiftImportChecks.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/michaelversus/SwiftImportChecks.git
https://github.com/michaelversus/SwiftImportChecks.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "xcodeproj",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.8.0",
            "upper_bound" : "9.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tuist/XcodeProj.git"
    },
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "508.0.0",
            "upper_bound" : "509.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    }
  ],
  "manifest_display_name" : "SwiftImportChecks",
  "name" : "SwiftImportChecks",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftImportChecks",
      "targets" : [
        "SwiftImportChecks"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftImportChecksTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftImportChecksTests",
      "path" : "Tests/SwiftImportChecksTests",
      "product_dependencies" : [
        "XcodeProj"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/SwiftImportChecksTests/Example",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "CompositionRootTests.swift",
        "Configuration/ConfigErrorTests.swift",
        "Configuration/ConfigFactoryTests.swift",
        "Configuration/ConfigurationTests.swift",
        "DiagramBuilder/DiagramBuilderTests.swift",
        "Errors/ImplicitDependenciesErrorTests.swift",
        "Errors/SwiftImportChecksErrorTests.swift",
        "Extensions/StringExtensionsTests.swift",
        "Extensions/XCodeProjError+Extension.swift",
        "Mocks/ConfigFactoryMock.swift",
        "Mocks/FileManagerMock.swift",
        "Mocks/MockDiagramBuilder.swift",
        "SPMParsing/PackagesParserTests.swift",
        "SwiftImportChecksTests.swift",
        "SwiftSyntaxParsing/SwiftFilesParserTests.swift"
      ],
      "target_dependencies" : [
        "SwiftImportChecks"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftImportChecks",
      "module_type" : "SwiftTarget",
      "name" : "SwiftImportChecks",
      "path" : "Sources",
      "product_dependencies" : [
        "Yams",
        "ArgumentParser",
        "XcodeProj",
        "SwiftSyntax",
        "SwiftSyntaxParser"
      ],
      "product_memberships" : [
        "SwiftImportChecks"
      ],
      "sources" : [
        "CompositionRoot.swift",
        "Configuration/ConfigError.swift",
        "Configuration/ConfigFactory.swift",
        "Configuration/Configuration.swift",
        "Configuration/SystemImports.swift",
        "DiagramBuilder/DiagramBuilder.swift",
        "Errors/ImplicitDependenciesError.swift",
        "Errors/SwiftImportChecksError.swift",
        "Extensions/String+Extensions.swift",
        "Extensions/URL+Extensions.swift",
        "Protocols/FileManagerProtocol.swift",
        "SPMParsing/PackageSwiftFileVisitor.swift",
        "SPMParsing/PackagesParser.swift",
        "SPMParsing/SwiftPackageFile.swift",
        "SPMParsing/SwiftPackageTarget.swift",
        "SwiftImportChecks.swift",
        "SwiftSyntaxParsing/Comment.swift",
        "SwiftSyntaxParsing/Node.swift",
        "SwiftSyntaxParsing/Results.swift",
        "SwiftSyntaxParsing/SwiftFile.swift",
        "SwiftSyntaxParsing/SwiftFileVisitor.swift",
        "SwiftSyntaxParsing/SwiftFilesParser.swift",
        "SwiftSyntaxParsing/SwiftFunction.swift",
        "SwiftSyntaxParsing/SwiftType.swift",
        "XcodeProjectParsing/Target.swift",
        "XcodeProjectParsing/TargetValidator.swift",
        "XcodeProjectParsing/XcodeProjectParser.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:4aaa9704d9ec48004f0d4dbd1faa76d47dfce67570c934d5c9f7c1557cee5c73
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/tuist/XcodeProj.git
[1/11509] Fetching yams
[2/35816] Fetching yams, xcodeproj
[8906/110642] Fetching yams, xcodeproj, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (3.62s)
[64714/99133] Fetching xcodeproj, swift-syntax
Fetched https://github.com/tuist/XcodeProj.git from cache (3.63s)
[41155/74826] Fetching swift-syntax
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/apple/swift-syntax.git from cache (10.66s)
[1/17291] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.30s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 508.0.1 (16.37s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.0 (0.94s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (1.13s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.27.7 (0.94s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/tadija/AEXML.git
[1/2155] Fetching aexml
[2156/3607] Fetching aexml, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.54s)
Fetched https://github.com/tadija/AEXML.git from cache (0.54s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (4.50s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.36s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (1.41s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.06s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 508.0.1
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.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
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/37] Write sources
[13/37] Compiling writer.c
[14/37] Compiling reader.c
[15/37] Compiling parser.c
[16/37] Compiling api.c
[17/37] Compiling emitter.c
[18/37] Write swift-version-24593BA9C3E375BF.txt
[18/37] Compiling scanner.c
[21/106] Compiling Yams Tag.swift
[22/106] Compiling Yams YamlAnchorProviding.swift
[23/108] Emitting module ArgumentParserToolInfo
[24/108] Compiling ArgumentParserToolInfo ToolInfo.swift
[25/109] Compiling Yams Parser.swift
[26/109] Compiling Yams RedundancyAliasingStrategy.swift
[27/109] Compiling Yams Representer.swift
[28/109] Compiling Yams Resolver.swift
[29/109] Compiling Yams String+Yams.swift
[30/109] Emitting module AEXML
[31/114] Compiling Yams AliasDereferencingStrategy.swift
[32/114] Compiling Yams Anchor.swift
[33/114] Compiling Yams Constructor.swift
[34/114] Compiling Yams Decoder.swift
[35/114] Compiling Yams Emitter.swift
[36/114] Compiling Yams Encoder.swift
[37/114] Wrapping AST for ArgumentParserToolInfo for debugging
[39/160] Compiling ArgumentParser ArgumentSet.swift
[40/160] Compiling ArgumentParser CommandParser.swift
[41/160] Compiling ArgumentParser InputKey.swift
[42/160] Compiling ArgumentParser ParentCommand.swift
[43/160] Compiling ArgumentParser AsyncParsableCommand.swift
[44/160] Compiling ArgumentParser CommandConfiguration.swift
[45/160] Compiling ArgumentParser CommandGroup.swift
[46/160] Compiling ArgumentParser EnumerableFlag.swift
[47/160] Compiling ArgumentParser ExpressibleByArgument.swift
[48/160] Compiling ArgumentParser ParsableArguments.swift
[49/160] Emitting module ArgumentParser
[50/166] Compiling ArgumentParser Tree.swift
[51/166] Compiling ArgumentParser CodingKeyValidator.swift
[52/166] Compiling ArgumentParser NonsenseFlagsValidator.swift
[53/166] Compiling ArgumentParser ParsableArgumentsValidation.swift
[54/166] Compiling ArgumentParser PositionalArgumentsValidator.swift
[55/166] Compiling ArgumentParser UniqueNamesValidator.swift
[56/166] Compiling AEXML Error.swift
[57/166] Compiling ArgumentParser InputOrigin.swift
[58/166] Compiling ArgumentParser Name.swift
[59/166] Compiling ArgumentParser Parsed.swift
[60/166] Compiling ArgumentParser ParsedValues.swift
[61/166] Compiling ArgumentParser ParserError.swift
[62/166] Compiling ArgumentParser SplitArguments.swift
[63/166] Compiling ArgumentParser DumpHelpGenerator.swift
[64/166] Compiling ArgumentParser HelpCommand.swift
[65/166] Compiling ArgumentParser HelpGenerator.swift
[66/166] Compiling ArgumentParser MessageInfo.swift
[67/166] Compiling ArgumentParser UsageGenerator.swift
[68/166] Compiling ArgumentParser CollectionExtensions.swift
[69/166] Compiling ArgumentParser Foundation.swift
[70/166] Compiling ArgumentParser Mutex.swift
[71/166] Compiling ArgumentParser Platform.swift
[72/166] Compiling ArgumentParser SequenceExtensions.swift
[73/166] Compiling ArgumentParser StringExtensions.swift
[74/166] Compiling ArgumentParser SwiftExtensions.swift
[75/166] Compiling ArgumentParser ArgumentDecoder.swift
[76/166] Compiling ArgumentParser ArgumentDefinition.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[77/166] 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
[78/166] 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
[79/166] Compiling AEXML Options.swift
[80/166] Compiling ArgumentParser OptionGroup.swift
[81/166] Compiling ArgumentParser BashCompletionsGenerator.swift
[82/166] Compiling ArgumentParser CompletionsGenerator.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:4aaa9704d9ec48004f0d4dbd1faa76d47dfce67570c934d5c9f7c1557cee5c73
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/20] Write swift-version-24593BA9C3E375BF.txt
[4/89] Compiling AEXML Document.swift
[5/89] Compiling AEXML Error.swift
[6/89] Compiling AEXML Element.swift
[7/89] Emitting module AEXML
[8/89] Compiling AEXML Builders.swift
[9/89] Emitting module ArgumentParserToolInfo
[10/89] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/90] Compiling Yams Resolver.swift
[12/90] Compiling Yams String+Yams.swift
[13/90] Compiling Yams Tag.swift
[14/90] Compiling Yams YamlAnchorProviding.swift
[16/92] Compiling AEXML Options.swift
[17/92] Compiling AEXML Parser.swift
[18/92] Wrapping AST for AEXML for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/138] 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
[21/138] 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
BUILD FAILURE 6.1 android