Build Information
Failed to build mvt-tools, reference main (bf5b03), with Swift 6.3 for Wasm on 7 Nov 2026 17:46:17 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:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
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 bf5b03b Fix MVT polygon winding for fill extrusions (#121)
Submodule path 'Dependencies/maplibre-tile-spec': checked out '71f20ee897a285f54bc461974c07713af04aeb7b'
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 '063de7e9578f82b369302001269680b4b1553359'
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 @):
bf5b03b63fa9accb01b249420b17a020e1dc5c8b
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-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: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:3045625b85c7b3a40ef7c4e596cfe3f6119a575d9bb01341bbf4a893a5aa001c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/Outdooractive/gis-tools
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/1024jp/GzipSwift.git
Fetching https://github.com/Outdooractive/gis-tools-csv
[1/1766] Fetching gzipswift
[107/1991] Fetching gzipswift, gis-tools-csv
[1170/10331] Fetching gzipswift, gis-tools-csv, swift-log
[4411/20618] Fetching gzipswift, gis-tools-csv, swift-log, gis-tools
[11670/39962] Fetching gzipswift, gis-tools-csv, swift-log, gis-tools, swift-argument-parser
Fetched https://github.com/Outdooractive/gis-tools-csv from cache (0.82s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.83s)
Fetched https://github.com/1024jp/GzipSwift.git from cache (0.94s)
Fetched https://github.com/apple/swift-log.git from cache (0.94s)
Fetched https://github.com/Outdooractive/gis-tools from cache (0.95s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (1.12s)
Computing version for https://github.com/1024jp/GzipSwift.git
Computed https://github.com/1024jp/GzipSwift.git at 7.0.0 (0.18s)
Computing version for https://github.com/Outdooractive/gis-tools-csv
Computed https://github.com/Outdooractive/gis-tools-csv at 3.0.0 (0.15s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.0 (0.15s)
Computing version for https://github.com/Outdooractive/gis-tools
Computed https://github.com/Outdooractive/gis-tools at 3.1.0 (0.14s)
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-csv
Working copy of https://github.com/Outdooractive/gis-tools-csv resolved at 3.0.0
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/Outdooractive/gis-tools
Working copy of https://github.com/Outdooractive/gis-tools resolved at 3.1.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.17.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/26] Write sources
[12/26] Write swift-version-24593BA9C3E375BF.txt
[14/57] Emitting module ArgumentParserToolInfo
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/225] Emitting module GISTools
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/gis-tools/Sources/GISToolsCZlib/shim.h:1:10: error: 'zlib.h' file not found
1 | #include <zlib.h>
| `- error: 'zlib.h' file not found
2 |
/host/spi-builder-workspace/.build/checkouts/gis-tools/Sources/GISTools/GeoJson/Gzip.swift:1:8: error: could not build C module 'GISToolsCZlib'
1 | import GISToolsCZlib
| `- error: could not build C module 'GISToolsCZlib'
2 | import Foundation
3 |
[16/248] Compiling Logging Logger+Attributes.swift
[17/249] Compiling Logging LoggingSystem.swift
[18/249] Compiling GISTools Area.swift
[19/249] Compiling GISTools Bearing.swift
[20/249] Compiling Logging Logger+With.swift
[21/249] Compiling Logging Logger.swift
[22/249] Compiling GISTools Along.swift
[23/249] Compiling GISTools AntimeridianCutting.swift
[24/249] Compiling Logging MetadataProvider.swift
[25/249] Compiling GISTools BooleanDisjoint.swift
[26/249] Compiling GISTools BooleanEquals.swift
[27/250] Compiling GISTools BezierSpline.swift
[28/250] Compiling GISTools BooleanClockwise.swift
[29/250] Emitting module Logging
[30/251] Compiling Gzip GzipError+LocalizedError.swift
/host/spi-builder-workspace/.build/checkouts/GzipSwift/Sources/Gzip/Data+Gzip.swift:37:12: error: no such module 'zlib'
35 | import zlibLinux
36 | #else
37 | import zlib
| `- error: no such module 'zlib'
38 | #endif
39 |
[33/251] Compiling GISTools BooleanConcave.swift
[34/251] Compiling GISTools BooleanContains.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/251] Emitting module Gzip
/host/spi-builder-workspace/.build/checkouts/GzipSwift/Sources/Gzip/Data+Gzip.swift:37:12: error: no such module 'zlib'
35 | import zlibLinux
36 | #else
37 | import zlib
| `- error: no such module 'zlib'
38 | #endif
39 |
[36/251] Compiling Gzip Data+Gzip.swift
/host/spi-builder-workspace/.build/checkouts/GzipSwift/Sources/Gzip/Data+Gzip.swift:37:12: error: no such module 'zlib'
35 | import zlibLinux
36 | #else
37 | import zlib
| `- error: no such module 'zlib'
38 | #endif
39 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/gis-tools/Sources/GISToolsCZlib/shim.h:1:10: error: 'zlib.h' file not found
1 | #include <zlib.h>
| `- error: 'zlib.h' file not found
2 |
BUILD FAILURE 6.3 wasm