Build Information
Failed to build APIErrorMiddleware, reference 0.3.5 (c8cd6b
), with Swift 6.2 (beta) for Android on 17 Jun 2025 14:14:57 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.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/skelpo/apierrormiddleware.git
Reference: 0.3.5
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/skelpo/apierrormiddleware
* tag 0.3.5 -> FETCH_HEAD
HEAD is now at c8cd6bd Merge pull request #4 from Cellane/patch-3
Cloned https://github.com/skelpo/apierrormiddleware.git
Revision (git rev-parse @):
c8cd6bd0a26cd000c8625e839312e3ad77ccdc3b
SUCCESS checkout https://github.com/skelpo/apierrormiddleware.git at 0.3.5
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/skelpo/apierrormiddleware.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/vapor/vapor.git
[1/74546] Fetching vapor
Fetched https://github.com/vapor/vapor.git from cache (1.91s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.3.3 (2.38s)
Fetching https://github.com/vapor/validation.git
Fetching https://github.com/vapor/template-kit.git
Fetching https://github.com/vapor/websocket.git
Fetching https://github.com/vapor/service.git
Fetching https://github.com/vapor/url-encoded-form.git
Fetching https://github.com/vapor/routing.git
[1/381] Fetching url-encoded-form
[382/1663] Fetching url-encoded-form, template-kit
[1652/2582] Fetching url-encoded-form, template-kit, service
[2289/3161] Fetching url-encoded-form, template-kit, service, validation
[3162/5770] Fetching url-encoded-form, template-kit, service, validation, websocket
[3971/26622] Fetching url-encoded-form, template-kit, service, validation, websocket, routing
Fetched https://github.com/vapor/template-kit.git from cache (0.34s)
Fetched https://github.com/vapor/validation.git from cache (0.34s)
[9748/24761] Fetching url-encoded-form, service, websocket, routing
Fetched https://github.com/vapor/websocket.git from cache (0.34s)
[7348/22152] Fetching url-encoded-form, service, routing
Fetching https://github.com/vapor/database-kit.git
Fetching https://github.com/vapor/http.git
Fetching https://github.com/vapor/multipart.git
[17775/23333] Fetching url-encoded-form, service, routing, database-kit
[18791/48800] Fetching url-encoded-form, service, routing, database-kit, http
[24932/52253] Fetching url-encoded-form, service, routing, database-kit, http, multipart
Fetched https://github.com/vapor/database-kit.git from cache (0.25s)
[27415/51072] Fetching url-encoded-form, service, routing, http, multipart
Fetching https://github.com/vapor/crypto.git
[43632/53858] Fetching url-encoded-form, service, routing, http, multipart, crypto
Fetched https://github.com/vapor/url-encoded-form.git from cache (0.88s)
Fetched https://github.com/vapor/service.git from cache (0.88s)
Fetching https://github.com/vapor/console.git
Fetching https://github.com/vapor/core.git
Fetched https://github.com/vapor/routing.git from cache (0.90s)
Fetched https://github.com/vapor/crypto.git from cache (0.34s)
[21988/28920] Fetching http, multipart
[26573/34938] Fetching http, multipart, console
[28559/55081] Fetching http, multipart, console, core
Fetched https://github.com/vapor/console.git from cache (0.46s)
[42888/49063] Fetching http, multipart, core
Fetched https://github.com/vapor/http.git from cache (1.72s)
Fetched https://github.com/vapor/multipart.git from cache (1.75s)
Fetched https://github.com/vapor/core.git from cache (1.28s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (2.89s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
[1/14890] Fetching swift-nio-ssl
[1193/91217] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.56s)
[52666/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.55s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (5.95s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (0.40s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.53s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.37s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (2.03s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.1.0 (2.71s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.2 (1.40s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.4.0 (0.97s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
[1/16] Fetching swift-nio-ssl-support
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.41s)
Computing version for https://github.com/apple/swift-nio-ssl-support.git
Computed https://github.com/apple/swift-nio-ssl-support.git at 1.0.0 (1.08s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.70s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.62s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (0.55s)
Computing version for https://github.com/vapor/url-encoded-form.git
Computed https://github.com/vapor/url-encoded-form.git at 1.1.0 (0.50s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.5.0 (0.42s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.1.3 (0.39s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.40s)
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
Creating working copy for https://github.com/vapor/url-encoded-form.git
Working copy of https://github.com/vapor/url-encoded-form.git resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/vapor/template-kit.git
Working copy of https://github.com/vapor/template-kit.git resolved at 1.5.0
Creating working copy for https://github.com/vapor/websocket.git
Working copy of https://github.com/vapor/websocket.git resolved at 1.1.2
Creating working copy for https://github.com/vapor/validation.git
Working copy of https://github.com/vapor/validation.git resolved at 2.1.1
Creating working copy for https://github.com/apple/swift-nio-ssl-support.git
Working copy of https://github.com/apple/swift-nio-ssl-support.git resolved at 1.0.0
Creating working copy for https://github.com/vapor/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 1.4.0
Creating working copy for https://github.com/vapor/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.1.3
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.4.1
Creating working copy for https://github.com/vapor/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.1.0
Creating working copy for https://github.com/vapor/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.4.0
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.3.3
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/vapor/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.1.1
Creating working copy for https://github.com/vapor/database-kit.git
Working copy of https://github.com/vapor/database-kit.git resolved at 1.3.3
warning: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: couldn't find pc file for openssl
warning: couldn't find pc file for openssl
Building for debugging...
[0/43] Write sources
[28/43] Compiling CNIODarwin shim.c
[29/43] Compiling CNIOZlib empty.c
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/shim.c:50:16: error: call to undeclared function 'TEMP_FAILURE_RETRY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
50 | return TEMP_FAILURE_RETRY(prctl(PR_GET_NAME, name)) == -1 ? -1 : 0;
| ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/shim.c:55:14: error: call to undeclared function 'TEMP_FAILURE_RETRY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
55 | int fd = TEMP_FAILURE_RETRY(open(comm_name, O_CLOEXEC | O_RDONLY));
| ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/shim.c:59:36: error: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
59 | ssize_t n = TEMP_FAILURE_RETRY(read(fd, name, len));
| ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/shim.c:59:36: note: did you mean 'fread'?
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/stdio.h:116:8: note: 'fread' declared here
116 | size_t fread(void* _Nonnull __buf, size_t __size, size_t __count, FILE* _Nonnull __fp);
| ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/shim.c:60:5: error: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
60 | close(fd);
| ^
4 errors generated.
[30/43] Compiling CNIOLinux shim.c
[30/43] Compiling CNIOHTTPParser c_nio_http_parser.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/shims.c:16:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h:17:10: fatal error: 'openssl/conf.h' file not found
17 | #include <openssl/conf.h>
| ^~~~~~~~~~~~~~~~
[30/43] Compiling CNIOOpenSSL shims.c
[30/43] Write swift-version-8C5A4AE7A8CE2BA.txt
[30/43] Compiling CNIOOpenSSL helpers.c
[30/43] Compiling CNIOLinux ifaddrs-android.c
[30/43] Compiling c-atomics.c
[30/43] Compiling CNIOSHA1 c_nio_sha1.c
BUILD FAILURE 6.2 android