Build Information
Failed to build PrivateHeaderKit, reference main (0281f9), with Swift 6.3 for Android on 19 Apr 2026 07:41:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lynnswap/PrivateHeaderKit.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/lynnswap/PrivateHeaderKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0281f9f Merge pull request #20 from lynnswap:codex/fix-dump-fd-handling
Cloned https://github.com/lynnswap/PrivateHeaderKit.git
Revision (git rev-parse @):
0281f9f36d713f3eb5d0f967cfb55c785c988d8b
SUCCESS checkout https://github.com/lynnswap/PrivateHeaderKit.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/lynnswap/PrivateHeaderKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/lynnswap/MachOObjCSection.git
[1/2318] Fetching machoobjcsection
Fetched https://github.com/lynnswap/MachOObjCSection.git from cache (0.61s)
Fetching https://github.com/lynnswap/MachOSwiftSection.git
[1/9275] Fetching machoswiftsection
Fetched https://github.com/lynnswap/MachOSwiftSection.git from cache (1.11s)
Fetching https://github.com/MxIris-Library-Forks/swift-memberwise-init-macro
Fetching https://github.com/lynnswap/swift-apinotes.git
Fetching https://github.com/lynnswap/SourceKitD.git
Fetching https://github.com/lynnswap/DyldPrivate.git
Fetching https://github.com/MxIris-DeveloperTool-Forks/swift-clang
[1/22] Fetching dyldprivate
[2/187] Fetching dyldprivate, swift-clang
[3/423] Fetching dyldprivate, swift-clang, swift-apinotes
[424/587] Fetching dyldprivate, swift-clang, swift-apinotes, sourcekitd
[585/1254] Fetching dyldprivate, swift-clang, swift-apinotes, sourcekitd, swift-memberwise-init-macro
Fetched https://github.com/lynnswap/swift-apinotes.git from cache (0.36s)
Fetched https://github.com/MxIris-DeveloperTool-Forks/swift-clang from cache (0.36s)
Fetched https://github.com/lynnswap/SourceKitD.git from cache (0.36s)
Fetched https://github.com/lynnswap/DyldPrivate.git from cache (0.36s)
Fetching https://github.com/p-x9/AssociatedObject
Fetching https://github.com/p-x9/swift-fileio.git
Fetching https://github.com/christophhagen/BinaryCodable
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/onevcat/Rainbow
Fetched https://github.com/MxIris-Library-Forks/swift-memberwise-init-macro from cache (0.45s)
Fetching https://github.com/apple/swift-argument-parser
[1/2941] Fetching binarycodable
[884/3648] Fetching binarycodable, associatedobject
[1170/5090] Fetching binarycodable, associatedobject, rainbow
[4741/28659] Fetching binarycodable, associatedobject, rainbow, swift-collections
[5799/46188] Fetching binarycodable, associatedobject, rainbow, swift-collections, swift-argument-parser
[7443/46434] Fetching binarycodable, associatedobject, rainbow, swift-collections, swift-argument-parser, swift-fileio
Fetched https://github.com/onevcat/Rainbow from cache (0.39s)
[6370/44992] Fetching binarycodable, associatedobject, swift-collections, swift-argument-parser, swift-fileio
Fetching https://github.com/apple/swift-async-algorithms
Fetched https://github.com/christophhagen/BinaryCodable from cache (0.48s)
[4707/42051] Fetching associatedobject, swift-collections, swift-argument-parser, swift-fileio
Fetching https://github.com/swiftlang/swift-syntax.git
Fetched https://github.com/p-x9/swift-fileio.git from cache (0.55s)
Fetched https://github.com/p-x9/AssociatedObject from cache (0.55s)
[5682/41098] Fetching swift-collections, swift-argument-parser
Fetching https://github.com/lynnswap/MachOKit.git
[20594/47345] Fetching swift-collections, swift-argument-parser, swift-async-algorithms
[20657/53951] Fetching swift-collections, swift-argument-parser, swift-async-algorithms, machokit
[41461/128934] Fetching swift-collections, swift-argument-parser, swift-async-algorithms, machokit, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (1.57s)
[45420/111405] Fetching swift-collections, swift-async-algorithms, machokit, swift-syntax
Fetching https://github.com/lynnswap/FrameworkToolbox.git
Fetching https://github.com/p-x9/swift-objc-dump.git
Fetched https://github.com/lynnswap/MachOKit.git from cache (1.22s)
Fetching https://github.com/pointfreeco/swift-dependencies
Fetched https://github.com/apple/swift-async-algorithms from cache (1.34s)
[34067/98552] Fetching swift-collections, swift-syntax
[35713/98981] Fetching swift-collections, swift-syntax, swift-objc-dump
[36044/99614] Fetching swift-collections, swift-syntax, swift-objc-dump, frameworktoolbox
Fetched https://github.com/apple/swift-collections from cache (2.21s)
[13811/82814] Fetching swift-syntax, swift-objc-dump, frameworktoolbox, swift-dependencies
Fetched https://github.com/p-x9/swift-objc-dump.git from cache (0.81s)
Fetched https://github.com/lynnswap/FrameworkToolbox.git from cache (0.88s)
[36013/81752] Fetching swift-syntax, swift-dependencies
Fetched https://github.com/pointfreeco/swift-dependencies from cache (0.80s)
[30744/74983] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.32s)
Computing version for https://github.com/lynnswap/DyldPrivate.git
Computed https://github.com/lynnswap/DyldPrivate.git at 0.1.0 (7.62s)
Computing version for https://github.com/lynnswap/swift-apinotes.git
Computed https://github.com/lynnswap/swift-apinotes.git at 0.1.0 (0.45s)
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/SwiftyLab/MetaCodable
[1/11551] Fetching yams
[1041/169801] Fetching yams, metacodable
Fetched https://github.com/jpsim/Yams from cache (1.68s)
[36398/158250] Fetching metacodable
Fetched https://github.com/SwiftyLab/MetaCodable from cache (12.27s)
Computing version for https://github.com/lynnswap/SourceKitD.git
Computed https://github.com/lynnswap/SourceKitD.git at 0.1.0 (12.80s)
Computing version for https://github.com/lynnswap/FrameworkToolbox.git
Computed https://github.com/lynnswap/FrameworkToolbox.git at 0.3.3 (1.04s)
Fetching https://github.com/apple/swift-log.git
[1/6635] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.62s)
Computing version for https://github.com/lynnswap/MachOKit.git
warning: 'machokit': /Package.swift:135:1: warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
133 | }
134 |
135 | extension SwiftSetting: CaseIterable {
| |- warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
136 | public static var allCases: [Self] {
137 | [
Computed https://github.com/lynnswap/MachOKit.git at 0.47.0 (1.70s)
Fetching https://github.com/p-x9/swift-binary-parse-support.git
Fetching https://github.com/p-x9/swift-fileio-extra.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/p-x9/ObjectArchiveKit.git
[1/259] Fetching objectarchivekit
[25/501] Fetching objectarchivekit, swift-binary-parse-support
[502/549] Fetching objectarchivekit, swift-binary-parse-support, swift-fileio-extra
Fetched https://github.com/p-x9/swift-binary-parse-support.git from cache (0.72s)
Fetched https://github.com/p-x9/ObjectArchiveKit.git from cache (0.73s)
Fetched https://github.com/p-x9/swift-fileio-extra.git from cache (0.76s)
[1/17416] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.75s)
Computing version for https://github.com/p-x9/swift-fileio.git
Computed https://github.com/p-x9/swift-fileio.git at 0.13.0 (3.17s)
Computing version for https://github.com/p-x9/swift-objc-dump.git
Computed https://github.com/p-x9/swift-objc-dump.git at 0.8.0 (0.35s)
Computing version for https://github.com/p-x9/swift-binary-parse-support.git
Computed https://github.com/p-x9/swift-binary-parse-support.git at 0.2.1 (0.42s)
Computing version for https://github.com/p-x9/swift-fileio-extra.git
Computed https://github.com/p-x9/swift-fileio-extra.git at 0.2.2 (0.48s)
Computing version for https://github.com/MxIris-DeveloperTool-Forks/swift-clang
Computed https://github.com/MxIris-DeveloperTool-Forks/swift-clang at 0.2.0 (0.44s)
Computing version for https://github.com/p-x9/AssociatedObject
Computed https://github.com/p-x9/AssociatedObject at 0.14.0 (0.50s)
Fetching https://github.com/p-x9/swift-literal-type-inference.git
Fetching https://github.com/p-x9/swift-object-association.git
[1/207] Fetching swift-object-association
[204/318] Fetching swift-object-association, swift-literal-type-inference
Fetched https://github.com/p-x9/swift-literal-type-inference.git from cache (0.25s)
Fetched https://github.com/p-x9/swift-object-association.git from cache (0.25s)
Computing version for https://github.com/p-x9/swift-object-association.git
Computed https://github.com/p-x9/swift-object-association.git at 0.5.0 (1.98s)
Computing version for https://github.com/p-x9/swift-literal-type-inference.git
Computed https://github.com/p-x9/swift-literal-type-inference.git at 0.5.0 (0.49s)
Computing version for https://github.com/SwiftyLab/MetaCodable
Computed https://github.com/SwiftyLab/MetaCodable at 1.6.0 (1.38s)
Computing version for https://github.com/christophhagen/BinaryCodable
Computed https://github.com/christophhagen/BinaryCodable at 3.2.0 (0.46s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.1 (0.43s)
Computing version for https://github.com/p-x9/ObjectArchiveKit.git
Computed https://github.com/p-x9/ObjectArchiveKit.git at 0.5.0 (0.47s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (2.75s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.12.0 (0.84s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/combine-schedulers
[1/2606] Fetching combine-schedulers
[549/3562] Fetching combine-schedulers, swift-concurrency-extras
[1607/4879] Fetching combine-schedulers, swift-concurrency-extras, swift-clocks
[4880/10602] Fetching combine-schedulers, swift-concurrency-extras, swift-clocks, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.38s)
[2960/7996] Fetching swift-concurrency-extras, swift-clocks, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.84s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.84s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.86s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (1.32s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.2.0 (0.60s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8284] Fetching opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (0.69s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (4.30s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.4.1 (1.86s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.3 (0.77s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.78s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.2 (0.44s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (0.70s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (1.16s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.49s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.57s)
Fetching https://github.com/apple/swift-asn1.git
[1/1803] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.31s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (0.76s)
Computing version for https://github.com/MxIris-Library-Forks/swift-memberwise-init-macro
Computed https://github.com/MxIris-Library-Forks/swift-memberwise-init-macro at 0.5.3-fork.1 (0.66s)
Creating working copy for https://github.com/p-x9/swift-literal-type-inference.git
Working copy of https://github.com/p-x9/swift-literal-type-inference.git resolved at 0.5.0
Creating working copy for https://github.com/p-x9/swift-fileio.git
Working copy of https://github.com/p-x9/swift-fileio.git resolved at 0.13.0
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.0
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/p-x9/AssociatedObject
Working copy of https://github.com/p-x9/AssociatedObject resolved at 0.14.0
Creating working copy for https://github.com/p-x9/ObjectArchiveKit.git
Working copy of https://github.com/p-x9/ObjectArchiveKit.git resolved at 0.5.0
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.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.12.0
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.0
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.12.0
Creating working copy for https://github.com/p-x9/swift-fileio-extra.git
Working copy of https://github.com/p-x9/swift-fileio-extra.git resolved at 0.2.2
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.9.0
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.1
Creating working copy for https://github.com/lynnswap/DyldPrivate.git
Working copy of https://github.com/lynnswap/DyldPrivate.git resolved at 0.1.0
Creating working copy for https://github.com/lynnswap/swift-apinotes.git
Working copy of https://github.com/lynnswap/swift-apinotes.git resolved at 0.1.0
Creating working copy for https://github.com/MxIris-DeveloperTool-Forks/swift-clang
Working copy of https://github.com/MxIris-DeveloperTool-Forks/swift-clang resolved at 0.2.0
Creating working copy for https://github.com/lynnswap/SourceKitD.git
Working copy of https://github.com/lynnswap/SourceKitD.git resolved at 0.1.0
Creating working copy for https://github.com/lynnswap/FrameworkToolbox.git
Working copy of https://github.com/lynnswap/FrameworkToolbox.git resolved at 0.3.3
Creating working copy for https://github.com/lynnswap/MachOObjCSection.git
Working copy of https://github.com/lynnswap/MachOObjCSection.git resolved at 3dbf6a856cbdc856d4d7c1fe6bbf81161e0fbe9c
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Creating working copy for https://github.com/christophhagen/BinaryCodable
Working copy of https://github.com/christophhagen/BinaryCodable resolved at 3.2.0
Creating working copy for https://github.com/MxIris-Library-Forks/swift-memberwise-init-macro
Working copy of https://github.com/MxIris-Library-Forks/swift-memberwise-init-macro resolved at 0.5.3-fork.1
Creating working copy for https://github.com/lynnswap/MachOKit.git
Working copy of https://github.com/lynnswap/MachOKit.git resolved at 0.47.0
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.1.3
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.2.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Creating working copy for https://github.com/p-x9/swift-objc-dump.git
Working copy of https://github.com/p-x9/swift-objc-dump.git resolved at 0.8.0
Creating working copy for https://github.com/lynnswap/MachOSwiftSection.git
Working copy of https://github.com/lynnswap/MachOSwiftSection.git resolved at 2fbb1a78e316a2beaf2911488ecda6455e205f84
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.2.0
Creating working copy for https://github.com/p-x9/swift-binary-parse-support.git
Working copy of https://github.com/p-x9/swift-binary-parse-support.git resolved at 0.2.1
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.4.1
Creating working copy for https://github.com/SwiftyLab/MetaCodable
Working copy of https://github.com/SwiftyLab/MetaCodable resolved at 1.6.0
Creating working copy for https://github.com/p-x9/swift-object-association.git
Working copy of https://github.com/p-x9/swift-object-association.git resolved at 0.5.0
warning: 'machokit': /host/spi-builder-workspace/.build/checkouts/MachOKit/Package.swift:135:1: warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
133 | }
134 |
135 | extension SwiftSetting: CaseIterable {
| |- warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
136 | public static var allCases: [Self] {
137 | [
[1/1] Compiling plugin MetaProtocolCodable
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/559] Write sources
[51/559] Compiling _SwiftSyntaxCShims dummy.c
[52/559] Write sources
[56/559] Compiling UtilitiesC PtrAuthWrapper.c
[57/559] Write sources
[63/559] Compiling MachOSwiftSectionC ValueWitnessTable.c
[64/559] Write sources
[67/559] Compiling MachOSwiftSectionC Functions.c
[68/559] Write swift-version--4F562202D5529B1.txt
[69/559] Write sources
[74/559] Compiling MachOSwiftSectionC CallAccessor.c
[75/559] Compiling MachOObjCSectionC dummy.c
[76/570] Compiling MachOKitC mach-o-linux.c
[78/601] Emitting module SwiftSyntax601
[79/613] Emitting module Semantic
[80/615] Emitting module SwiftRetain
[81/615] Emitting module SwiftSyntax510
[82/615] Compiling SwiftSyntax510 Empty.swift
[84/622] Compiling Semantic SemanticStringComponent.swift
[85/622] Compiling Semantic SemanticType.swift
[86/622] Compiling Semantic Joined.swift
[87/622] Compiling Semantic Keyword.swift
[88/622] Compiling Semantic MemberDeclaration.swift
[89/622] Emitting module SwiftSyntax509
[90/622] Compiling SwiftSyntax509 Empty.swift
[91/623] Compiling ObjCTypeDecodeKit ObjCMethodType.swift
[92/623] Compiling ObjCTypeDecodeKit ObjCModifier.swift
[93/623] Compiling ObjCTypeDecodeKit ObjCPropertyAttribute.swift
[94/623] Emitting module SwiftSyntax600
[95/623] Compiling SwiftSyntax600 Empty.swift
[96/624] Compiling Semantic MemberName.swift
[97/624] Compiling Semantic Numeric.swift
[98/624] Compiling Semantic Other.swift
[99/624] Compiling ObjCTypeDecodeKit ObjCType.swift
[100/624] Compiling ObjCTypeDecodeKit types.swift
[101/624] Compiling Semantic Error.swift
[102/624] Compiling Semantic FunctionDeclaration.swift
[103/624] Compiling Semantic FunctionName.swift
[104/624] Compiling Semantic Group.swift
[105/624] Compiling SwiftSyntax601 Empty.swift
[107/625] Compiling Semantic Variable.swift
[108/625] Compiling Semantic SemanticString.swift
[109/625] Compiling Semantic SemanticStringBuilder.swift
[111/625] Compiling ObjCTypeDecodeKit String+.swift
[112/625] Compiling ObjCTypeDecodeKit Node.swift
[113/625] Compiling ObjCTypeDecodeKit ObjCField.swift
[116/653] Emitting module IssueReportingPackageSupport
[117/653] Compiling IssueReportingPackageSupport _Test.swift
[118/662] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[119/662] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[121/675] Compiling SwiftSyntax EditorPlaceholder.swift
[122/675] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[123/675] Compiling SwiftSyntax RawSyntaxTokenView.swift
[124/675] Compiling SwiftSyntax SourceEdit.swift
[125/676] Compiling SwiftSyntax SourceLength.swift
[126/676] Compiling SwiftSyntax AbsolutePosition.swift
[127/676] Compiling SwiftSyntax AbsoluteRawSyntax.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[128/740] Emitting module FileIO
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:156:13: error: cannot find 'msync' in scope
154 | data.withUnsafeBytes { buffer in
155 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
156 | msync(ptr.advanced(by: offset), data.count, MS_SYNC)
| `- error: cannot find 'msync' in scope
157 | }
158 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:156:57: error: cannot find 'MS_SYNC' in scope
154 | data.withUnsafeBytes { buffer in
155 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
156 | msync(ptr.advanced(by: offset), data.count, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
157 | }
158 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:203:9: error: cannot find 'msync' in scope
201 | .assumingMemoryBound(to: T.self)
202 | .pointee = value
203 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'msync' in scope
204 | }
205 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:203:49: error: cannot find 'MS_SYNC' in scope
201 | .assumingMemoryBound(to: T.self)
202 | .pointee = value
203 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
204 | }
205 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:99:13: error: cannot find 'msync' in scope
97 | data.withUnsafeBytes { buffer in
98 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
99 | msync(ptr.advanced(by: offset), data.count, MS_SYNC)
| `- error: cannot find 'msync' in scope
100 | }
101 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:99:57: error: cannot find 'MS_SYNC' in scope
97 | data.withUnsafeBytes { buffer in
98 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
99 | msync(ptr.advanced(by: offset), data.count, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
100 | }
101 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:105:9: error: cannot find 'msync' in scope
103 | @inlinable @inline(__always)
104 | public func sync() {
105 | msync(ptr, size, MS_SYNC)
| `- error: cannot find 'msync' in scope
106 | }
107 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:105:26: error: cannot find 'MS_SYNC' in scope
103 | @inlinable @inline(__always)
104 | public func sync() {
105 | msync(ptr, size, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
106 | }
107 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:152:13: error: cannot find 'msync' in scope
150 | data.withUnsafeBytes { buffer in
151 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
152 | msync(ptr.advanced(by: offset), data.count + tailSize, MS_SYNC)
| `- error: cannot find 'msync' in scope
153 | }
154 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:152:68: error: cannot find 'MS_SYNC' in scope
150 | data.withUnsafeBytes { buffer in
151 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
152 | msync(ptr.advanced(by: offset), data.count + tailSize, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
153 | }
154 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:207:9: error: cannot find 'msync' in scope
205 | .assumingMemoryBound(to: T.self)
206 | .pointee = value
207 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'msync' in scope
208 | }
209 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:207:49: error: cannot find 'MS_SYNC' in scope
205 | .assumingMemoryBound(to: T.self)
206 | .pointee = value
207 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
208 | }
209 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:284:9: error: cannot find 'msync' in scope
282 | @inlinable @inline(__always)
283 | public func sync() {
284 | msync(parent.ptr.advanced(by: baseOffset), size, MS_SYNC)
| `- error: cannot find 'msync' in scope
285 | }
286 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:284:58: error: cannot find 'MS_SYNC' in scope
282 | @inlinable @inline(__always)
283 | public func sync() {
284 | msync(parent.ptr.advanced(by: baseOffset), size, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
285 | }
286 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:348:9: error: cannot find 'msync' in scope
346 | .assumingMemoryBound(to: T.self)
347 | .pointee = value
348 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'msync' in scope
349 | }
350 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:348:49: error: cannot find 'MS_SYNC' in scope
346 | .assumingMemoryBound(to: T.self)
347 | .pointee = value
348 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
349 | }
350 | }
[129/740] Compiling IssueReporting FailureObserver.swift
[130/740] Compiling IssueReporting LockIsolated.swift
[131/740] Compiling IssueReporting ErrorReporting.swift
[132/740] Compiling IssueReporting AppHostWarning.swift
[133/740] Compiling IssueReporting Deprecations.swift
[134/740] Compiling IssueReporting IssueSeverity.swift
[135/740] Compiling IssueReporting ReportIssue.swift
[136/740] Compiling IssueReporting SwiftTesting.swift
[137/740] Emitting module InternalCollectionsUtilities
[138/740] Compiling IssueReporting TestContext.swift
[139/740] Compiling IssueReporting Unimplemented.swift
[140/742] Compiling IssueReporting Rethrows.swift
[143/743] Compiling IssueReporting WithExpectedIssue.swift
[144/743] Compiling IssueReporting WithIssueContext.swift
[145/743] Emitting module IssueReporting
[146/743] Compiling Logging MetadataProvider.swift
[147/744] Emitting module Logging
[148/744] Compiling Logging Locks.swift
[152/744] Compiling IssueReporting BreakpointReporter.swift
[153/744] Compiling IssueReporting DefaultReporter.swift
[154/744] Compiling IssueReporting FatalErrorReporter.swift
[155/744] Compiling SwiftRetain Retain.swift
[156/745] Compiling FileIO FileIO.swift
[158/745] Compiling ObjCTypeDecodeKit ObjCMethodTypeDecoder.swift
[159/746] Compiling IssueReporting UncheckedSendable.swift
[160/746] Compiling IssueReporting Warn.swift
[165/746] Emitting module ObjCTypeDecodeKit
[168/746] Compiling FileIO ConcatenatedStreamedFile.swift
[169/746] Compiling FileIO ConcatenatedMemoryMappedFile.swift
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:50:51: error: cannot find 'O_RDWR' in scope
48 | var fdAndSizes: [(fd: CInt, size: off_t)] = []
49 | for url in urls {
50 | let fd = _open(url.path, isWritable ? O_RDWR : O_RDONLY)
| `- error: cannot find 'O_RDWR' in scope
51 | guard _fastPath(fd > 0) else {
52 | cleanup(fds: fdAndSizes.map(\.fd))
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:50:60: error: cannot find 'O_RDONLY' in scope
48 | var fdAndSizes: [(fd: CInt, size: off_t)] = []
49 | for url in urls {
50 | let fd = _open(url.path, isWritable ? O_RDWR : O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
51 | guard _fastPath(fd > 0) else {
52 | cleanup(fds: fdAndSizes.map(\.fd))
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:53:50: error: cannot find 'errno' in scope
51 | guard _fastPath(fd > 0) else {
52 | cleanup(fds: fdAndSizes.map(\.fd))
53 | throw POSIXError(.init(rawValue: errno)!)
| `- error: cannot find 'errno' in scope
54 | }
55 |
/root/.swiftpm/swift-sdks/swift-6.3-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/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:56:28: error: cannot find 'lseek' in scope
54 | }
55 |
56 | let fileSize = lseek(fd, 0, SEEK_END)
| `- error: cannot find 'lseek' in scope
57 | guard _fastPath(fileSize > 0) else {
58 | cleanup(fds: fdAndSizes.map(\.fd))
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:59:17: error: cannot find 'close' in scope
57 | guard _fastPath(fileSize > 0) else {
58 | cleanup(fds: fdAndSizes.map(\.fd))
59 | close(fd)
| `- error: cannot find 'close' in scope
60 | throw POSIXError(.init(rawValue: errno)!)
61 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:60:50: error: cannot find 'errno' in scope
58 | cleanup(fds: fdAndSizes.map(\.fd))
59 | close(fd)
60 | throw POSIXError(.init(rawValue: errno)!)
| `- error: cannot find 'errno' in scope
61 | }
62 |
/root/.swiftpm/swift-sdks/swift-6.3-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/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:68:23: error: cannot find 'mmap' in scope
66 | let fullSize = fdAndSizes.reduce(0, { $0 + $1.size })
67 |
68 | let basePtr = mmap(
| `- error: cannot find 'mmap' in scope
69 | nil,
70 | numericCast(fullSize),
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:71:13: error: cannot find 'PROT_NONE' in scope
69 | nil,
70 | numericCast(fullSize),
71 | PROT_NONE,
| `- error: cannot find 'PROT_NONE' in scope
72 | MAP_PRIVATE | MAP_ANONYMOUS,
73 | -1,
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:72:13: error: cannot find 'MAP_PRIVATE' in scope
70 | numericCast(fullSize),
71 | PROT_NONE,
72 | MAP_PRIVATE | MAP_ANONYMOUS,
| `- error: cannot find 'MAP_PRIVATE' in scope
73 | -1,
74 | 0
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:72:27: error: cannot find 'MAP_ANONYMOUS' in scope
70 | numericCast(fullSize),
71 | PROT_NONE,
72 | MAP_PRIVATE | MAP_ANONYMOUS,
| `- error: cannot find 'MAP_ANONYMOUS' in scope
73 | -1,
74 | 0
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:69:13: error: 'nil' requires a contextual type
67 |
68 | let basePtr = mmap(
69 | nil,
| `- error: 'nil' requires a contextual type
70 | numericCast(fullSize),
71 | PROT_NONE,
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:70:13: error: generic parameter 'U' could not be inferred
68 | let basePtr = mmap(
69 | nil,
70 | numericCast(fullSize),
| `- error: generic parameter 'U' could not be inferred
71 | PROT_NONE,
72 | MAP_PRIVATE | MAP_ANONYMOUS,
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:77:36: error: cannot find 'MAP_FAILED' in scope
75 | )
76 | guard let basePtr,
77 | _fastPath(basePtr != MAP_FAILED) else {
| `- error: cannot find 'MAP_FAILED' in scope
78 | cleanup(fds: fdAndSizes.map(\.fd))
79 | throw POSIXError(.init(rawValue: errno)!)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:79:46: error: cannot find 'errno' in scope
77 | _fastPath(basePtr != MAP_FAILED) else {
78 | cleanup(fds: fdAndSizes.map(\.fd))
79 | throw POSIXError(.init(rawValue: errno)!)
| `- error: cannot find 'errno' in scope
80 | }
81 |
/root/.swiftpm/swift-sdks/swift-6.3-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/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:82:27: error: cannot find 'PROT_READ' in scope
80 | }
81 |
82 | var prot: Int32 = PROT_READ
| `- error: cannot find 'PROT_READ' in scope
83 | if isWritable { prot |= PROT_WRITE }
84 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:83:33: error: cannot find 'PROT_WRITE' in scope
81 |
82 | var prot: Int32 = PROT_READ
83 | if isWritable { prot |= PROT_WRITE }
| `- error: cannot find 'PROT_WRITE' in scope
84 |
85 | var offset = 0
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:90:29: error: cannot find 'mmap' in scope
88 | let size: Int = numericCast(size)
89 | let ptr = basePtr.advanced(by: offset)
90 | let mappedPtr = mmap(ptr, size, prot, MAP_FIXED | MAP_PRIVATE, fd, 0)
| `- error: cannot find 'mmap' in scope
91 | guard ptr == mappedPtr,
92 | _fastPath(ptr != MAP_FAILED) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:90:51: error: cannot find 'MAP_FIXED' in scope
88 | let size: Int = numericCast(size)
89 | let ptr = basePtr.advanced(by: offset)
90 | let mappedPtr = mmap(ptr, size, prot, MAP_FIXED | MAP_PRIVATE, fd, 0)
| `- error: cannot find 'MAP_FIXED' in scope
91 | guard ptr == mappedPtr,
92 | _fastPath(ptr != MAP_FAILED) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:90:63: error: cannot find 'MAP_PRIVATE' in scope
88 | let size: Int = numericCast(size)
89 | let ptr = basePtr.advanced(by: offset)
90 | let mappedPtr = mmap(ptr, size, prot, MAP_FIXED | MAP_PRIVATE, fd, 0)
| `- error: cannot find 'MAP_PRIVATE' in scope
91 | guard ptr == mappedPtr,
92 | _fastPath(ptr != MAP_FAILED) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:92:36: error: cannot find 'MAP_FAILED' in scope
90 | let mappedPtr = mmap(ptr, size, prot, MAP_FIXED | MAP_PRIVATE, fd, 0)
91 | guard ptr == mappedPtr,
92 | _fastPath(ptr != MAP_FAILED) else {
| `- error: cannot find 'MAP_FAILED' in scope
93 | cleanup(fds: fdAndSizes.map(\.fd))
94 | throw POSIXError(.init(rawValue: errno)!)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:94:50: error: cannot find 'errno' in scope
92 | _fastPath(ptr != MAP_FAILED) else {
93 | cleanup(fds: fdAndSizes.map(\.fd))
94 | throw POSIXError(.init(rawValue: errno)!)
| `- error: cannot find 'errno' in scope
95 | }
96 | files.append(
/root/.swiftpm/swift-sdks/swift-6.3-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/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:120:23: error: cannot find 'close' in scope
118 |
119 | private static func cleanup(fds: [CInt]) {
120 | fds.forEach { close($0) }
| `- error: cannot find 'close' in scope
121 | }
122 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:156:13: error: cannot find 'msync' in scope
154 | data.withUnsafeBytes { buffer in
155 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
156 | msync(ptr.advanced(by: offset), data.count, MS_SYNC)
| `- error: cannot find 'msync' in scope
157 | }
158 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:156:57: error: cannot find 'MS_SYNC' in scope
154 | data.withUnsafeBytes { buffer in
155 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
156 | msync(ptr.advanced(by: offset), data.count, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
157 | }
158 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:203:9: error: cannot find 'msync' in scope
201 | .assumingMemoryBound(to: T.self)
202 | .pointee = value
203 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'msync' in scope
204 | }
205 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:203:49: error: cannot find 'MS_SYNC' in scope
201 | .assumingMemoryBound(to: T.self)
202 | .pointee = value
203 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
204 | }
205 | }
[169/767] Wrapping AST for SwiftSyntax601 for debugging
[171/788] Compiling ObjCTypeDecodeKit ObjCTypeCodable.swift
[172/794] Compiling PrivateHeaderKitTooling ToolingError.swift
[172/801] Wrapping AST for SwiftSyntax600 for debugging
[174/801] Compiling ObjCTypeDecodeKit ObjCPropertyTypeDecoder.swift
[175/801] Compiling ObjCTypeDecodeKit ObjCTypeDecoder.swift
[175/802] Wrapping AST for SwiftSyntax510 for debugging
[176/802] Wrapping AST for SwiftSyntax509 for debugging
[178/802] Compiling PrivateHeaderKitTooling Which.swift
[179/802] Wrapping AST for SwiftRetain for debugging
[181/802] Compiling FileIO system.swift
[182/802] Compiling FileIO StreamedFile.swift
[183/802] Compiling FileIO MemoryMappedFile.swift
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:34:13: error: cannot find 'close' in scope
32 | unmap()
33 | if fileDescriptor >= 0 {
34 | close(fileDescriptor)
| `- error: cannot find 'close' in scope
35 | }
36 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:41:47: error: cannot find 'O_RDWR' in scope
39 | extension MemoryMappedFile {
40 | public static func open(url: URL, isWritable: Bool) throws -> MemoryMappedFile {
41 | let fd = _open(url.path, isWritable ? O_RDWR : O_RDONLY)
| `- error: cannot find 'O_RDWR' in scope
42 | guard _fastPath(fd > 0) else {
43 | throw POSIXError(.init(rawValue: errno)!)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:41:56: error: cannot find 'O_RDONLY' in scope
39 | extension MemoryMappedFile {
40 | public static func open(url: URL, isWritable: Bool) throws -> MemoryMappedFile {
41 | let fd = _open(url.path, isWritable ? O_RDWR : O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
42 | guard _fastPath(fd > 0) else {
43 | throw POSIXError(.init(rawValue: errno)!)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:43:46: error: cannot find 'errno' in scope
41 | let fd = _open(url.path, isWritable ? O_RDWR : O_RDONLY)
42 | guard _fastPath(fd > 0) else {
43 | throw POSIXError(.init(rawValue: errno)!)
| `- error: cannot find 'errno' in scope
44 | }
45 |
/root/.swiftpm/swift-sdks/swift-6.3-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/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:46:24: error: cannot find 'lseek' in scope
44 | }
45 |
46 | let fileSize = lseek(fd, 0, SEEK_END)
| `- error: cannot find 'lseek' in scope
47 | guard _fastPath(fileSize >= 0) else {
48 | close(fd)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:48:13: error: cannot find 'close' in scope
46 | let fileSize = lseek(fd, 0, SEEK_END)
47 | guard _fastPath(fileSize >= 0) else {
48 | close(fd)
| `- error: cannot find 'close' in scope
49 | throw POSIXError(.init(rawValue: errno)!)
50 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:49:46: error: cannot find 'errno' in scope
47 | guard _fastPath(fileSize >= 0) else {
48 | close(fd)
49 | throw POSIXError(.init(rawValue: errno)!)
| `- error: cannot find 'errno' in scope
50 | }
51 |
/root/.swiftpm/swift-sdks/swift-6.3-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/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:61:27: error: cannot find 'PROT_READ' in scope
59 | }
60 |
61 | var prot: Int32 = PROT_READ
| `- error: cannot find 'PROT_READ' in scope
62 | if isWritable { prot |= PROT_WRITE }
63 | let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:62:33: error: cannot find 'PROT_WRITE' in scope
60 |
61 | var prot: Int32 = PROT_READ
62 | if isWritable { prot |= PROT_WRITE }
| `- error: cannot find 'PROT_WRITE' in scope
63 | let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
64 | guard let ptr,
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:63:19: error: cannot find 'mmap' in scope
61 | var prot: Int32 = PROT_READ
62 | if isWritable { prot |= PROT_WRITE }
63 | let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
| `- error: cannot find 'mmap' in scope
64 | guard let ptr,
65 | _fastPath(ptr != MAP_FAILED) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:63:50: error: cannot find 'MAP_SHARED' in scope
61 | var prot: Int32 = PROT_READ
62 | if isWritable { prot |= PROT_WRITE }
63 | let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
| `- error: cannot find 'MAP_SHARED' in scope
64 | guard let ptr,
65 | _fastPath(ptr != MAP_FAILED) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:63:24: error: 'nil' requires a contextual type
61 | var prot: Int32 = PROT_READ
62 | if isWritable { prot |= PROT_WRITE }
63 | let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
| `- error: 'nil' requires a contextual type
64 | guard let ptr,
65 | _fastPath(ptr != MAP_FAILED) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:65:32: error: cannot find 'MAP_FAILED' in scope
63 | let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
64 | guard let ptr,
65 | _fastPath(ptr != MAP_FAILED) else {
| `- error: cannot find 'MAP_FAILED' in scope
66 | close(fd)
67 | throw POSIXError(.init(rawValue: errno)!)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:66:13: error: cannot find 'close' in scope
64 | guard let ptr,
65 | _fastPath(ptr != MAP_FAILED) else {
66 | close(fd)
| `- error: cannot find 'close' in scope
67 | throw POSIXError(.init(rawValue: errno)!)
68 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:67:46: error: cannot find 'errno' in scope
65 | _fastPath(ptr != MAP_FAILED) else {
66 | close(fd)
67 | throw POSIXError(.init(rawValue: errno)!)
| `- error: cannot find 'errno' in scope
68 | }
69 |
/root/.swiftpm/swift-sdks/swift-6.3-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/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:99:13: error: cannot find 'msync' in scope
97 | data.withUnsafeBytes { buffer in
98 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
99 | msync(ptr.advanced(by: offset), data.count, MS_SYNC)
| `- error: cannot find 'msync' in scope
100 | }
101 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:99:57: error: cannot find 'MS_SYNC' in scope
97 | data.withUnsafeBytes { buffer in
98 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
99 | msync(ptr.advanced(by: offset), data.count, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
100 | }
101 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:105:9: error: cannot find 'msync' in scope
103 | @inlinable @inline(__always)
104 | public func sync() {
105 | msync(ptr, size, MS_SYNC)
| `- error: cannot find 'msync' in scope
106 | }
107 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:105:26: error: cannot find 'MS_SYNC' in scope
103 | @inlinable @inline(__always)
104 | public func sync() {
105 | msync(ptr, size, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
106 | }
107 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:109:9: error: cannot find 'munmap' in scope
107 |
108 | internal func unmap() {
109 | munmap(ptr, size)
| `- error: cannot find 'munmap' in scope
110 | }
111 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:118:15: error: cannot find 'ftruncate' in scope
116 | guard _fastPath(newSize >= 0) else { return }
117 |
118 | guard ftruncate(fileDescriptor, off_t(newSize)) == 0 else {
| `- error: cannot find 'ftruncate' in scope
119 | throw POSIXError(.init(rawValue: errno)!)
120 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:119:46: error: cannot find 'errno' in scope
117 |
118 | guard ftruncate(fileDescriptor, off_t(newSize)) == 0 else {
119 | throw POSIXError(.init(rawValue: errno)!)
| `- error: cannot find 'errno' in scope
120 | }
121 |
/root/.swiftpm/swift-sdks/swift-6.3-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/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:124:27: error: cannot find 'PROT_READ' in scope
122 | unmap()
123 |
124 | var prot: Int32 = PROT_READ
| `- error: cannot find 'PROT_READ' in scope
125 | if isWritable { prot |= PROT_WRITE }
126 | let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:125:33: error: cannot find 'PROT_WRITE' in scope
123 |
124 | var prot: Int32 = PROT_READ
125 | if isWritable { prot |= PROT_WRITE }
| `- error: cannot find 'PROT_WRITE' in scope
126 | let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
127 | guard let ptr,
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:126:19: error: cannot find 'mmap' in scope
124 | var prot: Int32 = PROT_READ
125 | if isWritable { prot |= PROT_WRITE }
126 | let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
| `- error: cannot find 'mmap' in scope
127 | guard let ptr,
128 | ptr != MAP_FAILED else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:126:44: error: cannot find 'MAP_SHARED' in scope
124 | var prot: Int32 = PROT_READ
125 | if isWritable { prot |= PROT_WRITE }
126 | let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
| `- error: cannot find 'MAP_SHARED' in scope
127 | guard let ptr,
128 | ptr != MAP_FAILED else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:126:24: error: 'nil' requires a contextual type
124 | var prot: Int32 = PROT_READ
125 | if isWritable { prot |= PROT_WRITE }
126 | let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
| `- error: 'nil' requires a contextual type
127 | guard let ptr,
128 | ptr != MAP_FAILED else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:128:22: error: cannot find 'MAP_FAILED' in scope
126 | let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
127 | guard let ptr,
128 | ptr != MAP_FAILED else {
| `- error: cannot find 'MAP_FAILED' in scope
129 | throw POSIXError(.init(rawValue: errno)!)
130 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:129:46: error: cannot find 'errno' in scope
127 | guard let ptr,
128 | ptr != MAP_FAILED else {
129 | throw POSIXError(.init(rawValue: errno)!)
| `- error: cannot find 'errno' in scope
130 | }
131 |
/root/.swiftpm/swift-sdks/swift-6.3-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/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:152:13: error: cannot find 'msync' in scope
150 | data.withUnsafeBytes { buffer in
151 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
152 | msync(ptr.advanced(by: offset), data.count + tailSize, MS_SYNC)
| `- error: cannot find 'msync' in scope
153 | }
154 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:152:68: error: cannot find 'MS_SYNC' in scope
150 | data.withUnsafeBytes { buffer in
151 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
152 | msync(ptr.advanced(by: offset), data.count + tailSize, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
153 | }
154 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:207:9: error: cannot find 'msync' in scope
205 | .assumingMemoryBound(to: T.self)
206 | .pointee = value
207 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'msync' in scope
208 | }
209 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:207:49: error: cannot find 'MS_SYNC' in scope
205 | .assumingMemoryBound(to: T.self)
206 | .pointee = value
207 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
208 | }
209 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:284:9: error: cannot find 'msync' in scope
282 | @inlinable @inline(__always)
283 | public func sync() {
284 | msync(parent.ptr.advanced(by: baseOffset), size, MS_SYNC)
| `- error: cannot find 'msync' in scope
285 | }
286 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:284:58: error: cannot find 'MS_SYNC' in scope
282 | @inlinable @inline(__always)
283 | public func sync() {
284 | msync(parent.ptr.advanced(by: baseOffset), size, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
285 | }
286 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:348:9: error: cannot find 'msync' in scope
346 | .assumingMemoryBound(to: T.self)
347 | .pointee = value
348 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'msync' in scope
349 | }
350 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:348:49: error: cannot find 'MS_SYNC' in scope
346 | .assumingMemoryBound(to: T.self)
347 | .pointee = value
348 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
349 | }
350 | }
[183/802] Wrapping AST for Semantic for debugging
[185/802] Compiling PrivateHeaderKitTooling VersionUtils.swift
[186/802] Compiling Logging LogHandler.swift
[187/802] Compiling Logging LogEvent.swift
[188/802] Compiling Logging Logging.swift
[188/803] Compiling reference.cpp
[189/803] Compiling PrivateHeaderKitTooling SignalForwarding.swift
[190/803] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[191/803] Compiling OrderedCollections OrderedSet+Descriptions.swift
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
BUILD FAILURE 6.3 android