The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-homomorphic-encryption, reference main (ab3f8c), with Swift 6.2 for Linux on 5 Nov 2026 00:11:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344846-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:linux-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build 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:         linux
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-54344846-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:linux-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:3b8ac581d32055e8615440d6f2242826e343275e8abdb3534700e4187075d534
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.2-latest
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-protobuf
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-collections.git
[1/8340] Fetching swift-log
[2/27264] Fetching swift-log, swift-crypto
[2443/34089] Fetching swift-log, swift-crypto, swift-async-algorithms
[15734/40862] Fetching swift-log, swift-crypto, swift-async-algorithms, swift-numerics
[23832/70397] Fetching swift-log, swift-crypto, swift-async-algorithms, swift-numerics, swift-collections
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.63s)
Fetching https://github.com/apple/swift-argument-parser.git
[17302/63572] Fetching swift-log, swift-crypto, swift-numerics, swift-collections
[63573/82902] Fetching swift-log, swift-crypto, swift-numerics, swift-collections, swift-argument-parser
Fetched https://github.com/apple/swift-collections.git from cache (1.29s)
[49888/53367] Fetching swift-log, swift-crypto, swift-numerics, swift-argument-parser
Fetching https://github.com/apple/swift-algorithms
Fetched https://github.com/apple/swift-numerics from cache (1.47s)
Fetched https://github.com/apple/swift-log.git from cache (1.47s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.48s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.87s)
[1/56016] Fetching swift-protobuf
[562/62175] Fetching swift-protobuf, swift-algorithms
Fetched https://github.com/apple/swift-algorithms from cache (0.60s)
[3922/56016] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf from cache (4.90s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (5.77s)
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.23s)
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.39s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.57s)
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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
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-protobuf
Working copy of https://github.com/apple/swift-protobuf resolved at 1.39.0
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-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-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-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
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
[42/501] Compiling _NumericsShims _NumericsShims.c
[43/501] Compiling CUtil zeroize.c
[44/501] Compiling CXKCPShims shims.c
[45/501] Compiling p256-armv8-asm-win.S
[46/501] Compiling p256-armv8-asm-linux.S
[47/501] Compiling p256-armv8-asm-apple.S
[48/501] Compiling chacha-armv8-linux.S
[49/501] Compiling SimpleFIPS202.c
[50/501] Compiling KeccakSponge.c
[51/501] Compiling KeccakHash.c
[52/501] Write swift-version-24593BA9C3E375BF.txt
[53/501] Compiling fiat_p256_adx_mul.S
[54/501] Compiling fiat_curve25519_adx_square.S
[55/501] Compiling fiat_p256_adx_sqr.S
[55/501] Compiling fiat_curve25519_adx_mul.S
[57/501] Compiling md5-x86_64-linux.S
[58/501] Compiling md5-x86_64-apple.S
[59/501] Compiling md5-586-linux.S
[60/621] Compiling KeccakP-1600-opt64.c
[61/659] Compiling md5-586-apple.S
[62/659] Compiling err_data.cc
[63/659] Compiling chacha20_poly1305_x86_64-linux.S
[64/659] Compiling chacha20_poly1305_x86_64-apple.S
[65/659] Compiling chacha20_poly1305_armv8-win.S
[66/659] Compiling chacha20_poly1305_armv8-linux.S
[67/659] Compiling chacha20_poly1305_armv8-apple.S
error: emit-module command failed with exit code 1 (use -v to see invocation)
[69/659] 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`.
[69/660] Compiling chacha-x86_64-linux.S
[70/660] Compiling chacha-x86_64-apple.S
[71/660] Compiling chacha-x86-linux.S
[72/660] Compiling chacha-x86-apple.S
[73/660] Compiling chacha-armv8-win.S
[74/660] Compiling chacha-armv8-apple.S
[75/660] Compiling chacha-armv4-linux.S
[76/660] Compiling aes128gcmsiv-x86_64-linux.S
[77/660] Compiling aes128gcmsiv-x86_64-apple.S
[78/660] Compiling x86_64-mont5-linux.S
[79/660] Compiling x86_64-mont5-apple.S
[80/660] Compiling x86_64-mont-linux.S
[81/660] Compiling x86_64-mont-apple.S
[82/660] Compiling x86-mont-linux.S
[83/660] Compiling x86-mont-apple.S
[84/660] Compiling vpaes-x86_64-linux.S
[85/660] Compiling vpaes-x86_64-apple.S
[86/660] Compiling vpaes-x86-linux.S
[87/660] Compiling vpaes-x86-apple.S
[88/660] Compiling vpaes-armv8-win.S
[89/660] Compiling vpaes-armv8-linux.S
[90/660] Compiling vpaes-armv8-apple.S
[91/660] Compiling vpaes-armv7-linux.S
[92/660] Compiling sha512-x86_64-linux.S
[93/660] Compiling sha512-x86_64-apple.S
[94/660] Compiling sha512-armv8-win.S
[95/660] Compiling sha512-armv8-linux.S
[96/660] Compiling sha512-armv8-apple.S
[97/660] Compiling sha512-armv4-linux.S
[98/660] Compiling sha512-586-linux.S
[99/660] Compiling sha512-586-apple.S
[100/660] Compiling sha256-x86_64-linux.S
[101/660] Compiling sha256-x86_64-apple.S
[102/660] Compiling sha256-armv8-win.S
[103/660] Compiling sha256-armv8-linux.S
[104/660] Compiling sha256-armv8-apple.S
[105/660] Compiling sha256-armv4-linux.S
[106/660] Compiling sha256-586-linux.S
[107/660] Compiling sha256-586-apple.S
[108/660] Compiling sha1-x86_64-linux.S
[109/660] Compiling sha1-x86_64-apple.S
[110/660] Compiling sha1-armv8-win.S
[111/660] Compiling sha1-armv8-linux.S
[112/660] Compiling sha1-armv8-apple.S
[113/660] Compiling sha1-armv4-large-linux.S
[114/660] Compiling sha1-586-linux.S
[116/660] Compiling SwiftProtobuf Google_Protobuf_ListValue+Extensions.swift
[117/660] Compiling SwiftProtobuf Google_Protobuf_NullValue+Extensions.swift
[119/660] Compiling SwiftProtobuf Google_Protobuf_Struct+Extensions.swift
[120/662] Compiling SwiftProtobuf Google_Protobuf_Any+Extensions.swift
[121/662] Compiling SwiftProtobuf Google_Protobuf_Any+Registry.swift
[122/662] Compiling SwiftProtobuf Google_Protobuf_Duration+Extensions.swift
[123/662] Compiling SwiftProtobuf Google_Protobuf_FieldMask+Extensions.swift
[125/662] Compiling RealModule RealFunctions.swift
[129/666] Compiling sha1-586-apple.S
[131/666] Compiling SwiftProtobuf AnyMessageStorage.swift
[132/666] Compiling SwiftProtobuf AnyUnpackError.swift
[133/666] Compiling SwiftProtobuf AsyncMessageSequence.swift
[134/666] Compiling SwiftProtobuf BinaryDecoder.swift
[138/666] Compiling SwiftProtobuf Google_Protobuf_Timestamp+Extensions.swift
[139/666] Emitting module InternalCollectionsUtilities
[141/666] Compiling SwiftProtobuf Google_Protobuf_Value+Extensions.swift
[142/666] Compiling SwiftProtobuf Google_Protobuf_Wrappers+Extensions.swift
[145/666] Compiling SwiftProtobuf HashVisitor.swift
[146/666] Compiling SwiftProtobuf Internal.swift
[147/666] Compiling SwiftProtobuf BinaryEncodingError.swift
[148/666] Compiling SwiftProtobuf BinaryEncodingOptions.swift
[149/666] Compiling SwiftProtobuf BinaryEncodingSizeVisitor.swift
[152/666] Emitting module RealModule
[152/666] Compiling rsaz-avx2-linux.S
[154/666] Compiling RealModule RelaxedArithmetic.swift
[159/666] Compiling ModularArithmetic Scalar.swift
[160/666] Compiling RealModule Real.swift
[160/666] Compiling rsaz-avx2-apple.S
[162/666] Compiling SwiftProtobuf BinaryEncodingVisitor.swift
[163/666] Compiling SwiftProtobuf BytecodeInterpreter.swift
[164/666] Compiling SwiftProtobuf BytecodeReader.swift
[165/666] Compiling SwiftProtobuf CustomJSONCodable.swift
[166/666] Compiling SwiftASN1 DER.swift
[167/666] Compiling SwiftASN1 Errors.swift
[168/666] Compiling SwiftProtobuf BinaryDelimited.swift
[169/666] Compiling SwiftProtobuf BinaryEncoder.swift
[170/666] Compiling Logging LoggingSystem.swift
[170/666] Compiling rdrand-x86_64-linux.S
[172/666] Compiling RealModule Float16+Real.swift
[173/666] Compiling RealModule Float80+Real.swift
[174/666] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[175/666] Compiling InternalCollectionsUtilities _SortedCollection.swift
[176/666] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[177/667] Compiling ModularArithmetic Modulus.swift
[178/667] Emitting module ModularArithmetic
[178/669] Compiling rdrand-x86_64-apple.S
[182/669] Compiling p256_beeu-x86_64-asm-linux.S
[183/669] Compiling p256_beeu-x86_64-asm-apple.S
[185/669] Compiling Logging Logger+Attributes.swift
[186/669] Compiling Logging Logger+With.swift
[187/669] Compiling Logging Logger.swift
[188/707] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[189/708] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[190/711] Compiling SpanPreview InputSpan.swift
[191/714] Emitting module SpanPreview
[192/790] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[193/796] Compiling HeapModule Heap+Invariants.swift
[194/798] Compiling HeapModule Heap+Testing.swift
[196/806] Compiling HeapModule Heap+Descriptions.swift
[197/809] Emitting module SwiftASN1
[198/809] Emitting module HeapModule
[199/828] Compiling HeapModule _HeapNode.swift
[200/838] Compiling HeapModule Heap.swift
[201/885] Compiling HeapModule Heap+UnsafeHandle.swift
[203/886] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[204/886] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[205/928] Compiling DequeModule RigidDeque+ContainerOperations.swift
[206/928] Compiling DequeModule RigidDeque+Deprecations.swift
[207/928] Compiling DequeModule RigidDeque+Descriptions.swift
[208/928] Compiling DequeModule RigidDeque+Equatable.swift
[209/928] Compiling DequeModule RigidDeque+Hashable.swift
[210/928] Compiling DequeModule RigidDeque+Initializers.swift
[211/928] Compiling DequeModule RigidDeque+Insertions.swift
[212/928] Compiling DequeModule RigidDeque+Iterable.swift
[213/935] Compiling Logging MetadataProvider.swift
[214/935] Compiling DequeModule _DequeBuffer.swift
[215/935] Compiling DequeModule _DequeBufferHeader.swift
[216/935] Compiling DequeModule Deque._UnsafeHandle.swift
[217/935] Compiling DequeModule Deque.swift
[218/935] Compiling DequeModule RigidDeque+Append.swift
[219/935] Compiling DequeModule RigidDeque+Consumption.swift
[220/935] Compiling DequeModule Deque+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`.
[221/935] Compiling DequeModule Deque+Descriptions.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`.
[222/935] Compiling DequeModule Deque+Codable.swift
[223/935] Compiling DequeModule Deque+Collection.swift
BUILD FAILURE 6.2 linux