Build Information
Failed to build SwiftImportChecks, reference 0.1.14 (758ea9), with Swift 6.1 for Android on 20 Mar 2026 16:27:20 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/michaelversus/SwiftImportChecks.git
Reference: 0.1.14
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
* tag 0.1.14 -> FETCH_HEAD
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 0.1.14
========================================
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-4609320-1":/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-argument-parser
Fetching https://github.com/tuist/XcodeProj.git
[1/17291] Fetching swift-argument-parser
[347/41598] Fetching swift-argument-parser, xcodeproj
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-syntax.git
Fetched https://github.com/apple/swift-argument-parser from cache (1.50s)
[22606/24307] Fetching xcodeproj
[22850/35816] Fetching xcodeproj, yams
[25805/110642] Fetching xcodeproj, yams, swift-syntax
Fetched https://github.com/tuist/XcodeProj.git from cache (3.42s)
[16289/86335] Fetching yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (3.41s)
[49386/74826] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (9.72s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 508.0.1 (15.53s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.0 (1.04s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (1.21s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.27.7 (0.99s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/tadija/AEXML.git
[1/2155] Fetching aexml
[1704/3607] Fetching aexml, pathkit
Fetched https://github.com/tadija/AEXML.git from cache (0.48s)
Fetched https://github.com/kylef/PathKit.git from cache (0.50s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (4.43s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.39s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (1.32s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.03s)
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-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/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.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/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
[19/37] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/106] 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
[22/106] Emitting module AEXML
[23/106] Emitting module Yams
[24/108] Compiling ArgumentParserToolInfo ToolInfo.swift
[25/108] Emitting module ArgumentParserToolInfo
[26/109] Compiling Yams Tag.swift
[27/109] Compiling Yams YamlAnchorProviding.swift
[28/109] Compiling Yams AliasDereferencingStrategy.swift
[29/109] Compiling Yams Anchor.swift
[30/109] Compiling Yams Constructor.swift
[31/109] Compiling Yams Parser.swift
[32/109] Compiling Yams RedundancyAliasingStrategy.swift
[33/114] Wrapping AST for ArgumentParserToolInfo for debugging
[35/160] Compiling ArgumentParser CommandGroup.swift
[36/160] Compiling ArgumentParser EnumerableFlag.swift
[37/160] Compiling ArgumentParser ExpressibleByArgument.swift
[38/160] Compiling ArgumentParser ParsableArguments.swift
[39/160] Compiling ArgumentParser ParsableCommand.swift
[40/160] Compiling ArgumentParser ArgumentDecoder.swift
[41/160] Compiling ArgumentParser ArgumentDefinition.swift
[42/160] Compiling ArgumentParser ArgumentSet.swift
[43/160] Compiling ArgumentParser CommandParser.swift
[44/160] Compiling ArgumentParser InputKey.swift
[45/160] Emitting module ArgumentParser
[46/166] Compiling ArgumentParser Foundation.swift
[47/166] Compiling ArgumentParser Mutex.swift
[48/166] Compiling ArgumentParser Platform.swift
[49/166] Compiling ArgumentParser SequenceExtensions.swift
[50/166] Compiling ArgumentParser StringExtensions.swift
[51/166] Compiling ArgumentParser SwiftExtensions.swift
[52/166] Compiling ArgumentParser DumpHelpGenerator.swift
[53/166] Compiling ArgumentParser HelpCommand.swift
[54/166] Compiling ArgumentParser HelpGenerator.swift
[55/166] Compiling ArgumentParser MessageInfo.swift
[56/166] Compiling ArgumentParser UsageGenerator.swift
[57/166] Compiling ArgumentParser CollectionExtensions.swift
[58/166] Compiling ArgumentParser InputOrigin.swift
[59/166] Compiling ArgumentParser Name.swift
[60/166] Compiling ArgumentParser Parsed.swift
[61/166] Compiling ArgumentParser ParsedValues.swift
[62/166] Compiling ArgumentParser ParserError.swift
[63/166] Compiling ArgumentParser SplitArguments.swift
[64/166] Compiling AEXML Parser.swift
[65/166] Compiling AEXML Options.swift
[66/166] Compiling AEXML Element.swift
[67/166] Compiling AEXML Builders.swift
[68/166] Compiling AEXML Document.swift
[69/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
[70/166] Compiling AEXML Error.swift
[71/167] Compiling ArgumentParser ParentCommand.swift
[72/167] Compiling ArgumentParser AsyncParsableCommand.swift
[73/167] Compiling ArgumentParser CommandConfiguration.swift
[78/167] Compiling ArgumentParser BashCompletionsGenerator.swift
[79/167] Compiling ArgumentParser CompletionsGenerator.swift
[80/167] Compiling ArgumentParser FishCompletionsGenerator.swift
[81/167] Compiling ArgumentParser ZshCompletionsGenerator.swift
[82/167] Compiling ArgumentParser Argument.swift
[83/167] Compiling ArgumentParser ArgumentDiscussion.swift
[84/167] Compiling ArgumentParser ArgumentHelp.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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 Error.swift
[5/89] Emitting module AEXML
[6/89] Compiling AEXML Builders.swift
[7/89] Compiling AEXML Options.swift
[8/89] Compiling AEXML Parser.swift
[9/89] Compiling SwiftSyntax SyntaxArena.swift
[10/89] Compiling SwiftSyntax SyntaxChildren.swift
[11/91] Compiling AEXML Document.swift
[12/91] Compiling AEXML Element.swift
[13/92] Compiling SwiftSyntax SyntaxData.swift
[14/92] Compiling SwiftSyntax SyntaxOtherNodes.swift
[15/92] Compiling SwiftSyntax AbsolutePosition.swift
[16/92] Compiling SwiftSyntax BumpPtrAllocator.swift
[17/92] Compiling SwiftSyntax CommonAncestor.swift
[18/92] Wrapping AST for AEXML for debugging
[20/92] Compiling Yams YamlError.swift
[21/92] Compiling Yams YamlTagProviding.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/92] 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
[23/92] 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
[24/92] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[25/92] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[26/92] Compiling SwiftSyntax RawSyntaxTokenView.swift
BUILD FAILURE 6.1 android