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 sword, reference main (01eb42), with Swift 6.2 (beta) for Android on 23 Jun 2025 15:35:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/rockname/sword.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/rockname/sword
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 01eb420 Merge pull request #30 from rockname/update-readme
Cloned https://github.com/rockname/sword.git
Revision (git rev-parse @):
01eb420d4c100b4045d9319d9cddd91f0f05ad35
SUCCESS checkout https://github.com/rockname/sword.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/rockname/sword.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/jpsim/Yams.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/davecom/SwiftGraph
Fetching https://github.com/kylef/PathKit.git
[1/1411] Fetching pathkit
[411/4604] Fetching pathkit, swiftgraph
[4605/15478] Fetching pathkit, swiftgraph, yams
Fetched https://github.com/kylef/PathKit.git from cache (0.39s)
[3520/14067] Fetching swiftgraph, yams
Fetched https://github.com/davecom/SwiftGraph from cache (0.43s)
[762/10874] Fetching yams
[5656/26254] Fetching yams, swift-argument-parser
[22993/97181] Fetching yams, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (0.96s)
[17864/81801] Fetching yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (5.15s)
Fetched https://github.com/apple/swift-syntax.git from cache (5.16s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (11.66s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.34s)
Computing version for https://github.com/davecom/SwiftGraph
Computed https://github.com/davecom/SwiftGraph at 3.1.0 (8.42s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (1.30s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.05s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (1.01s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.77s)
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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.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/davecom/SwiftGraph
Working copy of https://github.com/davecom/SwiftGraph resolved at 3.1.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.5.1
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.1
/host/spi-builder-workspace/Plugins/SwordBuildToolPlugin/SwordBuildToolPlugin.swift:11:28: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
 9 |
10 |     let inputDirectories = dependencies.compactMap { dependency in
11 |       dependency.directory.string.replacingOccurrences(
   |                            `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
12 |         of: context.package.directoryURL.path(),
13 |         with: ""
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1/1] Compiling plugin SwordBuildToolPlugin
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/112] Write sources
[28/112] Compiling _SwiftSyntaxCShims dummy.c
[28/112] Write sources
[31/112] Compiling _SwiftSyntaxCShims dummy.c
[31/112] Write sources
[47/112] Write swift-version-8C5A4AE7A8CE2BA.txt
[48/112] Compiling writer.c
[49/112] Compiling reader.c
[50/120] Compiling writer.c
[51/120] Compiling parser.c
[52/124] Compiling api.c
[54/124] Emitting module SwiftSyntax600
[54/124] Compiling emitter.c
[56/128] Emitting module SwiftSyntax510
[56/128] Compiling scanner.c
[59/150] Emitting module SwiftSyntax509
[60/150] Compiling SwiftSyntax509 Empty.swift
[61/151] Compiling SwiftSyntax510 Empty.swift
[64/152] Compiling SwiftSyntax600 Empty.swift
[66/155] Compiling Yams Tag.swift
[67/155] Compiling Yams YamlAnchorProviding.swift
[68/189] Emitting module SwiftSyntax509
[69/189] Compiling SwiftSyntax509 Empty.swift
[71/190] Compiling SwiftSyntax510 Empty.swift
[72/190] Emitting module SwiftSyntax510
[73/191] Compiling SwiftSyntax600 Empty.swift
[74/191] Emitting module SwiftSyntax600
[77/260] Compiling SwiftSyntax AbsolutePosition.swift
[78/260] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[79/260] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[80/260] Compiling SwiftSyntax Assert.swift
[81/260] Compiling SwiftSyntax BumpPtrAllocator.swift
[82/260] Compiling SwiftSyntax CommonAncestor.swift
[83/260] Compiling SwiftSyntax Convenience.swift
[84/260] Compiling SwiftSyntax CustomTraits.swift
[85/260] Compiling SwiftSyntax Identifier.swift
[86/268] Compiling SwordFoundation Scope.swift
[87/268] Compiling SwordFoundation Type.swift
[88/268] Compiling SwiftSyntax SourceEdit.swift
[89/268] Compiling SwiftSyntax SourceLength.swift
[90/268] Compiling SwordFoundation Key.swift
[91/268] Emitting module SwordFoundation
[93/269] Compiling SwiftSyntax MemoryLayout.swift
[94/269] Compiling SwiftSyntax MissingNodeInitializers.swift
[95/269] Compiling SwiftSyntax RawSyntax.swift
[96/269] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[97/269] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[98/269] Compiling SwiftSyntax RawSyntaxTokenView.swift
[102/269] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[103/269] Compiling SwiftSyntax Syntax.swift
[104/333] Compiling SwiftSyntax Assert.swift
[105/333] Compiling SwiftSyntax BumpPtrAllocator.swift
[106/333] Compiling SwiftSyntax CommonAncestor.swift
[107/333] Emitting module Yams
[108/333] Compiling SwiftSyntax AbsolutePosition.swift
[109/333] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[110/333] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[113/334] Compiling SwiftSyntax Convenience.swift
[119/338] Emitting module SwiftGraph
[120/338] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[121/338] Compiling SwiftSyntax RawSyntaxTokenView.swift
[122/338] Compiling SwiftSyntax SyntaxNodeFactory.swift
[123/338] Compiling SwiftSyntax SyntaxNodeStructure.swift
[124/338] Compiling SwiftSyntax SyntaxProtocol.swift
[125/338] Compiling SwiftSyntax SyntaxText.swift
[126/338] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[127/338] Compiling SwiftSyntax TokenDiagnostic.swift
[128/338] Compiling SwiftSyntax TokenSequence.swift
[129/338] Compiling SwiftSyntax TokenSyntax.swift
[130/338] Compiling SwiftSyntax Trivia.swift
[131/338] Compiling SwiftSyntax RawSyntax.swift
[132/338] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[133/338] Compiling SwiftSyntax MemoryLayout.swift
[134/338] Compiling SwiftSyntax MissingNodeInitializers.swift
[135/338] Compiling SwiftSyntax CustomTraits.swift
[136/338] Compiling SwiftSyntax Identifier.swift
[137/338] Compiling SwiftGraph WeightedEdge.swift
[138/338] Compiling SwiftGraph WeightedGraph.swift
[140/339] Compiling SwordFoundation Scope.swift
[141/339] Compiling SwordFoundation Type.swift
[142/339] Compiling SwordFoundation Key.swift
[143/339] Emitting module SwordFoundation
[143/340] Wrapping AST for Yams for debugging
[145/340] Wrapping AST for SwordFoundation for debugging
[150/340] Emitting module SwiftGraph
[150/342] Wrapping AST for SwiftSyntax600 for debugging
[151/342] Wrapping AST for SwiftSyntax510 for debugging
[154/342] Wrapping AST for SwiftSyntax509 for debugging
[156/342] Compiling ArgumentParserToolInfo ToolInfo.swift
[157/342] Emitting module ArgumentParserToolInfo
[157/343] Wrapping AST for SwiftGraph for debugging
[163/343] Wrapping AST for SwordFoundation for debugging
[164/343] Wrapping AST for SwiftSyntax600 for debugging
[165/343] Wrapping AST for ArgumentParserToolInfo for debugging
[166/343] Wrapping AST for SwiftSyntax510 for debugging
[167/381] Wrapping AST for SwiftSyntax509 for debugging
[168/381] Compiling reader.c
[170/381] Compiling ArgumentParser CompletionsGenerator.swift
[171/381] Compiling ArgumentParser FishCompletionsGenerator.swift
[171/381] Compiling parser.c
[173/381] Compiling ArgumentParser Flag.swift
[174/381] Compiling ArgumentParser NameSpecification.swift
[175/381] Compiling ArgumentParser Option.swift
[176/381] Compiling ArgumentParser BashCompletionsGenerator.swift
[177/381] Compiling PathKit PathKit.swift
[178/381] Emitting module PathKit
[179/382] Write sources
[181/384] Compiling emitter.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[183/384] 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
[184/384] 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
[185/384] Compiling ArgumentParser ArgumentVisibility.swift
[186/384] Compiling ArgumentParser CompletionKind.swift
[187/384] Compiling ArgumentParser Errors.swift
[193/384] Compiling api.c
[193/384] Wrapping AST for PathKit for debugging
BUILD FAILURE 6.2 android