The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-homomorphic-encryption, reference main (ab3f8c), with Swift 6.3 for Android on 5 Nov 2026 00:15:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 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:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/apple/swift-homomorphic-encryption.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:f1b12a8bbb93f80209cd253d0506a5c4ae234ca70cdb982449927d0de54267f8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-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-crypto.git
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-collections.git
[1/18924] Fetching swift-crypto
[2/27264] Fetching swift-crypto, swift-log
[3/34041] Fetching swift-crypto, swift-log, swift-numerics
[1288/40866] Fetching swift-crypto, swift-log, swift-numerics, swift-async-algorithms
[23836/70405] Fetching swift-crypto, swift-log, swift-numerics, swift-async-algorithms, swift-collections
Fetched https://github.com/apple/swift-crypto.git from cache (1.33s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.34s)
Fetched https://github.com/apple/swift-log.git from cache (1.34s)
Fetched https://github.com/apple/swift-numerics from cache (1.34s)
Fetching https://github.com/apple/swift-algorithms
Fetched https://github.com/apple/swift-collections.git from cache (1.35s)
[1/6159] Fetching swift-algorithms
[6160/25493] Fetching swift-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-algorithms from cache (0.53s)
[1354/19334] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.78s)
[1/56016] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf from cache (5.67s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (6.56s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.14s)
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.24s)
Computing version for https://github.com/apple/swift-protobuf
Computed https://github.com/apple/swift-protobuf at 1.39.0 (0.19s)
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.16s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.1.1 (0.24s)
Fetching https://github.com/apple/swift-asn1.git
[1/2055] 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.63s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.0 (0.15s)
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-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-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-protobuf
Working copy of https://github.com/apple/swift-protobuf resolved at 1.39.0
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-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.17.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
[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
[43/501] Compiling CXKCPShims shims.c
[45/501] Compiling SimpleFIPS202.c
[45/501] Compiling KeccakSponge.c
[47/501] Compiling KeccakHash.c
[48/501] Compiling fiat_p256_adx_sqr.S
[49/501] Write swift-version-272D24FF697CF451.txt
[50/501] Compiling fiat_p256_adx_mul.S
[51/501] Compiling fiat_curve25519_adx_square.S
[52/501] Compiling md5-x86_64-linux.S
[53/501] Compiling fiat_curve25519_adx_mul.S
[54/501] Compiling md5-x86_64-apple.S
[55/501] Compiling md5-586-linux.S
[56/501] Compiling md5-586-apple.S
[57/659] Compiling KeccakP-1600-opt64.c
[58/659] Compiling err_data.cc
[59/659] Compiling chacha20_poly1305_x86_64-linux.S
[60/659] Compiling chacha20_poly1305_x86_64-apple.S
[61/659] Compiling chacha20_poly1305_armv8-win.S
[63/659] Emitting module ModularArithmetic
[63/659] Compiling chacha20_poly1305_armv8-linux.S
[64/659] Compiling chacha20_poly1305_armv8-apple.S
[65/659] Compiling chacha-x86_64-linux.S
[67/659] Emitting module InternalCollectionsUtilities
[67/662] Compiling chacha-x86_64-apple.S
[68/662] Compiling chacha-x86-linux.S
[69/662] Compiling chacha-x86-apple.S
[70/662] Compiling chacha-armv8-win.S
[71/662] Compiling chacha-armv8-linux.S
[72/662] Compiling chacha-armv8-apple.S
[73/662] Compiling chacha-armv4-linux.S
[74/662] Compiling aes128gcmsiv-x86_64-linux.S
[75/662] Compiling aes128gcmsiv-x86_64-apple.S
[76/662] Compiling x86_64-mont5-linux.S
[77/662] Compiling x86_64-mont5-apple.S
[78/662] Compiling x86_64-mont-linux.S
[79/662] Compiling x86_64-mont-apple.S
[80/662] Compiling x86-mont-linux.S
[81/662] Compiling x86-mont-apple.S
[82/662] Compiling vpaes-x86_64-linux.S
[83/662] Compiling vpaes-x86_64-apple.S
[84/662] Compiling vpaes-x86-linux.S
[85/662] Compiling vpaes-x86-apple.S
[86/662] Compiling vpaes-armv8-win.S
[87/662] Compiling vpaes-armv8-linux.S
[88/662] Compiling vpaes-armv8-apple.S
[89/662] Compiling vpaes-armv7-linux.S
[90/662] Compiling sha512-x86_64-linux.S
[91/662] Compiling sha512-x86_64-apple.S
[92/662] Compiling sha512-armv8-win.S
[93/662] Compiling sha512-armv8-linux.S
[94/662] Compiling sha512-armv8-apple.S
[95/662] Compiling sha512-armv4-linux.S
[96/662] Compiling sha512-586-linux.S
[97/662] Compiling sha512-586-apple.S
[98/662] Compiling sha256-x86_64-linux.S
[99/662] Compiling sha256-x86_64-apple.S
[100/662] Compiling sha256-armv8-win.S
[101/662] Compiling sha256-armv8-linux.S
[102/662] Compiling sha256-armv8-apple.S
[103/662] Compiling sha256-armv4-linux.S
[104/662] Compiling sha256-586-linux.S
[105/662] Compiling sha256-586-apple.S
[106/662] Compiling sha1-x86_64-linux.S
[107/662] Compiling sha1-x86_64-apple.S
[108/662] Compiling sha1-armv8-win.S
[109/662] Compiling sha1-armv8-linux.S
[110/662] Compiling sha1-armv8-apple.S
[111/662] Compiling sha1-armv4-large-linux.S
[113/662] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[114/662] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[115/662] Compiling InternalCollectionsUtilities Debugging.swift
[116/662] Compiling InternalCollectionsUtilities Descriptions.swift
[116/662] Compiling sha1-586-linux.S
[117/662] Compiling sha1-586-apple.S
[119/662] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[120/662] Compiling InternalCollectionsUtilities _SortedCollection.swift
[121/662] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[122/662] Compiling RealModule Real.swift
[122/663] Compiling rsaz-avx2-linux.S
[124/663] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[125/663] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[126/663] Compiling Logging Logger+Attributes.swift
[127/664] Compiling SwiftProtobuf DoubleParser.swift
[128/664] Compiling SwiftProtobuf Enum.swift
[129/664] Compiling SwiftProtobuf ExtensibleMessage.swift
[130/664] Compiling ModularArithmetic Scalar.swift
[131/664] Compiling SwiftProtobuf FieldTypes.swift
[132/664] Compiling SwiftProtobuf Google_Protobuf_Any+Extensions.swift
[133/664] Compiling SwiftProtobuf Google_Protobuf_Any+Registry.swift
[134/664] Compiling SwiftProtobuf Google_Protobuf_Duration+Extensions.swift
[135/664] Compiling SwiftProtobuf ExtensionFieldValueSet.swift
[136/664] Compiling SwiftProtobuf ExtensionFields.swift
[137/664] Compiling SwiftProtobuf ExtensionMap.swift
[138/664] Compiling SwiftProtobuf FieldTag.swift
[139/664] Compiling RealModule Float16+Real.swift
[139/664] Compiling rsaz-avx2-apple.S
[140/664] Compiling SwiftProtobuf BytecodeInterpreter.swift
[141/664] Compiling SwiftProtobuf BytecodeReader.swift
[142/664] Compiling SwiftProtobuf CustomJSONCodable.swift
[143/664] Compiling SwiftProtobuf Decoder.swift
[144/664] Compiling RealModule RelaxedArithmetic.swift
[145/664] Compiling RealModule Float80+Real.swift
[146/664] Compiling RealModule RealFunctions.swift
[148/664] Emitting module RealModule
[149/664] Compiling SwiftProtobuf BinaryEncodingError.swift
[150/664] Compiling SwiftProtobuf BinaryEncodingOptions.swift
[151/664] Compiling SwiftProtobuf BinaryEncodingSizeVisitor.swift
[152/664] Compiling SwiftProtobuf BinaryEncodingVisitor.swift
[155/664] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[156/664] Compiling InternalCollectionsUtilities MutableRef.swift
[157/665] Compiling Logging LoggingSystem.swift
[163/665] Compiling rdrand-x86_64-linux.S
[166/666] Compiling Logging Logger+With.swift
[169/666] Compiling Logging Logger.swift
[170/668] Compiling rdrand-x86_64-apple.S
[171/668] Compiling p256_beeu-x86_64-asm-linux.S
[173/668] Compiling ModularArithmetic Modulus.swift
[175/674] Emitting module SpanPreview
[176/693] Compiling SpanPreview InputSpan.swift
[177/699] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[178/705] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[180/809] Compiling HeapModule Heap+Invariants.swift
[181/809] Compiling _RopeModule BigString+Insert.swift
[182/809] Compiling _RopeModule BigString+Managing Breaks.swift
[183/809] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[184/809] Compiling _RopeModule BigString+Builder.swift
[185/809] Compiling _RopeModule BigString+Contents.swift
[186/809] Compiling _RopeModule BigString+Debugging.swift
[187/809] Compiling HeapModule Heap+Descriptions.swift
[188/885] Compiling HeapModule _HeapNode.swift
[189/885] Compiling HashTreeCollections _Hash.swift
[190/885] Compiling HashTreeCollections _HashLevel.swift
[191/885] Compiling HashTreeCollections _HashNode+Builder.swift
[192/885] Compiling HashTreeCollections _HashNode+Debugging.swift
[193/885] Compiling HashTreeCollections _HashNode+Initializers.swift
[194/885] Compiling HeapModule Heap+Testing.swift
[195/885] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[196/885] Compiling HashTreeCollections TreeDictionary+Keys.swift
[197/885] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[198/885] Compiling HashTreeCollections TreeDictionary+Merge.swift
[199/885] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[200/885] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[201/885] Compiling HashTreeCollections TreeDictionary+Values.swift
[202/885] Compiling HashTreeCollections TreeDictionary.swift
[203/892] Compiling HeapModule Heap+UnsafeHandle.swift
[204/892] Compiling HeapModule Heap.swift
[205/892] Compiling HashTreeCollections _AncestorHashSlots.swift
[206/892] Compiling HashTreeCollections _Bitmap.swift
[207/892] Compiling HashTreeCollections _Bucket.swift
[213/892] Emitting module HeapModule
[214/893] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[215/893] Compiling HashTreeCollections _HashNode+Structural merge.swift
[216/893] Compiling HashTreeCollections _HashTreeIterator.swift
[217/893] Compiling HashTreeCollections _HashTreeStatistics.swift
[218/893] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[219/893] Compiling HashTreeCollections _RawHashNode.swift
[220/893] Compiling HashTreeCollections _UnmanagedHashNode.swift
[221/893] Compiling HashTreeCollections _UnsafePath.swift
[222/893] Compiling HashTreeCollections TreeDictionary+Codable.swift
[223/893] Compiling HashTreeCollections TreeDictionary+Collection.swift
[231/902] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[232/902] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[233/944] Compiling DequeModule RigidDeque+ContainerOperations.swift
[234/944] Compiling DequeModule RigidDeque+Deprecations.swift
[237/944] Compiling DequeModule RigidDeque+Descriptions.swift
[238/944] Compiling DequeModule RigidDeque+Equatable.swift
[239/944] Compiling DequeModule RigidDeque+Hashable.swift
[240/944] Compiling DequeModule RigidDeque+Initializers.swift
[241/944] Compiling DequeModule RigidDeque+Insertions.swift
[242/944] Compiling DequeModule RigidDeque+Iterable.swift
[243/944] Compiling HashTreeCollections TreeSet+Hashable.swift
[244/944] Compiling HashTreeCollections TreeSet+Sendable.swift
[245/944] Compiling HashTreeCollections TreeSet+Sequence.swift
[246/944] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[247/944] Compiling _RopeModule Rope+Join.swift
[248/944] Compiling _RopeModule Rope+MutatingForEach.swift
[249/944] Compiling _RopeModule Rope+Remove.swift
[250/944] Compiling _RopeModule Rope+RemoveSubrange.swift
[251/944] Compiling _RopeModule Rope+Split.swift
[252/944] Compiling _RopeModule Optional Utilities.swift
[253/954] Compiling DequeModule Deque+CustomReflectable.swift
[254/954] Compiling DequeModule Deque+Descriptions.swift
[255/954] Compiling DequeModule Deque+Equatable.swift
[256/954] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[257/954] Compiling DequeModule _DequeBuffer.swift
[258/954] Compiling DequeModule _DequeBufferHeader.swift
[259/954] Compiling DequeModule RigidDeque+Append.swift
[260/954] Compiling DequeModule RigidDeque+Consumption.swift
[261/954] Compiling DequeModule UniqueDeque+Consumption.swift
[262/954] Compiling DequeModule UniqueDeque+ContainerOperations.swift
[263/954] Compiling DequeModule UniqueDeque+Deprecations.swift
[264/954] Compiling DequeModule UniqueDeque+Descriptions.swift
[265/954] Compiling DequeModule UniqueDeque+Equatable.swift
[266/954] Compiling DequeModule UniqueDeque+Hashable.swift
[274/959] Compiling OrderedCollections OrderedSet+Sendable.swift
[275/959] Compiling OrderedCollections OrderedSet+SubSequence.swift
[276/959] Compiling OrderedCollections OrderedSet+Testing.swift
[277/959] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[278/959] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[279/959] Compiling OrderedCollections OrderedSet.swift
[280/959] Compiling OrderedCollections UnsafeBitset.swift
[281/959] Compiling HashTreeCollections TreeSet+Extras.swift
[282/959] Compiling HashTreeCollections TreeSet+Filter.swift
[283/959] Compiling DequeModule UniqueDeque+Initializers.swift
[284/959] Compiling DequeModule UniqueDeque+Insertions.swift
[285/959] Compiling DequeModule UniqueDeque+Iterable.swift
[286/959] Compiling DequeModule UniqueDeque+Prepend.swift
[287/959] Compiling DequeModule UniqueDeque+Removals.swift
[288/959] Emitting module SwiftASN1
[295/959] Compiling DequeModule _UnsafeDequeHandle.swift
[296/959] Compiling DequeModule _UnsafeDequeSegments.swift
[297/959] Compiling HashTreeCollections TreeDictionary+Filter.swift
[298/959] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[306/959] Compiling DequeModule RigidDeque+Replacements.swift
[307/959] Compiling DequeModule RigidDeque+Testing.swift
[308/959] Compiling DequeModule RigidDeque.swift
[309/959] Compiling DequeModule UniqueDeque+Append.swift
[315/959] Compiling DequeModule UniqueDeque+Replacements.swift
[316/959] Compiling DequeModule UniqueDeque.swift
[317/959] Compiling DequeModule _DequeSlot.swift
[322/959] Compiling DequeModule RigidDeque+Prepend.swift
[323/959] Compiling DequeModule RigidDeque+Removals.swift
[357/959] Compiling DequeModule Deque+Testing.swift
[358/959] Compiling DequeModule Deque._Storage.swift
[359/959] Compiling DequeModule Deque+Extras.swift
[360/959] Compiling DequeModule Deque+Hashable.swift
[361/959] Emitting module Logging
[362/959] Compiling Logging MetadataProvider.swift
[367/961] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[368/961] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[369/961] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[370/961] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[371/961] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[372/961] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[373/961] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[374/961] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[375/961] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[376/961] Compiling HashTreeCollections TreeSet.swift
[378/961] Wrapping AST for SpanPreview for debugging
[398/983] Wrapping AST for SwiftASN1 for debugging
[400/983] Compiling MemoryMapping MemoryMapping.swift
/host/spi-builder-workspace/Sources/MemoryMapping/MemoryMapping.swift:34:19: error: cannot find 'errno' in scope
 32 |     /// - Returns: A `MemoryMappingError.systemError` containing the error code and message.
 33 |     public static func catchSystemErrno() -> Self {
 34 |         let err = errno
    |                   `- error: cannot find 'errno' in scope
 35 |         let message = String(cString: strerror(err))
 36 |         return .systemError(err, message)
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/MemoryMapping/MemoryMapping.swift:56:18: error: cannot find 'open' in scope
 54 |     ///           stat retrieval, or mapping.
 55 |     public static func openFile(path: String) throws -> UnsafeMutableRawBufferPointer {
 56 |         let fd = open(path, O_RDONLY)
    |                  `- error: cannot find 'open' in scope
 57 |         guard fd != -1 else {
 58 |             throw MemoryMappingError.catchSystemErrno()
/host/spi-builder-workspace/Sources/MemoryMapping/MemoryMapping.swift:56:29: error: cannot find 'O_RDONLY' in scope
 54 |     ///           stat retrieval, or mapping.
 55 |     public static func openFile(path: String) throws -> UnsafeMutableRawBufferPointer {
 56 |         let fd = open(path, O_RDONLY)
    |                             `- error: cannot find 'O_RDONLY' in scope
 57 |         guard fd != -1 else {
 58 |             throw MemoryMappingError.catchSystemErrno()
/host/spi-builder-workspace/Sources/MemoryMapping/MemoryMapping.swift:61:13: error: cannot find 'close' in scope
 59 |         }
 60 |         defer {
 61 |             close(fd)
    |             `- error: cannot find 'close' in scope
 62 |         }
 63 |
/host/spi-builder-workspace/Sources/MemoryMapping/MemoryMapping.swift:64:20: error: use of local variable 'stat' before its declaration
 62 |         }
 63 |
 64 |         var stat = stat()
    |             |      `- error: use of local variable 'stat' before its declaration
    |             `- note: 'stat' declared here
 65 |         if fstat(fd, &stat) != 0 {
 66 |             throw MemoryMappingError.catchSystemErrno()
/host/spi-builder-workspace/Sources/MemoryMapping/MemoryMapping.swift:65:12: error: cannot find 'fstat' in scope
 63 |
 64 |         var stat = stat()
 65 |         if fstat(fd, &stat) != 0 {
    |            `- error: cannot find 'fstat' in scope
 66 |             throw MemoryMappingError.catchSystemErrno()
 67 |         }
/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 {
/host/spi-builder-workspace/Sources/MemoryMapping/MemoryMapping.swift:73:23: error: cannot find 'MAP_FAILED' in scope
 71 |         }
 72 |         guard let addr = mmap(nil, fileSize, PROT_READ, MAP_SHARED, fd, 0),
 73 |               addr != MAP_FAILED
    |                       `- error: cannot find 'MAP_FAILED' in scope
 74 |         else {
 75 |             throw MemoryMappingError.catchSystemErrno()
/host/spi-builder-workspace/Sources/MemoryMapping/MemoryMapping.swift:87:9: error: cannot find 'munmap' in scope
 85 |     /// - Parameter buffer: The buffer representing the mapped memory region to unmap.
 86 |     public static func unmap(_ buffer: UnsafeMutableRawBufferPointer) {
 87 |         munmap(buffer.baseAddress, buffer.count)
    |         `- error: cannot find 'munmap' in scope
 88 |     }
 89 |
[401/983] Compiling MemoryMapping MMapDictionaryError.swift
[401/983] Wrapping AST for RealModule for debugging
[414/983] Wrapping AST for ModularArithmetic for debugging
[416/983] Compiling ComplexModule Polar.swift
[417/984] Compiling ComplexModule Complex+Numeric.swift
[418/984] Compiling ComplexModule Complex+Hashable.swift
[419/984] Compiling ComplexModule Complex+IntegerLiteral.swift
[430/984] Compiling MemoryMapping MMapDictionary.swift
[431/984] Emitting module MemoryMapping
[443/984] Wrapping AST for Logging for debugging
[444/984] Wrapping AST for InternalCollectionsUtilities for debugging
[445/984] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[446/984] Compiling ComplexModule Complex+AlgebraicField.swift
[447/984] Compiling ComplexModule Complex+Codable.swift
[448/984] Compiling ComplexModule Complex+ElementaryFunctions.swift
[451/984] Compiling DequeModule Deque+Codable.swift
[452/984] Compiling DequeModule Deque+Collection.swift
BUILD FAILURE 6.3 android