Build Information
Failed to build PrivateHeaderKit, reference v0.4.3 (0281f9), with Swift 6.2 for Android on 23 Mar 2026 04:36:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lynnswap/PrivateHeaderKit.git
Reference: v0.4.3
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
* tag v0.4.3 -> FETCH_HEAD
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 v0.4.3
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/lynnswap/PrivateHeaderKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:ed06329bcd62885fa27d8bb2bd26ede56f367c486166aaeeac553557f3a78bad
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/lynnswap/MachOObjCSection.git
[1/2318] Fetching machoobjcsection
Fetched https://github.com/lynnswap/MachOObjCSection.git from cache (0.27s)
Fetching https://github.com/lynnswap/MachOSwiftSection.git
[1/9275] Fetching machoswiftsection
Fetched https://github.com/lynnswap/MachOSwiftSection.git from cache (0.59s)
Fetching https://github.com/lynnswap/SourceKitD.git
Fetching https://github.com/lynnswap/swift-apinotes.git
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/MxIris-DeveloperTool-Forks/swift-clang
Fetching https://github.com/lynnswap/DyldPrivate.git
Fetching https://github.com/onevcat/Rainbow
[1/1427] Fetching rainbow
[1143/1663] Fetching rainbow, swift-apinotes
[1266/1682] Fetching rainbow, swift-apinotes, dyldprivate
[1537/1843] Fetching rainbow, swift-apinotes, dyldprivate, sourcekitd
[1687/2007] Fetching rainbow, swift-apinotes, dyldprivate, sourcekitd, swift-clang
[1867/8746] Fetching rainbow, swift-apinotes, dyldprivate, sourcekitd, swift-clang, swift-dependencies
Fetched https://github.com/onevcat/Rainbow from cache (0.35s)
Fetched https://github.com/lynnswap/DyldPrivate.git from cache (0.35s)
Fetched https://github.com/MxIris-DeveloperTool-Forks/swift-clang from cache (0.35s)
Fetching https://github.com/christophhagen/BinaryCodable
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/MxIris-Library-Forks/swift-memberwise-init-macro
Fetched https://github.com/lynnswap/SourceKitD.git from cache (0.46s)
Fetched https://github.com/lynnswap/swift-apinotes.git from cache (0.46s)
Fetched https://github.com/pointfreeco/swift-dependencies from cache (0.47s)
Fetching https://github.com/lynnswap/FrameworkToolbox.git
Fetching https://github.com/p-x9/swift-fileio.git
[1/2941] Fetching binarycodable
[884/3608] Fetching binarycodable, swift-memberwise-init-macro
[3609/4099] Fetching binarycodable, swift-memberwise-init-macro, frameworktoolbox
[3610/26727] Fetching binarycodable, swift-memberwise-init-macro, frameworktoolbox, swift-collections
[3758/26973] Fetching binarycodable, swift-memberwise-init-macro, frameworktoolbox, swift-collections, swift-fileio
Fetched https://github.com/MxIris-Library-Forks/swift-memberwise-init-macro from cache (0.31s)
[4584/26306] Fetching binarycodable, frameworktoolbox, swift-collections, swift-fileio
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/p-x9/swift-fileio.git from cache (0.21s)
[4790/26060] Fetching binarycodable, frameworktoolbox, swift-collections
Fetching https://github.com/lynnswap/MachOKit.git
Fetching https://github.com/p-x9/AssociatedObject
Fetched https://github.com/lynnswap/FrameworkToolbox.git from cache (0.41s)
[6109/25569] Fetching binarycodable, swift-collections
Fetching https://github.com/swiftlang/swift-syntax.git
[25570/32043] Fetching binarycodable, swift-collections, machokit
[27707/32750] Fetching binarycodable, swift-collections, machokit, associatedobject
Fetched https://github.com/christophhagen/BinaryCodable from cache (1.37s)
Fetching https://github.com/p-x9/swift-objc-dump.git
Fetched https://github.com/apple/swift-collections from cache (1.40s)
Fetching https://github.com/apple/swift-async-algorithms
Fetched https://github.com/p-x9/AssociatedObject from cache (0.89s)
[1/17414] Fetching swift-argument-parser
Fetched https://github.com/lynnswap/MachOKit.git from cache (1.15s)
[3833/17843] Fetching swift-argument-parser, swift-objc-dump
[16103/24071] Fetching swift-argument-parser, swift-objc-dump, swift-async-algorithms
Fetched https://github.com/p-x9/swift-objc-dump.git from cache (0.34s)
[21276/23642] Fetching swift-argument-parser, swift-async-algorithms
[23643/98483] Fetching swift-argument-parser, swift-async-algorithms, swift-syntax
Fetched https://github.com/apple/swift-async-algorithms from cache (0.45s)
[20408/92255] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (1.61s)
[8233/74841] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.12s)
Computing version for https://github.com/lynnswap/DyldPrivate.git
Computed https://github.com/lynnswap/DyldPrivate.git at 0.1.0 (6.33s)
Computing version for https://github.com/lynnswap/swift-apinotes.git
Computed https://github.com/lynnswap/swift-apinotes.git at 0.1.0 (0.33s)
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/SwiftyLab/MetaCodable
[1/11509] Fetching yams
[5181/169750] Fetching yams, metacodable
Fetched https://github.com/jpsim/Yams from cache (1.39s)
[37978/158241] Fetching metacodable
Fetched https://github.com/SwiftyLab/MetaCodable from cache (11.20s)
Computing version for https://github.com/MxIris-DeveloperTool-Forks/swift-clang
Computed https://github.com/MxIris-DeveloperTool-Forks/swift-clang at 0.1.0 (11.53s)
Computing version for https://github.com/lynnswap/SourceKitD.git
Computed https://github.com/lynnswap/SourceKitD.git at 0.1.0 (0.74s)
Computing version for https://github.com/lynnswap/FrameworkToolbox.git
Computed https://github.com/lynnswap/FrameworkToolbox.git at 0.3.3 (1.23s)
Fetching https://github.com/apple/swift-log.git
[1/6252] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.00s)
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.58s)
Fetching https://github.com/p-x9/ObjectArchiveKit.git
Fetching https://github.com/p-x9/swift-binary-parse-support.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/p-x9/swift-fileio-extra.git
[1/48] Fetching swift-fileio-extra
[49/258] Fetching swift-fileio-extra, objectarchivekit
[259/500] Fetching swift-fileio-extra, objectarchivekit, swift-binary-parse-support
Fetched https://github.com/p-x9/swift-binary-parse-support.git from cache (0.26s)
[1/17246] Fetching swift-crypto
Fetched https://github.com/p-x9/ObjectArchiveKit.git from cache (2.58s)
Fetched https://github.com/p-x9/swift-fileio-extra.git from cache (2.58s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.63s)
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.46s)
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.37s)
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.36s)
Computing version for https://github.com/p-x9/ObjectArchiveKit.git
Computed https://github.com/p-x9/ObjectArchiveKit.git at 0.3.0 (0.38s)
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.38s)
Computing version for https://github.com/p-x9/AssociatedObject
Computed https://github.com/p-x9/AssociatedObject at 0.14.0 (0.37s)
Fetching https://github.com/p-x9/swift-object-association.git
Fetching https://github.com/p-x9/swift-literal-type-inference.git
[1/207] Fetching swift-object-association
[208/318] Fetching swift-object-association, swift-literal-type-inference
Fetched https://github.com/p-x9/swift-literal-type-inference.git from cache (1.95s)
Fetched https://github.com/p-x9/swift-object-association.git from cache (1.95s)
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 (2.88s)
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.47s)
Computing version for https://github.com/SwiftyLab/MetaCodable
Computed https://github.com/SwiftyLab/MetaCodable at 1.6.0 (0.63s)
Computing version for https://github.com/christophhagen/BinaryCodable
Computed https://github.com/christophhagen/BinaryCodable at 3.2.0 (0.41s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.1 (0.66s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.11.0 (0.51s)
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/2550] Fetching combine-schedulers
[2551/3444] Fetching combine-schedulers, swift-concurrency-extras
[3276/4761] Fetching combine-schedulers, swift-concurrency-extras, swift-clocks
[4762/10484] Fetching combine-schedulers, swift-concurrency-extras, swift-clocks, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.32s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.32s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.32s)
[744/5723] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.69s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (1.03s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.1.0 (0.46s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8284] Fetching opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (1.16s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (3.65s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (2.54s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.4.1 (0.55s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.3 (0.53s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.38s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.2 (0.33s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (0.58s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (0.33s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (0.36s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (1.08s)
Fetching https://github.com/apple/swift-asn1.git
[1/1769] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.26s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (0.65s)
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.51s)
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/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/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.11.0
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/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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.10.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/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/lynnswap/MachOObjCSection.git
Working copy of https://github.com/lynnswap/MachOObjCSection.git resolved at 3dbf6a856cbdc856d4d7c1fe6bbf81161e0fbe9c
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/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.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/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/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.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/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/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/MachOSwiftSection.git
Working copy of https://github.com/lynnswap/MachOSwiftSection.git resolved at 2fbb1a78e316a2beaf2911488ecda6455e205f84
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/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/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.6.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/lynnswap/MachOKit.git
Working copy of https://github.com/lynnswap/MachOKit.git resolved at 0.47.0
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/MxIris-DeveloperTool-Forks/swift-clang
Working copy of https://github.com/MxIris-DeveloperTool-Forks/swift-clang 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/p-x9/swift-object-association.git
Working copy of https://github.com/p-x9/swift-object-association.git resolved at 0.5.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.3.0
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/christophhagen/BinaryCodable
Working copy of https://github.com/christophhagen/BinaryCodable resolved at 3.2.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/SwiftyLab/MetaCodable
Working copy of https://github.com/SwiftyLab/MetaCodable resolved at 1.6.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 | [
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.38s)
[1/1] Compiling plugin MetaProtocolCodable
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/542] Write sources
[48/542] Compiling _SwiftSyntaxCShims dummy.c
[49/542] Compiling MachOSwiftSectionC ValueWitnessTable.c
[49/542] Compiling MachOSwiftSectionC Functions.c
[50/542] Write sources
[54/542] Compiling UtilitiesC PtrAuthWrapper.c
[55/542] Write sources
[66/542] Compiling p256-x86_64-asm-apple.S
[67/542] Write sources
[75/542] Compiling p256-armv8-asm-win.S
[76/542] Compiling DyldPrivate dummy.c
[77/542] Compiling MachOSwiftSectionC CallAccessor.c
[78/542] Compiling MachOObjCSectionC dummy.c
[79/542] Compiling p256-x86_64-asm-linux.S
[79/542] Write swift-version--11D90AFD9DD3AB2.txt
[81/542] Compiling fiat_p256_adx_mul.S
[82/542] Compiling fiat_curve25519_adx_mul.S
[83/542] Compiling fiat_p256_adx_sqr.S
[84/542] Compiling fiat_curve25519_adx_square.S
[85/542] Compiling MachOKitC mach-o-linux.c
[86/542] Compiling md5-x86_64-linux.S
[87/542] Compiling md5-x86_64-apple.S
[88/584] Compiling CCryptoBoringSSLShims shims.c
[90/596] Emitting module SwiftSyntax601
[91/596] Compiling SwiftSyntax601 Empty.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[92/597] Emitting module PrivateHeaderKitTooling
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/FileOps.swift:9:64: error: cannot find 'getpid' in scope
7 |
8 | public enum FileOps {
9 | public static func buildStageDir(outDir: URL, pid: Int32 = getpid(), date: Date = Date()) -> URL {
| `- error: cannot find 'getpid' in scope
10 | let formatter = DateFormatter()
11 | formatter.locale = Locale(identifier: "en_US_POSIX")
[93/597] Compiling SwiftSyntax510 Empty.swift
[94/597] Emitting module SwiftSyntax510
[96/599] Emitting module SwiftSyntax600
[97/599] Compiling SwiftSyntax600 Empty.swift
[100/600] Compiling SwiftSyntax509 Empty.swift
[101/600] Emitting module SwiftSyntax509
[103/624] Emitting module IssueReportingPackageSupport
[104/624] Compiling IssueReportingPackageSupport _Test.swift
[106/625] Compiling Semantic Variable.swift
[107/625] Compiling Semantic SemanticString.swift
[108/625] Compiling Semantic SemanticStringBuilder.swift
[109/625] Compiling Semantic Standard.swift
[110/625] Compiling Semantic TypeDeclaration.swift
[111/625] Compiling Semantic TypeName.swift
[112/627] Compiling MemberwiseInitMacros AttributeRemover.swift
[113/627] Compiling MemberwiseInitMacros CustomConfiguration.swift
[114/627] Compiling MemberwiseInitMacros DeprecationDiagnostics.swift
[115/627] Emitting module Semantic
[116/627] Compiling MemberwiseInitMacros MacroPlugin.swift
[117/627] Compiling MemberwiseInitMacros MemberwiseInitMacro.swift
[118/627] Compiling MemberwiseInitMacros AccesssLevelSyntax.swift
[119/627] Compiling MemberwiseInitMacros Diagnostics.swift
[120/627] Compiling MemberwiseInitMacros ExprTypeInference.swift
[121/627] Compiling MemberwiseInitMacros MemberwiseInitFormatter.swift
[122/627] Compiling Semantic MemberName.swift
[123/627] Compiling Semantic Numeric.swift
[124/627] Compiling Semantic Other.swift
[125/627] Compiling MemberwiseInitMacros Models.swift
[126/627] Compiling Semantic Keyword.swift
[127/627] Compiling Semantic MemberDeclaration.swift
[128/691] Compiling MachOMacros MachOMacroPlugin.swift
[129/691] Emitting module MachOMacros
[130/691] Compiling MachOMacros LayoutMacro.swift
[132/712] Compiling SwiftSyntax SyntaxProtocol.swift
[133/712] Compiling SwiftSyntax SyntaxText.swift
[135/731] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[136/731] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[137/733] Compiling InternalCollectionsUtilities _SortedCollection.swift
[138/733] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[139/733] Emitting module IssueReporting
[140/735] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[141/735] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[142/735] Compiling InternalCollectionsUtilities Span+Extras.swift
[143/735] Compiling InternalCollectionsUtilities String+Padding.swift
[144/735] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[145/735] Compiling InternalCollectionsUtilities Debugging.swift
[146/735] Compiling InternalCollectionsUtilities Descriptions.swift
[147/735] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[148/735] Compiling InternalCollectionsUtilities Integer rank.swift
[149/735] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[150/735] Compiling InternalCollectionsUtilities UInt+reversed.swift
[151/735] Emitting module InternalCollectionsUtilities
[152/735] Compiling IssueReporting WithExpectedIssue.swift
[153/735] Compiling IssueReporting WithIssueContext.swift
[154/735] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[155/735] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[156/735] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[157/735] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[158/736] Emitting module MemberwiseInitMacros
[169/746] Compiling Logging MetadataProvider.swift
[170/746] Emitting module Logging
[171/746] Compiling Logging Locks.swift
[172/746] Compiling MemberwiseInitMacros SyntaxHelpers.swift
[173/749] Compiling MemberwiseInitMacros UncheckedMemberwiseInitMacro.swift
[178/749] Compiling Logging Logging.swift
[179/749] Compiling Logging LogHandler.swift
[180/749] Compiling PrivateHeaderKitTooling VersionUtils.swift
[187/751] Compiling PrivateHeaderKitTooling Which.swift
[188/751] Compiling PrivateHeaderKitTooling StreamingSubprocess.swift
[189/751] Compiling PrivateHeaderKitTooling ToolingError.swift
[191/751] Compiling ObjCTypeDecodeKit ObjCPropertyTypeDecoder.swift
[192/751] Compiling ObjCTypeDecodeKit ObjCMethodTypeDecoder.swift
[193/751] Emitting module SwiftRetain
[194/751] Compiling SwiftRetain Retain.swift
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/FileOps.swift:9:64: error: cannot find 'getpid' in scope
7 |
8 | public enum FileOps {
9 | public static func buildStageDir(outDir: URL, pid: Int32 = getpid(), date: Date = Date()) -> URL {
| `- error: cannot find 'getpid' in scope
10 | let formatter = DateFormatter()
11 | formatter.locale = Locale(identifier: "en_US_POSIX")
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/FileOps.swift:35:13: error: cannot find 'rmdir' in scope
33 | public static func tryRemoveEmpty(_ url: URL, fileManager: FileManager = .default) {
34 | // Match Python behavior: only remove if the directory is empty.
35 | _ = rmdir(url.path)
| `- error: cannot find 'rmdir' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:18:22: error: cannot find 'open' in scope
16 | let path = lockPath.path
17 |
18 | let opened = open(path, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)
| `- error: cannot find 'open' in scope
19 | if opened < 0 {
20 | throw ToolingError.message("failed to open lock file: \(path)")
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:18:33: error: cannot find 'O_CREAT' in scope
16 | let path = lockPath.path
17 |
18 | let opened = open(path, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)
| `- error: cannot find 'O_CREAT' in scope
19 | if opened < 0 {
20 | throw ToolingError.message("failed to open lock file: \(path)")
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:18:43: error: cannot find 'O_RDWR' in scope
16 | let path = lockPath.path
17 |
18 | let opened = open(path, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)
| `- error: cannot find 'O_RDWR' in scope
19 | if opened < 0 {
20 | throw ToolingError.message("failed to open lock file: \(path)")
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:18:51: error: cannot find 'S_IRUSR' in scope
16 | let path = lockPath.path
17 |
18 | let opened = open(path, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)
| `- error: cannot find 'S_IRUSR' in scope
19 | if opened < 0 {
20 | throw ToolingError.message("failed to open lock file: \(path)")
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:18:61: error: cannot find 'S_IWUSR' in scope
16 | let path = lockPath.path
17 |
18 | let opened = open(path, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)
| `- error: cannot find 'S_IWUSR' in scope
19 | if opened < 0 {
20 | throw ToolingError.message("failed to open lock file: \(path)")
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:18:71: error: cannot find 'S_IRGRP' in scope
16 | let path = lockPath.path
17 |
18 | let opened = open(path, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)
| `- error: cannot find 'S_IRGRP' in scope
19 | if opened < 0 {
20 | throw ToolingError.message("failed to open lock file: \(path)")
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:18:81: error: cannot find 'S_IROTH' in scope
16 | let path = lockPath.path
17 |
18 | let opened = open(path, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)
| `- error: cannot find 'S_IROTH' in scope
19 | if opened < 0 {
20 | throw ToolingError.message("failed to open lock file: \(path)")
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:24:12: error: cannot find 'flock' in scope
22 | self.fd = opened
23 |
24 | if flock(opened, LOCK_EX | LOCK_NB) != 0 {
| `- error: cannot find 'flock' in scope
25 | close(opened)
26 | self.fd = nil
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:24:26: error: cannot find 'LOCK_EX' in scope
22 | self.fd = opened
23 |
24 | if flock(opened, LOCK_EX | LOCK_NB) != 0 {
| `- error: cannot find 'LOCK_EX' in scope
25 | close(opened)
26 | self.fd = nil
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:24:36: error: cannot find 'LOCK_NB' in scope
22 | self.fd = opened
23 |
24 | if flock(opened, LOCK_EX | LOCK_NB) != 0 {
| `- error: cannot find 'LOCK_NB' in scope
25 | close(opened)
26 | self.fd = nil
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:25:13: error: cannot find 'close' in scope
23 |
24 | if flock(opened, LOCK_EX | LOCK_NB) != 0 {
25 | close(opened)
| `- error: cannot find 'close' in scope
26 | self.fd = nil
27 | throw ToolingError.message("output directory is locked: \(outDir.path)")
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:30:13: error: cannot find 'ftruncate' in scope
28 | }
29 |
30 | _ = ftruncate(opened, 0)
| `- error: cannot find 'ftruncate' in scope
31 | let started = ISO8601DateFormatter().string(from: Date())
32 | let text = "pid=\(getpid())\nstarted=\(started)\n"
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:32:27: error: cannot find 'getpid' in scope
30 | _ = ftruncate(opened, 0)
31 | let started = ISO8601DateFormatter().string(from: Date())
32 | let text = "pid=\(getpid())\nstarted=\(started)\n"
| `- error: cannot find 'getpid' in scope
33 | _ = text.withCString { ptr in
34 | write(opened, ptr, strlen(ptr))
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:34:13: error: cannot find 'write' in scope
32 | let text = "pid=\(getpid())\nstarted=\(started)\n"
33 | _ = text.withCString { ptr in
34 | write(opened, ptr, strlen(ptr))
| `- error: cannot find 'write' in scope
35 | }
36 | _ = fsync(opened)
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:36:13: error: cannot find 'fsync' in scope
34 | write(opened, ptr, strlen(ptr))
35 | }
36 | _ = fsync(opened)
| `- error: cannot find 'fsync' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:42:13: error: cannot find 'flock' in scope
40 | guard let fd else { return }
41 | self.fd = nil
42 | _ = flock(fd, LOCK_UN)
| `- error: cannot find 'flock' in scope
43 | close(fd)
44 | if removeFile {
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:42:23: error: cannot find 'LOCK_UN' in scope
40 | guard let fd else { return }
41 | self.fd = nil
42 | _ = flock(fd, LOCK_UN)
| `- error: cannot find 'LOCK_UN' in scope
43 | close(fd)
44 | if removeFile {
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:43:9: error: cannot find 'close' in scope
41 | self.fd = nil
42 | _ = flock(fd, LOCK_UN)
43 | close(fd)
| `- error: cannot find 'close' in scope
44 | if removeFile {
45 | try? FileManager.default.removeItem(at: lockPath)
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/FileOps.swift:9:64: error: cannot find 'getpid' in scope
7 |
8 | public enum FileOps {
9 | public static func buildStageDir(outDir: URL, pid: Int32 = getpid(), date: Date = Date()) -> URL {
| `- error: cannot find 'getpid' in scope
10 | let formatter = DateFormatter()
11 | formatter.locale = Locale(identifier: "en_US_POSIX")
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/FileOps.swift:35:13: error: cannot find 'rmdir' in scope
33 | public static func tryRemoveEmpty(_ url: URL, fileManager: FileManager = .default) {
34 | // Match Python behavior: only remove if the directory is empty.
35 | _ = rmdir(url.path)
| `- error: cannot find 'rmdir' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:18:22: error: cannot find 'open' in scope
16 | let path = lockPath.path
17 |
18 | let opened = open(path, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)
| `- error: cannot find 'open' in scope
19 | if opened < 0 {
20 | throw ToolingError.message("failed to open lock file: \(path)")
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:18:33: error: cannot find 'O_CREAT' in scope
16 | let path = lockPath.path
17 |
18 | let opened = open(path, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)
| `- error: cannot find 'O_CREAT' in scope
19 | if opened < 0 {
20 | throw ToolingError.message("failed to open lock file: \(path)")
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:18:43: error: cannot find 'O_RDWR' in scope
16 | let path = lockPath.path
17 |
18 | let opened = open(path, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)
| `- error: cannot find 'O_RDWR' in scope
19 | if opened < 0 {
20 | throw ToolingError.message("failed to open lock file: \(path)")
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:18:51: error: cannot find 'S_IRUSR' in scope
16 | let path = lockPath.path
17 |
18 | let opened = open(path, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)
| `- error: cannot find 'S_IRUSR' in scope
19 | if opened < 0 {
20 | throw ToolingError.message("failed to open lock file: \(path)")
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:18:61: error: cannot find 'S_IWUSR' in scope
16 | let path = lockPath.path
17 |
18 | let opened = open(path, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)
| `- error: cannot find 'S_IWUSR' in scope
19 | if opened < 0 {
20 | throw ToolingError.message("failed to open lock file: \(path)")
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:18:71: error: cannot find 'S_IRGRP' in scope
16 | let path = lockPath.path
17 |
18 | let opened = open(path, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)
| `- error: cannot find 'S_IRGRP' in scope
19 | if opened < 0 {
20 | throw ToolingError.message("failed to open lock file: \(path)")
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:18:81: error: cannot find 'S_IROTH' in scope
16 | let path = lockPath.path
17 |
18 | let opened = open(path, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)
| `- error: cannot find 'S_IROTH' in scope
19 | if opened < 0 {
20 | throw ToolingError.message("failed to open lock file: \(path)")
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:24:12: error: cannot find 'flock' in scope
22 | self.fd = opened
23 |
24 | if flock(opened, LOCK_EX | LOCK_NB) != 0 {
| `- error: cannot find 'flock' in scope
25 | close(opened)
26 | self.fd = nil
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:24:26: error: cannot find 'LOCK_EX' in scope
22 | self.fd = opened
23 |
24 | if flock(opened, LOCK_EX | LOCK_NB) != 0 {
| `- error: cannot find 'LOCK_EX' in scope
25 | close(opened)
26 | self.fd = nil
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:24:36: error: cannot find 'LOCK_NB' in scope
22 | self.fd = opened
23 |
24 | if flock(opened, LOCK_EX | LOCK_NB) != 0 {
| `- error: cannot find 'LOCK_NB' in scope
25 | close(opened)
26 | self.fd = nil
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:25:13: error: cannot find 'close' in scope
23 |
24 | if flock(opened, LOCK_EX | LOCK_NB) != 0 {
25 | close(opened)
| `- error: cannot find 'close' in scope
26 | self.fd = nil
27 | throw ToolingError.message("output directory is locked: \(outDir.path)")
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:30:13: error: cannot find 'ftruncate' in scope
28 | }
29 |
30 | _ = ftruncate(opened, 0)
| `- error: cannot find 'ftruncate' in scope
31 | let started = ISO8601DateFormatter().string(from: Date())
32 | let text = "pid=\(getpid())\nstarted=\(started)\n"
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:32:27: error: cannot find 'getpid' in scope
30 | _ = ftruncate(opened, 0)
31 | let started = ISO8601DateFormatter().string(from: Date())
32 | let text = "pid=\(getpid())\nstarted=\(started)\n"
| `- error: cannot find 'getpid' in scope
33 | _ = text.withCString { ptr in
34 | write(opened, ptr, strlen(ptr))
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:34:13: error: cannot find 'write' in scope
32 | let text = "pid=\(getpid())\nstarted=\(started)\n"
33 | _ = text.withCString { ptr in
34 | write(opened, ptr, strlen(ptr))
| `- error: cannot find 'write' in scope
35 | }
36 | _ = fsync(opened)
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:36:13: error: cannot find 'fsync' in scope
34 | write(opened, ptr, strlen(ptr))
35 | }
36 | _ = fsync(opened)
| `- error: cannot find 'fsync' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:42:13: error: cannot find 'flock' in scope
40 | guard let fd else { return }
41 | self.fd = nil
42 | _ = flock(fd, LOCK_UN)
| `- error: cannot find 'flock' in scope
43 | close(fd)
44 | if removeFile {
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:42:23: error: cannot find 'LOCK_UN' in scope
40 | guard let fd else { return }
41 | self.fd = nil
42 | _ = flock(fd, LOCK_UN)
| `- error: cannot find 'LOCK_UN' in scope
43 | close(fd)
44 | if removeFile {
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/OutputLock.swift:43:9: error: cannot find 'close' in scope
41 | self.fd = nil
42 | _ = flock(fd, LOCK_UN)
43 | close(fd)
| `- error: cannot find 'close' in scope
44 | if removeFile {
45 | try? FileManager.default.removeItem(at: lockPath)
[197/752] Emitting module ObjCTypeDecodeKit
[223/753] Compiling ObjCTypeDecodeKit ObjCTypeDecoder.swift
[224/755] Compiling ObjCTypeDecodeKit ObjCTypeCodable.swift
[226/812] Compiling PrivateHeaderKitTooling SignalForwarding.swift
[227/812] Compiling PrivateHeaderKitTooling Simctl.swift
[228/822] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[229/822] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
BUILD FAILURE 6.2 android