Build Information
Failed to build ATResolve, reference main (3ec4b8), with Swift 6.2 for Android on 11 Dec 2025 04:37:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattmassicotte/ATResolve.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/mattmassicotte/ATResolve
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 3ec4b85 Try to update CI
Cloned https://github.com/mattmassicotte/ATResolve.git
Revision (git rev-parse @):
3ec4b8509b018c9b0da791c74355c58eb83dcd24
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mattmassicotte/ATResolve.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/mattmassicotte/ATResolve.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:c3fe93b3f7c9edfd66b4287786a9b8caf7805f96d7219e301e257b4e0de911bb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-async-dns-resolver.git
[1/916] Fetching swift-async-dns-resolver
Fetched https://github.com/apple/swift-async-dns-resolver.git from cache (0.62s)
Computing version for https://github.com/apple/swift-async-dns-resolver.git
Computed https://github.com/apple/swift-async-dns-resolver.git at 0.5.0 (2.85s)
Creating working copy for https://github.com/apple/swift-async-dns-resolver.git
Working copy of https://github.com/apple/swift-async-dns-resolver.git resolved at 0.5.0
Building for debugging...
[0/63] Compiling inet_ntop.c
[1/63] Compiling windows_port.c
[2/63] Compiling bitncmp.c
[3/63] Compiling ares__addrinfo2hostent.c
[4/63] Write swift-version--6B0C4D200E742BB1.txt
[5/63] Compiling ares__get_hostent.c
[6/63] Compiling inet_net_pton.c
[6/63] Compiling ares_writev.c
[8/63] Compiling ares_version.c
[9/63] Compiling ares_strcasecmp.c
[10/63] Compiling ares_timeout.c
[10/63] Compiling ares_strerror.c
[12/63] Compiling ares_strsplit.c
[13/63] Compiling ares_strdup.c
[14/63] Compiling ares_send.c
[15/63] Compiling ares_search.c
[16/63] Compiling ares_query.c
[17/63] Compiling ares_rand.c
[18/63] Compiling ares_platform.c
[19/63] Compiling ares_parse_uri_reply.c
[20/63] Compiling ares_parse_soa_reply.c
[21/63] Compiling ares_parse_txt_reply.c
[22/63] Compiling ares_parse_srv_reply.c
[23/63] Compiling ares_parse_naptr_reply.c
[24/63] Compiling ares_parse_ns_reply.c
[25/63] Compiling ares_process.c
[26/63] Compiling ares_parse_mx_reply.c
[27/63] Compiling ares_parse_ptr_reply.c
[28/63] Compiling ares_parse_aaaa_reply.c
[29/63] Compiling ares_parse_caa_reply.c
[30/63] Compiling ares_nowarn.c
[31/63] Compiling ares_parse_a_reply.c
[32/63] Compiling ares_options.c
[33/63] Compiling ares_mkquery.c
[34/63] Compiling ares_llist.c
[35/63] Compiling ares_getsock.c
[36/63] Compiling ares_library_init.c
[37/63] Compiling ares_getnameinfo.c
[38/63] Compiling ares_getenv.c
[39/63] Compiling ares_gethostbyname.c
[40/63] Compiling ares_init.c
[41/63] Compiling ares_freeaddrinfo.c
[42/63] Compiling ares_gethostbyaddr.c
[43/63] Compiling ares_getaddrinfo.c
[44/63] Compiling ares_fds.c
[45/63] Compiling ares_free_string.c
[46/63] Compiling ares_expand_string.c
[46/63] Compiling ares_free_hostent.c
[48/63] Compiling ares_destroy.c
[49/63] Compiling ares_expand_name.c
[50/63] Compiling ares_cancel.c
[51/63] Compiling ares_create_query.c
[52/63] Compiling ares_data.c
[53/63] Compiling ares__timeval.c
[54/63] Write sources
[56/63] Compiling ares_android.c
[57/63] Compiling ares__sortaddrinfo.c
[58/63] Compiling ares__readaddrinfo.c
[59/63] Compiling ares__close_sockets.c
[60/63] Compiling ares__read_line.c
[61/63] Compiling ares__parse_into_addrinfo.c
[62/63] Compiling ares__addrinfo_localhost.c
[64/71] Compiling AsyncDNSResolver DNSResolver_dnssd.swift
[65/72] Compiling AsyncDNSResolver Errors_dnssd.swift
[66/72] Compiling AsyncDNSResolver Errors_c-ares.swift
[67/72] Compiling AsyncDNSResolver DNSResolver_c-ares.swift
/host/spi-builder-workspace/.build/checkouts/swift-async-dns-resolver/Sources/AsyncDNSResolver/c-ares/DNSResolver_c-ares.swift:672:53: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
670 | return addressBytes.withUnsafeMutableBufferPointer { addressBytesPtr -> String? in
671 | // The returned pointer is the same as addressBytesPtr.baseAddress but nil on error.
672 | 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'
673 | return nil
674 | }
[68/72] Compiling AsyncDNSResolver AsyncDNSResolver.swift
[69/72] Compiling AsyncDNSResolver AresOptions.swift
[70/72] Compiling AsyncDNSResolver Errors.swift
[71/72] Compiling AsyncDNSResolver AresChannel.swift
[72/72] Emitting module AsyncDNSResolver
BUILD FAILURE 6.2 android