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 DangerSwiftPeriphery, reference main (247641), with Swift 6.2 (beta) for Android on 21 Jun 2025 14:13:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/taji-taji/DangerSwiftPeriphery.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/taji-taji/DangerSwiftPeriphery
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2476413 Merge pull request #71 from taji-taji/release/1.4.1
Cloned https://github.com/taji-taji/DangerSwiftPeriphery.git
Revision (git rev-parse @):
2476413ea55b828784dc742a64ca7dfe88131904
SUCCESS checkout https://github.com/taji-taji/DangerSwiftPeriphery.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/taji-taji/DangerSwiftPeriphery.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/taji-taji/swift-shell.git
Fetching https://github.com/danger/swift.git
Fetching https://github.com/peripheryapp/periphery
[1/10309] Fetching swift
[311/10457] Fetching swift, swift-shell
[1593/22646] Fetching swift, swift-shell, periphery
Fetched https://github.com/taji-taji/swift-shell.git from cache (1.21s)
Fetched https://github.com/danger/swift.git from cache (1.22s)
Fetched https://github.com/peripheryapp/periphery from cache (1.24s)
Computing version for https://github.com/taji-taji/swift-shell.git
Computed https://github.com/taji-taji/swift-shell.git at 1.0.2 (5.04s)
Computing version for https://github.com/danger/swift.git
Computed https://github.com/danger/swift.git at 3.21.2 (0.91s)
Fetching https://github.com/nerdishbynature/octokit.swift
Fetching https://github.com/shibapm/Logger
[1/116] Fetching logger
[47/5116] Fetching logger, octokit.swift
Fetched https://github.com/shibapm/Logger from cache (0.31s)
[2350/5000] Fetching octokit.swift
Fetching https://github.com/mxcl/Version
Fetched https://github.com/nerdishbynature/octokit.swift from cache (0.91s)
[1/293] Fetching version
Fetched https://github.com/mxcl/Version from cache (0.72s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.14.0 (2.20s)
Fetching https://github.com/nerdishbynature/RequestKit.git
[1/1554] Fetching requestkit
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.43s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (1.49s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.2.0 (0.77s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (3.51s)
Computing version for https://github.com/peripheryapp/periphery
Computed https://github.com/peripheryapp/periphery at 2.21.2 (1.04s)
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/ileitch/swift-filename-matcher
Fetching https://github.com/tadija/AEXML
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/kateinoigakukun/swift-indexstore
Fetching https://github.com/apple/swift-syntax
[1/2127] Fetching aexml
[1958/2450] Fetching aexml, swift-indexstore
[2451/13324] Fetching aexml, swift-indexstore, yams
[2778/13387] Fetching aexml, swift-indexstore, yams, swift-filename-matcher
Fetched https://github.com/ileitch/swift-filename-matcher from cache (0.43s)
[6256/13324] Fetching aexml, swift-indexstore, yams
Fetching https://github.com/apple/swift-system
[8867/28704] Fetching aexml, swift-indexstore, yams, swift-argument-parser
[24097/33140] Fetching aexml, swift-indexstore, yams, swift-argument-parser, swift-system
[27624/104064] Fetching aexml, swift-indexstore, yams, swift-argument-parser, swift-system, swift-syntax
Fetched https://github.com/apple/swift-system from cache (0.55s)
[33669/99628] Fetching aexml, swift-indexstore, yams, swift-argument-parser, swift-syntax
Fetched https://github.com/kateinoigakukun/swift-indexstore from cache (5.68s)
Fetched https://github.com/tadija/AEXML from cache (5.68s)
Fetched https://github.com/apple/swift-argument-parser from cache (5.70s)
Fetched https://github.com/apple/swift-syntax from cache (5.75s)
Fetched https://github.com/jpsim/Yams from cache (5.75s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore
Computed https://github.com/kateinoigakukun/swift-indexstore at 0.3.0 (6.35s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 600.0.1 (1.51s)
Computing version for https://github.com/ileitch/swift-filename-matcher
Computed https://github.com/ileitch/swift-filename-matcher at 0.1.2 (0.61s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.62s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.4.0 (0.81s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.7.0 (1.22s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.40s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
Creating working copy for https://github.com/ileitch/swift-filename-matcher
Working copy of https://github.com/ileitch/swift-filename-matcher 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.5.1
Creating working copy for https://github.com/peripheryapp/periphery
Working copy of https://github.com/peripheryapp/periphery resolved at 2.21.2
Creating working copy for https://github.com/nerdishbynature/RequestKit.git
Working copy of https://github.com/nerdishbynature/RequestKit.git resolved at 3.3.0
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.4.0
Creating working copy for https://github.com/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
Creating working copy for https://github.com/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 2.2.0
Creating working copy for https://github.com/nerdishbynature/octokit.swift
Working copy of https://github.com/nerdishbynature/octokit.swift resolved at 0.14.0
Creating working copy for https://github.com/tadija/AEXML
Working copy of https://github.com/tadija/AEXML resolved at 4.7.0
Creating working copy for https://github.com/danger/swift.git
Working copy of https://github.com/danger/swift.git resolved at 3.21.2
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/kateinoigakukun/swift-indexstore
Working copy of https://github.com/kateinoigakukun/swift-indexstore resolved at 0.3.0
Creating working copy for https://github.com/taji-taji/swift-shell.git
Working copy of https://github.com/taji-taji/swift-shell.git resolved at 1.0.2
warning: 'octokit.swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/octokit.swift/OctoKit/Info.plist
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/61] Write sources
[21/61] Compiling _CIndexStore dummy.c
[21/61] Compiling _SwiftSyntaxCShims dummy.c
[23/61] Compiling reader.c
[24/61] Write sources
[27/61] Compiling writer.c
[28/61] Write swift-version-8C5A4AE7A8CE2BA.txt
[29/61] Compiling CSystem shims.c
[30/61] Compiling parser.c
[31/63] Compiling api.c
[32/83] Compiling emitter.c
[33/95] Compiling scanner.c
[35/114] Emitting module SwiftShell
[36/114] Emitting module SwiftSyntax600
[37/114] Compiling SwiftSyntax600 Empty.swift
[39/115] Compiling SwiftSyntax509 Empty.swift
[40/115] Emitting module SwiftSyntax509
[41/116] Emitting module SwiftSyntax510
[42/116] Compiling SwiftSyntax510 Empty.swift
[45/124] Compiling Yams Decoder.swift
[46/124] Compiling Yams Emitter.swift
[47/124] Compiling Yams Encoder.swift
[48/124] Compiling Yams AliasDereferencingStrategy.swift
[49/140] Emitting module SystemPackage
[50/144] Emitting module FilenameMatcher
[51/144] Compiling SystemPackage Util+StringArray.swift
[52/144] Compiling SystemPackage Util.swift
[53/144] Compiling SystemPackage UtilConsumers.swift
[54/144] Compiling Yams Node.swift
[55/144] Compiling Yams Parser.swift
[56/144] Compiling Yams RedundancyAliasingStrategy.swift
[57/144] Compiling Yams Representer.swift
[58/144] Compiling Yams Mark.swift
[59/144] Compiling Yams Node.Alias.swift
[60/144] Compiling Yams Node.Mapping.swift
[61/144] Compiling Yams Resolver.swift
[62/144] Compiling Yams Anchor.swift
[63/144] Compiling Yams Constructor.swift
[64/144] Compiling Yams Node.Scalar.swift
[65/144] Compiling Yams Node.Sequence.swift
[66/144] Compiling Yams String+Yams.swift
[67/144] Compiling Yams Tag.swift
[68/144] Compiling Yams YamlAnchorProviding.swift
[69/144] Compiling SystemPackage WindowsSyscallAdapters.swift
[70/144] Compiling SystemPackage Backcompat.swift
[71/144] Compiling SystemPackage CInterop.swift
[72/144] Compiling SystemPackage Constants.swift
[73/144] Compiling SystemPackage Exports.swift
[74/144] Compiling SystemPackage MachPort.swift
[75/144] Compiling SystemPackage PlatformString.swift
[76/144] Compiling SystemPackage SystemString.swift
[78/209] Compiling FilenameMatcher FilenameMatcher.swift
[79/210] Compiling SwiftShell ShellError.swift
[81/210] Compiling DangerShellExecutor ShellExecutor.swift
[82/210] Emitting module DangerShellExecutor
[83/211] Compiling SwiftIndexStore IndexStoreUnit.swift
[84/211] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[85/211] Compiling SwiftSyntax Assert.swift
[86/212] Compiling SwiftShell Shell.swift
[87/215] Emitting module RequestKit
[90/215] Emitting module Logger
[91/215] Compiling Logger Logger.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[92/215] Compiling SwiftSyntax AbsolutePosition.swift
[93/215] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[94/215] Emitting module SwiftIndexStore
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:24:21: error: cannot find 'RTLD_LAZY' in scope
 22 |         typealias Dylib = UnsafeMutableRawPointer
 23 |
 24 |         var flags = RTLD_LAZY | RTLD_LOCAL
    |                     `- error: cannot find 'RTLD_LAZY' in scope
 25 |
 26 |         #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:24:33: error: cannot find 'RTLD_LOCAL' in scope
 22 |         typealias Dylib = UnsafeMutableRawPointer
 23 |
 24 |         var flags = RTLD_LAZY | RTLD_LOCAL
    |                                 `- error: cannot find 'RTLD_LOCAL' in scope
 25 |
 26 |         #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:30:21: error: cannot find 'dlopen' in scope
 28 |         #endif
 29 |
 30 |         let dylib = dlopen(url.path, flags)!
    |                     `- error: cannot find 'dlopen' in scope
 31 |         var api = indexstore_functions_t()
 32 |         func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
[95/216] Compiling SwiftIndexStore LibIndexStore.swift
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:24:21: error: cannot find 'RTLD_LAZY' in scope
 22 |         typealias Dylib = UnsafeMutableRawPointer
 23 |
 24 |         var flags = RTLD_LAZY | RTLD_LOCAL
    |                     `- error: cannot find 'RTLD_LAZY' in scope
 25 |
 26 |         #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:24:33: error: cannot find 'RTLD_LOCAL' in scope
 22 |         typealias Dylib = UnsafeMutableRawPointer
 23 |
 24 |         var flags = RTLD_LAZY | RTLD_LOCAL
    |                                 `- error: cannot find 'RTLD_LOCAL' in scope
 25 |
 26 |         #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:30:21: error: cannot find 'dlopen' in scope
 28 |         #endif
 29 |
 30 |         let dylib = dlopen(url.path, flags)!
    |                     `- error: cannot find 'dlopen' in scope
 31 |         var api = indexstore_functions_t()
 32 |         func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:33:29: error: cannot find 'dlsym' in scope
 31 |         var api = indexstore_functions_t()
 32 |         func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
 33 |             guard let sym = dlsym(dylib, symbol) else {
    |                             `- error: cannot find 'dlsym' in scope
 34 |                 throw IndexStoreError.missingSymbol(symbol)
 35 |             }
[96/216] Wrapping AST for SystemPackage for debugging
[98/223] Compiling SwiftIndexStore UnfairLock.swift
[98/223] Wrapping AST for SwiftSyntax510 for debugging
[99/223] Wrapping AST for SwiftSyntax600 for debugging
[100/223] Wrapping AST for SwiftSyntax509 for debugging
[101/223] Wrapping AST for SwiftShell for debugging
[102/223] Wrapping AST for FilenameMatcher for debugging
[103/223] Wrapping AST for Logger for debugging
[104/223] Wrapping AST for DangerShellExecutor for debugging
[106/223] Compiling RequestKit JSONPostRouter.swift
[107/223] Compiling RequestKit Router.swift
[108/223] Compiling RequestKit RequestKitSession.swift
[110/224] Compiling SwiftIndexStore SwiftIndexStore.swift
[111/224] Compiling SwiftIndexStore OptionSetDisplayable.swift
[112/224] Compiling SwiftIndexStore Process+Extension.swift
[112/224] Wrapping AST for RequestKit for debugging
BUILD FAILURE 6.2 android