Build Information
Failed to build PMTiles, reference 0.2.0 (3cca5d), with Swift 6.1 for Android on 9 Oct 2026 18:43:36 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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Xenoglyphiq/pmtiles-swift.git
Reference: 0.2.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/Xenoglyphiq/pmtiles-swift
* tag 0.2.0 -> FETCH_HEAD
HEAD is now at 3cca5df Spec v0.2.0; release 0.2.0 (#6)
Cloned https://github.com/Xenoglyphiq/pmtiles-swift.git
Revision (git rev-parse @):
3cca5df649f253316bda17382f455a4aeb338c8f
SUCCESS checkout https://github.com/Xenoglyphiq/pmtiles-swift.git at 0.2.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/Xenoglyphiq/pmtiles-swift.git
https://github.com/Xenoglyphiq/pmtiles-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:396310cef4466ceb116ed5462b0b92d4deb353c0dad749b406b7fd226f6db9af
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Building for debugging...
[0/29] Write sources
[8/29] Write swift-version-24593BA9C3E375BF.txt
[10/32] Compiling PMTiles Types.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[11/32] Compiling PMTiles Core.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[12/32] Emitting module PMTiles
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[13/33] Wrapping AST for PMTiles for debugging
[15/39] Compiling PMTilesIO IO.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/PMTilesIO/IO.swift:40:14: error: cannot find 'open' in scope
38 |
39 | public init(path: String) throws(PMTilesError) {
40 | fd = open(path, O_RDONLY)
| `- error: cannot find 'open' in scope
41 | guard fd >= 0 else { throw PMTilesError(.io, "pmtiles.source_failed") }
42 | }
/host/spi-builder-workspace/Sources/PMTilesIO/IO.swift:40:25: error: cannot find 'O_RDONLY' in scope
38 |
39 | public init(path: String) throws(PMTilesError) {
40 | fd = open(path, O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
41 | guard fd >= 0 else { throw PMTilesError(.io, "pmtiles.source_failed") }
42 | }
/host/spi-builder-workspace/Sources/PMTilesIO/IO.swift:44:14: error: cannot find 'close' in scope
42 | }
43 |
44 | deinit { close(fd) }
| `- error: cannot find 'close' in scope
45 |
46 | public func read(offset: UInt64, length: UInt64) async throws(PMTilesError) -> [UInt8] {
/host/spi-builder-workspace/Sources/PMTilesIO/IO.swift:55:17: error: cannot find 'pread' in scope
53 | while done < total {
54 | let n = buf.withUnsafeMutableBytes { p in
55 | pread(fd, p.baseAddress! + done, total - done, off_t(offset) + off_t(done))
| `- error: cannot find 'pread' in scope
56 | }
57 | if n < 0 { throw PMTilesError(.io, "pmtiles.source_failed") }
/host/spi-builder-workspace/Sources/PMTilesIO/IO.swift:55:64: error: cannot find 'off_t' in scope
53 | while done < total {
54 | let n = buf.withUnsafeMutableBytes { p in
55 | pread(fd, p.baseAddress! + done, total - done, off_t(offset) + off_t(done))
| `- error: cannot find 'off_t' in scope
56 | }
57 | if n < 0 { throw PMTilesError(.io, "pmtiles.source_failed") }
/host/spi-builder-workspace/Sources/PMTilesIO/IO.swift:55:80: error: cannot find 'off_t' in scope
53 | while done < total {
54 | let n = buf.withUnsafeMutableBytes { p in
55 | pread(fd, p.baseAddress! + done, total - done, off_t(offset) + off_t(done))
| `- error: cannot find 'off_t' in scope
56 | }
57 | if n < 0 { throw PMTilesError(.io, "pmtiles.source_failed") }
[16/39] Compiling inspect_archive main.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[17/39] Emitting module inspect_archive
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[19/40] Compiling PMTilesIO HTTPSource.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[19/40] Wrapping AST for inspect_archive for debugging
[20/40] Write Objects.LinkFileList
[21/40] Linking inspect_archive
[23/40] Emitting module PMTilesIO
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[24/40] Compiling PMTilesIO Gzip.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/PMTilesIO/Gzip.swift:67:5: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
65 | package func crc32(_ bytes: [UInt8]) -> UInt32 {
66 | var c: UInt32 = 0xFFFF_FFFF
67 | crcTables.withUnsafeBufferPointer { t in
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
68 | bytes.withUnsafeBufferPointer { b in
69 | var i = 0
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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:396310cef4466ceb116ed5462b0b92d4deb353c0dad749b406b7fd226f6db9af
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/21] Write swift-version-24593BA9C3E375BF.txt
[2/24] Compiling PMTiles Types.swift
[3/24] Compiling PMTiles Core.swift
[4/24] Emitting module PMTiles
[6/30] Emitting module inspect_archive
[7/30] Compiling inspect_archive main.swift
[8/30] Write Objects.LinkFileList
[10/30] Compiling PMTilesIO HTTPSource.swift
[10/30] Linking inspect_archive
[12/30] Emitting module PMTilesIO
[13/30] Compiling PMTilesIO Gzip.swift
/host/spi-builder-workspace/Sources/PMTilesIO/Gzip.swift:67:5: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
65 | package func crc32(_ bytes: [UInt8]) -> UInt32 {
66 | var c: UInt32 = 0xFFFF_FFFF
67 | crcTables.withUnsafeBufferPointer { t in
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
68 | bytes.withUnsafeBufferPointer { b in
69 | var i = 0
[14/30] Compiling PMTilesIO IO.swift
/host/spi-builder-workspace/Sources/PMTilesIO/IO.swift:40:14: error: cannot find 'open' in scope
38 |
39 | public init(path: String) throws(PMTilesError) {
40 | fd = open(path, O_RDONLY)
| `- error: cannot find 'open' in scope
41 | guard fd >= 0 else { throw PMTilesError(.io, "pmtiles.source_failed") }
42 | }
/host/spi-builder-workspace/Sources/PMTilesIO/IO.swift:40:25: error: cannot find 'O_RDONLY' in scope
38 |
39 | public init(path: String) throws(PMTilesError) {
40 | fd = open(path, O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
41 | guard fd >= 0 else { throw PMTilesError(.io, "pmtiles.source_failed") }
42 | }
/host/spi-builder-workspace/Sources/PMTilesIO/IO.swift:44:14: error: cannot find 'close' in scope
42 | }
43 |
44 | deinit { close(fd) }
| `- error: cannot find 'close' in scope
45 |
46 | public func read(offset: UInt64, length: UInt64) async throws(PMTilesError) -> [UInt8] {
/host/spi-builder-workspace/Sources/PMTilesIO/IO.swift:55:17: error: cannot find 'pread' in scope
53 | while done < total {
54 | let n = buf.withUnsafeMutableBytes { p in
55 | pread(fd, p.baseAddress! + done, total - done, off_t(offset) + off_t(done))
| `- error: cannot find 'pread' in scope
56 | }
57 | if n < 0 { throw PMTilesError(.io, "pmtiles.source_failed") }
/host/spi-builder-workspace/Sources/PMTilesIO/IO.swift:55:64: error: cannot find 'off_t' in scope
53 | while done < total {
54 | let n = buf.withUnsafeMutableBytes { p in
55 | pread(fd, p.baseAddress! + done, total - done, off_t(offset) + off_t(done))
| `- error: cannot find 'off_t' in scope
56 | }
57 | if n < 0 { throw PMTilesError(.io, "pmtiles.source_failed") }
/host/spi-builder-workspace/Sources/PMTilesIO/IO.swift:55:80: error: cannot find 'off_t' in scope
53 | while done < total {
54 | let n = buf.withUnsafeMutableBytes { p in
55 | pread(fd, p.baseAddress! + done, total - done, off_t(offset) + off_t(done))
| `- error: cannot find 'off_t' in scope
56 | }
57 | if n < 0 { throw PMTilesError(.io, "pmtiles.source_failed") }
BUILD FAILURE 6.1 android