Build Information
Failed to build TypeSafe, reference 0.2.1 (22b2b0), with Swift 6.2 for Wasm on 24 Oct 2026 10:48:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/krzyzanowskim/TypeSafe.git
Reference: 0.2.1
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/krzyzanowskim/TypeSafe
* tag 0.2.1 -> FETCH_HEAD
HEAD is now at 22b2b08 0.2.1: build on Linux
Cloned https://github.com/krzyzanowskim/TypeSafe.git
Revision (git rev-parse @):
22b2b08bfc75ad3a9183f0eefc508b1526829aa8
SUCCESS checkout https://github.com/krzyzanowskim/TypeSafe.git at 0.2.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/krzyzanowskim/TypeSafe.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:c2cc4df169d3c45015ced899e997f329be5fc90bdbfce388bd8981e1ea44d639
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/22] Compiling TypeSafe Questions.swift
<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/Sources/CZlib/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/Sources/TypeSafe/Compression.swift:2:8: error: could not build C module 'CZlib'
1 | import Foundation
2 | import CZlib
| `- error: could not build C module 'CZlib'
3 |
4 | /// Request body compression, sent as `Content-Encoding`.
[5/22] Compiling TypeSafe Result.swift
<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/Sources/CZlib/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/Sources/TypeSafe/Compression.swift:2:8: error: could not build C module 'CZlib'
1 | import Foundation
2 | import CZlib
| `- error: could not build C module 'CZlib'
3 |
4 | /// Request body compression, sent as `Content-Encoding`.
[6/23] Compiling TypeSafe Version.swift
<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/Sources/CZlib/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/Sources/TypeSafe/Compression.swift:2:8: error: could not build C module 'CZlib'
1 | import Foundation
2 | import CZlib
| `- error: could not build C module 'CZlib'
3 |
4 | /// Request body compression, sent as `Content-Encoding`.
[7/23] Compiling TypeSafe Retry.swift
<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/Sources/CZlib/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/Sources/TypeSafe/Compression.swift:2:8: error: could not build C module 'CZlib'
1 | import Foundation
2 | import CZlib
| `- error: could not build C module 'CZlib'
3 |
4 | /// Request body compression, sent as `Content-Encoding`.
[8/23] Compiling TypeSafe TypeSafeClient.swift
<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/Sources/CZlib/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/Sources/TypeSafe/Compression.swift:2:8: error: could not build C module 'CZlib'
1 | import Foundation
2 | import CZlib
| `- error: could not build C module 'CZlib'
3 |
4 | /// Request body compression, sent as `Content-Encoding`.
[9/23] Compiling TypeSafe APISession.swift
<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/Sources/CZlib/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/Sources/TypeSafe/Compression.swift:2:8: error: could not build C module 'CZlib'
1 | import Foundation
2 | import CZlib
| `- error: could not build C module 'CZlib'
3 |
4 | /// Request body compression, sent as `Content-Encoding`.
[10/23] Compiling TypeSafe Assets.swift
<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/Sources/CZlib/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/Sources/TypeSafe/Compression.swift:2:8: error: could not build C module 'CZlib'
1 | import Foundation
2 | import CZlib
| `- error: could not build C module 'CZlib'
3 |
4 | /// Request body compression, sent as `Content-Encoding`.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/23] Emitting module TypeSafe
<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/Sources/CZlib/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/Sources/TypeSafe/Compression.swift:2:8: error: could not build C module 'CZlib'
1 | import Foundation
2 | import CZlib
| `- error: could not build C module 'CZlib'
3 |
4 | /// Request body compression, sent as `Content-Encoding`.
[12/23] Compiling TypeSafe Logging.swift
<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/Sources/CZlib/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/Sources/TypeSafe/Compression.swift:2:8: error: could not build C module 'CZlib'
1 | import Foundation
2 | import CZlib
| `- error: could not build C module 'CZlib'
3 |
4 | /// Request body compression, sent as `Content-Encoding`.
[13/23] Compiling TypeSafe Models.swift
<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/Sources/CZlib/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/Sources/TypeSafe/Compression.swift:2:8: error: could not build C module 'CZlib'
1 | import Foundation
2 | import CZlib
| `- error: could not build C module 'CZlib'
3 |
4 | /// Request body compression, sent as `Content-Encoding`.
[14/23] Compiling TypeSafe Environment.swift
<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/Sources/CZlib/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/Sources/TypeSafe/Compression.swift:2:8: error: could not build C module 'CZlib'
1 | import Foundation
2 | import CZlib
| `- error: could not build C module 'CZlib'
3 |
4 | /// Request body compression, sent as `Content-Encoding`.
[15/23] Compiling TypeSafe Errors.swift
<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/Sources/CZlib/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/Sources/TypeSafe/Compression.swift:2:8: error: could not build C module 'CZlib'
1 | import Foundation
2 | import CZlib
| `- error: could not build C module 'CZlib'
3 |
4 | /// Request body compression, sent as `Content-Encoding`.
[16/23] Compiling TypeSafe Compression.swift
<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/Sources/CZlib/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/Sources/TypeSafe/Compression.swift:2:8: error: could not build C module 'CZlib'
1 | import Foundation
2 | import CZlib
| `- error: could not build C module 'CZlib'
3 |
4 | /// Request body compression, sent as `Content-Encoding`.
[17/23] Compiling TypeSafe Configuration.swift
<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/Sources/CZlib/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/Sources/TypeSafe/Compression.swift:2:8: error: could not build C module 'CZlib'
1 | import Foundation
2 | import CZlib
| `- error: could not build C module 'CZlib'
3 |
4 | /// Request body compression, sent as `Content-Encoding`.
[18/23] Compiling TypeSafe HTTP.swift
<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/Sources/CZlib/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/Sources/TypeSafe/Compression.swift:2:8: error: could not build C module 'CZlib'
1 | import Foundation
2 | import CZlib
| `- error: could not build C module 'CZlib'
3 |
4 | /// Request body compression, sent as `Content-Encoding`.
[19/23] Compiling TypeSafe JSONValue.swift
<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/Sources/CZlib/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/Sources/TypeSafe/Compression.swift:2:8: error: could not build C module 'CZlib'
1 | import Foundation
2 | import CZlib
| `- error: could not build C module 'CZlib'
3 |
4 | /// Request body compression, sent as `Content-Encoding`.
BUILD FAILURE 6.2 wasm