Build Information
Failed to build swift-homomorphic-encryption, reference main (76fdde), with Swift 6.2 for Android on 14 Oct 2026 05:23:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-2":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.2
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 76fddec Fix accumulator overflow in modular matrix multiplication (#336)
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 @):
76fddecbfb0ccfdf4883028e81fcfda00877605e
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.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-53886768-2":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:a839c9ce201f1dacc8eb056626ec7ab0a1c6d53d7b77c83feda395f4507c51be
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-protobuf
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-log.git
[1/8291] Fetching swift-log
[2/26934] Fetching swift-log, swift-crypto
[3193/33690] Fetching swift-log, swift-crypto, swift-numerics
[3697/40511] Fetching swift-log, swift-crypto, swift-numerics, swift-async-algorithms
[23734/69292] Fetching swift-log, swift-crypto, swift-numerics, swift-async-algorithms, swift-collections
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.63s)
Fetching https://github.com/apple/swift-argument-parser.git
[17488/62471] Fetching swift-log, swift-crypto, swift-numerics, swift-collections
[37724/117555] Fetching swift-log, swift-crypto, swift-numerics, swift-collections, swift-protobuf
[66863/136669] Fetching swift-log, swift-crypto, swift-numerics, swift-collections, swift-protobuf, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.42s)
Fetching https://github.com/apple/swift-algorithms
[83954/117555] Fetching swift-log, swift-crypto, swift-numerics, swift-collections, swift-protobuf
Fetched https://github.com/apple/swift-log.git from cache (2.09s)
[77316/109264] Fetching swift-crypto, swift-numerics, swift-collections, swift-protobuf
Fetched https://github.com/apple/swift-numerics from cache (2.10s)
Fetched https://github.com/apple/swift-collections.git from cache (2.11s)
[42330/73727] Fetching swift-crypto, swift-protobuf
Fetched https://github.com/apple/swift-crypto.git from cache (2.12s)
[24788/55084] Fetching swift-protobuf
[42416/61243] Fetching swift-protobuf, swift-algorithms
Fetched https://github.com/apple/swift-algorithms from cache (0.56s)
[44619/55084] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf from cache (6.14s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (7.03s)
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-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.3 (0.24s)
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.21s)
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.15s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.44s)
Fetching https://github.com/apple/swift-asn1.git
[1/2041] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.52s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.72s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (0.15s)
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-protobuf
Working copy of https://github.com/apple/swift-protobuf resolved at 1.39.0
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.3
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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.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.16.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
[1/1] Compiling plugin SwiftProtobufPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/495] Write sources
[41/495] Compiling _NumericsShims _NumericsShims.c
[42/495] Compiling fiat_curve25519_adx_square.S
[43/495] Compiling fiat_curve25519_adx_mul.S
[44/495] Compiling fiat_p256_adx_mul.S
[45/495] Compiling md5-x86_64-linux.S
[46/495] Compiling fiat_p256_adx_sqr.S
[47/495] Compiling md5-x86_64-apple.S
[48/495] Compiling md5-586-linux.S
[48/495] Compiling chacha20_poly1305_x86_64-linux.S
[50/495] Write swift-version--11D90AFD9DD3AB2.txt
[50/495] Compiling CUtil zeroize.c
[52/495] Compiling md5-586-apple.S
[53/495] Compiling chacha20_poly1305_x86_64-apple.S
[54/495] Compiling chacha20_poly1305_armv8-win.S
[55/495] Compiling chacha20_poly1305_armv8-apple.S
[56/495] Compiling chacha-x86_64-linux.S
[57/495] Compiling chacha20_poly1305_armv8-linux.S
[58/604] Compiling CCryptoBoringSSLShims shims.c
[59/653] Compiling err_data.cc
[60/653] Compiling chacha-x86_64-apple.S
[61/653] Compiling chacha-x86-linux.S
[62/653] Compiling chacha-x86-apple.S
[63/653] Compiling chacha-armv8-win.S
[64/653] Compiling chacha-armv8-linux.S
[65/653] Compiling chacha-armv8-apple.S
[66/653] Compiling chacha-armv4-linux.S
[67/653] Compiling aes128gcmsiv-x86_64-linux.S
[68/653] Compiling aes128gcmsiv-x86_64-apple.S
[69/653] Compiling x86_64-mont5-linux.S
[70/653] Compiling x86_64-mont5-apple.S
[71/653] Compiling x86_64-mont-linux.S
[72/653] Compiling x86_64-mont-apple.S
[73/653] Compiling x86-mont-linux.S
[74/653] Compiling x86-mont-apple.S
[75/653] Compiling vpaes-x86_64-linux.S
[76/653] Compiling vpaes-x86_64-apple.S
[77/653] Compiling vpaes-x86-linux.S
[78/653] Compiling vpaes-x86-apple.S
[79/653] Compiling vpaes-armv8-win.S
[80/653] Compiling vpaes-armv8-linux.S
[81/653] Compiling vpaes-armv8-apple.S
[82/653] Compiling vpaes-armv7-linux.S
[83/653] Compiling sha512-x86_64-linux.S
[84/653] Compiling sha512-x86_64-apple.S
[85/653] Compiling sha512-armv8-win.S
[86/653] Compiling sha512-armv8-linux.S
[87/653] Compiling sha512-armv8-apple.S
[88/653] Compiling sha512-armv4-linux.S
[89/653] Compiling sha512-586-linux.S
[90/653] Compiling sha512-586-apple.S
[91/653] Compiling sha256-x86_64-linux.S
[92/653] Compiling sha256-x86_64-apple.S
[93/653] Compiling sha256-armv8-win.S
[94/653] Compiling sha256-armv8-linux.S
[95/653] Compiling sha256-armv8-apple.S
[96/653] Compiling sha256-armv4-linux.S
[97/653] Compiling sha256-586-linux.S
[98/653] Compiling sha256-586-apple.S
[99/653] Compiling sha1-x86_64-linux.S
[100/653] Compiling sha1-x86_64-apple.S
[101/653] Compiling sha1-armv8-win.S
[102/653] Compiling sha1-armv8-linux.S
[103/653] Compiling sha1-armv8-apple.S
[104/653] Compiling sha1-armv4-large-linux.S
[105/653] Compiling sha1-586-linux.S
[106/653] Compiling sha1-586-apple.S
[107/653] Compiling rsaz-avx2-linux.S
[108/653] Compiling rsaz-avx2-apple.S
[110/653] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[111/653] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[112/653] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[113/656] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[114/656] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[115/656] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[116/656] Compiling InternalCollectionsUtilities Span+Extras.swift
[117/656] Compiling RealModule Real.swift
[118/656] Compiling RealModule RealFunctions.swift
[118/657] Compiling rdrand-x86_64-linux.S
[120/657] Emitting module InternalCollectionsUtilities
[121/657] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[122/657] Compiling InternalCollectionsUtilities Integer rank.swift
[123/657] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[124/657] Compiling InternalCollectionsUtilities UInt+reversed.swift
[125/657] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[126/657] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[127/657] Compiling InternalCollectionsUtilities Debugging.swift
[128/657] Compiling InternalCollectionsUtilities Descriptions.swift
[131/657] Emitting module RealModule
[132/657] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[133/657] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[134/657] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[135/657] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[136/657] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[137/657] Compiling InternalCollectionsUtilities String+Padding.swift
[138/657] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[139/657] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[140/657] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[141/657] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[142/657] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[143/657] Compiling InternalCollectionsUtilities MutableRef.swift
[146/657] Compiling RealModule Float80+Real.swift
[146/657] Compiling rdrand-x86_64-apple.S
[148/657] Compiling Logging LoggingSystem.swift
[149/658] Compiling RealModule RelaxedArithmetic.swift
[152/658] Compiling Logging Logger+Attributes.swift
[152/658] Compiling p256_beeu-x86_64-asm-linux.S
[156/658] Compiling RealModule Float16+Real.swift
[156/658] Compiling p256_beeu-x86_64-asm-apple.S
[158/659] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[159/659] Compiling InternalCollectionsUtilities _SortedCollection.swift
[160/659] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[162/662] Compiling p256_beeu-armv8-asm-win.S
[166/662] Emitting module ModularArithmetic
[167/662] Compiling ModularArithmetic Modulus.swift
[168/662] Compiling ModularArithmetic Scalar.swift
[168/662] Compiling p256_beeu-armv8-asm-linux.S
[170/663] Compiling Logging Logger+With.swift
[171/663] Compiling Logging Logger.swift
[176/794] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[177/794] Compiling SpanPreview InputSpan.swift
[178/794] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[179/794] Emitting module SpanPreview
[181/803] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[182/803] Compiling HeapModule Heap+Descriptions.swift
[183/821] Compiling HashTreeCollections _HashNode+Debugging.swift
[184/821] Compiling HashTreeCollections _HashNode+Initializers.swift
[185/824] Compiling HashTreeCollections _HashNode+Invariants.swift
[186/824] Compiling HashTreeCollections _HashNode+Lookups.swift
[187/879] Compiling HeapModule _HeapNode.swift
[188/879] Compiling HeapModule Heap.swift
[189/879] Compiling HashTreeCollections _AncestorHashSlots.swift
[190/879] Compiling HashTreeCollections _Bitmap.swift
[191/879] Compiling HashTreeCollections _Bucket.swift
[192/879] Compiling HeapModule Heap+Testing.swift
[193/879] Compiling HeapModule Heap+Invariants.swift
[194/879] Compiling HeapModule Heap+UnsafeHandle.swift
[195/879] Emitting module HeapModule
[197/880] Compiling HashTreeCollections TreeDictionary+Collection.swift
[198/880] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[199/880] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[200/880] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[201/880] Compiling HashTreeCollections TreeDictionary.swift
[202/880] Compiling HashTreeCollections TreeSet+Codable.swift
[203/880] Compiling HashTreeCollections TreeSet+Collection.swift
[204/880] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[205/929] Compiling HashTreeCollections TreeSet+Debugging.swift
[206/929] Compiling HashTreeCollections TreeSet+Descriptions.swift
[207/929] Compiling HashTreeCollections TreeSet+Equatable.swift
[208/929] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[209/929] Compiling HashTreeCollections TreeSet+Extras.swift
[210/929] Compiling HashTreeCollections TreeSet+Filter.swift
[211/929] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[212/929] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[213/929] Compiling HashTreeCollections TreeSet+Hashable.swift
[214/929] Compiling HashTreeCollections TreeSet+Sendable.swift
[215/929] Compiling HashTreeCollections TreeSet+Sequence.swift
[216/929] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[217/929] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[218/929] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[219/929] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[220/929] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[221/929] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[222/929] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[223/939] Compiling DequeModule RigidDeque+ContainerOperations.swift
[224/939] Compiling DequeModule RigidDeque+Deprecations.swift
[225/939] Compiling DequeModule RigidDeque+Descriptions.swift
[226/939] Compiling DequeModule RigidDeque+Equatable.swift
[227/939] Compiling DequeModule RigidDeque+Hashable.swift
[228/939] Compiling DequeModule RigidDeque+Initializers.swift
[229/939] Compiling DequeModule RigidDeque+Insertions.swift
[230/939] Compiling DequeModule RigidDeque+Iterable.swift
[231/939] Compiling DequeModule Deque+Testing.swift
[232/939] Compiling DequeModule Deque._Storage.swift
[233/939] Compiling DequeModule Deque._UnsafeHandle.swift
[234/939] Compiling DequeModule Deque.swift
[235/939] Compiling DequeModule _DequeBuffer.swift
[236/939] Compiling DequeModule _DequeBufferHeader.swift
[237/939] Compiling DequeModule RigidDeque+Append.swift
[238/939] Compiling DequeModule RigidDeque+Consumption.swift
[239/939] Compiling DequeModule UniqueDeque+Initializers.swift
[240/939] Compiling DequeModule UniqueDeque+Insertions.swift
[241/939] Compiling DequeModule UniqueDeque+Iterable.swift
[242/939] Compiling DequeModule UniqueDeque+Prepend.swift
[243/939] Compiling DequeModule UniqueDeque+Removals.swift
[246/944] Emitting module SwiftASN1
[247/944] Compiling DequeModule UniqueDeque+Consumption.swift
[248/944] Compiling DequeModule UniqueDeque+ContainerOperations.swift
[249/944] Compiling DequeModule UniqueDeque+Deprecations.swift
[250/944] Compiling DequeModule UniqueDeque+Descriptions.swift
[251/944] Compiling DequeModule UniqueDeque+Equatable.swift
[252/944] Compiling DequeModule UniqueDeque+Hashable.swift
[253/944] Compiling DequeModule _UnsafeDequeHandle.swift
[254/944] Compiling DequeModule _UnsafeDequeSegments.swift
[265/944] Compiling OrderedCollections OrderedSet+Sendable.swift
[266/944] Compiling OrderedCollections OrderedSet+SubSequence.swift
[267/944] Compiling OrderedCollections OrderedSet+Testing.swift
[268/944] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[269/944] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[270/944] Compiling OrderedCollections OrderedSet.swift
[271/944] Compiling OrderedCollections _UnsafeBitset.swift
[272/944] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[273/944] Compiling HashTreeCollections TreeDictionary+Values.swift
[274/944] Compiling DequeModule RigidDeque+Prepend.swift
[275/944] Compiling DequeModule RigidDeque+Removals.swift
[276/944] Compiling DequeModule RigidDeque+Replacements.swift
[277/944] Compiling DequeModule RigidDeque+Testing.swift
[278/944] Compiling DequeModule RigidDeque.swift
[279/944] Compiling DequeModule UniqueDeque+Append.swift
[318/953] Compiling _RopeModule String Utilities.swift
[319/953] Compiling _RopeModule String.Index+ABI.swift
[320/953] Compiling _RopeModule _CharacterRecognizer.swift
[321/953] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[322/953] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[323/953] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[324/953] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[325/953] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[326/953] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[327/953] Compiling HashTreeCollections TreeSet.swift
[328/953] Compiling DequeModule Deque+Extras.swift
[329/953] Compiling DequeModule Deque+Hashable.swift
[334/953] Compiling DequeModule Deque+Codable.swift
[335/953] Compiling DequeModule Deque+Collection.swift
[336/953] Compiling DequeModule Deque+CustomReflectable.swift
[337/953] Compiling DequeModule Deque+Descriptions.swift
[338/953] Compiling DequeModule Deque+Equatable.swift
[339/953] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[342/953] Compiling Logging MetadataProvider.swift
[343/953] Emitting module Logging
[354/953] Compiling DequeModule UniqueDeque+Replacements.swift
[355/953] Compiling DequeModule UniqueDeque.swift
[356/953] Compiling DequeModule _DequeSlot.swift
[386/966] Wrapping AST for SwiftASN1 for debugging
[388/966] Compiling MemoryMapping MMapDictionaryError.swift
[388/966] Wrapping AST for SpanPreview for debugging
[390/966] 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.2-RELEASE-android-0.1.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 |
[391/966] Compiling ComplexModule Complex+StringConvertible.swift
[391/966] Wrapping AST for RealModule for debugging
[393/967] Compiling ComplexModule Polar.swift
[393/967] Wrapping AST for ModularArithmetic for debugging
[395/967] Emitting module MemoryMapping
[396/967] Compiling MemoryMapping MMapDictionary.swift
[397/967] Compiling ComplexModule Complex+Hashable.swift
[398/967] Compiling ComplexModule Complex+IntegerLiteral.swift
[408/967] Wrapping AST for Logging for debugging
BUILD FAILURE 6.2 android