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 TargetDependencyChecker, reference master (defb48), with Swift 6.2 (beta) for Android on 21 Jun 2025 17:55:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/LuizZak/TargetDependencyChecker.git
Reference: master
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/LuizZak/TargetDependencyChecker
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at defb489 Updating to Swift 5.9
Cloned https://github.com/LuizZak/TargetDependencyChecker.git
Revision (git rev-parse @):
defb48944765d0ab81f0e0a430b68f6cd15bed4a
SUCCESS checkout https://github.com/LuizZak/TargetDependencyChecker.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/LuizZak/TargetDependencyChecker.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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-syntax
[1/70924] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax from cache (7.16s)
Fetching https://github.com/LuizZak/console.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/352] Fetching console
[353/15732] Fetching console, swift-argument-parser
Fetched https://github.com/LuizZak/console.git from cache (1.41s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.42s)
Computing version for https://github.com/LuizZak/console.git
Computed https://github.com/LuizZak/console.git at 0.8.0 (1.93s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.46s)
Creating working copy for https://github.com/LuizZak/console.git
Working copy of https://github.com/LuizZak/console.git resolved at 0.8.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 509.1.0 (43c802f)
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/20] Write sources
[9/20] Write swift-version-8C5A4AE7A8CE2BA.txt
[11/32] Emitting module SwiftSyntax509
[12/32] Compiling SwiftSyntax509 Empty.swift
[14/33] Compiling Console LinuxSupport.swift
[14/33] Wrapping AST for SwiftSyntax509 for debugging
[16/33] Emitting module Console
[17/78] Compiling ArgumentParserToolInfo ToolInfo.swift
[18/78] Emitting module ArgumentParserToolInfo
[19/79] Wrapping AST for ArgumentParserToolInfo for debugging
[21/117] Compiling ArgumentParser ArgumentVisibility.swift
[22/117] Compiling ArgumentParser CompletionKind.swift
[23/117] Compiling ArgumentParser Errors.swift
[24/117] Compiling ArgumentParser Flag.swift
[25/117] Compiling ArgumentParser NameSpecification.swift
[26/117] Compiling ArgumentParser Option.swift
[27/122] Emitting module ArgumentParser
[28/122] Compiling ArgumentParser BashCompletionsGenerator.swift
[29/122] Compiling ArgumentParser CompletionsGenerator.swift
[30/122] Compiling ArgumentParser FishCompletionsGenerator.swift
[31/122] Compiling ArgumentParser ZshCompletionsGenerator.swift
[32/122] Compiling ArgumentParser Argument.swift
[33/122] Compiling ArgumentParser ArgumentHelp.swift
[34/122] Compiling Console Console+Command.swift
[35/122] Compiling Console Console+Paging.swift
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Console+Paging.swift:24:63: error: cannot convert value of type 'Float' to expected argument type 'Double'
 22 |
 23 |         var page = 0
 24 |         var pageCount = max(1, Int(ceil(Float(provider.count) / Float(perPageCount))))
    |                                                               `- error: cannot convert value of type 'Float' to expected argument type 'Double'
 25 |
 26 |         var provider = provider
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Console+Paging.swift:29:63: error: cannot convert value of type 'Float' to expected argument type 'Double'
 27 |         func switchProvider(to other: ConsoleDataProvider, keepPageIndex: Bool) {
 28 |             provider = other
 29 |             pageCount = max(1, Int(ceil(Float(provider.count) / Float(perPageCount))))
    |                                                               `- error: cannot convert value of type 'Float' to expected argument type 'Double'
 30 |
 31 |             if keepPageIndex {
[36/122] Compiling Console ConsoleColor+Terminal.swift
[37/122] Compiling Console Console.swift
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Console.swift:298:9: error: cannot find 'errno' in scope
296 |
297 |     open func recordExitCode(_ code: Int) {
298 |         errno = Int32(code)
    |         `- error: cannot find 'errno' in scope
299 |     }
300 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[38/122] Compiling Console ConsoleDataProvider.swift
[39/122] Compiling Console ConsoleMenuController.swift
[40/122] Compiling ArgumentParser OptionGroup.swift
[41/122] Compiling ArgumentParser AsyncParsableCommand.swift
[42/122] Compiling ArgumentParser CommandConfiguration.swift
[43/122] Compiling ArgumentParser CommandGroup.swift
[44/122] Compiling ArgumentParser EnumerableFlag.swift
[45/122] Compiling ArgumentParser Name.swift
[46/122] Compiling ArgumentParser Parsed.swift
[47/122] Compiling ArgumentParser ParsedValues.swift
[48/122] Compiling ArgumentParser ParserError.swift
[49/122] Compiling ArgumentParser SplitArguments.swift
BUILD FAILURE 6.2 android