The Swift Package Index logo.Swift Package Index

Build Information

Failed to build postgres-migrations, reference main (795927), with Swift 6.4 for Android on 27 Oct 2026 20:51:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344849-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.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hummingbird-project/postgres-migrations.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/hummingbird-project/postgres-migrations
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 795927f Update from hummingbird-project-template 019e1b8aa391332dbbf6cd013c2ccc042a08dcba (#31)
Cloned https://github.com/hummingbird-project/postgres-migrations.git
Revision (git rev-parse @):
795927f3e520f264da4bb049ceee9d059be9cf16
SUCCESS checkout https://github.com/hummingbird-project/postgres-migrations.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/hummingbird-project/postgres-migrations.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-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:1ec638249ee9496bfd8413990a8663326bfd4883adb2b1d6b616fd753c8ff99b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/vapor/postgres-nio.git
[1/15684] Fetching postgres-nio
Fetched https://github.com/vapor/postgres-nio.git (1.07s)
Computing version for https://github.com/vapor/postgres-nio.git
Computed https://github.com/vapor/postgres-nio.git at 1.33.2 (1.23s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/8381] Fetching swift-log
[3522/27240] Fetching swift-log, swift-crypto
[3606/30107] Fetching swift-log, swift-crypto, swift-nio-transport-services
[4725/32993] Fetching swift-log, swift-crypto, swift-nio-transport-services, swift-service-lifecycle
[8027/36602] Fetching swift-log, swift-crypto, swift-nio-transport-services, swift-service-lifecycle, swift-metrics
Fetched https://github.com/apple/swift-nio-transport-services.git (0.51s)
Fetching https://github.com/apple/swift-collections.git
[16197/33735] Fetching swift-log, swift-crypto, swift-service-lifecycle, swift-metrics
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.53s)
[13499/30849] Fetching swift-log, swift-crypto, swift-metrics
Fetching https://github.com/apple/swift-nio-ssl.git
[29530/47743] Fetching swift-log, swift-crypto, swift-metrics, swift-nio-ssl
[32202/134434] Fetching swift-log, swift-crypto, swift-metrics, swift-nio-ssl, swift-nio
[75068/163796] Fetching swift-log, swift-crypto, swift-metrics, swift-nio-ssl, swift-nio, swift-collections
Fetched https://github.com/apple/swift-crypto.git (1.44s)
[64986/144937] Fetching swift-log, swift-metrics, swift-nio-ssl, swift-nio, swift-collections
Fetching https://github.com/apple/swift-atomics.git
[118064/146830] Fetching swift-log, swift-metrics, swift-nio-ssl, swift-nio, swift-collections, swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.60s)
[123265/144937] Fetching swift-log, swift-metrics, swift-nio-ssl, swift-nio, swift-collections
Fetched https://github.com/apple/swift-nio-ssl.git (1.58s)
[108105/128043] Fetching swift-log, swift-metrics, swift-nio, swift-collections
Fetched https://github.com/apple/swift-collections.git (1.80s)
[90879/98681] Fetching swift-log, swift-metrics, swift-nio
Fetched https://github.com/apple/swift-metrics.git (3.57s)
Fetched https://github.com/apple/swift-log.git (3.57s)
Fetched https://github.com/apple/swift-nio.git (3.60s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (3.77s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.14s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.13.0 (0.13s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6825] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.57s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.75s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.2 (0.14s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.5 (0.22s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.12.0 (0.13s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.19s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.25s)
Fetching https://github.com/apple/swift-system.git
[1/7381] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.93s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (1.11s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.3 (0.91s)
Fetching https://github.com/apple/swift-asn1.git
[1/2051] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.44s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.61s)
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.7
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.12.0
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 2.37.5
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.2
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.13.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/vapor/postgres-nio.git
Working copy of https://github.com/vapor/postgres-nio.git resolved at 1.33.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.5
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.3
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1433]
[Planning 1132 / 1433]
[Planning deferred tasks]
[Constructing 1484 / 3841]
[Starting]
[250 / 1277] CNIOBoringSSLShims
[273 / 1333] Logging
[274 / 1333] _NIOBase64
[290 / 1333] _AtomicsShims
[303 / 1333] SwiftASN1
[307 / 1333] SwiftASN1
[317 / 1333] SwiftASN1-product
[319 / 1333] NIOConcurrencyHelpers
[322 / 1334] _NIOBase64
[323 / 1334] NIOConcurrencyHelpers-product
[327 / 1335] _NIODataStructures
[331 / 1335] _NIODataStructures
[336 / 1335] Logging
[340 / 1336] NIOConcurrencyHelpers
[344 / 1336] InternalCollectionsUtilities
[345 / 1336] InternalCollectionsUtilities
[349 / 1336] CryptoBoringWrapper
[350 / 1336] CryptoBoringWrapper
[355 / 1337] InternalCollectionsUtilities
[357 / 1338] _NIODataStructures
[362 / 1345] ConcurrencyHelpers
[365 / 1358] Atomics
[375 / 1358] Logging
[383 / 1358] CoreMetrics
[386 / 1358] Atomics
[389 / 1359] CryptoBoringWrapper
[391 / 1359] ConcurrencyHelpers
[397 / 1360] CXKCPShims
[404 / 1360] CNIOWindows
[416 / 1361] CNIODarwin
[421 / 1361] CXKCP
[426 / 1362] CNIOBoringSSL
[435 / 1362] CNIOBoringSSL
[438 / 1362] CNIOBoringSSL
[443 / 1363] CNIOBoringSSL
[447 / 1363] CNIOBoringSSL
[451 / 1363] CNIOBoringSSL
[455 / 1363] CNIOBoringSSL
[457 / 1363] CNIOBoringSSL
[459 / 1363] CNIOBoringSSL
[461 / 1363] CNIOBoringSSL
[463 / 1363] CNIOBoringSSL
[467 / 1363] CNIOBoringSSL
[476 / 1363] CNIOBoringSSL
[477 / 1363] CNIOBoringSSL
[481 / 1363] CNIOBoringSSL
[482 / 1363] CNIOBoringSSL
[485 / 1363] CNIOBoringSSL
[486 / 1363] CNIOBoringSSL
[489 / 1363] CNIOBoringSSL
[491 / 1363] CNIOBoringSSL
[492 / 1363] CNIOBoringSSL
[494 / 1363] CNIOBoringSSL
[496 / 1363] CNIOBoringSSL
[498 / 1363] CNIOBoringSSL
[501 / 1363] CNIOBoringSSL
[504 / 1363] CNIOBoringSSL
[506 / 1363] CNIOBoringSSL
[507 / 1363] CNIOBoringSSL
[510 / 1363] CNIOBoringSSL
[511 / 1363] CNIOBoringSSL
[516 / 1363] CNIOBoringSSL
[519 / 1363] CNIOBoringSSL
[522 / 1363] CNIOBoringSSL
[524 / 1363] CNIOBoringSSL
[525 / 1363] CNIOBoringSSL
[527 / 1363] CNIOBoringSSL
[529 / 1363] CNIOBoringSSL
[531 / 1363] CNIOBoringSSL
[533 / 1363] CNIOBoringSSL
[534 / 1363] CNIOBoringSSL
[536 / 1363] CNIOBoringSSL
[537 / 1363] CNIOBoringSSL
[540 / 1363] CNIOBoringSSL
[543 / 1363] CNIOBoringSSL
[544 / 1363] CNIOBoringSSL
[547 / 1363] CNIOBoringSSL
[552 / 1363] CNIOBoringSSL
[558 / 1363] CNIOBoringSSL
[574 / 1363] CNIOBoringSSL
[580 / 1363] CNIOBoringSSL
[582 / 1363] CNIOBoringSSL
[584 / 1363] CNIOBoringSSL
[585 / 1363] CNIOBoringSSL
[589 / 1363] CNIOBoringSSL
[592 / 1363] CNIOBoringSSL
[596 / 1363] CNIOBoringSSL
[600 / 1363] CNIOBoringSSL
[603 / 1363] CNIOBoringSSL
[605 / 1363] CNIOBoringSSL
[606 / 1363] CNIOBoringSSL
[609 / 1363] CNIOBoringSSL
[612 / 1363] CNIOBoringSSL
[614 / 1363] CNIOBoringSSL
[615 / 1363] CNIOBoringSSL
[619 / 1363] CNIOBoringSSL
[620 / 1363] CNIOBoringSSL
[623 / 1363] CNIOBoringSSL
[626 / 1363] CNIOBoringSSL
[629 / 1363] CNIOBoringSSL
[634 / 1363] CNIOBoringSSL
[645 / 1363] CNIOBoringSSL
[654 / 1363] CNIOBoringSSL
[656 / 1363] CNIOBoringSSL
[658 / 1363] CNIOBoringSSL
[659 / 1363] CNIOBoringSSL
[662 / 1363] CNIOBoringSSL
[665 / 1363] CNIOBoringSSL
[670 / 1363] CNIOBoringSSL
[678 / 1363] CNIOBoringSSL
[682 / 1363] CNIOBoringSSL
[689 / 1363] CNIOBoringSSL
[695 / 1363] CNIOBoringSSL
[696 / 1363] CNIOBoringSSL
[700 / 1363] CNIOBoringSSL
[702 / 1363] CNIOBoringSSL
[703 / 1363] CNIOBoringSSL
[706 / 1363] CNIOBoringSSL
[708 / 1363] CNIOBoringSSL
[709 / 1363] CNIOBoringSSL
[711 / 1363] CNIOBoringSSL
[713 / 1363] CNIOBoringSSL
[715 / 1363] CNIOBoringSSL
[717 / 1363] CNIOBoringSSL
[721 / 1363] CNIOBoringSSL
[722 / 1363] CNIOBoringSSL
[723 / 1363] CNIOBoringSSL
[726 / 1363] CNIOBoringSSL
[728 / 1363] CNIOBoringSSL
[729 / 1363] CNIOBoringSSL
[731 / 1363] CNIOBoringSSL
[734 / 1363] CNIOBoringSSL
[736 / 1363] CNIOBoringSSL
[741 / 1363] CNIOBoringSSL
[743 / 1363] CNIOBoringSSL
[748 / 1363] CNIOBoringSSL
[754 / 1363] CNIOBoringSSL
[761 / 1363] CNIOBoringSSL
[763 / 1363] CNIOBoringSSL
[766 / 1363] CNIOBoringSSL
[767 / 1363] CNIOBoringSSL
[770 / 1363] CNIOBoringSSL
[771 / 1363] CNIOBoringSSL
[774 / 1363] CNIOBoringSSL
[776 / 1363] CNIOBoringSSL
[777 / 1363] CNIOBoringSSL
[779 / 1363] CNIOBoringSSL
[781 / 1363] CNIOBoringSSL
[784 / 1363] CNIOBoringSSL
[788 / 1363] CNIOBoringSSL
[794 / 1363] CNIOBoringSSL
[798 / 1363] CNIOBoringSSL
[804 / 1363] CNIOBoringSSL
[808 / 1363] CNIOBoringSSL
[809 / 1363] CNIOBoringSSL
[811 / 1363] CNIOBoringSSL
[813 / 1363] CNIOBoringSSL
[816 / 1363] CNIOBoringSSL
[818 / 1363] CNIOBoringSSL
[819 / 1363] CNIOBoringSSL
[823 / 1363] CNIOBoringSSL
[824 / 1363] CNIOBoringSSL
[827 / 1363] CNIOBoringSSL
[829 / 1363] CNIOBoringSSL
[831 / 1363] CCryptoBoringSSL
[834 / 1363] CCryptoBoringSSL
[838 / 1363] CCryptoBoringSSL
[842 / 1363] CCryptoBoringSSL
[846 / 1363] CCryptoBoringSSL
[847 / 1363] CCryptoBoringSSL
[851 / 1363] CCryptoBoringSSL
[852 / 1363] CCryptoBoringSSL
[855 / 1363] CCryptoBoringSSL
[856 / 1363] CCryptoBoringSSL
[859 / 1363] CCryptoBoringSSL
[863 / 1363] CCryptoBoringSSL
[868 / 1363] CCryptoBoringSSL
[875 / 1363] CCryptoBoringSSL
[880 / 1363] CCryptoBoringSSL
[882 / 1363] CCryptoBoringSSL
[883 / 1363] CCryptoBoringSSL
[887 / 1363] CCryptoBoringSSL
[888 / 1363] CCryptoBoringSSL
[891 / 1363] CCryptoBoringSSL
[893 / 1363] CCryptoBoringSSL
[896 / 1363] CCryptoBoringSSL
[897 / 1363] CCryptoBoringSSL
[899 / 1363] CCryptoBoringSSL
[902 / 1363] CCryptoBoringSSL
[905 / 1363] CCryptoBoringSSL
[906 / 1363] CCryptoBoringSSL
[908 / 1363] CCryptoBoringSSL
[911 / 1363] CCryptoBoringSSL
[916 / 1363] CCryptoBoringSSL
[917 / 1363] CCryptoBoringSSL
[918 / 1363] CCryptoBoringSSL
[922 / 1363] CCryptoBoringSSL
[924 / 1363] CCryptoBoringSSL
[925 / 1363] CCryptoBoringSSL
[929 / 1363] CCryptoBoringSSL
[939 / 1363] CCryptoBoringSSL
[951 / 1363] CCryptoBoringSSL
[960 / 1363] CCryptoBoringSSL
[961 / 1363] CCryptoBoringSSL
[964 / 1363] CCryptoBoringSSL
[968 / 1363] CCryptoBoringSSL
[969 / 1363] CCryptoBoringSSL
[974 / 1363] CCryptoBoringSSL
[978 / 1363] CCryptoBoringSSL
[979 / 1363] CCryptoBoringSSL
[981 / 1363] CCryptoBoringSSL
[983 / 1363] CCryptoBoringSSL
[987 / 1363] CCryptoBoringSSL
[989 / 1363] CCryptoBoringSSL
[991 / 1363] CCryptoBoringSSL
[993 / 1363] CCryptoBoringSSL
[996 / 1363] CCryptoBoringSSL
[999 / 1363] CCryptoBoringSSL
[1001 / 1363] CCryptoBoringSSL
[1003 / 1363] CCryptoBoringSSL
[1006 / 1363] CCryptoBoringSSL
[1010 / 1363] CCryptoBoringSSL
[1018 / 1363] CCryptoBoringSSL
[1021 / 1363] CCryptoBoringSSL
[1023 / 1363] CCryptoBoringSSL
[1027 / 1363] CCryptoBoringSSL
[1030 / 1363] CCryptoBoringSSL
[1032 / 1363] CCryptoBoringSSL
[1033 / 1363] CCryptoBoringSSL
[1039 / 1363] CCryptoBoringSSL
[1045 / 1363] CCryptoBoringSSL
[1056 / 1363] CCryptoBoringSSL
[1060 / 1363] CCryptoBoringSSL
[1066 / 1363] CCryptoBoringSSL
[1069 / 1363] CCryptoBoringSSL
[1070 / 1363] CCryptoBoringSSL
[1075 / 1363] CCryptoBoringSSL
[1078 / 1363] CCryptoBoringSSL
[1081 / 1363] CCryptoBoringSSL
[1082 / 1363] CCryptoBoringSSL
[1086 / 1363] CCryptoBoringSSL
[1089 / 1363] CCryptoBoringSSL
[1090 / 1363] CCryptoBoringSSL
[1094 / 1363] CCryptoBoringSSL
[1096 / 1363] CCryptoBoringSSL
[1097 / 1363] CCryptoBoringSSL
[1100 / 1363] CCryptoBoringSSL
[1104 / 1363] CCryptoBoringSSL
[1106 / 1363] CCryptoBoringSSL
[1111 / 1363] CCryptoBoringSSL
[1115 / 1363] CCryptoBoringSSL
[1119 / 1363] CCryptoBoringSSL
[1128 / 1363] CCryptoBoringSSL
[1133 / 1363] CCryptoBoringSSL
[1136 / 1363] CCryptoBoringSSL
[1141 / 1363] CCryptoBoringSSL
[1143 / 1363] CCryptoBoringSSL
[1145 / 1363] CCryptoBoringSSL
[1147 / 1363] CCryptoBoringSSL
[1148 / 1363] CCryptoBoringSSL
[1152 / 1363] CCryptoBoringSSL
[1154 / 1363] CCryptoBoringSSL
[1160 / 1363] CCryptoBoringSSL
[1170 / 1363] CCryptoBoringSSL
[1178 / 1363] CCryptoBoringSSL
[1180 / 1363] CCryptoBoringSSL
[1183 / 1363] CCryptoBoringSSL
[1187 / 1363] CCryptoBoringSSL
[1189 / 1363] CCryptoBoringSSL
[1193 / 1363] CCryptoBoringSSL
[1195 / 1363] CryptoBoringWrapper
[1206 / 1370] UnixSignals
[1214 / 1385] SpanPreview
[1221 / 1387] Crypto
[1230 / 1396] SpanPreview
[1237 / 1396] UnixSignals
[1239 / 1396] OrderedCollections
[1240 / 1397] UnixSignals
[1243 / 1397] OrderedCollections
[1244 / 1397] OrderedCollections
[1246 / 1397] Metrics-product
[1248 / 1398] OrderedCollections
[1251 / 1398] Metrics
[1254 / 1398] OrderedCollections
[1260 / 1399] Crypto
[1262 / 1399] Crypto
[1267 / 1399] OrderedCollections-product
[1268 / 1399]
[1270 / 1399] OrderedCollections
[1272 / 1401] Atomics
[1277 / 1419] CryptoExtras
[1278 / 1419] DequeModule
[1280 / 1419] DequeModule
[1281 / 1419] DequeModule
[1282 / 1419] DequeModule
[1284 / 1419] CryptoExtras
[1286 / 1419] CryptoExtras
[1286 / 1419] DequeModule
[1293 / 1419] CCryptoBoringSSL
[1293 / 1420] _CryptoExtras
[1294 / 1420] _CryptoExtras
[1296 / 1420] CryptoExtras
[1297 / 1420] Crypto
[1308 / 1421] CXKCPShims
[1318 / 1434] _CryptoExtras
[1326 / 1435] _CryptoExtras-product
[1329 / 1435] _CryptoExtras-product
[1331 / 1435] _ConnectionPoolModule
[1332 / 1436] NIOConcurrencyHelpers
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/.build/checkouts/postgres-nio/Sources/ConnectionPoolModule/PoolStateMachine.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile PoolStateMachine.swift
/host/spi-builder-workspace/.build/checkouts/postgres-nio/Sources/ConnectionPoolModule/PoolStateMachine.swift:888:48: error: cannot find 'pow' in scope
886 |
887 |         let start = Double(100_000_000)
888 |         let backoffNanosecondsDouble = start * pow(1.25, Double(attempts - 1))
    |                                                `- error: cannot find 'pow' in scope
889 |
890 |         // Cap to 60s _before_ we convert to Int64, to avoid trapping in the Int64 initializer.
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/.build/checkouts/postgres-nio/Sources/ConnectionPoolModule/ConnectionIDGenerator.swift /host/spi-builder-workspace/.build/checkouts/postgres-nio/Sources/ConnectionPoolModule/ConnectionLease.swift /host/spi-builder-workspace/.build/checkouts/postgres-nio/Sources/ConnectionPoolModule/ConnectionPool.swift /host/spi-builder-workspace/.build/checkouts/postgres-nio/Sources/ConnectionPoolModule/ConnectionPoolError.swift /host/spi-builder-workspace/.build/checkouts/postgres-nio/Sources/ConnectionPoolModule/ConnectionPoolObservabilityDelegate.swift /host/spi-builder-workspace/.build/checkouts/postgres-nio/Sources/ConnectionPoolModule/ConnectionRequest.swift /host/spi-builder-workspace/.build/checkouts/postgres-nio/Sources/ConnectionPoolModule/Max2Sequence.swift /host/spi-builder-workspace/.build/checkouts/postgres-nio/Sources/ConnectionPoolModule/NIOLock.swift /host/spi-builder-workspace/.build/checkouts/postgres-nio/Sources/ConnectionPoolModule/NIOLockedValueBox.swift /host/spi-builder-workspace/.build/checkouts/postgres-nio/Sources/ConnectionPoolModule/NoKeepAliveBehavior.swift /host/spi-builder-workspace/.build/checkouts/postgres-nio/Sources/ConnectionPoolModule/PoolStateMachine+ConnectionGroup.swift /host/spi-builder-workspace/.build/checkouts/postgres-nio/Sources/ConnectionPoolModule/PoolStateMachine+ConnectionState.swift -primary-file /host/spi-builder-workspace/.build/checkouts/postgres-nio/Sources/ConnectionPoolModule/PoolStateMachine+RequestQueue.swift -primary-file /host/spi-builder-workspace/.build/checkouts/postgres-nio/Sources/ConnectionPoolModule/PoolStateMachine.swift /host/spi-builder-workspace/.build/checkouts/postgres-nio/Sources/ConnectionPoolModule/TinyFastSequence.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/postgres-nio.build/Debug-android-aarch64/_ConnectionPoolModule-t.build/Objects-normal/aarch64/PoolStateMachine+RequestQueue.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/postgres-nio.build/Debug-android-aarch64/_ConnectionPoolModule-t.build/Objects-normal/aarch64/PoolStateMachine+RequestQueue.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/postgres-nio.build/Debug-android-aarch64/_ConnectionPoolModule-t.build/Objects-normal/aarch64/PoolStateMachine+RequestQueue.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/postgres-nio.build/Debug-android-aarch64/_ConnectionPoolModule-t.build/Objects-normal/aarch64/PoolStateMachine+RequestQueue.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/postgres-nio.build/Debug-android-aarch64/_ConnectionPoolModule-t.build/Objects-normal/aarch64/PoolStateMachine.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/postgres-nio.build/Debug-android-aarch64/_ConnectionPoolModule-t.build/Objects-normal/aarch64/PoolStateMachine.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/postgres-nio.build/Debug-android-aarch64/_ConnectionPoolModule-t.build/Objects-normal/aarch64/PoolStateMachine.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/postgres-nio.build/Debug-android-aarch64/_ConnectionPoolModule-t.build/Objects-normal/aarch64/PoolStateMachine.dia -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r30/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-upcoming-feature ExistentialAny -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-plugin-server -user-module-version 1.33.2 -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.0-RELEASE_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-r30/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/21 -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/_AtomicsShims/include/module.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-atomics/Sources/_AtomicsShims/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/postgres-nio.build/Debug-android-aarch64/_ConnectionPoolModule-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/postgres-nio.build/Debug-android-aarch64/_ConnectionPoolModule-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/postgres-nio.build/Debug-android-aarch64/_ConnectionPoolModule-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name _ConnectionPoolModule -package-name postgres_nio -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/postgres-nio.build/Debug-android-aarch64/_ConnectionPoolModule-t.build/Objects-normal/aarch64/_ConnectionPoolModule_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/postgres-nio.build/Debug-android-aarch64/_ConnectionPoolModule-t.build/Objects-normal/aarch64/PoolStateMachine+RequestQueue.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/postgres-nio.build/Debug-android-aarch64/_ConnectionPoolModule-t.build/Objects-normal/aarch64/PoolStateMachine.o -index-unit-output-path /postgres-nio.build/Debug-android-aarch64/_ConnectionPoolModule-t.build/Objects-normal/aarch64/PoolStateMachine+RequestQueue.o -index-unit-output-path /postgres-nio.build/Debug-android-aarch64/_ConnectionPoolModule-t.build/Objects-normal/aarch64/PoolStateMachine.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android