Build Information
Failed to build swift-homomorphic-encryption, reference main (ab3f8c), with Swift 6.2 for Wasm on 4 Nov 2026 23:51:25 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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-homomorphic-encryption.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-homomorphic-encryption
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ab3f8cd Widen accepted versions of swift-crypto dependency (#343)
Submodule path 'swift-homomorphic-encryption-protobuf': checked out 'f35fa8fa2314a16b9ba166b96db7b1340767ac04'
Submodule 'swift-homomorphic-encryption-protobuf' (https://github.com/apple/swift-homomorphic-encryption-protobuf) registered for path 'swift-homomorphic-encryption-protobuf'
Cloning into '/host/spi-builder-workspace/swift-homomorphic-encryption-protobuf'...
Cloned https://github.com/apple/swift-homomorphic-encryption.git
Revision (git rev-parse @):
ab3f8cdef8e70b478567ae0d8451948824689876
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-homomorphic-encryption.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/apple/swift-homomorphic-encryption.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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:ba6864ed1873dc28d63134b1bd648b09c5ec8270a0ae95720b7f96d84a66a058
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-protobuf
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-numerics
[1/8340] Fetching swift-log
[1669/15113] Fetching swift-log, swift-numerics
[9967/21938] Fetching swift-log, swift-numerics, swift-async-algorithms
[21939/51473] Fetching swift-log, swift-numerics, swift-async-algorithms, swift-collections
[27846/70397] Fetching swift-log, swift-numerics, swift-async-algorithms, swift-collections, swift-crypto
[54881/126413] Fetching swift-log, swift-numerics, swift-async-algorithms, swift-collections, swift-crypto, swift-protobuf
Fetched https://github.com/apple/swift-numerics from cache (1.74s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.74s)
Fetched https://github.com/apple/swift-log.git from cache (1.74s)
[69185/104475] Fetching swift-collections, swift-crypto, swift-protobuf
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-algorithms
Fetched https://github.com/apple/swift-crypto.git from cache (1.76s)
[50822/85551] Fetching swift-collections, swift-protobuf
[77710/91710] Fetching swift-collections, swift-protobuf, swift-algorithms
[85550/111040] Fetching swift-collections, swift-protobuf, swift-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-algorithms from cache (0.52s)
[80337/104881] Fetching swift-collections, swift-protobuf, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.81s)
Fetched https://github.com/apple/swift-collections.git from cache (4.35s)
Fetched https://github.com/apple/swift-protobuf from cache (4.38s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (5.24s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.13s)
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.19s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.5 (0.22s)
Computing version for https://github.com/apple/swift-protobuf
Computed https://github.com/apple/swift-protobuf at 1.39.0 (0.17s)
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.14s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.1.1 (0.49s)
Fetching https://github.com/apple/swift-asn1.git
[1/2051] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.44s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.61s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.0 (0.14s)
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-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.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.1.1
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.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-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-protobuf
Working copy of https://github.com/apple/swift-protobuf resolved at 1.39.0
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.17.0
[1/1] Compiling plugin SwiftProtobufPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/501] Write sources
[29/501] Compiling CXKCPShims shims.c
[30/501] Compiling KeccakHash.c
[30/501] Write sources
[41/501] Compiling SimpleFIPS202.c
[42/501] Write sources
[43/501] Compiling CUtil zeroize.c
[44/501] Write sources
[46/501] Compiling KeccakSponge.c
[47/501] Compiling _NumericsShims _NumericsShims.c
[48/501] Compiling fiat_p256_adx_sqr.S
[49/501] Compiling fiat_curve25519_adx_square.S
[50/501] Compiling fiat_curve25519_adx_mul.S
[51/501] Compiling fiat_p256_adx_mul.S
[52/501] Compiling md5-x86_64-linux.S
[53/501] Write swift-version-24593BA9C3E375BF.txt
[54/501] Compiling md5-x86_64-apple.S
[55/501] Compiling md5-586-apple.S
[56/501] Compiling md5-586-linux.S
[57/501] Compiling chacha20_poly1305_x86_64-linux.S
[58/501] Compiling chacha20_poly1305_x86_64-apple.S
[59/631] Compiling err_data.cc
[61/659] Emitting module ModularArithmetic
[62/659] Emitting module MemoryMapping
[63/659] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[64/659] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[65/659] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[66/662] Compiling RealModule Float16+Real.swift
[67/662] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[68/662] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[69/663] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[70/663] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[71/663] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[72/663] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[73/663] Compiling RealModule RealFunctions.swift
[76/663] Compiling InternalCollectionsUtilities Debugging.swift
[77/663] Compiling InternalCollectionsUtilities Descriptions.swift
[78/663] Emitting module InternalCollectionsUtilities
[79/663] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[80/663] Compiling InternalCollectionsUtilities String+Padding.swift
[81/663] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[82/663] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[83/663] Compiling Logging Logger+With.swift
[84/664] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[85/664] Compiling InternalCollectionsUtilities MutableRef.swift
[86/664] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[87/664] Compiling InternalCollectionsUtilities Integer rank.swift
[88/664] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[89/664] Compiling InternalCollectionsUtilities UInt+reversed.swift
[90/664] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[91/664] Compiling InternalCollectionsUtilities Span+Extras.swift
[94/666] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[95/666] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[98/666] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[99/666] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[102/666] Compiling RealModule RelaxedArithmetic.swift
[105/666] Emitting module RealModule
[108/666] Compiling RealModule Float80+Real.swift
[111/666] Compiling RealModule Real.swift
[112/667] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[113/667] Compiling InternalCollectionsUtilities _SortedCollection.swift
[114/667] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[125/668] Compiling ModularArithmetic Scalar.swift
[125/668] Compiling chacha20_poly1305_armv8-win.S
[127/668] Compiling ModularArithmetic Modulus.swift
[129/713] Compiling Logging LoggingSystem.swift
[130/713] Compiling Logging Logger+Attributes.swift
[131/715] Compiling Logging Logger.swift
[132/754] Compiling ComplexModule Complex+StringConvertible.swift
[133/755] Emitting module SpanPreview
[134/755] Compiling SpanPreview InputSpan.swift
[135/755] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[136/755] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[138/756] Compiling ComplexModule Polar.swift
[139/756] Compiling _RopeModule BigString+Debugging.swift
[140/756] Compiling _RopeModule BigString+Index.swift
[141/778] Compiling ComplexModule Complex+Numeric.swift
[142/778] Compiling ComplexModule Scale.swift
[143/782] Compiling ComplexModule Complex.swift
[144/784] Compiling Logging MetadataProvider.swift
[145/813] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[146/813] Compiling OrderedCollections OrderedDictionary+Elements.swift
[147/813] Compiling OrderedCollections OrderedDictionary+Codable.swift
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Handlers/StreamLogHandler.swift:291:6: error: unknown attribute 'nonexhaustive'
289 | extension StreamLogHandler {
290 | /// The precision of the timestamp that a ``StreamLogHandler`` writes at the start of each log line.
291 | @nonexhaustive
| `- error: unknown attribute 'nonexhaustive'
292 | public enum TimestampPrecision: Sendable, Hashable {
293 | /// Whole seconds, for example `2025-06-01T14:03:07+0000`.
[148/813] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Handlers/StreamLogHandler.swift:291:6: error: unknown attribute 'nonexhaustive'
289 | extension StreamLogHandler {
290 | /// The precision of the timestamp that a ``StreamLogHandler`` writes at the start of each log line.
291 | @nonexhaustive
| `- error: unknown attribute 'nonexhaustive'
292 | public enum TimestampPrecision: Sendable, Hashable {
293 | /// Whole seconds, for example `2025-06-01T14:03:07+0000`.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[149/813] Emitting module Logging
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Handlers/StreamLogHandler.swift:291:6: error: unknown attribute 'nonexhaustive'
289 | extension StreamLogHandler {
290 | /// The precision of the timestamp that a ``StreamLogHandler`` writes at the start of each log line.
291 | @nonexhaustive
| `- error: unknown attribute 'nonexhaustive'
292 | public enum TimestampPrecision: Sendable, Hashable {
293 | /// Whole seconds, for example `2025-06-01T14:03:07+0000`.
[150/813] Compiling OrderedCollections _HashTable+Testing.swift
[151/813] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[151/813] Compiling KeccakP-1600-opt64.c
/host/spi-builder-workspace/Sources/MemoryMapping/MemoryMapping.swift:72:26: error: cannot find 'mmap' in scope
70 | throw MemoryMappingError.emptyFile
71 | }
72 | guard let addr = mmap(nil, fileSize, PROT_READ, MAP_SHARED, fd, 0),
| `- error: cannot find 'mmap' in scope
73 | addr != MAP_FAILED
74 | else {
/host/spi-builder-workspace/Sources/MemoryMapping/MemoryMapping.swift:72:46: error: cannot find 'PROT_READ' in scope
70 | throw MemoryMappingError.emptyFile
71 | }
72 | guard let addr = mmap(nil, fileSize, PROT_READ, MAP_SHARED, fd, 0),
| `- error: cannot find 'PROT_READ' in scope
73 | addr != MAP_FAILED
74 | else {
/host/spi-builder-workspace/Sources/MemoryMapping/MemoryMapping.swift:72:57: error: cannot find 'MAP_SHARED' in scope
70 | throw MemoryMappingError.emptyFile
71 | }
72 | guard let addr = mmap(nil, fileSize, PROT_READ, MAP_SHARED, fd, 0),
| `- error: cannot find 'MAP_SHARED' in scope
73 | addr != MAP_FAILED
74 | else {
/host/spi-builder-workspace/Sources/MemoryMapping/MemoryMapping.swift:72:31: error: 'nil' requires a contextual type
70 | throw MemoryMappingError.emptyFile
71 | }
72 | guard let addr = mmap(nil, fileSize, PROT_READ, MAP_SHARED, fd, 0),
| `- error: 'nil' requires a contextual type
73 | addr != MAP_FAILED
74 | else {
BUILD FAILURE 6.2 wasm