Build Information
Failed to build swift-homomorphic-encryption, reference main (76fdde), with Swift 6.3 for Android on 14 Oct 2026 05:23:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-1":/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>&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.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-53886768-1":/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:a57e63703100e13e1ecb61b565870501ccb169d7515bc7af7f0994f211e1b1f6
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-protobuf
[1/18643] Fetching swift-crypto
[747/25464] Fetching swift-crypto, swift-async-algorithms
[1803/33755] Fetching swift-crypto, swift-async-algorithms, swift-log
[1804/40511] Fetching swift-crypto, swift-async-algorithms, swift-log, swift-numerics
[11308/59625] Fetching swift-crypto, swift-async-algorithms, swift-log, swift-numerics, swift-argument-parser
Fetched https://github.com/apple/swift-log.git from cache (0.73s)
[25558/51334] Fetching swift-crypto, swift-async-algorithms, swift-numerics, swift-argument-parser
Fetching https://github.com/apple/swift-collections.git
[36235/106418] Fetching swift-crypto, swift-async-algorithms, swift-numerics, swift-argument-parser, swift-protobuf
[62352/135199] Fetching swift-crypto, swift-async-algorithms, swift-numerics, swift-argument-parser, swift-protobuf, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.76s)
Fetching https://github.com/apple/swift-algorithms
[94300/106418] Fetching swift-crypto, swift-async-algorithms, swift-numerics, swift-argument-parser, swift-protobuf
[103114/112577] Fetching swift-crypto, swift-async-algorithms, swift-numerics, swift-argument-parser, swift-protobuf, swift-algorithms
Fetched https://github.com/apple/swift-algorithms from cache (0.68s)
Fetched https://github.com/apple/swift-numerics from cache (6.31s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (6.31s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (6.32s)
Fetched https://github.com/apple/swift-crypto.git from cache (6.33s)
Fetched https://github.com/apple/swift-protobuf from cache (6.36s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (7.27s)
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.19s)
Computing version for https://github.com/apple/swift-protobuf
Computed https://github.com/apple/swift-protobuf at 1.39.0 (0.18s)
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 3.15.1 (0.23s)
Fetching https://github.com/apple/swift-asn1.git
[1/2041] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.66s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.86s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (0.16s)
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-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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.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-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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
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-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
[1/1] Compiling plugin SwiftProtobufPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/495] Write sources
[34/495] Compiling _NumericsShims _NumericsShims.c
[35/495] Write sources
[42/495] Compiling CUtil zeroize.c
[43/495] Compiling fiat_curve25519_adx_square.S
[44/495] Write swift-version-272D24FF697CF451.txt
[45/495] Compiling fiat_p256_adx_sqr.S
[46/495] Compiling fiat_curve25519_adx_mul.S
[47/495] Compiling fiat_p256_adx_mul.S
[48/495] Compiling md5-x86_64-linux.S
[49/495] Compiling md5-x86_64-apple.S
[50/495] Compiling md5-586-apple.S
[51/495] Compiling md5-586-linux.S
[52/595] Compiling CCryptoBoringSSLShims shims.c
[54/653] Emitting module RealModule
[55/654] Emitting module ModularArithmetic
[55/654] Compiling err_data.cc
[56/654] Compiling chacha20_poly1305_x86_64-linux.S
[57/654] Compiling chacha20_poly1305_x86_64-apple.S
[58/654] Compiling chacha20_poly1305_armv8-win.S
[59/654] Compiling chacha20_poly1305_armv8-linux.S
[60/654] Compiling chacha20_poly1305_armv8-apple.S
[61/654] Compiling chacha-x86_64-linux.S
[62/654] Compiling chacha-x86_64-apple.S
[63/654] Compiling chacha-x86-linux.S
[64/654] Compiling chacha-x86-apple.S
[65/654] Compiling chacha-armv8-win.S
[67/654] Emitting module InternalCollectionsUtilities
[67/657] Compiling chacha-armv8-linux.S
[68/657] Compiling chacha-armv8-apple.S
[69/657] Compiling chacha-armv4-linux.S
[70/657] Compiling aes128gcmsiv-x86_64-linux.S
[71/657] Compiling aes128gcmsiv-x86_64-apple.S
[72/657] Compiling x86_64-mont5-linux.S
[73/657] Compiling x86_64-mont5-apple.S
[74/657] Compiling x86_64-mont-linux.S
[75/657] Compiling x86_64-mont-apple.S
[76/657] Compiling x86-mont-linux.S
[77/657] Compiling x86-mont-apple.S
[78/657] Compiling vpaes-x86_64-linux.S
[79/657] Compiling vpaes-x86_64-apple.S
[80/657] Compiling vpaes-x86-linux.S
[81/657] Compiling vpaes-x86-apple.S
[82/657] Compiling vpaes-armv8-win.S
[83/657] Compiling vpaes-armv8-linux.S
[84/657] Compiling vpaes-armv8-apple.S
[85/657] Compiling vpaes-armv7-linux.S
[86/657] Compiling sha512-x86_64-linux.S
[87/657] Compiling sha512-x86_64-apple.S
[88/657] Compiling sha512-armv8-win.S
[89/657] Compiling sha512-armv8-linux.S
[90/657] Compiling sha512-armv8-apple.S
[91/657] Compiling sha512-armv4-linux.S
[92/657] Compiling sha512-586-linux.S
[93/657] Compiling sha512-586-apple.S
[94/657] Compiling sha256-x86_64-linux.S
[95/657] Compiling sha256-x86_64-apple.S
[96/657] Compiling sha256-armv8-win.S
[97/657] Compiling sha256-armv8-linux.S
[98/657] Compiling sha256-armv8-apple.S
[99/657] Compiling sha256-armv4-linux.S
[100/657] Compiling sha256-586-linux.S
[101/657] Compiling sha256-586-apple.S
[102/657] Compiling sha1-x86_64-linux.S
[103/657] Compiling sha1-x86_64-apple.S
[104/657] Compiling sha1-armv8-win.S
[105/657] Compiling sha1-armv8-linux.S
[106/657] Compiling sha1-armv8-apple.S
[108/657] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[109/657] Compiling InternalCollectionsUtilities _SortedCollection.swift
[110/657] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[111/657] Compiling RealModule RelaxedArithmetic.swift
[112/657] Compiling SwiftProtobuf BinaryDelimited.swift
[113/657] Compiling SwiftProtobuf BinaryEncoder.swift
[114/657] Compiling SwiftProtobuf AsyncMessageSequence.swift
[115/657] Compiling SwiftProtobuf BinaryDecoder.swift
[116/657] Compiling SwiftProtobuf BinaryDecodingError.swift
[117/657] Compiling SwiftProtobuf BinaryDecodingOptions.swift
[118/659] Compiling SwiftASN1 DER.swift
[119/659] Compiling SwiftASN1 Errors.swift
[120/659] Compiling SwiftProtobuf ExtensibleMessage.swift
[121/659] Compiling SwiftProtobuf ExtensionFieldValueSet.swift
[122/659] Compiling SwiftProtobuf ExtensionFields.swift
[123/659] Compiling SwiftProtobuf ExtensionMap.swift
[124/659] Compiling SwiftProtobuf FieldTag.swift
[125/659] Compiling RealModule Float80+Real.swift
[126/659] Compiling RealModule Real.swift
[127/659] Compiling SwiftProtobuf AnyMessageStorage.swift
[128/659] Compiling SwiftProtobuf AnyUnpackError.swift
[131/659] Compiling sha1-armv4-large-linux.S
[133/659] Compiling SwiftProtobuf FieldTypes.swift
[134/659] Compiling SwiftProtobuf JSONDecoder.swift
[135/659] Compiling SwiftProtobuf JSONDecodingError.swift
[136/659] Compiling SwiftProtobuf JSONDecodingOptions.swift
[137/660] Compiling SwiftProtobuf BinaryEncodingError.swift
[138/660] Compiling SwiftProtobuf BinaryEncodingOptions.swift
[139/660] Compiling SwiftProtobuf BinaryEncodingSizeVisitor.swift
[140/660] Compiling SwiftProtobuf BinaryEncodingVisitor.swift
[141/660] Compiling SwiftProtobuf BytecodeInterpreter.swift
[142/660] Compiling SwiftProtobuf BytecodeReader.swift
[143/660] Compiling SwiftProtobuf CustomJSONCodable.swift
[144/660] Compiling SwiftProtobuf Decoder.swift
[156/660] Compiling sha1-586-linux.S
[158/661] Compiling Logging Logger+Attributes.swift
[159/661] Compiling RealModule Float16+Real.swift
[160/661] Compiling RealModule RealFunctions.swift
[163/662] Compiling Logging Logger.swift
[164/662] Compiling Logging Logger+With.swift
[165/662] Compiling Logging LoggingSystem.swift
[165/662] Compiling sha1-586-apple.S
[167/669] Compiling ModularArithmetic Scalar.swift
[167/673] Wrapping AST for RealModule for debugging
[169/673] Compiling ModularArithmetic Modulus.swift
[171/748] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[172/748] Compiling SpanPreview InputSpan.swift
[173/748] Emitting module SpanPreview
[174/748] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[175/749] Compiling _RopeModule BigString+Ingester.swift
[176/749] Compiling _RopeModule BigString+Invariants.swift
[178/754] Compiling ComplexModule Polar.swift
[179/809] Compiling OrderedCollections _HashTable+Bucket.swift
[180/809] Compiling OrderedCollections _HashTable+BucketIterator.swift
[181/815] Compiling ComplexModule Complex.swift
[182/815] Compiling ComplexModule Complex+StringConvertible.swift
[183/815] Compiling ComplexModule Complex+Numeric.swift
[184/815] Compiling ComplexModule Scale.swift
[185/815] Compiling HeapModule Heap+Invariants.swift
[186/815] Emitting module HeapModule
[187/815] Compiling HeapModule Heap+Descriptions.swift
[188/815] Emitting module ComplexModule
[191/815] Compiling OrderedCollections _HashTable+Constants.swift
[193/815] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[195/816] Compiling HeapModule Heap.swift
[196/816] Compiling HeapModule _HeapNode.swift
[197/816] Compiling HeapModule Heap+UnsafeHandle.swift
[198/816] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[199/816] Compiling HeapModule Heap+Testing.swift
[200/817] Emitting module SwiftASN1
[202/854] Compiling HashTreeCollections TreeDictionary+Keys.swift
[203/854] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[204/895] Compiling HashTreeCollections _UnsafePath.swift
[205/895] Compiling HashTreeCollections TreeDictionary+Codable.swift
[206/895] Compiling HashTreeCollections TreeDictionary+Collection.swift
[207/895] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[208/895] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[209/895] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[210/895] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[211/895] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[212/902] Compiling Numerics Numerics.swift
[213/902] Compiling HashTreeCollections _HashNode+Storage.swift
[214/902] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[215/902] Compiling HashTreeCollections _HashNode+Structural filter.swift
[216/902] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[217/902] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[218/902] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[219/902] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[220/902] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[221/902] Emitting module Numerics
[223/945] Emitting module SwiftProtobuf
[224/956] Compiling DequeModule RigidDeque+ContainerOperations.swift
[225/956] Compiling DequeModule RigidDeque+Deprecations.swift
[226/956] Compiling DequeModule RigidDeque+Descriptions.swift
[227/956] Compiling DequeModule RigidDeque+Equatable.swift
[228/956] Compiling DequeModule RigidDeque+Hashable.swift
[229/956] Compiling DequeModule RigidDeque+Initializers.swift
[230/956] Compiling DequeModule RigidDeque+Insertions.swift
[231/956] Compiling DequeModule RigidDeque+Iterable.swift
[232/956] Compiling DequeModule UniqueDeque+Deprecations.swift
[233/956] Compiling DequeModule UniqueDeque+Descriptions.swift
[234/956] Compiling DequeModule UniqueDeque+Equatable.swift
[235/956] Compiling DequeModule UniqueDeque+Hashable.swift
[236/956] Compiling DequeModule UniqueDeque+Initializers.swift
[237/956] Compiling DequeModule UniqueDeque+Insertions.swift
[238/956] Compiling DequeModule UniqueDeque+Iterable.swift
[239/956] Compiling DequeModule UniqueDeque+Prepend.swift
[240/956] Compiling DequeModule Deque+Testing.swift
[241/956] Compiling DequeModule Deque._Storage.swift
[242/956] Compiling DequeModule Deque._UnsafeHandle.swift
[243/956] Compiling DequeModule Deque.swift
[244/956] Compiling DequeModule _DequeBuffer.swift
[245/956] Compiling DequeModule _DequeBufferHeader.swift
[246/956] Compiling DequeModule RigidDeque+Append.swift
[247/956] Compiling DequeModule RigidDeque+Consumption.swift
[248/956] Compiling DequeModule UniqueDeque+Consumption.swift
[249/956] Compiling DequeModule UniqueDeque+ContainerOperations.swift
[264/961] Compiling DequeModule UniqueDeque+Removals.swift
[282/971] Compiling DequeModule RigidDeque+Prepend.swift
[283/971] Compiling DequeModule RigidDeque+Removals.swift
[284/971] Compiling DequeModule RigidDeque+Replacements.swift
[285/971] Compiling DequeModule RigidDeque+Testing.swift
[286/971] Compiling DequeModule RigidDeque.swift
[287/971] Compiling DequeModule UniqueDeque+Append.swift
[289/971] Compiling DequeModule UniqueDeque+Replacements.swift
[290/971] Compiling DequeModule UniqueDeque.swift
[291/971] Compiling DequeModule _DequeSlot.swift
[292/971] Compiling DequeModule _UnsafeDequeHandle.swift
[293/971] Compiling DequeModule _UnsafeDequeSegments.swift
[294/971] Compiling HashTreeCollections _RawHashNode.swift
[295/971] Compiling HashTreeCollections _UnmanagedHashNode.swift
[302/971] Compiling OrderedCollections OrderedSet+Sendable.swift
[303/971] Compiling OrderedCollections OrderedSet+SubSequence.swift
[304/971] Compiling OrderedCollections OrderedSet+Testing.swift
[305/971] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[306/971] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[307/971] Compiling OrderedCollections OrderedSet.swift
[308/971] Compiling OrderedCollections _UnsafeBitset.swift
[309/971] Compiling HashTreeCollections _HashSlot.swift
[310/971] Compiling HashTreeCollections _HashStack.swift
[311/971] Compiling HashTreeCollections TreeSet+Hashable.swift
[312/971] Compiling HashTreeCollections TreeSet+Sendable.swift
[313/971] Compiling HashTreeCollections TreeSet+Sequence.swift
[314/971] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[315/980] Compiling DequeModule Deque+Codable.swift
[316/980] Compiling DequeModule Deque+Collection.swift
[317/980] Compiling DequeModule Deque+CustomReflectable.swift
[318/980] Compiling DequeModule Deque+Descriptions.swift
[319/980] Compiling DequeModule Deque+Equatable.swift
[320/980] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[321/980] Compiling DequeModule Deque+Extras.swift
[322/980] Compiling DequeModule Deque+Hashable.swift
[348/980] Compiling Logging MetadataProvider.swift
[349/980] Emitting module Logging
[387/982] Wrapping AST for SpanPreview for debugging
[389/982] Compiling MemoryMapping MMapDictionaryError.swift
[390/982] 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 |
[391/982] Compiling _RopeModule Rope+Remove.swift
[392/982] Compiling _RopeModule Rope+RemoveSubrange.swift
[393/982] Compiling _RopeModule Rope+Split.swift
[394/982] Compiling _RopeModule Optional Utilities.swift
[395/982] Compiling _RopeModule String Utilities.swift
[396/982] Compiling _RopeModule String.Index+ABI.swift
[397/982] Compiling _RopeModule _CharacterRecognizer.swift
[398/982] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[399/982] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[400/982] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[401/982] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[402/982] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[413/982] Compiling _RopeModule Rope+Join.swift
[414/982] Compiling _RopeModule Rope+MutatingForEach.swift
[414/982] Wrapping AST for Numerics for debugging
[415/982] Wrapping AST for SwiftASN1 for debugging
[425/982] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[426/982] Compiling HashTreeCollections TreeSet.swift
[427/982] Compiling MemoryMapping MMapDictionary.swift
[428/982] Emitting module MemoryMapping
[428/982] Wrapping AST for ModularArithmetic for debugging
[429/982] Wrapping AST for InternalCollectionsUtilities for debugging
[439/982] Wrapping AST for Logging for debugging
BUILD FAILURE 6.3 android