Build Information
Failed to build swift-codeowners-plugin, reference v1.3.1 (dc835c), with Swift 6.2 for Android on 11 Jul 2026 22:04:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gmazzo/swift-codeowners-plugin.git
Reference: v1.3.1
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/gmazzo/swift-codeowners-plugin
* tag v1.3.1 -> FETCH_HEAD
HEAD is now at dc835c3 Iterated `RenameRule` literal expression (#87)
Cloned https://github.com/gmazzo/swift-codeowners-plugin.git
Revision (git rev-parse @):
dc835c3df58d9742056959eaa45df4d70f7ca6ba
SUCCESS checkout https://github.com/gmazzo/swift-codeowners-plugin.git at v1.3.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/gmazzo/swift-codeowners-plugin.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:3f0849bce0d177c252f57ff0847fffe59d625aee973279c71a52a43c740d3c90
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Fetching https://github.com/mtj0928/swift-codeowners
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/kylef/PathKit
[1/1452] Fetching pathkit
[60/1550] Fetching pathkit, swift-codeowners
Fetched https://github.com/kylef/PathKit from cache (0.37s)
[1/18024] Fetching swift-argument-parser
[18025/93941] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/mtj0928/swift-codeowners from cache (2.54s)
Fetched https://github.com/apple/swift-argument-parser from cache (2.54s)
Fetched https://github.com/swiftlang/swift-syntax from cache (2.56s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (3.44s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.74s)
Computing version for https://github.com/mtj0928/swift-codeowners
Computed https://github.com/mtj0928/swift-codeowners at 0.1.2 (0.88s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.86s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.2 (0.26s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.16s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.2
Creating working copy for https://github.com/mtj0928/swift-codeowners
Working copy of https://github.com/mtj0928/swift-codeowners resolved at 0.1.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
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
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
[1/1] Compiling plugin CodeOwnersMacroPlugin
[2/2] Compiling plugin CodeOwnersPlugin
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/87] Write sources
[46/87] Compiling _SwiftSyntaxCShims PlatformMutex.c
[48/87] Write swift-version--11D90AFD9DD3AB2.txt
[50/103] Emitting module SwiftSyntax603
[51/103] Emitting module SwiftSyntax602
[53/103] Compiling SwiftSyntax602 Empty.swift
[56/105] Emitting module SwiftSyntax603
[57/105] Compiling SwiftSyntax603 Empty.swift
[60/108] Emitting module SwiftSyntax600
[61/108] Compiling SwiftSyntax600 Empty.swift
[63/113] Compiling SwiftSyntax510 Empty.swift
[64/113] Emitting module SwiftSyntax510
[65/114] Emitting module SwiftSyntax509
[66/114] Compiling SwiftSyntax509 Empty.swift
[68/115] Compiling SwiftSyntax510 Empty.swift
[69/115] Emitting module SwiftSyntax510
[72/120] Compiling SwiftSyntax509 Empty.swift
[73/120] Emitting module SwiftSyntax509
[75/126] Compiling SwiftSyntax603 Empty.swift
[76/127] Emitting module SwiftSyntax601
[77/127] Compiling SwiftSyntax601 Empty.swift
[81/146] Compiling SwiftSyntax600 Empty.swift
[82/146] Emitting module SwiftSyntax600
[83/146] Emitting module SwiftSyntax601
[86/274] Compiling ArgumentParserToolInfo ToolInfo.swift
[87/274] Emitting module ArgumentParserToolInfo
[89/277] Compiling SwiftSyntax Identifier.swift
[90/277] Compiling SwiftSyntax MemoryLayout.swift
[91/277] Compiling SwiftSyntax MissingNodeInitializers.swift
[92/277] Compiling SwiftSyntax RawSyntax.swift
[93/277] Compiling SwiftSyntax RawSyntaxArena.swift
[94/277] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[95/277] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[96/277] Compiling SwiftSyntax RawSyntaxTokenView.swift
[97/277] Compiling SwiftSyntax SourceEdit.swift
[98/285] Emitting module PathKit
[99/285] Compiling CodeOwners Token.swift
[100/285] Emitting module CodeOwners
[101/285] Compiling CodeOwners Array+Utils.swift
[102/285] Compiling CodeOwners String+Utils.swift
[103/285] Compiling ArgumentParserToolInfo ToolInfo.swift
[104/285] Emitting module ArgumentParserToolInfo
[106/286] Compiling CodeOwners CodeOwners.swift
[107/286] Compiling CodeOwners Pattern.swift
[108/333] Emitting module CodeOwnersAPI
[109/333] Compiling CodeOwners CodeOwners.swift
[110/333] Compiling CodeOwners Array+Utils.swift
[111/333] Compiling CodeOwners String+Utils.swift
[112/333] Emitting module CodeOwners
[113/333] Compiling CodeOwners Token.swift
[114/333] Compiling ArgumentParser InputOrigin.swift
[115/333] Compiling ArgumentParser HelpCommand.swift
[116/333] Compiling ArgumentParser HelpGenerator.swift
[117/333] Compiling ArgumentParser MessageInfo.swift
[118/333] Compiling ArgumentParser UsageGenerator.swift
[119/333] Compiling ArgumentParser CollectionExtensions.swift
[120/333] Compiling ArgumentParser Foundation.swift
[121/333] Compiling ArgumentParser Name.swift
[122/333] Compiling ArgumentParser Parsed.swift
[123/333] Compiling ArgumentParser Errors.swift
[124/333] Compiling ArgumentParser Flag.swift
[125/333] Compiling ArgumentParser NameSpecification.swift
[126/333] Compiling ArgumentParser Option.swift
[127/333] Compiling ArgumentParser OptionGroup.swift
[128/333] Compiling ArgumentParser ParentCommand.swift
[129/333] Compiling ArgumentParser AsyncParsableCommand.swift
[130/333] Compiling ArgumentParser CommandConfiguration.swift
[131/333] Compiling ArgumentParser CommandGroup.swift
[132/341] Compiling CodeOwners Pattern.swift
[133/341] Compiling CodeOwners CodeOwner.swift
[134/341] Compiling CodeOwners CodeOwnerLine.swift
[145/389] Compiling ArgumentParser ArgumentVisibility.swift
[146/389] Compiling ArgumentParser CompletionKind.swift
[147/389] Compiling ArgumentParser Errors.swift
[148/389] Compiling ArgumentParser Flag.swift
[149/389] Compiling ArgumentParser NameSpecification.swift
[150/389] Compiling ArgumentParser Option.swift
[151/389] Compiling ArgumentParser OptionGroup.swift
[152/389] Compiling ArgumentParser BashCompletionsGenerator.swift
[153/389] Compiling ArgumentParser CompletionsGenerator.swift
[154/389] Compiling ArgumentParser EnumerableFlag.swift
[155/389] Compiling ArgumentParser ExpressibleByArgument.swift
[156/389] Compiling ArgumentParser ParsableArguments.swift
[157/389] Compiling ArgumentParser Mutex.swift
[158/389] Compiling ArgumentParser Platform.swift
[159/389] Compiling ArgumentParser SequenceExtensions.swift
[160/389] Compiling ArgumentParser StringExtensions.swift
[161/389] Compiling ArgumentParser SwiftExtensions.swift
[162/389] Compiling ArgumentParser Tree.swift
[163/389] Compiling ArgumentParser ParentCommand.swift
[164/389] Compiling ArgumentParser AsyncParsableCommand.swift
[165/389] Compiling ArgumentParser CommandConfiguration.swift
[166/389] Compiling ArgumentParser CommandGroup.swift
[170/395] Compiling PathKit PathKit.swift
[180/396] Wrapping AST for SwiftSyntax603 for debugging
[181/396] Wrapping AST for SwiftSyntax602 for debugging
[182/396] Wrapping AST for SwiftSyntax601 for debugging
[183/396] Wrapping AST for SwiftSyntax600 for debugging
[184/396] Wrapping AST for SwiftSyntax510 for debugging
[185/396] Wrapping AST for SwiftSyntax509 for debugging
[186/396] Wrapping AST for PathKit for debugging
[188/396] Compiling ArgumentParser HelpCommand.swift
[189/396] Compiling ArgumentParser HelpGenerator.swift
[190/396] Compiling ArgumentParser MessageInfo.swift
[191/396] Compiling ArgumentParser UsageGenerator.swift
[192/396] Compiling ArgumentParser CollectionExtensions.swift
[193/396] Compiling ArgumentParser Foundation.swift
[194/396] Compiling ArgumentParser ArgumentDecoder.swift
[195/396] Compiling ArgumentParser ArgumentDefinition.swift
[196/396] Compiling ArgumentParser ArgumentSet.swift
[197/396] Compiling ArgumentParser CommandParser.swift
[198/396] Compiling ArgumentParser InputKey.swift
[199/396] Compiling ArgumentParser InputOrigin.swift
[200/396] Compiling ArgumentParser Name.swift
[201/396] Compiling ArgumentParser Parsed.swift
[202/396] Compiling ArgumentParser ParsedValues.swift
[203/396] Compiling ArgumentParser ParserError.swift
[204/396] Compiling ArgumentParser SplitArguments.swift
[205/396] Compiling ArgumentParser DumpHelpGenerator.swift
[205/396] Wrapping AST for CodeOwners for debugging
[206/396] Wrapping AST for ArgumentParserToolInfo for debugging
[207/396] Wrapping AST for SwiftSyntax603 for debugging
[208/396] Wrapping AST for SwiftSyntax602 for debugging
[209/396] Wrapping AST for SwiftSyntax601 for debugging
[210/396] Wrapping AST for SwiftSyntax600 for debugging
[211/396] Wrapping AST for SwiftSyntax510 for debugging
[212/396] Wrapping AST for SwiftSyntax509 for debugging
[220/402] Wrapping AST for ArgumentParserToolInfo for debugging
[229/402] Compiling ArgumentParser AsyncCompletionsValidator.swift
[230/402] Compiling ArgumentParser CodingKeyValidator.swift
[231/402] Compiling ArgumentParser NonsenseFlagsValidator.swift
[232/402] Compiling ArgumentParser ParsableArgumentsValidation.swift
[233/402] Compiling ArgumentParser PositionalArgumentsValidator.swift
[234/402] Compiling ArgumentParser UniqueNamesValidator.swift
[235/402] Emitting module ArgumentParser
[238/402] Compiling ArgumentParser FishCompletionsGenerator.swift
[239/402] Compiling ArgumentParser ZshCompletionsGenerator.swift
[240/402] Compiling ArgumentParser Argument.swift
[241/402] Compiling ArgumentParser ArgumentDiscussion.swift
[242/402] Compiling ArgumentParser ArgumentHelp.swift
[243/402] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[244/402] 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
[245/402] Compiling CodeOwners CodeOwner.swift
/host/spi-builder-workspace/Sources/CodeOwnersAPI/DemangleHelper.swift:12:19: error: cannot find 'dlopen' in scope
10 |
11 | private func resolveDemangleProc() -> DemangleProc? {
12 | guard let lib = dlopen(nil, RTLD_NOW) else { return nil }
| `- error: cannot find 'dlopen' in scope
13 | guard let symbol = dlsym(lib, "swift_demangle") else { return nil }
14 | return unsafeBitCast(symbol, to: DemangleProc.self)
/host/spi-builder-workspace/Sources/CodeOwnersAPI/DemangleHelper.swift:12:31: error: cannot find 'RTLD_NOW' in scope
10 |
11 | private func resolveDemangleProc() -> DemangleProc? {
12 | guard let lib = dlopen(nil, RTLD_NOW) else { return nil }
| `- error: cannot find 'RTLD_NOW' in scope
13 | guard let symbol = dlsym(lib, "swift_demangle") else { return nil }
14 | return unsafeBitCast(symbol, to: DemangleProc.self)
/host/spi-builder-workspace/Sources/CodeOwnersAPI/DemangleHelper.swift:12:26: error: 'nil' requires a contextual type
10 |
11 | private func resolveDemangleProc() -> DemangleProc? {
12 | guard let lib = dlopen(nil, RTLD_NOW) else { return nil }
| `- error: 'nil' requires a contextual type
13 | guard let symbol = dlsym(lib, "swift_demangle") else { return nil }
14 | return unsafeBitCast(symbol, to: DemangleProc.self)
BUILD FAILURE 6.2 android