Build Information
Failed to build swift-nio-oblivious-http, reference 0.9.1 (0e10c8), with Swift 6.4 for Wasm on 26 Sep 2026 01:14:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-nio-oblivious-http.git
Reference: 0.9.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/apple/swift-nio-oblivious-http
* tag 0.9.1 -> FETCH_HEAD
HEAD is now at 0e10c8d Include `@unknown default` cases on Linux (#58)
Cloned https://github.com/apple/swift-nio-oblivious-http.git
Revision (git rev-parse @):
0e10c8d86ecffc86af6ef6dcb48821f5fe821ec3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-nio-oblivious-http.git at 0.9.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/apple/swift-nio-oblivious-http.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-crypto.git
[1/18562] Fetching swift-crypto
[7983/104734] Fetching swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git (1.18s)
[34469/86172] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (3.12s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (3.43s)
Fetching https://github.com/apple/swift-asn1.git
[1/1986] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.54s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.76s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.36s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/1885] Fetching swift-atomics
[96/8868] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-system.git (0.65s)
[1/27779] Fetching swift-collections
Fetched https://github.com/apple/swift-atomics.git (1.32s)
Fetched https://github.com/apple/swift-collections.git (1.33s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.51s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.29s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.21s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.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.8.1
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.3
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
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
Building for debugging...
[Computing dependencies]
[Provisioning 31 / 41]
[Pre-planning 1 / 1042]
[Planning deferred tasks]
[Starting]
[110 / 658] CNIOLLHTTP
[153 / 684] InternalCollectionsUtilities
[154 / 693] InternalCollectionsUtilities
[155 / 693] _NIOBase64
[156 / 693] NIOConcurrencyHelpers
[167 / 693] InternalCollectionsUtilities
[173 / 693] CryptoBoringWrapper
[180 / 693] CryptoBoringWrapper
[185 / 693] NIOConcurrencyHelpers
[186 / 694] _NIOBase64
[190 / 694] _NIOBase64
[194 / 694] SpanPreview
[196 / 695] _NIODataStructures
[198 / 695] NIOConcurrencyHelpers
[201 / 695] _NIODataStructures
[203 / 696] NIOConcurrencyHelpers
[207 / 696] CryptoBoringWrapper
[209 / 696] CryptoBoringWrapper
[209 / 696] Crypto
[216 / 697] CNIOWASI
[218 / 701] CNIOWASI
[222 / 701] SpanPreview
[227 / 702]
[231 / 704] DequeModule
[233 / 714] Atomics
[239 / 732] CNIOOpenBSD
[244 / 733] InternalCollectionsUtilities
[247 / 733] InternalCollectionsUtilities
[248 / 733] InternalCollectionsUtilities
[250 / 733] DequeModule
[251 / 734] DequeModule
[255 / 734] Crypto
[256 / 734] Crypto
[258 / 734] Crypto
[269 / 734] Crypto-product
[270 / 734] Crypto-product
[271 / 735] ObliviousXHelpers
[272 / 735] ObliviousXHelpers
[274 / 735] Atomics
[282 / 735] DequeModule-product
[285 / 735] NIOCore
[286 / 735]
[288 / 735] CNIOLinux
[292 / 735] CNIOLLHTTP
[293 / 735] CNIOFreeBSD
[297 / 735] CCryptoBoringSSLShims
[298 / 735] CCryptoBoringSSL
[300 / 735] CCryptoBoringSSL
[301 / 735] CCryptoBoringSSL
[304 / 736] CCryptoBoringSSL
[305 / 736] CCryptoBoringSSL
[305 / 736] CNIOLLHTTP
[309 / 736] CCryptoBoringSSL
[312 / 736] CCryptoBoringSSL
[313 / 736] CCryptoBoringSSL
[314 / 736] CCryptoBoringSSL
[318 / 736] CCryptoBoringSSL
[322 / 737] CCryptoBoringSSL
[323 / 737] CCryptoBoringSSL
[326 / 737] CCryptoBoringSSL
[327 / 737] CCryptoBoringSSL
[329 / 737] CCryptoBoringSSL
[331 / 737] CCryptoBoringSSL
[332 / 737] CCryptoBoringSSL
[334 / 737] CCryptoBoringSSL
[336 / 737] CCryptoBoringSSL
[338 / 737] CCryptoBoringSSL
[340 / 737] CCryptoBoringSSL
[341 / 737] CCryptoBoringSSL
[343 / 737] CCryptoBoringSSL
[348 / 737] CCryptoBoringSSL
[352 / 737] CCryptoBoringSSL
[353 / 737] CCryptoBoringSSL
[356 / 737] CCryptoBoringSSL
[358 / 737] CCryptoBoringSSL
[359 / 737] CCryptoBoringSSL
[360 / 737] CCryptoBoringSSL
[361 / 737] CCryptoBoringSSL
[363 / 737] CCryptoBoringSSL
[365 / 737] CCryptoBoringSSL
[366 / 737] CCryptoBoringSSL
[368 / 737] CCryptoBoringSSL
[369 / 737] CCryptoBoringSSL
[372 / 737] CCryptoBoringSSL
[374 / 737] CCryptoBoringSSL
[376 / 737] CCryptoBoringSSL
[377 / 737] CCryptoBoringSSL
[380 / 737] CCryptoBoringSSL
[382 / 737] CCryptoBoringSSL
[385 / 737] CCryptoBoringSSL
[389 / 737] CCryptoBoringSSL
[390 / 737] CCryptoBoringSSL
[391 / 737] CCryptoBoringSSL
[393 / 737] CCryptoBoringSSL
[394 / 737] CCryptoBoringSSL
[395 / 737] CCryptoBoringSSL
[398 / 737] CCryptoBoringSSL
[403 / 737] CCryptoBoringSSL
[406 / 737] CCryptoBoringSSL
[410 / 737] CCryptoBoringSSL
[413 / 737] CCryptoBoringSSL
[418 / 737] CCryptoBoringSSL
[420 / 737] CCryptoBoringSSL
[426 / 737] CCryptoBoringSSL
[430 / 737] CCryptoBoringSSL
[432 / 737] CCryptoBoringSSL
[434 / 737] CCryptoBoringSSL
[436 / 737] CCryptoBoringSSL
[438 / 737] CCryptoBoringSSL
[440 / 737] CCryptoBoringSSL
[442 / 737] CCryptoBoringSSL
[445 / 737] CCryptoBoringSSL
[447 / 737] CCryptoBoringSSL
[448 / 737] CCryptoBoringSSL
[450 / 737] CCryptoBoringSSL
[451 / 737] CCryptoBoringSSL
[453 / 737] CCryptoBoringSSL
[454 / 737] CCryptoBoringSSL
[455 / 737] CCryptoBoringSSL
[459 / 737] CCryptoBoringSSL
[460 / 737] CCryptoBoringSSL
[461 / 737] CCryptoBoringSSL
[463 / 737] CCryptoBoringSSL
[467 / 737] CCryptoBoringSSL
[469 / 737] CCryptoBoringSSL
[470 / 737] CCryptoBoringSSL
[472 / 737] CCryptoBoringSSL
[474 / 737] CCryptoBoringSSL
[475 / 737] CCryptoBoringSSL
[476 / 737] CCryptoBoringSSL
[477 / 737] CCryptoBoringSSL
[482 / 737] CCryptoBoringSSL
[486 / 737] CCryptoBoringSSL
[490 / 737] CCryptoBoringSSL
[492 / 737] CCryptoBoringSSL
[493 / 737] CCryptoBoringSSL
[495 / 737] CCryptoBoringSSL
[497 / 737] CCryptoBoringSSL
[499 / 737] CCryptoBoringSSL
[504 / 737] CCryptoBoringSSL
[507 / 737] CCryptoBoringSSL
[509 / 737] CCryptoBoringSSL
[513 / 737] CCryptoBoringSSL
[518 / 737] CCryptoBoringSSL
[524 / 737] CCryptoBoringSSL
[527 / 737] CCryptoBoringSSL
[530 / 737] CCryptoBoringSSL
[532 / 737] CCryptoBoringSSL
[536 / 737] CCryptoBoringSSL
[537 / 737] CCryptoBoringSSL
[538 / 737] CCryptoBoringSSL
[540 / 737] CCryptoBoringSSL
[542 / 737] CCryptoBoringSSL
[543 / 737] CCryptoBoringSSL
[547 / 737] CCryptoBoringSSL
[551 / 737] CCryptoBoringSSL
[552 / 737] CCryptoBoringSSL
[554 / 737] CCryptoBoringSSL
[555 / 737] CCryptoBoringSSL
[557 / 737] CCryptoBoringSSL
[559 / 737] CCryptoBoringSSL
[562 / 737] CCryptoBoringSSL
[563 / 737] CCryptoBoringSSL
[565 / 737] CCryptoBoringSSL
[566 / 737] CCryptoBoringSSL
[567 / 737] CCryptoBoringSSL
[569 / 737] CCryptoBoringSSL
[570 / 737] CCryptoBoringSSL
[571 / 737] CCryptoBoringSSL
[574 / 737] CCryptoBoringSSL
[575 / 737] CCryptoBoringSSL
[577 / 737] CCryptoBoringSSL
[578 / 737] CCryptoBoringSSL
[583 / 737] CCryptoBoringSSL
[585 / 737] CCryptoBoringSSL
[588 / 737] CCryptoBoringSSL
[595 / 737] CCryptoBoringSSL
[599 / 737] CCryptoBoringSSL
[604 / 737] CCryptoBoringSSL
[607 / 737] CCryptoBoringSSL
[609 / 737] CCryptoBoringSSL
[612 / 737] CCryptoBoringSSL
[613 / 737] CCryptoBoringSSL
[616 / 737] CCryptoBoringSSL
[617 / 737] CCryptoBoringSSL
[618 / 737] CCryptoBoringSSL
[620 / 737] CCryptoBoringSSL
[622 / 737] CCryptoBoringSSL
[624 / 737] CCryptoBoringSSL
[625 / 737] CCryptoBoringSSL
[628 / 737] CCryptoBoringSSL
[632 / 737] CCryptoBoringSSL
[635 / 737] CCryptoBoringSSL
[638 / 737] CCryptoBoringSSL
[642 / 737] CCryptoBoringSSL
[645 / 737] CCryptoBoringSSL
[646 / 737] CCryptoBoringSSL
[649 / 737] CCryptoBoringSSL
[650 / 737] CCryptoBoringSSL
[652 / 737] CCryptoBoringSSL
[654 / 737] CCryptoBoringSSL
[655 / 737] CCryptoBoringSSL
[656 / 737] CCryptoBoringSSL
[657 / 737] CCryptoBoringSSL
[659 / 737] CCryptoBoringSSL
[662 / 737] CCryptoBoringSSL
[663 / 737] CCryptoBoringSSL
[664 / 737] CCryptoBoringSSL
[666 / 737] Crypto
[667 / 737] Atomics
[673 / 741] CCryptoBoringSSL
[674 / 741] InternalCollectionsUtilities
[676 / 750] NIOCore
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/ObliviousXHelpers/Helpers.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile Helpers.swift
/host/spi-builder-workspace/Sources/ObliviousXHelpers/Helpers.swift:480:29: [1;31merror: [1;39mcannot find 'ceil' in scope[0;0m
[0;36m478 |[0;0m precondition(value >= 0, "I2OSP requires a non-null value.")
[0;36m479 |[0;0m
[0;36m480 |[0;0m let requiredBytes = Int([4;39mceil[0;0m(log2(Double(max(value, 1) + 1)) / 8))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'ceil' in scope[0;0m
[0;36m481 |[0;0m precondition(outputByteCount >= requiredBytes)
[0;36m482 |[0;0m
/host/spi-builder-workspace/Sources/ObliviousXHelpers/Helpers.swift:480:34: [1;31merror: [1;39mcannot find 'log2' in scope[0;0m
[0;36m478 |[0;0m precondition(value >= 0, "I2OSP requires a non-null value.")
[0;36m479 |[0;0m
[0;36m480 |[0;0m let requiredBytes = Int(ceil([4;39mlog2[0;0m(Double(max(value, 1) + 1)) / 8))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'log2' in scope[0;0m
[0;36m481 |[0;0m precondition(outputByteCount >= requiredBytes)
[0;36m482 |[0;0m
Failed frontend command:
/usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Sources/ObliviousXHelpers/Helpers.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-oblivious-http.build/Debug-webassembly-wasm32/ObliviousXHelpers-t.build/Objects-normal/wasm32/Helpers.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-oblivious-http.build/Debug-webassembly-wasm32/ObliviousXHelpers-t.build/Objects-normal/wasm32/Helpers.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-oblivious-http.build/Debug-webassembly-wasm32/ObliviousXHelpers-t.build/Objects-normal/wasm32/Helpers.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-oblivious-http.build/Debug-webassembly-wasm32/ObliviousXHelpers-t.build/Objects-normal/wasm32/Helpers.dia -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-upcoming-feature MemberImportVisibility -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCPShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCP/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include/module.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCPShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCP/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-oblivious-http.build/Debug-webassembly-wasm32/ObliviousXHelpers-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-oblivious-http.build/Debug-webassembly-wasm32/ObliviousXHelpers-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-oblivious-http.build/Debug-webassembly-wasm32/ObliviousXHelpers-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ObliviousXHelpers -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-oblivious-http.build/Debug-webassembly-wasm32/ObliviousXHelpers-t.build/Objects-normal/wasm32/ObliviousXHelpers_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-oblivious-http.build/Debug-webassembly-wasm32/ObliviousXHelpers-t.build/Objects-normal/wasm32/Helpers.o -index-unit-output-path /swift[677 / 750] NIOCore
-nio-oblivious-http.build/Debug-webassembly-wasm32/ObliviousXHelpers-t.build/Objects-normal/wasm32/Helpers.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm