The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Formic, reference main (ff3048), with Swift 6.4 for Android on 21 Sep 2026 22:32:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/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.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/heckj/formic.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/heckj/formic
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ff3048d clean up package.swift formatting with swift-format
Cloned https://github.com/heckj/formic.git
Revision (git rev-parse @):
ff3048d32ae44f748da991fdfca1c86bec3bcaed
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/heckj/formic.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/heckj/formic.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/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.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/pointfreeco/swift-parsing
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/neallester/swift-log-testing.git
Fetching https://github.com/swiftlang/swift-format.git
Fetching https://github.com/apple/swift-async-dns-resolver
[1/8132] Fetching swift-log
[2441/15723] Fetching swift-log, swift-dependencies
[2442/16836] Fetching swift-log, swift-dependencies, swift-async-dns-resolver
Fetched https://github.com/apple/swift-async-dns-resolver (0.55s)
Fetched https://github.com/pointfreeco/swift-dependencies (0.55s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/15027] Fetching swift-format
Fetched https://github.com/apple/swift-log.git (0.79s)
Fetched https://github.com/swiftlang/swift-format.git (0.79s)
[1/69] Fetching swift-log-testing
[70/18987] Fetching swift-log-testing, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (0.75s)
[1/98270] Fetching swift-parsing
Fetched https://github.com/neallester/swift-log-testing.git (3.82s)
Fetched https://github.com/pointfreeco/swift-parsing (3.86s)
Computing version for https://github.com/neallester/swift-log-testing.git
Computed https://github.com/neallester/swift-log-testing.git at 0.0.1 (4.92s)
Computing version for https://github.com/swiftlang/swift-format.git
Computed https://github.com/swiftlang/swift-format.git at 600.0.0 (0.23s)
Fetching https://github.com/apple/swift-markdown.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/7734] Fetching swift-markdown
[7735/87733] Fetching swift-markdown, swift-syntax
Fetched https://github.com/apple/swift-markdown.git (3.35s)
Fetched https://github.com/swiftlang/swift-syntax.git (3.37s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (3.68s)
Computing version for https://github.com/pointfreeco/swift-parsing
Computed https://github.com/pointfreeco/swift-parsing at 0.15.2 (0.19s)
Fetching https://github.com/pointfreeco/swift-case-paths
[1/5347] Fetching swift-case-paths
Fetched https://github.com/pointfreeco/swift-case-paths (0.50s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 1.10.0 (1.61s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6142] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.68s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.0 (0.93s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.18s)
Computing version for https://github.com/apple/swift-markdown.git
Computed https://github.com/apple/swift-markdown.git at 0.9.0 (0.23s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18599] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git (1.02s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.9.0 (1.24s)
Computing version for https://github.com/apple/swift-async-dns-resolver
Computed https://github.com/apple/swift-async-dns-resolver at 0.8.0 (0.24s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.21s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.17.1 (0.22s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/swift-clocks
[1/2686] Fetching combine-schedulers
[942/3744] Fetching combine-schedulers, swift-concurrency-extras
[953/5190] Fetching combine-schedulers, swift-concurrency-extras, swift-clocks
Fetched https://github.com/pointfreeco/swift-clocks (0.48s)
Fetched https://github.com/pointfreeco/combine-schedulers (0.48s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras (0.49s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.1.1 (0.69s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.2.2 (0.21s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8284] Fetching opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git (0.72s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (0.98s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.4.1 (0.20s)
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.2.2
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.4.1
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.8.2
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.0
Creating working copy for https://github.com/apple/swift-async-dns-resolver
Working copy of https://github.com/apple/swift-async-dns-resolver resolved at 0.8.0
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.0
Creating working copy for https://github.com/swiftlang/swift-format.git
Working copy of https://github.com/swiftlang/swift-format.git resolved at 600.0.0
Creating working copy for https://github.com/apple/swift-markdown.git
Working copy of https://github.com/apple/swift-markdown.git resolved at 0.9.0
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.17.1
Creating working copy for https://github.com/pointfreeco/swift-parsing
Working copy of https://github.com/pointfreeco/swift-parsing resolved at 0.15.2
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.1.1
Creating working copy for https://github.com/pointfreeco/swift-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 1.10.0
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at 0.9.0
Creating working copy for https://github.com/neallester/swift-log-testing.git
Working copy of https://github.com/neallester/swift-log-testing.git resolved at 0.0.1
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1129]
[Planning 887 / 1129]
[Planning deferred tasks]
[Constructing 944 / 2585]
[97 / 552] SwiftCompilerPlugin
[232 / 565] _SwiftSyntaxCShims
[243 / 592] SwiftSyntax509
[255 / 601] OpenCombine
[256 / 601] Logging
[258 / 601] Logging
[273 / 601] OpenCombine
[274 / 602] SwiftSyntax510
[280 / 604] OpenCombine
[282 / 604] OpenCombine
[286 / 604] OpenCombine
[290 / 604] OpenCombine
[292 / 604] OpenCombineFoundation
[293 / 604] Logging-product
[294 / 604] Logging
[295 / 604] Logging-product
[298 / 604] IssueReporting
[299 / 604] IssueReporting
[301 / 604] IssueReporting-product
[302 / 605] IssueReporting-product
[304 / 605] Logging
[309 / 605] OpenCombine
[310 / 605] IssueReporting
[312 / 605] ConcurrencyExtras
[316 / 605] CasePathsCore
[321 / 606] SwiftSyntax600
[326 / 606] Logging
[331 / 606] CAsyncDNSResolver
[335 / 606] CAsyncDNSResolver
[341 / 607] OpenCombine
[346 / 608] CAsyncDNSResolver
[352 / 608] CAsyncDNSResolver
[358 / 608] CAsyncDNSResolver
[365 / 608] CAsyncDNSResolver
[372 / 608] CAsyncDNSResolver
[379 / 608] CAsyncDNSResolver
[386 / 608] CAsyncDNSResolver
[392 / 608] CAsyncDNSResolver
[398 / 608] CAsyncDNSResolver
[405 / 608] CAsyncDNSResolver
[413 / 608] CAsyncDNSResolver
[419 / 609] SwiftSyntax600
[433 / 628] ConcurrencyExtras
[438 / 664] Clocks
[439 / 664] CasePathsCore
[442 / 664] OpenCombineDispatch
[462 / 664] SwiftSyntax
[463 / 664] CasePathsCore
[465 / 665] CasePathsCore
[476 / 665] SwiftSyntax
[477 / 665] SwiftSyntax
[478 / 665] OpenCombineFoundation
[480 / 665] OpenCombineFoundation
[481 / 665] OpenCombineFoundation
[482 / 665] OpenCombineFoundation
[483 / 665] OpenCombineDispatch
[485 / 665] OpenCombineShim
[489 / 666] OpenCombineFoundation
[492 / 666] OpenCombineFoundation
[493 / 666] Clocks-product
[494 / 666] Clocks-product
[496 / 666] CasePathsCore
[497 / 666] CasePathsCore
[499 / 666] CasePathsCore
[501 / 667] Clocks
[504 / 667] Clocks
[507 / 667] AsyncDNSResolver
[509 / 668] CasePathsCore
[511 / 668] CasePathsCore
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/.build/checkouts/swift-async-dns-resolver/Sources/AsyncDNSResolver/c-ares/DNSResolver_c-ares.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile DNSResolver_c-ares.swift
/host/spi-builder-workspace/.build/checkouts/swift-async-dns-resolver/Sources/AsyncDNSResolver/c-ares/DNSResolver_c-ares.swift:617:53: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
615 |         }
616 |         #else
617 |         if inet_ntop(family, bytes, addressBytesPtr.baseAddress, socklen_t(length)) == nil {
    |                                                     |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
    |                                                     |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                     `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
618 |             return nil
619 |         }
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/.build/checkouts/swift-async-dns-resolver/Sources/AsyncDNSResolver/AsyncDNSResolver.swift /host/spi-builder-workspace/.build/checkouts/swift-async-dns-resolver/Sources/AsyncDNSResolver/Errors.swift /host/spi-builder-workspace/.build/checkouts/swift-async-dns-resolver/Sources/AsyncDNSResolver/c-ares/AresChannel.swift /host/spi-builder-workspace/.build/checkouts/swift-async-dns-resolver/Sources/AsyncDNSResolver/c-ares/AresOptions.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-async-dns-resolver/Sources/AsyncDNSResolver/c-ares/DNSResolver_c-ares.swift /host/spi-builder-workspace/.build/checkouts/swift-async-dns-resolver/Sources/AsyncDNSResolver/c-ares/Errors_c-ares.swift /host/spi-builder-workspace/.build/checkouts/swift-async-dns-resolver/Sources/AsyncDNSResolver/dnssd/DNSResolver_dnssd.swift /host/spi-builder-workspace/.build/checkouts/swift-async-dns-resolver/Sources/AsyncDNSResolver/dnssd/Errors_dnssd.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-async-dns-resolver.build/Debug-android-aarch64/AsyncDNSResolver-t.build/Objects-normal/aarch64/DNSResolver_c-ares.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-async-dns-resolver.build/Debug-android-aarch64/AsyncDNSResolver-t.build/Objects-normal/aarch64/DNSResolver_c-ares.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-async-dns-resolver.build/Debug-android-aarch64/AsyncDNSResolver-t.build/Objects-normal/aarch64/DNSResolver_c-ares.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-async-dns-resolver.build/Debug-android-aarch64/AsyncDNSResolver-t.build/Objects-normal/aarch64/DNSResolver_c-ares.dia -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature StrictConcurrency\=complete -enable-upcoming-feature MemberImportVisibility -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-plugin-server -user-module-version 0.8.0 -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CAsyncDNSResolver.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-async-dns-resolver/Sources/CAsyncDNSResolver/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-async-dns-resolver.build/Debug-android-aarch64/AsyncDNSResolver-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-async-dns-resolver.build/Debug-android-aarch64/AsyncDNSResolver-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-async-dns-resolver.build/Debug-android-aarch64/AsyncDNSResolver-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AsyncDNSResolver -package-name swift_async_dns_resolver -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-async-dns-resolver.build/Debug-android-aarch64/AsyncDNSResolver-t.build/Objects-normal/aarch64/AsyncDNSResolver_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-async-dns-resolver.build/Debug-android-aarch64/AsyncDNSResolver-t.build/Objects-normal/aarch64/DNSResolver_c-ares.o -index-unit-output-path /swift-async-dns-resolver.build/Debug-android-aarch64/AsyncDNSResolver-t.build/Objects-normal/aarch64/DNSResolver_c-ares.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
[514 / 668] AsyncDNSResolver
error: Build failed
BUILD FAILURE 6.4 android