Build Information
Failed to build swift-nio-imap, reference main (6b1b19), with Swift 6.4 for Wasm on 15 Nov 2026 17:00:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-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.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-nio-imap.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/apple/swift-nio-imap
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6b1b196 Use NFC for ModifiedUTF7.encode (#884)
Cloned https://github.com/apple/swift-nio-imap.git
Revision (git rev-parse @):
6b1b196cd6cf0c9861671359656c19d67265b8e6
SUCCESS checkout https://github.com/apple/swift-nio-imap.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/apple/swift-nio-imap.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:366b789e191e803aab570d7212596991386521d71ea439b0666be689b4886df3
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-nio-ssl
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-nio-extras
Fetching https://github.com/apple/swift-nio
[1/8401] Fetching swift-log
[8402/15127] Fetching swift-log, swift-nio-extras
[13716/32090] Fetching swift-log, swift-nio-extras, swift-nio-ssl
[18012/62122] Fetching swift-log, swift-nio-extras, swift-nio-ssl, swift-collections
[33897/149013] Fetching swift-log, swift-nio-extras, swift-nio-ssl, swift-collections, swift-nio
Fetched https://github.com/apple/swift-nio-extras (2.46s)
Fetched https://github.com/apple/swift-collections (2.47s)
Fetched https://github.com/apple/swift-log (3.18s)
Fetched https://github.com/apple/swift-nio-ssl (3.19s)
Fetched https://github.com/apple/swift-nio (3.21s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.17.0 (3.38s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.6 (0.24s)
Computing version for https://github.com/apple/swift-nio-ssl
Computed https://github.com/apple/swift-nio-ssl at 2.37.6 (0.19s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.105.0 (0.26s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1927] Fetching swift-atomics
[1928/9497] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git (0.64s)
Fetched https://github.com/apple/swift-system.git (0.64s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.82s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.9.0 (0.18s)
Computing version for https://github.com/apple/swift-nio-extras
Computed https://github.com/apple/swift-nio-extras at 1.35.2 (0.97s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/1284] Fetching swift-http-structured-headers
[14/3361] Fetching swift-http-structured-headers, swift-asn1
[157/5337] Fetching swift-http-structured-headers, swift-asn1, swift-http-types
[1526/8229] Fetching swift-http-structured-headers, swift-asn1, swift-http-types, swift-service-lifecycle
[3187/14397] Fetching swift-http-structured-headers, swift-asn1, swift-http-types, swift-service-lifecycle, swift-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git (0.41s)
Fetched https://github.com/apple/swift-http-types.git (0.41s)
Fetched https://github.com/apple/swift-asn1.git (0.41s)
[4188/9060] Fetching swift-service-lifecycle, swift-algorithms
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-certificates.git
[7088/15894] Fetching swift-service-lifecycle, swift-algorithms, swift-async-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.51s)
Fetched https://github.com/apple/swift-algorithms.git (0.51s)
[6151/6834] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.58s)
[1/7662] Fetching swift-certificates
[7663/20035] Fetching swift-certificates, swift-nio-http2
Fetched https://github.com/apple/swift-certificates.git (0.56s)
[1114/12373] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git (0.97s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.25s)
Fetching https://github.com/apple/swift-numerics.git
[1/6858] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.54s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.68s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.14s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.17s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.13.0 (0.14s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.17s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.18s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (0.21s)
Fetching https://github.com/apple/swift-crypto.git
[1/18948] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.29s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (1.46s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.1.1 (0.23s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.17.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.7
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.105.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.4
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Creating working copy for https://github.com/apple/swift-nio-ssl
Working copy of https://github.com/apple/swift-nio-ssl resolved at 2.37.6
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.13.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.6
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.1.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.9.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-nio-extras
Working copy of https://github.com/apple/swift-nio-extras resolved at 1.35.2
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 1017]
[Planning deferred tasks]
[Starting]
[73 / 720] NIOEmbedded
[162 / 756] InternalCollectionsUtilities
[163 / 756] _NIOBase64
[184 / 756] InternalCollectionsUtilities
[190 / 756] _NIOBase64
[199 / 757] Logging
[203 / 757] Logging
[209 / 757] InternalCollectionsUtilities
[211 / 757] InternalCollectionsUtilities
[214 / 759] NIOConcurrencyHelpers
[220 / 759] InternalCollectionsUtilities
[228 / 765] CNIOLinux
[249 / 769] CNIOBoringSSL
[255 / 796] DequeModule
[257 / 797] CNIOBoringSSL
[258 / 797] CNIOBoringSSL
[260 / 797] CNIOBoringSSL
[262 / 797] CNIOBoringSSL
[263 / 797] CNIOBoringSSL
[265 / 797] CNIOBoringSSL
[269 / 797] CNIOBoringSSL
[279 / 797] CNIOBoringSSL
[281 / 797] CNIOBoringSSL
[282 / 797] CNIOBoringSSL
[285 / 797] OrderedCollections
[291 / 797] CNIOBoringSSL
[293 / 797] CNIOBoringSSL
[294 / 797] CNIOBoringSSL
[299 / 797] DequeModule
[303 / 797] CNIOBoringSSL
[304 / 797] CNIOBoringSSL
[307 / 797] CNIOBoringSSL
[310 / 797] CNIOBoringSSL
[313 / 797] CNIOBoringSSL
[321 / 797] CNIOBoringSSL
[325 / 797] CNIOBoringSSL
[330 / 797] CNIOBoringSSL
[331 / 797] CNIOBoringSSL
[333 / 797] CNIOBoringSSL
[335 / 797] CNIOBoringSSL
[338 / 797] CNIOBoringSSL
[339 / 797] CNIOBoringSSL
[340 / 797] CNIOBoringSSL
[342 / 797] CNIOBoringSSL
[347 / 797] CNIOBoringSSL
[350 / 797] CNIOBoringSSL
[351 / 797] CNIOBoringSSL
[352 / 797] CNIOBoringSSL
[353 / 797] CNIOBoringSSL
[355 / 797] CNIOBoringSSL
[357 / 797] CNIOBoringSSL
[358 / 797] CNIOBoringSSL
[361 / 797] CNIOBoringSSL
[363 / 797] CNIOBoringSSL
[367 / 797] CNIOBoringSSL
[370 / 797] CNIOBoringSSL
[371 / 797] CNIOBoringSSL
[375 / 797] CNIOBoringSSL
[376 / 797] CNIOBoringSSL
[377 / 797] CNIOBoringSSL
[379 / 797] CNIOBoringSSL
[381 / 797] CNIOBoringSSL
[383 / 797] CNIOBoringSSL
[387 / 797] CNIOBoringSSL
[390 / 797] CNIOBoringSSL
[1m/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc:31:10: [0m[0;1;31mfatal error: [0m[1m'netdb.h' file not found[0m
31 | #include <netdb.h>[0m
| [0;1;32m ^~~~~~~~~
[0m1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/socket_helper.o /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc normal wasm32 c++ com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line: cd /host
Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp
/usr/bin/clang -x c++ -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -Wno-semicolon-before-method-body --sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/socket_helper.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/socket_helper.dia -c /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/socket_helper.o
[391 / 797] CNIOBoringSSL
error: Build failed
BUILD FAILURE 6.4 wasm