The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-homomorphic-encryption, reference main (c57ed7), with Swift 6.3 for Android on 20 Nov 2026 13:56:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-58779149-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 c57ed77 update workflow (#346)
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 @):
c57ed7737b896a576244cd965270bdc591629b50
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-58779149-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:41afcdb97864bf5406d0ae8aa5bcfcef33b811a9f32d0153a8ac0739abb37de2
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-protobuf
Fetching https://github.com/apple/swift-log.git
[1/8544] Fetching swift-log
[2394/27521] Fetching swift-log, swift-crypto
[9494/34425] Fetching swift-log, swift-crypto, swift-async-algorithms
[10306/41287] Fetching swift-log, swift-crypto, swift-async-algorithms, swift-numerics
[24209/71632] Fetching swift-log, swift-crypto, swift-async-algorithms, swift-numerics, swift-collections
Fetched https://github.com/apple/swift-numerics from cache (0.65s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.65s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-algorithms
[11239/57866] Fetching swift-log, swift-crypto, swift-collections
[27136/115351] Fetching swift-log, swift-crypto, swift-collections, swift-protobuf
[63041/121539] Fetching swift-log, swift-crypto, swift-collections, swift-protobuf, swift-algorithms
[70954/140977] Fetching swift-log, swift-crypto, swift-collections, swift-protobuf, swift-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-algorithms from cache (0.57s)
[67673/134789] Fetching swift-log, swift-crypto, swift-collections, swift-protobuf, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.88s)
[72813/115351] Fetching swift-log, swift-crypto, swift-collections, swift-protobuf
Fetched https://github.com/apple/swift-log.git from cache (4.19s)
Fetched https://github.com/apple/swift-collections.git from cache (4.20s)
Fetched https://github.com/apple/swift-crypto.git from cache (4.20s)
Fetched https://github.com/apple/swift-protobuf from cache (4.23s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (5.10s)
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.17s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.22s)
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-protobuf
Computed https://github.com/apple/swift-protobuf at 1.41.0 (0.17s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.1.2 (0.22s)
Fetching https://github.com/apple/swift-asn1.git
[1/2079] 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.62s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.2 (0.14s)
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-protobuf
Working copy of https://github.com/apple/swift-protobuf resolved at 1.41.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.2
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.6
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.2
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-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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
[1/1] Compiling plugin SwiftProtobufPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/501] Write sources
[22/501] Compiling _NumericsShims _NumericsShims.c
[23/501] Write sources
[43/501] Compiling CUtil zeroize.c
[44/501] Compiling KeccakHash.c
[44/501] Compiling SimpleFIPS202.c
[44/501] Compiling CXKCPShims shims.c
[47/501] Compiling KeccakSponge.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 fiat_curve25519_adx_mul.S
[53/501] Compiling md5-x86_64-linux.S
[54/501] Compiling md5-x86_64-apple.S
[55/501] Compiling md5-586-linux.S
[56/660] Compiling KeccakP-1600-opt64.c
[57/660] Compiling md5-586-apple.S
[59/660] Emitting module RealModule
[60/661] Emitting module InternalCollectionsUtilities
[60/664] Compiling err_data.cc
[61/664] Compiling chacha20_poly1305_x86_64-linux.S
[62/664] Compiling chacha20_poly1305_x86_64-apple.S
[63/664] Compiling chacha20_poly1305_armv8-win.S
[64/664] Compiling chacha20_poly1305_armv8-linux.S
[65/664] Compiling chacha20_poly1305_armv8-apple.S
[66/664] Compiling chacha-x86_64-linux.S
[67/664] Compiling chacha-x86_64-apple.S
[68/664] Compiling chacha-x86-linux.S
[69/664] Compiling chacha-x86-apple.S
[70/664] Compiling chacha-armv8-win.S
[71/664] Compiling chacha-armv8-linux.S
[72/664] Compiling chacha-armv8-apple.S
[73/664] Compiling chacha-armv4-linux.S
[74/664] Compiling aes128gcmsiv-x86_64-linux.S
[75/664] Compiling aes128gcmsiv-x86_64-apple.S
[76/664] Compiling x86_64-mont5-linux.S
[77/664] Compiling x86_64-mont5-apple.S
[78/664] Compiling x86_64-mont-linux.S
[79/664] Compiling x86_64-mont-apple.S
[80/664] Compiling x86-mont-linux.S
[81/664] Compiling x86-mont-apple.S
[82/664] Compiling vpaes-x86_64-linux.S
[83/664] Compiling vpaes-x86_64-apple.S
[84/664] Compiling vpaes-x86-linux.S
[85/664] Compiling vpaes-x86-apple.S
[86/664] Compiling vpaes-armv8-win.S
[87/664] Compiling vpaes-armv8-linux.S
[88/664] Compiling vpaes-armv8-apple.S
[89/664] Compiling vpaes-armv7-linux.S
[90/664] Compiling sha512-x86_64-linux.S
[91/664] Compiling sha512-x86_64-apple.S
[92/664] Compiling sha512-armv8-win.S
[93/664] Compiling sha512-armv8-linux.S
[94/664] Compiling sha512-armv8-apple.S
[95/664] Compiling sha512-armv4-linux.S
[96/664] Compiling sha512-586-linux.S
[97/664] Compiling sha512-586-apple.S
[98/664] Compiling sha256-x86_64-linux.S
[99/664] Compiling sha256-x86_64-apple.S
[100/664] Compiling sha256-armv8-win.S
[101/664] Compiling sha256-armv8-linux.S
[102/664] Compiling sha256-armv8-apple.S
[103/664] Compiling sha256-armv4-linux.S
[104/664] Compiling sha256-586-linux.S
[105/664] Compiling sha256-586-apple.S
[106/664] Compiling sha1-x86_64-linux.S
[107/664] Compiling sha1-x86_64-apple.S
[108/664] Compiling sha1-armv8-win.S
[110/664] Compiling RealModule Float80+Real.swift
[111/664] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[112/664] Compiling InternalCollectionsUtilities _SortedCollection.swift
[113/664] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[113/664] Compiling sha1-armv8-linux.S
[114/664] Compiling sha1-armv8-apple.S
[116/664] Compiling SwiftProtobuf AnyMessageStorage.swift
[117/664] Compiling SwiftProtobuf AnyUnpackError.swift
[118/664] Compiling RealModule Float16+Real.swift
[119/664] Compiling SwiftProtobuf Google_Protobuf_Any+Extensions.swift
[120/664] Compiling SwiftProtobuf Google_Protobuf_Any+Registry.swift
[121/664] Compiling SwiftProtobuf Google_Protobuf_Duration+Extensions.swift
[122/664] Compiling SwiftProtobuf Google_Protobuf_FieldMask+Extensions.swift
[122/664] Compiling sha1-armv4-large-linux.S
[124/664] Compiling SwiftProtobuf Google_Protobuf_ListValue+Extensions.swift
[125/664] Compiling SwiftProtobuf Google_Protobuf_NullValue+Extensions.swift
[126/664] Compiling SwiftProtobuf Google_Protobuf_Struct+Extensions.swift
[127/664] Compiling SwiftProtobuf Google_Protobuf_Timestamp+Extensions.swift
[128/664] Compiling Logging LoggingSystem.swift
[129/665] Compiling SwiftProtobuf BinaryEncodingError.swift
[130/665] Compiling SwiftProtobuf BinaryEncodingOptions.swift
[131/665] Compiling SwiftProtobuf BinaryEncodingSizeVisitor.swift
[132/665] Compiling SwiftProtobuf BinaryEncodingVisitor.swift
[133/665] Compiling SwiftProtobuf Google_Protobuf_Value+Extensions.swift
[134/665] Compiling SwiftProtobuf Google_Protobuf_Wrappers+Extensions.swift
[135/665] Compiling SwiftProtobuf HashVisitor.swift
[136/665] Compiling SwiftProtobuf Internal.swift
[137/665] Compiling RealModule Real.swift
[138/665] Compiling RealModule RealFunctions.swift
[139/665] Compiling SwiftProtobuf AsyncMessageSequence.swift
[140/665] Compiling SwiftProtobuf BinaryDecoder.swift
[140/665] Compiling sha1-586-linux.S
[142/665] Compiling SwiftProtobuf BinaryDecodingError.swift
[143/665] Compiling SwiftProtobuf BinaryDecodingOptions.swift
[144/665] Compiling SwiftProtobuf BinaryDelimited.swift
[145/665] Compiling SwiftProtobuf BinaryEncoder.swift
[152/665] Compiling SwiftProtobuf BytecodeInterpreter.swift
[153/665] Compiling SwiftProtobuf BytecodeReader.swift
[154/665] Compiling SwiftProtobuf CustomJSONCodable.swift
[155/665] Compiling SwiftProtobuf Decoder.swift
[156/665] Compiling RealModule RelaxedArithmetic.swift
[157/667] Compiling ModularArithmetic Scalar.swift
[159/667] Compiling sha1-586-apple.S
[161/667] Compiling ModularArithmetic Modulus.swift
[162/667] Emitting module ModularArithmetic
[165/668] Compiling Logging Logger+Attributes.swift
[165/668] Compiling rsaz-avx2-linux.S
[167/668] Compiling rsaz-avx2-apple.S
[169/672] Compiling Logging Logger.swift
[170/672] Compiling Logging Logger+With.swift
[171/680] Emitting module SpanPreview
[172/681] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[173/690] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[174/690] Compiling SpanPreview InputSpan.swift
[175/778] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[177/794] Compiling _RopeModule BigString+Chunk+Index.swift
[178/794] Compiling _RopeModule BigString+Chunk+RopeElement.swift
[179/810] Compiling HeapModule Heap+Descriptions.swift
[180/810] Compiling _RopeModule BigString+Index.swift
[181/810] Compiling _RopeModule BigString+Ingester.swift
[182/810] Compiling _RopeModule BigString+Builder.swift
[183/810] Compiling _RopeModule BigString+Contents.swift
[184/810] Compiling _RopeModule BigString+Debugging.swift
[185/834] Compiling HeapModule _HeapNode.swift
[186/860] Compiling HashTreeCollections _HashNode+Invariants.swift
[187/860] Compiling HashTreeCollections _HashNode+Lookups.swift
[188/866] Compiling HeapModule Heap.swift
[189/879] Compiling HashTreeCollections _HashNode+Builder.swift
[190/879] Compiling HashTreeCollections _HashNode+Debugging.swift
[191/879] Compiling HashTreeCollections _HashNode+Initializers.swift
[192/886] Compiling HeapModule Heap+UnsafeHandle.swift
[193/886] Compiling HeapModule Heap+Testing.swift
[194/886] Compiling HeapModule Heap+Invariants.swift
[195/886] Emitting module HeapModule
[197/926] Compiling DequeModule RigidDeque+Prepend.swift
[198/926] Compiling DequeModule RigidDeque+Removals.swift
[199/926] Compiling DequeModule RigidDeque+Replacements.swift
[200/926] Compiling DequeModule RigidDeque+Testing.swift
[201/926] Compiling DequeModule RigidDeque.swift
[202/926] Compiling DequeModule UniqueDeque+Append.swift
[203/926] Compiling DequeModule UniqueDeque+Consumption.swift
[204/926] Compiling DequeModule UniqueDeque+ContainerOperations.swift
[205/936] Compiling HashTreeCollections TreeSet+Hashable.swift
[206/936] Compiling HashTreeCollections TreeSet+Sendable.swift
[207/936] Compiling HashTreeCollections TreeSet+Sequence.swift
[208/936] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[209/936] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[210/936] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[211/936] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[212/936] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[213/936] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[214/936] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[215/946] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[216/946] Compiling HashTreeCollections TreeDictionary+Keys.swift
[217/946] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[218/946] Compiling HashTreeCollections TreeDictionary+Merge.swift
[219/946] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[220/946] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[221/946] Compiling HashTreeCollections TreeDictionary+Values.swift
[222/946] Compiling HashTreeCollections TreeDictionary.swift
[223/946] Compiling DequeModule UniqueDeque+Removals.swift
[224/946] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[225/946] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[226/946] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[227/946] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[228/946] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[229/946] Compiling HashTreeCollections TreeDictionary+Filter.swift
[230/946] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[231/946] Compiling DequeModule Deque+Testing.swift
[232/946] Compiling DequeModule Deque._Storage.swift
[233/946] Compiling DequeModule Deque._UnsafeHandle.swift
[234/946] Compiling DequeModule Deque.swift
[235/946] Compiling DequeModule _DequeBuffer.swift
[236/946] Compiling DequeModule _DequeBufferHeader.swift
[237/946] Compiling DequeModule RigidDeque+Append.swift
[238/946] Compiling DequeModule RigidDeque+Consumption.swift
[239/946] Compiling DequeModule RigidDeque+ContainerOperations.swift
[240/946] Compiling DequeModule RigidDeque+Deprecations.swift
[241/946] Compiling DequeModule RigidDeque+Descriptions.swift
[242/946] Compiling DequeModule RigidDeque+Equatable.swift
[243/946] Compiling DequeModule RigidDeque+Hashable.swift
[244/946] Compiling DequeModule RigidDeque+Initializers.swift
[245/946] Compiling DequeModule RigidDeque+Insertions.swift
[246/946] Compiling DequeModule RigidDeque+Iterable.swift
[251/946] Compiling DequeModule UniqueDeque+Deprecations.swift
[252/946] Compiling DequeModule UniqueDeque+Descriptions.swift
[253/946] Compiling DequeModule UniqueDeque+Equatable.swift
[254/946] Compiling DequeModule UniqueDeque+Hashable.swift
[255/946] Compiling DequeModule UniqueDeque+Initializers.swift
[256/946] Compiling DequeModule UniqueDeque+Insertions.swift
[257/946] Compiling DequeModule UniqueDeque+Iterable.swift
[258/946] Compiling DequeModule UniqueDeque+Prepend.swift
[261/951] Compiling OrderedCollections OrderedSet+Sendable.swift
[262/951] Compiling OrderedCollections OrderedSet+SubSequence.swift
[263/951] Compiling OrderedCollections OrderedSet+Testing.swift
[264/951] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[265/951] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[266/951] Compiling OrderedCollections OrderedSet.swift
[267/951] Compiling OrderedCollections UnsafeBitset.swift
[268/951] Compiling HashTreeCollections TreeSet+Extras.swift
[269/951] Compiling HashTreeCollections TreeSet+Filter.swift
[286/960] Compiling DequeModule _UnsafeDequeHandle.swift
[287/960] Compiling DequeModule _UnsafeDequeSegments.swift
[305/960] Compiling DequeModule UniqueDeque+Replacements.swift
[306/960] Compiling DequeModule UniqueDeque.swift
[307/960] Compiling DequeModule _DequeSlot.swift
[320/960] Emitting module SwiftASN1
[321/960] Compiling DequeModule Deque+CustomReflectable.swift
[322/960] Compiling DequeModule Deque+Descriptions.swift
[323/960] Compiling DequeModule Deque+Codable.swift
[324/960] Compiling DequeModule Deque+Collection.swift
[325/960] Emitting module Logging
[336/960] Compiling Logging MetadataProvider.swift
[341/961] Compiling _RopeModule String Utilities.swift
[342/961] Compiling _RopeModule String.Index+ABI.swift
[343/961] Compiling _RopeModule _CharacterRecognizer.swift
[344/961] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[345/961] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[346/961] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[347/961] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[348/961] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[349/961] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[350/961] Compiling HashTreeCollections TreeSet.swift
[365/962] Compiling DequeModule Deque+Equatable.swift
[366/962] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[367/962] Compiling DequeModule Deque+Extras.swift
[368/962] Compiling DequeModule Deque+Hashable.swift
[390/962] Wrapping AST for SpanPreview for debugging
[392/962] 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 |
[393/973] Compiling MemoryMapping MMapDictionaryError.swift
[393/973] Wrapping AST for SwiftASN1 for debugging
[394/973] Wrapping AST for RealModule for debugging
[404/973] Wrapping AST for ModularArithmetic for debugging
[406/973] Emitting module MemoryMapping
[407/973] Compiling MemoryMapping MMapDictionary.swift
[407/973] Wrapping AST for Logging for debugging
BUILD FAILURE 6.3 android