The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-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.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: 0.3.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/heckj/formic
 * tag               0.3.0      -> FETCH_HEAD
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 0.3.0
========================================
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-54344845-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.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/apple/swift-log.git
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/pointfreeco/swift-parsing
Fetching https://github.com/swiftlang/swift-format.git
Fetching https://github.com/neallester/swift-log-testing.git
Fetching https://github.com/apple/swift-async-dns-resolver
[1/1113] Fetching swift-async-dns-resolver
[13/9245] Fetching swift-async-dns-resolver, swift-log
[621/16836] Fetching swift-async-dns-resolver, swift-log, swift-dependencies
Fetched https://github.com/apple/swift-async-dns-resolver (0.48s)
[9635/15723] Fetching swift-log, swift-dependencies
Fetching https://github.com/apple/swift-argument-parser.git
[15724/30750] Fetching swift-log, swift-dependencies, swift-format
[30751/30819] Fetching swift-log, swift-dependencies, swift-format, swift-log-testing
Fetched https://github.com/neallester/swift-log-testing.git (0.89s)
Fetched https://github.com/pointfreeco/swift-dependencies (0.89s)
[1/18918] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (0.73s)
[1/98270] Fetching swift-parsing
Fetched https://github.com/apple/swift-log.git (3.70s)
Fetched https://github.com/swiftlang/swift-format.git (3.70s)
Fetched https://github.com/pointfreeco/swift-parsing (3.73s)
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.79s)
Computing version for https://github.com/swiftlang/swift-format.git
Computed https://github.com/swiftlang/swift-format.git at 600.0.0 (0.21s)
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.15s)
Fetched https://github.com/swiftlang/swift-syntax.git (3.17s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (3.47s)
Computing version for https://github.com/pointfreeco/swift-parsing
Computed https://github.com/pointfreeco/swift-parsing at 0.15.2 (0.18s)
Fetching https://github.com/pointfreeco/swift-case-paths
[1/5347] Fetching swift-case-paths
Fetched https://github.com/pointfreeco/swift-case-paths (0.55s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 1.10.0 (1.63s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6142] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.71s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.0 (0.95s)
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.17s)
Computing version for https://github.com/apple/swift-markdown.git
Computed https://github.com/apple/swift-markdown.git at 0.9.0 (0.21s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18599] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git (0.92s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.9.0 (1.12s)
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.22s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.18s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.17.1 (0.19s)
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/swift-clocks
[1/2686] Fetching combine-schedulers
[2687/3744] Fetching combine-schedulers, swift-concurrency-extras
[2878/5190] Fetching combine-schedulers, swift-concurrency-extras, swift-clocks
Fetched https://github.com/pointfreeco/swift-concurrency-extras (0.52s)
Fetched https://github.com/pointfreeco/swift-clocks (0.52s)
Fetched https://github.com/pointfreeco/combine-schedulers (0.52s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.1.1 (0.70s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.2.2 (0.19s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8284] Fetching opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git (0.67s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (0.89s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.4.1 (0.17s)
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/pointfreeco/swift-parsing
Working copy of https://github.com/pointfreeco/swift-parsing resolved at 0.15.2
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-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.1.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/neallester/swift-log-testing.git
Working copy of https://github.com/neallester/swift-log-testing.git resolved at 0.0.1
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/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/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/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.2.2
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/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/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-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.0
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/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 1129]
[Planning deferred tasks]
[Starting]
[141 / 552] Logging
[239 / 592] IssueReporting
[253 / 601] Logging
[258 / 601] ConcurrencyExtras
[269 / 601] SwiftSyntax
[270 / 601] SwiftSyntax600
[283 / 602] SwiftSyntax509
[290 / 604] Logging
[293 / 604] Logging-product
[296 / 604] Logging
[297 / 604] Logging
[298 / 604] Logging
[300 / 604] IssueReporting
[301 / 604] IssueReporting-product
[304 / 604] Logging
[306 / 605] Logging
[309 / 605] Logging
[311 / 605] ConcurrencyExtras
[312 / 606] OpenCombine
[318 / 606] ConcurrencyExtras
[330 / 620] CAsyncDNSResolver
[337 / 621] CAsyncDNSResolver
[353 / 621] CAsyncDNSResolver
[371 / 621] CAsyncDNSResolver
[384 / 621] CAsyncDNSResolver
[397 / 621] CAsyncDNSResolver
[413 / 621] CAsyncDNSResolver
[426 / 621] CAsyncDNSResolver
[442 / 621] ConcurrencyExtras
[449 / 626] OpenCombineDispatch
[451 / 644] OpenCombineFoundation
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
error: Build failed
BUILD FAILURE 6.4 android