The Swift Package Index logo.Swift Package Index

Build Information

Failed to build mvt-tools, reference main (a2a677), with Swift 6.3 for Wasm on 27 Sep 2026 21:49:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/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:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Outdooractive/mvt-tools.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/Outdooractive/mvt-tools
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a2a6770 Support runtime-registered projections and update gis-tools to 3.0.0-beta.1
Submodule path 'Dependencies/maplibre-tile-spec': checked out '87878a9006e8e757a1400a05edb37408c3e595ec'
Submodule path 'Dependencies/maplibre-tile-spec/cpp/vendor/earcut': checked out 'f36ced7e50254738c4e5af1a239f5fb7b1094007'
Submodule path 'Dependencies/maplibre-tile-spec/cpp/vendor/earcut/vendor/benchmark': checked out '2948b6a2e61ccabecc952c24794c6960d86c9ed6'
Submodule path 'Dependencies/maplibre-tile-spec/cpp/vendor/earcut/vendor/glfw': checked out '7d5a16ce714f0b5f4efa3262de22e4d948851525'
Submodule path 'Dependencies/maplibre-tile-spec/cpp/vendor/earcut/vendor/googletest': checked out '0934b7e112354d609133d2c5f973c402c9efc9b9'
Submodule path 'Dependencies/maplibre-tile-spec/cpp/vendor/fsst': checked out '75b2e7535392d5ca5eaec937259388d89e38ba4d'
Submodule path 'Dependencies/maplibre-tile-spec/cpp/vendor/googletest': checked out 'c00fd25b71a17e645e4567fcb465c3fa532827d2'
Submodule path 'Dependencies/maplibre-tile-spec/cpp/vendor/json': checked out '9cca280a4d0ccf0c08f47a99aa71d1b0e52f8d03'
Submodule path 'Dependencies/maplibre-tile-spec/test/mvt-fixtures': checked out '4b329c12f6ceb8bb442f09726cb1957b0add0c3a'
Submodule path 'Dependencies/maplibre-tile-spec/test/mvt-fixtures/vector-tile-spec': checked out '452ef14841f3e1288de8b355f722682b63c1b13f'
Submodule 'Dependencies/maplibre-tile-spec' (https://github.com/maplibre/maplibre-tile-spec) registered for path 'Dependencies/maplibre-tile-spec'
Cloning into '/host/spi-builder-workspace/Dependencies/maplibre-tile-spec'...
Submodule 'cpp/vendor/earcut' (https://github.com/mapbox/earcut.hpp.git) registered for path 'Dependencies/maplibre-tile-spec/cpp/vendor/earcut'
Submodule 'cpp/vendor/fsst' (https://github.com/cwida/fsst.git) registered for path 'Dependencies/maplibre-tile-spec/cpp/vendor/fsst'
Submodule 'cpp/vendor/googletest' (https://github.com/google/googletest.git) registered for path 'Dependencies/maplibre-tile-spec/cpp/vendor/googletest'
Submodule 'cpp/vendor/json' (https://github.com/nlohmann/json.git) registered for path 'Dependencies/maplibre-tile-spec/cpp/vendor/json'
Submodule 'test/mvt-fixtures' (https://github.com/mapbox/mvt-fixtures.git) registered for path 'Dependencies/maplibre-tile-spec/test/mvt-fixtures'
Cloning into '/host/spi-builder-workspace/Dependencies/maplibre-tile-spec/cpp/vendor/earcut'...
Cloning into '/host/spi-builder-workspace/Dependencies/maplibre-tile-spec/cpp/vendor/fsst'...
Cloning into '/host/spi-builder-workspace/Dependencies/maplibre-tile-spec/cpp/vendor/googletest'...
Cloning into '/host/spi-builder-workspace/Dependencies/maplibre-tile-spec/cpp/vendor/json'...
Cloning into '/host/spi-builder-workspace/Dependencies/maplibre-tile-spec/test/mvt-fixtures'...
Submodule 'vendor/benchmark' (https://github.com/google/benchmark.git) registered for path 'Dependencies/maplibre-tile-spec/cpp/vendor/earcut/vendor/benchmark'
Submodule 'vendor/glfw' (https://github.com/glfw/glfw.git) registered for path 'Dependencies/maplibre-tile-spec/cpp/vendor/earcut/vendor/glfw'
Submodule 'vendor/googletest' (https://github.com/google/googletest.git) registered for path 'Dependencies/maplibre-tile-spec/cpp/vendor/earcut/vendor/googletest'
Cloning into '/host/spi-builder-workspace/Dependencies/maplibre-tile-spec/cpp/vendor/earcut/vendor/benchmark'...
Cloning into '/host/spi-builder-workspace/Dependencies/maplibre-tile-spec/cpp/vendor/earcut/vendor/glfw'...
Cloning into '/host/spi-builder-workspace/Dependencies/maplibre-tile-spec/cpp/vendor/earcut/vendor/googletest'...
Submodule 'vector-tile-spec' (https://github.com/mapbox/vector-tile-spec) registered for path 'Dependencies/maplibre-tile-spec/test/mvt-fixtures/vector-tile-spec'
Cloning into '/host/spi-builder-workspace/Dependencies/maplibre-tile-spec/test/mvt-fixtures/vector-tile-spec'...
Cloned https://github.com/Outdooractive/mvt-tools.git
Revision (git rev-parse @):
a2a67704bf4a04071c8b3e0e9cee0103db22f2d3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Outdooractive/mvt-tools.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Outdooractive/mvt-tools.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/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:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:253aad7f5b11d25cf9eaef34120b94cd8a325782929c57fb304a7711494a3f9a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-protobuf
Fetching https://github.com/Outdooractive/gis-tools-csv
Fetching https://github.com/1024jp/GzipSwift.git
Fetching https://github.com/Outdooractive/gis-tools
[1/8165] Fetching swift-log
[2/15928] Fetching swift-log, gis-tools
[2027/17690] Fetching swift-log, gis-tools, gzipswift
[6685/17800] Fetching swift-log, gis-tools, gzipswift, gis-tools-csv
[16482/36747] Fetching swift-log, gis-tools, gzipswift, gis-tools-csv, swift-argument-parser
Fetched https://github.com/Outdooractive/gis-tools-csv from cache (0.72s)
Fetched https://github.com/Outdooractive/gis-tools from cache (0.73s)
Fetched https://github.com/1024jp/GzipSwift.git from cache (0.80s)
Fetched https://github.com/apple/swift-log.git from cache (0.81s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.81s)
[1/54296] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf from cache (3.89s)
Computing version for https://github.com/apple/swift-protobuf
Computed https://github.com/apple/swift-protobuf at 1.38.1 (4.09s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.16s)
Computing version for https://github.com/1024jp/GzipSwift.git
Computed https://github.com/1024jp/GzipSwift.git at 7.0.0 (0.17s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.16s)
Computing version for https://github.com/Outdooractive/gis-tools-csv
Computed https://github.com/Outdooractive/gis-tools-csv at 3.0.0-beta.1 (0.14s)
Computing version for https://github.com/Outdooractive/gis-tools
Computed https://github.com/Outdooractive/gis-tools at 3.0.0-beta.1 (0.14s)
Creating working copy for https://github.com/apple/swift-protobuf
Working copy of https://github.com/apple/swift-protobuf resolved at 1.38.1
Creating working copy for https://github.com/Outdooractive/gis-tools-csv
Working copy of https://github.com/Outdooractive/gis-tools-csv resolved at 3.0.0-beta.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/1024jp/GzipSwift.git
Working copy of https://github.com/1024jp/GzipSwift.git resolved at 7.0.0
Creating working copy for https://github.com/Outdooractive/gis-tools
Working copy of https://github.com/Outdooractive/gis-tools resolved at 3.0.0-beta.1
[1/1] Compiling plugin SwiftProtobufPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/39] Write sources
[10/39] Compiling properties.cpp
[11/39] Compiling rle.cpp
[12/39] Compiling fsst_avx512.cpp
[13/39] Compiling tileset.cpp
/host/spi-builder-workspace/Dependencies/maplibre-tile-spec/cpp/vendor/fsst/libfsst.cpp:470:26: warning: implicit conversion from 'long long' to 'size_t' (aka 'unsigned long') changes value from 13780475904564809 to 320904777 [-Wconstant-conversion]
  470 |       size_t sampleRnd = FSST_HASH(4637947);
      |              ~~~~~~~~~   ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Dependencies/maplibre-tile-spec/cpp/vendor/fsst/libfsst.hpp:121:44: note: expanded from macro 'FSST_HASH'
  121 | #define FSST_HASH(w) (((w)*FSST_HASH_PRIME)^(((w)*FSST_HASH_PRIME)>>FSST_SHIFT))
      |                       ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[14/39] Compiling libfsst.cpp
[15/39] Compiling stream.cpp
[16/39] Compiling Bridge.cpp
[17/39] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/Dependencies/maplibre-tile-spec/cpp/vendor/fastpfor/fastpfor/bitpacking.cpp:1:
In file included from /host/spi-builder-workspace/Dependencies/maplibre-tile-spec/cpp/vendor/fastpfor/fastpfor/bitpacking.h:9:
In file included from /host/spi-builder-workspace/Dependencies/maplibre-tile-spec/cpp/vendor/fastpfor/fastpfor/common.h:17:
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
    2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
      |  ^
In file included from /host/spi-builder-workspace/Dependencies/maplibre-tile-spec/cpp/vendor/fastpfor/fastpfor/bitpacking.cpp:1:
In file included from /host/spi-builder-workspace/Dependencies/maplibre-tile-spec/cpp/vendor/fastpfor/fastpfor/bitpacking.h:9:
In file included from /host/spi-builder-workspace/Dependencies/maplibre-tile-spec/cpp/vendor/fastpfor/fastpfor/common.h:18:
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/resource.h:2:2: error: WASI lacks process-associated clocks; to enable emulation of the `getrusage` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks
    2 | #error WASI lacks process-associated clocks; to enable emulation of the `getrusage` function using \
      |  ^
2 errors generated.
[18/39] Compiling bitpacking.cpp
[18/39] Compiling encoder.cpp
[18/39] Compiling int.cpp
[18/39] Compiling decoder.cpp
[18/39] Compiling geometry_vector.cpp
[18/39] Compiling layer.cpp
[18/39] Compiling feature.cpp
BUILD FAILURE 6.3 wasm