Build Information
Failed to build sword, reference 0.5.0 (01eb42
), with Swift 6.2 (beta) for Android on 23 Jun 2025 15:34:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: 0.5.0
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
* tag 0.5.0 -> FETCH_HEAD
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 0.5.0
========================================
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-1":/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/apple/swift-argument-parser
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/kylef/PathKit.git
[1/1411] Fetching pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.48s)
[1/15380] Fetching swift-argument-parser
[15381/86307] Fetching swift-argument-parser, swift-syntax
Fetching https://github.com/davecom/SwiftGraph
Fetching https://github.com/jpsim/Yams.git
Fetched https://github.com/apple/swift-argument-parser from cache (1.46s)
[12058/70927] Fetching swift-syntax
[51778/81801] Fetching swift-syntax, yams
[75817/84994] Fetching swift-syntax, yams, swiftgraph
Fetched https://github.com/davecom/SwiftGraph from cache (3.27s)
Fetched https://github.com/jpsim/Yams.git from cache (3.36s)
Fetched https://github.com/apple/swift-syntax.git from cache (8.81s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (12.62s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.37s)
Computing version for https://github.com/davecom/SwiftGraph
Computed https://github.com/davecom/SwiftGraph at 3.1.0 (4.40s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (1.15s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.89s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.75s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.85s)
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/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/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.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-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
[18/112] Compiling writer.c
[19/112] Compiling reader.c
[19/112] Write sources
[36/112] Compiling _SwiftSyntaxCShims dummy.c
[36/112] Write sources
[48/112] Compiling writer.c
[49/112] Compiling _SwiftSyntaxCShims dummy.c
[50/112] Write swift-version-8C5A4AE7A8CE2BA.txt
[51/112] Compiling parser.c
[52/112] Compiling api.c
[53/112] Compiling reader.c
[54/117] Compiling parser.c
[55/122] Compiling emitter.c
[56/124] Compiling scanner.c
[57/126] Compiling emitter.c
[58/128] Compiling scanner.c
[60/150] Emitting module SwordFoundation
[61/150] Compiling SwiftSyntax600 Empty.swift
[62/150] Emitting module SwiftSyntax600
[63/151] Emitting module SwiftSyntax510
[64/151] Compiling SwiftSyntax510 Empty.swift
[65/151] Compiling Yams Tag.swift
[66/151] Compiling Yams YamlAnchorProviding.swift
[67/151] Emitting module SwiftSyntax509
[68/151] Compiling SwiftSyntax509 Empty.swift
[72/155] Emitting module Yams
[73/189] Compiling SwiftSyntax600 Empty.swift
[74/189] Emitting module SwiftSyntax600
[75/190] Emitting module SwiftSyntax510
[76/190] Compiling SwiftSyntax510 Empty.swift
[78/191] Emitting module SwiftSyntax509
[79/191] Compiling SwiftSyntax509 Empty.swift
[82/322] Compiling SwiftSyntax AbsolutePosition.swift
[83/322] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[84/322] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[85/322] Compiling SwiftSyntax Assert.swift
[86/322] Compiling SwiftSyntax BumpPtrAllocator.swift
[87/322] Compiling SwiftSyntax CommonAncestor.swift
[88/322] Compiling SwiftSyntax Convenience.swift
[89/322] Compiling SwiftSyntax CustomTraits.swift
[90/322] Compiling SwiftSyntax Identifier.swift
[91/330] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[92/330] Compiling SwiftSyntax Syntax.swift
[93/330] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[94/330] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[95/330] Compiling SwordFoundation Scope.swift
[96/330] Compiling SwordFoundation Type.swift
[97/330] Emitting module SwordFoundation
[98/330] Compiling SwordFoundation Key.swift
[99/331] Compiling SwiftSyntax SourceLength.swift
[100/331] Compiling SwiftSyntax SourceLocation.swift
[101/331] Compiling SwiftSyntax SourcePresence.swift
[105/331] Compiling SwiftSyntax MemoryLayout.swift
[106/331] Compiling SwiftSyntax MissingNodeInitializers.swift
[107/331] Compiling SwiftSyntax RawSyntax.swift
[116/336] Emitting module SwiftGraph
[131/338] Compiling SwiftSyntax RawSyntaxTokenView.swift
[132/338] Compiling SwordFoundation Scope.swift
[133/338] Compiling SwordFoundation Type.swift
[134/338] Compiling SwiftGraph WeightedEdge.swift
[135/338] Compiling SwiftGraph WeightedGraph.swift
[136/339] Compiling SwordFoundation Key.swift
[142/342] Wrapping AST for Yams for debugging
[143/342] Wrapping AST for SwordFoundation for debugging
[144/342] Wrapping AST for SwiftSyntax510 for debugging
[146/342] Emitting module SwiftGraph
[146/342] Wrapping AST for SwiftSyntax600 for debugging
[147/342] Wrapping AST for SwiftSyntax509 for debugging
[148/342] Wrapping AST for SwordFoundation for debugging
[149/342] Wrapping AST for SwiftGraph for debugging
[150/342] Wrapping AST for SwiftSyntax600 for debugging
[156/342] Wrapping AST for SwiftSyntax510 for debugging
[158/342] Emitting module ArgumentParserToolInfo
[159/342] Compiling ArgumentParserToolInfo ToolInfo.swift
[159/342] Wrapping AST for SwiftSyntax509 for debugging
[159/342] Write sources
[167/345] Compiling api.c
[169/383] Compiling ArgumentParser CompletionKind.swift
[170/383] Compiling ArgumentParser Errors.swift
[171/383] Emitting module ArgumentParserToolInfo
[172/403] Emitting module PathKit
[173/403] Compiling PathKit PathKit.swift
[174/404] Wrapping AST for PathKit for debugging
[175/404] Wrapping AST for ArgumentParserToolInfo for debugging
[177/404] Compiling Yams Node.Sequence.swift
[178/404] Compiling Yams Node.swift
[179/405] Wrapping AST for SwiftGraph for debugging
[181/405] Compiling Yams RedundancyAliasingStrategy.swift
[182/405] Compiling Yams Representer.swift
[183/405] Compiling Yams Node.Scalar.swift
[186/410] Compiling Yams Resolver.swift
[187/410] Compiling Yams String+Yams.swift
[188/410] Compiling Yams Parser.swift
[194/410] Compiling Yams Tag.swift
[195/410] Compiling Yams YamlAnchorProviding.swift
[196/410] Compiling ArgumentParser ParsableArgumentsValidation.swift
[197/410] Compiling ArgumentParser ParsableCommand.swift
[198/410] Compiling ArgumentParser ArgumentDecoder.swift
[199/410] Compiling ArgumentParser ArgumentDefinition.swift
[200/410] Compiling ArgumentParser ArgumentSet.swift
[201/410] Compiling ArgumentParser CommandParser.swift
[202/410] Compiling ArgumentParser InputKey.swift
[203/410] Compiling ArgumentParser InputOrigin.swift
[204/410] Compiling Yams AliasDereferencingStrategy.swift
[205/410] Compiling Yams Anchor.swift
[206/410] Compiling Yams Constructor.swift
[207/410] Compiling Yams Mark.swift
[208/410] Compiling Yams Node.Alias.swift
[209/410] Compiling Yams Node.Mapping.swift
[210/410] Compiling Yams Decoder.swift
[211/410] Compiling Yams Emitter.swift
[212/410] Compiling Yams Encoder.swift
[231/418] Compiling ArgumentParserToolInfo ToolInfo.swift
[232/419] Wrapping AST for ArgumentParserToolInfo for debugging
[234/457] Compiling ArgumentParser OptionGroup.swift
[235/457] Compiling ArgumentParser AsyncParsableCommand.swift
[236/457] Compiling ArgumentParser CommandConfiguration.swift
[237/457] Compiling ArgumentParser CommandGroup.swift
[238/457] Compiling ArgumentParser EnumerableFlag.swift
[239/457] Compiling ArgumentParser ArgumentVisibility.swift
[240/457] Compiling ArgumentParser Name.swift
[241/457] Compiling ArgumentParser Parsed.swift
[242/457] Compiling ArgumentParser ParsedValues.swift
[243/457] Compiling ArgumentParser ParserError.swift
[244/457] Compiling ArgumentParser SplitArguments.swift
[245/457] Emitting module ArgumentParser
[246/462] Compiling ArgumentParser CollectionExtensions.swift
[247/462] Compiling ArgumentParser Platform.swift
[248/462] Compiling ArgumentParser SequenceExtensions.swift
[249/462] Compiling ArgumentParser StringExtensions.swift
[250/462] Compiling ArgumentParser Tree.swift
[251/462] Compiling ArgumentParser BashCompletionsGenerator.swift
[252/462] Compiling ArgumentParser CompletionsGenerator.swift
[253/462] Compiling ArgumentParser FishCompletionsGenerator.swift
[254/462] Compiling ArgumentParser ZshCompletionsGenerator.swift
[255/462] Compiling ArgumentParser Argument.swift
[256/462] Compiling ArgumentParser ArgumentHelp.swift
[257/462] Emitting module ArgumentParser
error: emit-module command failed with exit code 1 (use -v to see invocation)
[258/462] 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
[259/462] 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.2 android