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 0.1.0 (defb48), with Swift 6.1 for Android on 29 May 2025 12:21:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LuizZak/TargetDependencyChecker.git
Reference: 0.1.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/LuizZak/TargetDependencyChecker
 * tag               0.1.0      -> FETCH_HEAD
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 0.1.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/LuizZak/TargetDependencyChecker.git
https://github.com/LuizZak/TargetDependencyChecker.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "revision" : [
          "509.1.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "console",
      "requirement" : {
        "exact" : [
          "0.8.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/LuizZak/console.git"
    }
  ],
  "manifest_display_name" : "TargetDependencyChecker",
  "name" : "TargetDependencyChecker",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "TargetDependencyChecker",
      "targets" : [
        "TargetDependencyChecker"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TargetDependencyCheckerTests",
      "module_type" : "SwiftTarget",
      "name" : "TargetDependencyCheckerTests",
      "path" : "Tests/TargetDependencyCheckerTests",
      "sources" : [
        "TargetDependencyCheckerTests.swift"
      ],
      "target_dependencies" : [
        "TargetDependencyChecker"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TargetDependencyCheckerLibTests",
      "module_type" : "SwiftTarget",
      "name" : "TargetDependencyCheckerLibTests",
      "path" : "Tests/TargetDependencyCheckerLibTests",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftParser"
      ],
      "sources" : [
        "DefaultDependencyCheckerDelegateTests.swift",
        "DependencyGraphTests.swift",
        "GraphVizGeneratorTests.swift",
        "MutexTests.swift",
        "PackageBuilder.swift"
      ],
      "target_dependencies" : [
        "TargetDependencyCheckerLib"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TargetDependencyCheckerLib",
      "module_type" : "SwiftTarget",
      "name" : "TargetDependencyCheckerLib",
      "path" : "Sources/TargetDependencyCheckerLib",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftParser",
        "Console"
      ],
      "product_memberships" : [
        "TargetDependencyChecker"
      ],
      "sources" : [
        "Data/FileImportInspection.swift",
        "Data/ImportVisit.swift",
        "Data/ImportedFrameworkDeclaration.swift",
        "Data/Package.swift",
        "Data/SourceFile.swift",
        "Data/SystemFrameworks.swift",
        "Data/Target.swift",
        "DefaultDependencyCheckerDelegate.swift",
        "DependencyChecker.swift",
        "DependencyCheckerDelegate.swift",
        "DependencyCheckerEntryPoint.swift",
        "DependencyGraph.swift",
        "DiagnosticsOutput/DiagnosticsOutput.swift",
        "DiagnosticsOutput/TerminalDiagnosticsOutput.swift",
        "DiagnosticsOutput/XcodeDiagnosticsOutput.swift",
        "DirectedGraph.swift",
        "DiskFileManagerDelegate.swift",
        "FileManagerDelegate.swift",
        "GraphViz/GraphViz.swift",
        "GraphVizEntryPoint.swift",
        "GraphVizGenerator.swift",
        "JSON.swift",
        "Mutex.swift",
        "PackageDiscovery.swift",
        "PackageManager.swift",
        "PathUtils.swift",
        "SourceFileManager.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TargetDependencyChecker",
      "module_type" : "SwiftTarget",
      "name" : "TargetDependencyChecker",
      "path" : "Sources/TargetDependencyChecker",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "TargetDependencyChecker"
      ],
      "sources" : [
        "CheckCommand.swift",
        "GraphVizCommand.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "TargetDependencyCheckerLib"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-syntax
[1/70452] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax from cache (5.33s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/LuizZak/console.git
[1/352] Fetching console
Fetched https://github.com/LuizZak/console.git from cache (0.22s)
[1/15379] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.11s)
Computing version for https://github.com/LuizZak/console.git
Computed https://github.com/LuizZak/console.git at 0.8.0 (2.73s)
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.67s)
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)
Creating working copy for https://github.com/LuizZak/console.git
Working copy of https://github.com/LuizZak/console.git resolved at 0.8.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/20] Write sources
[9/20] Write swift-version-24593BA9C3E375BF.txt
[11/32] Emitting module SwiftSyntax509
[12/32] Compiling SwiftSyntax509 Empty.swift
[14/33] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/33] Emitting module ArgumentParserToolInfo
[17/34] Compiling Console LinuxSupport.swift
[17/34] Wrapping AST for SwiftSyntax509 for debugging
[18/52] Wrapping AST for ArgumentParserToolInfo for debugging
[20/117] Emitting module ArgumentParser
[21/117] Compiling ArgumentParser BashCompletionsGenerator.swift
[22/117] Compiling ArgumentParser CompletionsGenerator.swift
[23/117] Compiling ArgumentParser FishCompletionsGenerator.swift
[24/117] Compiling ArgumentParser ZshCompletionsGenerator.swift
[25/117] Compiling ArgumentParser Argument.swift
[26/117] Compiling ArgumentParser ArgumentHelp.swift
[27/122] Compiling ArgumentParser OptionGroup.swift
[28/122] Compiling ArgumentParser AsyncParsableCommand.swift
[29/122] Compiling ArgumentParser CommandConfiguration.swift
[30/122] Compiling ArgumentParser CommandGroup.swift
[31/122] Compiling ArgumentParser EnumerableFlag.swift
[32/122] Compiling ArgumentParser ExpressibleByArgument.swift
[33/122] Compiling ArgumentParser ParsableArguments.swift
[34/122] Compiling ArgumentParser ParsableArgumentsValidation.swift
[35/122] Compiling ArgumentParser ParsableCommand.swift
[36/122] Compiling ArgumentParser ArgumentDecoder.swift
[37/122] Compiling ArgumentParser ArgumentVisibility.swift
[38/122] Compiling ArgumentParser CompletionKind.swift
[39/122] Compiling ArgumentParser Errors.swift
[40/122] Compiling ArgumentParser Flag.swift
[41/122] Compiling ArgumentParser NameSpecification.swift
[42/122] Compiling ArgumentParser Option.swift
[43/122] Compiling ArgumentParser CollectionExtensions.swift
[44/122] Compiling ArgumentParser Platform.swift
[45/122] Compiling ArgumentParser SequenceExtensions.swift
[46/122] Compiling ArgumentParser StringExtensions.swift
[47/122] Compiling ArgumentParser Tree.swift
[68/128] Compiling Console ConsoleMenuController.swift
[69/128] Emitting module Console
[70/128] 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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
[71/128] Compiling Console ConsoleColor+Terminal.swift
[72/128] Compiling Console ConsoleDataProvider.swift
[73/128] 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 {
[74/128] Compiling Console Console+Command.swift
[75/128] Compiling ArgumentParser Name.swift
[76/128] Compiling ArgumentParser Parsed.swift
[77/128] Compiling ArgumentParser ParsedValues.swift
[78/128] Compiling ArgumentParser ParserError.swift
[79/128] Compiling ArgumentParser SplitArguments.swift
[80/128] Compiling ArgumentParser ArgumentDefinition.swift
[81/128] Compiling ArgumentParser ArgumentSet.swift
[82/128] Compiling ArgumentParser CommandParser.swift
[83/128] Compiling ArgumentParser InputKey.swift
[84/128] Compiling ArgumentParser InputOrigin.swift
[85/128] Compiling ArgumentParser DumpHelpGenerator.swift
[86/128] Compiling ArgumentParser HelpCommand.swift
[87/128] Compiling ArgumentParser HelpGenerator.swift
[88/128] Compiling ArgumentParser MessageInfo.swift
[89/128] Compiling ArgumentParser UsageGenerator.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/12] Write swift-version-24593BA9C3E375BF.txt
[3/24] Compiling SwiftSyntax509 Empty.swift
[4/24] Emitting module SwiftSyntax509
[5/25] Emitting module ArgumentParserToolInfo
[7/24] Compiling Console LinuxSupport.swift
[8/24] 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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
[9/69] Compiling Console ConsoleColor+Terminal.swift
[10/69] Compiling Console ConsoleMenuController.swift
[11/69] Compiling Console ConsoleDataProvider.swift
[12/69] Compiling Console Console+Command.swift
[13/69] Emitting module Console
[14/69] 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 {
BUILD FAILURE 6.1 android