Build Information
Failed to build swift-cidr-admission, reference 0.2.0 (2e697f), with Swift 6.4 for Wasm on 26 Sep 2026 22:44:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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.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/RouteObjects/swift-cidr-admission.git
Reference: 0.2.0
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.2.0 -> FETCH_HEAD
HEAD is now at 2e697f3 fix: isolate benchmark compatibility lock
Cloned https://github.com/RouteObjects/swift-cidr-admission.git
Revision (git rev-parse @):
2e697f37d0a61aa05d5e21e5bdf13b0519ed4084
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/RouteObjects/swift-cidr-admission.git at 0.2.0
========================================
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-54344845-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.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/RouteObjects/swift-cidr.git
Fetching https://github.com/apple/swift-crypto.git
[1/18562] Fetching swift-crypto
[2/19602] Fetching swift-crypto, swift-cidr
Fetched https://github.com/RouteObjects/swift-cidr.git (0.44s)
[743/18562] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.12s)
Computing version for https://github.com/RouteObjects/swift-cidr.git
Computed https://github.com/RouteObjects/swift-cidr.git at 0.5.0 (1.29s)
Fetching https://github.com/apple/swift-nio.git
[1/86168] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (2.96s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (4.11s)
Fetching https://github.com/apple/swift-asn1.git
[1/1986] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.43s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.78s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1885] Fetching swift-atomics
[1886/8868] Fetching swift-atomics, swift-system
[8869/36647] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git (1.09s)
Fetched https://github.com/apple/swift-system.git (1.09s)
Fetched https://github.com/apple/swift-collections.git (1.10s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.29s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.21s)
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.22s)
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-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-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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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.5.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 304]
[Planning deferred tasks]
[Starting]
[48 / 449]
[57 / 466] CIDR
[59 / 466] CCryptoBoringSSL
[59 / 466] CIDR
[63 / 466] CIDR
[67 / 466] CCryptoBoringSSL
[69 / 466] CCryptoBoringSSL
[72 / 466] CryptoBoringWrapper
[76 / 466] CXKCP
[78 / 466] CCryptoBoringSSL
[82 / 466] CCryptoBoringSSL
[87 / 466] CCryptoBoringSSL
[89 / 466] CCryptoBoringSSL
[91 / 466] CCryptoBoringSSL
[93 / 466] CCryptoBoringSSL
[95 / 466] CCryptoBoringSSL
[96 / 466] CCryptoBoringSSL
[99 / 466] CCryptoBoringSSL
[100 / 466] CCryptoBoringSSL
[101 / 466] CCryptoBoringSSL
[102 / 466] CCryptoBoringSSL
[103 / 466] CCryptoBoringSSL
[106 / 466] CCryptoBoringSSL
[108 / 466] CCryptoBoringSSL
[111 / 466] CCryptoBoringSSL
[115 / 466] CCryptoBoringSSL
[117 / 466] CCryptoBoringSSL
[119 / 466] CCryptoBoringSSL
[121 / 466] CCryptoBoringSSL
[123 / 466] CCryptoBoringSSL
[125 / 466] CCryptoBoringSSL
[125 / 466] CryptoBoringWrapper
[126 / 466] CryptoBoringWrapper
[129 / 466] CCryptoBoringSSL
[130 / 466] CCryptoBoringSSL
[131 / 466] CCryptoBoringSSL
[134 / 466] CCryptoBoringSSL
[135 / 466] CCryptoBoringSSL
[137 / 466] CCryptoBoringSSL
[139 / 466] CCryptoBoringSSL
[141 / 466] CCryptoBoringSSL
[143 / 466] CCryptoBoringSSL
[144 / 466] CCryptoBoringSSL
[147 / 466] CCryptoBoringSSL
[148 / 466] CCryptoBoringSSL
[149 / 466] CCryptoBoringSSL
[150 / 466] CCryptoBoringSSL
[154 / 466] CCryptoBoringSSL
[155 / 466] CCryptoBoringSSL
[156 / 466] CCryptoBoringSSL
[158 / 466] CCryptoBoringSSL
[159 / 466] CCryptoBoringSSL
[160 / 466] CCryptoBoringSSL
[161 / 466] CCryptoBoringSSL
[162 / 466] CCryptoBoringSSL
[163 / 466] CCryptoBoringSSL
[165 / 466] CCryptoBoringSSL
[167 / 466] CCryptoBoringSSL
[170 / 466] CCryptoBoringSSL
[176 / 466] CCryptoBoringSSL
[180 / 466] CCryptoBoringSSL
[190 / 466] CCryptoBoringSSL
[196 / 466] CCryptoBoringSSL
[199 / 466] CCryptoBoringSSL
[203 / 466] CCryptoBoringSSL
[205 / 466] CCryptoBoringSSL
[207 / 466] CCryptoBoringSSL
[209 / 466] CCryptoBoringSSL
[213 / 466] CCryptoBoringSSL
[214 / 466] CCryptoBoringSSL
[216 / 466] CCryptoBoringSSL
[219 / 466] CCryptoBoringSSL
[220 / 466] CCryptoBoringSSL
[222 / 466] CCryptoBoringSSL
[225 / 466] CCryptoBoringSSL
[226 / 466] CCryptoBoringSSL
[228 / 466] CCryptoBoringSSL
[229 / 466] CCryptoBoringSSL
[233 / 466] CCryptoBoringSSL
[236 / 466] CCryptoBoringSSL
[237 / 466] CCryptoBoringSSL
[238 / 466] CCryptoBoringSSL
[243 / 466] CCryptoBoringSSL
[244 / 466] CCryptoBoringSSL
[248 / 466] CCryptoBoringSSL
[250 / 466] CCryptoBoringSSL
[253 / 466] CCryptoBoringSSL
[257 / 466] CCryptoBoringSSL
[259 / 466] CCryptoBoringSSL
[261 / 466] CCryptoBoringSSL
[263 / 466] CCryptoBoringSSL
[266 / 466] CCryptoBoringSSL
[269 / 466] CCryptoBoringSSL
[272 / 466] CCryptoBoringSSL
[274 / 466] CCryptoBoringSSL
[279 / 466] CCryptoBoringSSL
[286 / 466] CCryptoBoringSSL
[292 / 466] CCryptoBoringSSL
[295 / 466] CCryptoBoringSSL
[298 / 466] CCryptoBoringSSL
[299 / 466] CCryptoBoringSSL
[302 / 466] CCryptoBoringSSL
[305 / 466] CCryptoBoringSSL
[308 / 466] CCryptoBoringSSL
[312 / 466] CCryptoBoringSSL
[313 / 466] CCryptoBoringSSL
[315 / 466] CCryptoBoringSSL
[318 / 466] CCryptoBoringSSL
[321 / 466] CCryptoBoringSSL
[322 / 466] CCryptoBoringSSL
[324 / 466] CCryptoBoringSSL
[326 / 466] CCryptoBoringSSL
[329 / 466] CCryptoBoringSSL
[330 / 466] CCryptoBoringSSL
[333 / 466] CCryptoBoringSSL
[335 / 466] CCryptoBoringSSL
[337 / 466] CCryptoBoringSSL
[338 / 466] CCryptoBoringSSL
[339 / 466] CCryptoBoringSSL
[343 / 466] CCryptoBoringSSL
[345 / 466] CCryptoBoringSSL
[347 / 466] CCryptoBoringSSL
[349 / 466] CCryptoBoringSSL
[354 / 466] CCryptoBoringSSL
[361 / 466] CCryptoBoringSSL
[367 / 466] CCryptoBoringSSL
[369 / 466] CCryptoBoringSSL
[371 / 466] CCryptoBoringSSL
[373 / 466] CCryptoBoringSSL
[375 / 466] CCryptoBoringSSL
[376 / 466] CCryptoBoringSSL
[381 / 466] CCryptoBoringSSL
[383 / 466] CCryptoBoringSSL
[384 / 466] CCryptoBoringSSL
[386 / 466] CCryptoBoringSSL
[387 / 466] CCryptoBoringSSL
[389 / 466] CCryptoBoringSSL
[393 / 466] CCryptoBoringSSL
[396 / 466] CCryptoBoringSSL
[400 / 466] CCryptoBoringSSL
[403 / 466] CCryptoBoringSSL
[408 / 466] CCryptoBoringSSL
[411 / 466] CCryptoBoringSSL
[412 / 466] CCryptoBoringSSL
[417 / 466] CCryptoBoringSSL
[419 / 466] CCryptoBoringSSL
[421 / 466] CCryptoBoringSSL
[423 / 466] CCryptoBoringSSL
[424 / 466] CCryptoBoringSSL
[426 / 466] CCryptoBoringSSL
[427 / 466] CCryptoBoringSSL
[428 / 466] CCryptoBoringSSL
[430 / 466] CCryptoBoringSSL
[432 / 466] CryptoBoringWrapper
[434 / 466] CryptoBoringWrapper
[435 / 466] Crypto
[437 / 466] CIDR
[441 / 466] CIDR
[441 / 466] CCryptoBoringSSL
[443 / 466] CCryptoBoringSSL
[444 / 466] CCryptoBoringSSL
[447 / 467] CryptoBoringWrapper
[451 / 468]
[456 / 477] Crypto
[457 / 477] Crypto
[459 / 477] Crypto
[460 / 478] Crypto
[463 / 478]
[463 / 478] Crypto
[472 / 486] CIDRAdmission
[473 / 486] CIDRAdmission
[474 / 486] CIDRAdmission
[475 / 486] CIDRAdmission
[476 / 486] CIDRAdmission
[481 / 486] Crypto
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.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-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-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