Build Information
Failed to build swift-cidr-admission, reference 0.3.3 (d95a85), with Swift 6.4 for Wasm on 5 Nov 2026 05:03:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-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/RouteObjects/swift-cidr-admission.git
Reference: 0.3.3
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/RouteObjects/swift-cidr-admission
* tag 0.3.3 -> FETCH_HEAD
HEAD is now at d95a85d Merge pull request #16 from RouteObjects/release/0.3.3
Cloned https://github.com/RouteObjects/swift-cidr-admission.git
Revision (git rev-parse @):
d95a85d2a76dd8a3f99a0e5dffacd9483cd1a834
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/RouteObjects/swift-cidr-admission.git at 0.3.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/RouteObjects/swift-cidr-admission.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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:439c9a525449f13061cf4a8f755895df6bdc90ef7885bc03630392396f826d74
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/RouteObjects/swift-cidr.git
[1/1482] Fetching swift-cidr
[105/20406] Fetching swift-cidr, swift-crypto
Fetched https://github.com/RouteObjects/swift-cidr.git (1.22s)
Fetched https://github.com/apple/swift-crypto.git (1.23s)
Computing version for https://github.com/RouteObjects/swift-cidr.git
Computed https://github.com/RouteObjects/swift-cidr.git at 0.8.1 (1.39s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-nio.git
[1/19334] Fetching swift-argument-parser
[19335/106139] Fetching swift-argument-parser, swift-nio
Fetched https://github.com/apple/swift-argument-parser.git (3.02s)
Fetched https://github.com/apple/swift-nio.git (3.06s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.1.1 (4.01s)
Fetching https://github.com/apple/swift-asn1.git
[1/2055] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.46s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.63s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.0 (0.26s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/1926] Fetching swift-atomics
[1927/9396] Fetching swift-atomics, swift-system
[9323/39012] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git (1.27s)
Fetched https://github.com/apple/swift-system.git (1.27s)
Fetched https://github.com/apple/swift-collections.git (1.28s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.45s)
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-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.24s)
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.105.0
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-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-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.8.1
Creating working copy for https://github.com/RouteObjects/swift-cidr.git
Working copy of https://github.com/RouteObjects/swift-cidr.git resolved at 0.8.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 274]
[Planning deferred tasks]
[56 / 455] CIDR
[58 / 464] CIDR
[63 / 464] CCryptoBoringSSL
[64 / 464] CCryptoBoringSSL
[67 / 464] CCryptoBoringSSL
[74 / 464] CIDR
[82 / 464] CIDR
[88 / 464] CCryptoBoringSSL
[91 / 464] CCryptoBoringSSL
[94 / 464] CCryptoBoringSSL
[98 / 464] CCryptoBoringSSL
[99 / 464] CCryptoBoringSSL
[101 / 464] CCryptoBoringSSL
[106 / 464] CCryptoBoringSSL
[117 / 464] CCryptoBoringSSL
[118 / 464] CCryptoBoringSSL
[125 / 464] CCryptoBoringSSL
[134 / 464] CCryptoBoringSSL
[141 / 464] CCryptoBoringSSL
[147 / 464] CCryptoBoringSSL
[150 / 464] CCryptoBoringSSL
[151 / 464] CCryptoBoringSSL
[155 / 464] CCryptoBoringSSL
[157 / 464] CCryptoBoringSSL
[160 / 464] CCryptoBoringSSL
[163 / 464] CCryptoBoringSSL
[171 / 464] CCryptoBoringSSL
[185 / 464] CCryptoBoringSSL
[194 / 464] CCryptoBoringSSL
[196 / 464] CCryptoBoringSSL
[202 / 464] CCryptoBoringSSL
[203 / 464] CCryptoBoringSSL
[209 / 464] CCryptoBoringSSL
[213 / 464] CCryptoBoringSSL
[216 / 464] CCryptoBoringSSL
[218 / 464] CCryptoBoringSSL
[221 / 464] CCryptoBoringSSL
[224 / 464] CCryptoBoringSSL
[229 / 464] CCryptoBoringSSL
[231 / 464] CCryptoBoringSSL
[233 / 464] CCryptoBoringSSL
[236 / 464] CCryptoBoringSSL
[240 / 464] CCryptoBoringSSL
[248 / 464] CCryptoBoringSSL
[255 / 464] CCryptoBoringSSL
[258 / 464] CCryptoBoringSSL
[261 / 464] CCryptoBoringSSL
[263 / 464] CCryptoBoringSSL
[266 / 464] CCryptoBoringSSL
[272 / 464] CCryptoBoringSSL
[283 / 464] CCryptoBoringSSL
[291 / 464] CCryptoBoringSSL
[294 / 464] CCryptoBoringSSL
[299 / 464] CCryptoBoringSSL
[302 / 464] CCryptoBoringSSL
[308 / 464] CCryptoBoringSSL
[313 / 464] CCryptoBoringSSL
[315 / 464] CCryptoBoringSSL
[318 / 464] CCryptoBoringSSL
[323 / 464] CCryptoBoringSSL
[324 / 464] CCryptoBoringSSL
[328 / 464] CCryptoBoringSSL
[332 / 464] CCryptoBoringSSL
[334 / 464] CCryptoBoringSSL
[338 / 464] CCryptoBoringSSL
[339 / 464] CCryptoBoringSSL
[344 / 464] CCryptoBoringSSL
[352 / 464] CCryptoBoringSSL
[362 / 464] CCryptoBoringSSL
[364 / 464] CCryptoBoringSSL
[369 / 464] CCryptoBoringSSL
[373 / 464] CCryptoBoringSSL
[376 / 464] CCryptoBoringSSL
[380 / 464] CCryptoBoringSSL
[383 / 464] CCryptoBoringSSL
[394 / 464] CCryptoBoringSSL
[406 / 464] CCryptoBoringSSL
[411 / 464] CCryptoBoringSSL
[412 / 464] CCryptoBoringSSL
[414 / 464] CCryptoBoringSSL
[418 / 464] CCryptoBoringSSL
[419 / 464] CCryptoBoringSSL
[422 / 464] CCryptoBoringSSL
[425 / 464] CCryptoBoringSSL
[426 / 464] CCryptoBoringSSL
[428 / 464] CCryptoBoringSSL
[430 / 464] CryptoBoringWrapper
[433 / 464] CryptoBoringWrapper
[434 / 464] CCryptoBoringSSL
[438 / 464] CIDR
[441 / 464] CryptoBoringWrapper
[442 / 464] CCryptoBoringSSL
[449 / 466] CIDR
[455 / 475] Crypto
[456 / 475] Crypto
[458 / 476] Crypto
[459 / 476] CIDR
[461 / 476] Crypto
[472 / 484] CIDRAdmission
[473 / 484] CIDRAdmission
[475 / 484] CIDRAdmission
[479 / 484] CIDRAdmission
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/CIDRAdmission/DetachedSHA256ChecksumVerifier.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile DetachedSHA256ChecksumVerifier.swift
/host/spi-builder-workspace/Sources/CIDRAdmission/DetachedSHA256ChecksumVerifier.swift:172:5: [1;31merror: [1;39mmissing return in static method expected to return 'Int32'[0;0m
[0;36m170 |[0;0m Glibc.open(path, flags)
[0;36m171 |[0;0m #endif
[0;36m172 |[0;0m }
[0;36m|[0;0m `- [1;31merror: [1;39mmissing return in static method expected to return 'Int32'[0;0m
[0;36m173 |[0;0m
[0;36m174 |[0;0m private static func systemFileStatus(_ descriptor: Int32, _ status: UnsafeMutablePointer<stat>)
/host/spi-builder-workspace/Sources/CIDRAdmission/DetachedSHA256ChecksumVerifier.swift:182:5: [1;31merror: [1;39mmissing return in static method expected to return 'Int32'[0;0m
[0;36m180 |[0;0m Glibc.fstat(descriptor, status)
[0;36m181 |[0;0m #endif
[0;36m182 |[0;0m }
[0;36m|[0;0m `- [1;31merror: [1;39mmissing return in static method expected to return 'Int32'[0;0m
[0;36m183 |[0;0m
[0;36m184 |[0;0m private static func systemRead(
/host/spi-builder-workspace/Sources/CIDRAdmission/DetachedSHA256ChecksumVerifier.swift:202:5: [1;31merror: [1;39mmissing return in static method expected to return 'Int32'[0;0m
[0;36m200 |[0;0m Glibc.close(descriptor)
[0;36m201 |[0;0m #endif
[0;36m202 |[0;0m }
[0;36m|[0;0m `- [1;31merror: [1;39mmissing return in static method expected to return 'Int32'[0;0m
[0;36m203 |[0;0m
[0;36m204 |[0;0m private static var currentErrno: Int32 {
/host/spi-builder-workspace/Sources/CIDRAdmission/DetachedSHA256ChecksumVerifier.swift:210:5: [1;31merror: [1;39mmissing return in getter expected to return 'Int32'[0;0m
[0;36m208 |[0;0m Glibc.errno
[0;36m209 |[0;0m #endif
[0;36m210 |[0;0m }
[0;36m|[0;0m `- [1;31merror: [1;39mmissing return in getter expected to return 'Int32'[0;0m
[0;36m211 |[0;0m }
[0;36m212 |[0;0m
/host/spi-builder-workspace/Sources/CIDRAdmission/DetachedSHA256ChecksumVerifier.swift:194:5: [1;31merror: [1;39mmissing return in static method expected to return 'Int'[0;0m
[0;36m192 |[0;0m Glibc.read(descriptor, buffer, count)
[0;36m193 |[0;0m #endif
[0;36m194 |[0;0m }
[0;36m|[0;0m `- [1;31merror: [1;39mmissing return in static method expected to return 'Int'[0;0m
[0;36m195 |[0;0m
[0;36m196 |[0;0m private static func systemClose(_ descriptor: Int32) -> Int32 {
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/CIDRAdmission/AdmissionRule.swift -primary-file /host/spi-builder-workspace/Sources/CIDRAdmission/DetachedSHA256ChecksumVerifier.swift /host/spi-builder-workspace/Sources/CIDRAdmission/IPAdmissionCoverageIndex.swift /host/spi-builder-workspace/Sources/CIDRAdmission/IPAdmissionPolicy.swift /host/spi-builder-workspace/Sources/CIDRAdmission/IPAdmissionPolicyFileConfiguration.swift /host/spi-builder-workspace/Sources/CIDRAdmission/IPListTextParser.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cidr-admission.build/Debug-webassembly-wasm32/CIDRAdmission-t.build/Objects-normal/wasm32/DetachedSHA256ChecksumVerifier.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cidr-admission.build/Debug-webassembly-wasm32/CIDRAdmission-t.build/Objects-normal/wasm32/DetachedSHA256ChecksumVerifier.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cidr-admission.build/Debug-webassembly-wasm32/CIDRAdmission-t.build/Objects-normal/wasm32/DetachedSHA256ChecksumVerifier.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cidr-admission.build/Debug-webassembly-wasm32/CIDRAdmission-t.build/Objects-normal/wasm32/DetachedSHA256ChecksumVerifier.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-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-cidr-admission.build/Debug-webassembly-wasm32/CIDRAdmission-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cidr-admission.build/Debug-webassembly-wasm32/CIDRAdmission-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cidr-admission.build/Debug-webassembly-wasm32/CIDRAdmission-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name CIDRAdmission -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cidr-admission.build/Debug-webassembly-wasm32/CIDRAdmission-t.build/Objects-normal/wasm32/CIDRAdmission_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-cidr-admission.build/Debug-webassembly-wasm32/CIDRAdmission-t.build/Objects-normal/wasm32/DetachedSHA256ChecksumVerifier.o -index-unit-output-path /swift-cidr-admission.build/Debug-webassembly-wasm32/CIDRAdmission-t.build/Objects-normal/wasm32/DetachedSHA256ChecksumVerifier.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm