Build Information
Failed to build PMTiles, reference 0.2.0 (3cca5d), with Swift 6.3 for Android on 9 Oct 2026 22:43:29 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-2":/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.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 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.3
Building package at path: $PWD
https://github.com/Xenoglyphiq/pmtiles-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-2":/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.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:a57e63703100e13e1ecb61b565870501ccb169d7515bc7af7f0994f211e1b1f6
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Building for debugging...
[0/29] Write sources
[8/29] Write swift-version-272D24FF697CF451.txt
[10/32] Compiling PMTiles Types.swift
[11/32] Emitting module PMTiles
[12/32] Compiling PMTiles Core.swift
[13/33] Wrapping AST for PMTiles for debugging
[15/39] 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") }
[16/39] Compiling inspect_archive main.swift
[17/39] Emitting module inspect_archive
[19/40] Compiling PMTilesIO Gzip.swift
[20/40] Compiling PMTilesIO HTTPSource.swift
[21/40] Emitting module PMTilesIO
[21/40] Wrapping AST for inspect_archive for debugging
[22/40] Write Objects.LinkFileList
BUILD FAILURE 6.3 android