The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-nio-oblivious-http, reference 0.9.2 (11da67), with Swift 6.4 for Wasm on 28 Oct 2026 22:15:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-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.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-nio-oblivious-http.git
Reference: 0.9.2
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.2      -> FETCH_HEAD
HEAD is now at 11da67f Widen accepted versions of swift-crypto dependency (#61)
Cloned https://github.com/apple/swift-nio-oblivious-http.git
Revision (git rev-parse @):
11da67f210920821710cb65edb925df15169b335
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-nio-oblivious-http.git at 0.9.2
========================================
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-53886769-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.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:0ad19d16955074ecc72bbe910025b19c4e4614184c1a48afc82660d4c7620121
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-nio.git
[1/18859] Fetching swift-crypto
[8111/105546] Fetching swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git (3.39s)
Fetched https://github.com/apple/swift-nio.git (3.41s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.3 (4.39s)
Fetching https://github.com/apple/swift-asn1.git
[1/2051] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.41s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.60s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.26s)
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/1893] Fetching swift-atomics
[1894/9287] Fetching swift-atomics, swift-system
[1895/38649] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git (0.71s)
[8863/36756] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (2.08s)
Fetched https://github.com/apple/swift-collections.git (2.09s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (2.26s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.18s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.5 (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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.3
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.5
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.104.0
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
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1012]
[Planning deferred tasks]
[Constructing 1333 / 2380]
[24 / 655] SpanPreview
[142 / 659] CXKCP
[151 / 683] _NIOBase64
[153 / 683] _NIOBase64
[163 / 683] InternalCollectionsUtilities
[165 / 683] CryptoBoringWrapper
[172 / 683] CryptoBoringWrapper
[176 / 683] SpanPreview
[178 / 683] InternalCollectionsUtilities
[182 / 683] CryptoBoringWrapper
[183 / 684] CryptoBoringWrapper
[188 / 684] _NIOBase64
[189 / 684] _NIODataStructures
[194 / 686] NIOConcurrencyHelpers
[201 / 693] CryptoBoringWrapper
[203 / 693] _NIODataStructures
[206 / 693] NIOConcurrencyHelpers
[207 / 693] CNIOWindows
[228 / 701] CNIOFreeBSD
[240 / 710] CNIOPosix
[250 / 711] SpanPreview
[254 / 712] NIOConcurrencyHelpers
[260 / 714] CNIODarwin
[262 / 723] Crypto
[265 / 732] Crypto
[266 / 732] CNIOLLHTTP
[268 / 732] CCryptoBoringSSL
[269 / 732] CCryptoBoringSSL
[270 / 732] CCryptoBoringSSL
[272 / 732] CNIOAtomics
[279 / 732] CCryptoBoringSSL
[280 / 732] CCryptoBoringSSL
[280 / 733] CCryptoBoringSSL
[283 / 733] CCryptoBoringSSL
[284 / 733] CCryptoBoringSSL
[285 / 733] CCryptoBoringSSL
[287 / 733] CCryptoBoringSSL
[291 / 733] CCryptoBoringSSL
[295 / 733] CCryptoBoringSSL
[296 / 733] Crypto
[298 / 733] Crypto
[303 / 733] CCryptoBoringSSL
[305 / 733] CCryptoBoringSSL
[307 / 733] CCryptoBoringSSL
[310 / 733] DequeModule
[315 / 733] CCryptoBoringSSL
[316 / 733] CCryptoBoringSSL
[318 / 733] CCryptoBoringSSL
[322 / 733] CCryptoBoringSSL
[323 / 733] CCryptoBoringSSL
[325 / 733] CCryptoBoringSSL
[330 / 733] CCryptoBoringSSL
[332 / 733] CCryptoBoringSSL
[335 / 733] CCryptoBoringSSL
[338 / 733] CCryptoBoringSSL
[340 / 733] CCryptoBoringSSL
[343 / 733] CCryptoBoringSSL
[344 / 733] CCryptoBoringSSL
[346 / 733] CCryptoBoringSSL
[347 / 733] CCryptoBoringSSL
[349 / 733] CCryptoBoringSSL
[352 / 733] CCryptoBoringSSL
[354 / 733] CCryptoBoringSSL
[357 / 733] CCryptoBoringSSL
[358 / 733] CCryptoBoringSSL
[361 / 733] CCryptoBoringSSL
[362 / 733] CCryptoBoringSSL
[364 / 733] CCryptoBoringSSL
[365 / 733] CCryptoBoringSSL
[369 / 733] CCryptoBoringSSL
[371 / 733] CCryptoBoringSSL
[373 / 733] CCryptoBoringSSL
[375 / 733] CCryptoBoringSSL
[376 / 733] CCryptoBoringSSL
[378 / 733] CCryptoBoringSSL
[381 / 733] CCryptoBoringSSL
[383 / 733] CCryptoBoringSSL
[389 / 733] CCryptoBoringSSL
[396 / 733] CCryptoBoringSSL
[405 / 733] CCryptoBoringSSL
[412 / 733] CCryptoBoringSSL
[414 / 733] CCryptoBoringSSL
[415 / 733] CCryptoBoringSSL
[422 / 733] CCryptoBoringSSL
[423 / 733] CCryptoBoringSSL
[427 / 733] CCryptoBoringSSL
[428 / 733] CCryptoBoringSSL
[432 / 733] CCryptoBoringSSL
[433 / 733] CCryptoBoringSSL
[435 / 733] CCryptoBoringSSL
[437 / 733] CCryptoBoringSSL
[439 / 733] CCryptoBoringSSL
[441 / 733] CCryptoBoringSSL
[442 / 733] CCryptoBoringSSL
[443 / 733] CCryptoBoringSSL
[446 / 733] CCryptoBoringSSL
[447 / 733] CCryptoBoringSSL
[449 / 733] CCryptoBoringSSL
[452 / 733] CCryptoBoringSSL
[455 / 733] CCryptoBoringSSL
[456 / 733] CCryptoBoringSSL
[459 / 733] CCryptoBoringSSL
[461 / 733] CCryptoBoringSSL
[465 / 733] CCryptoBoringSSL
[469 / 733] CCryptoBoringSSL
[475 / 733] CCryptoBoringSSL
[477 / 733] CCryptoBoringSSL
[479 / 733] CCryptoBoringSSL
[482 / 733] CCryptoBoringSSL
[483 / 733] CCryptoBoringSSL
[486 / 733] CCryptoBoringSSL
[487 / 733] CCryptoBoringSSL
[490 / 733] CCryptoBoringSSL
[492 / 733] CCryptoBoringSSL
[499 / 733] CCryptoBoringSSL
[510 / 733] CCryptoBoringSSL
[516 / 733] CCryptoBoringSSL
[519 / 733] CCryptoBoringSSL
[521 / 733] CCryptoBoringSSL
[523 / 733] CCryptoBoringSSL
[525 / 733] CCryptoBoringSSL
[529 / 733] CCryptoBoringSSL
[531 / 733] CCryptoBoringSSL
[534 / 733] CCryptoBoringSSL
[537 / 733] CCryptoBoringSSL
[539 / 733] CCryptoBoringSSL
[540 / 733] CCryptoBoringSSL
[542 / 733] CCryptoBoringSSL
[543 / 733] CCryptoBoringSSL
[544 / 733] CCryptoBoringSSL
[546 / 733] CCryptoBoringSSL
[550 / 733] CCryptoBoringSSL
[552 / 733] CCryptoBoringSSL
[554 / 733] CCryptoBoringSSL
[555 / 733] CCryptoBoringSSL
[559 / 733] CCryptoBoringSSL
[562 / 733] CCryptoBoringSSL
[563 / 733] CCryptoBoringSSL
[567 / 733] CCryptoBoringSSL
[572 / 733] CCryptoBoringSSL
[577 / 733] CCryptoBoringSSL
[585 / 733] CCryptoBoringSSL
[587 / 733] CCryptoBoringSSL
[590 / 733] CCryptoBoringSSL
[591 / 733] CCryptoBoringSSL
[594 / 733] CCryptoBoringSSL
[598 / 733] CCryptoBoringSSL
[599 / 733] CCryptoBoringSSL
[602 / 733] CCryptoBoringSSL
[606 / 733] CCryptoBoringSSL
[608 / 733] CCryptoBoringSSL
[612 / 733] CCryptoBoringSSL
[618 / 733] CCryptoBoringSSL
[623 / 733] CCryptoBoringSSL
[631 / 733] CCryptoBoringSSL
[633 / 733] CCryptoBoringSSL
[634 / 733] CCryptoBoringSSL
[635 / 733] CCryptoBoringSSL
[637 / 733] CCryptoBoringSSL
[640 / 733] CCryptoBoringSSL
[641 / 733] CCryptoBoringSSL
[642 / 733] CCryptoBoringSSL
[644 / 733] CCryptoBoringSSL
[645 / 733] CCryptoBoringSSL
[648 / 733] DequeModule
[650 / 733] DequeModule
[651 / 733] DequeModule
[652 / 733] CCryptoBoringSSL
[656 / 733] Crypto
[657 / 733] CCryptoBoringSSL
[660 / 733] DequeModule
[662 / 733] Crypto
[663 / 733] Crypto
[664 / 733] CXKCP
[670 / 736] CNIOPosix
[671 / 737] CXKCP
[679 / 737] ObliviousXHelpers
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: error: cannot find 'ceil' in scope
478 |     precondition(value >= 0, "I2OSP requires a non-null value.")
479 |
480 |     let requiredBytes = Int(ceil(log2(Double(max(value, 1) + 1)) / 8))
    |                             `- error: cannot find 'ceil' in scope
481 |     precondition(outputByteCount >= requiredBytes)
482 |
/host/spi-builder-workspace/Sources/ObliviousXHelpers/Helpers.swift:480:34: error: cannot find 'log2' in scope
478 |     precondition(value >= 0, "I2OSP requires a non-null value.")
479 |
480 |     let requiredBytes = Int(ceil(log2(Double(max(value, 1) + 1)) / 8))
    |                                  `- error: cannot find 'log2' in scope
481 |     precondition(outputByteCount >= requiredBytes)
482 |
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.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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/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/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-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