The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftDebt, reference main (9d688a), with Swift 6.3 for Android on 30 Sep 2026 01:59:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brunogama/SwiftDebt.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/brunogama/SwiftDebt
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9d688a3 feat(lifecycle): measure real-source R3 outcomes (#107)
Cloned https://github.com/brunogama/SwiftDebt.git
Revision (git rev-parse @):
9d688a32d38c3840a527c03b2bc1fca6068369a3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/brunogama/SwiftDebt.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/brunogama/SwiftDebt.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:8ca9e1e6d70fd53f5b05e4f64d92569d697563f7f457a1485802bc9eb2cd1382
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Fetching https://github.com/swiftlang/swift-docc-plugin.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/2345] Fetching swift-docc-plugin
[2346/82432] Fetching swift-docc-plugin, swift-syntax
Fetched https://github.com/swiftlang/swift-docc-plugin.git from cache (3.22s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.24s)
Computing version for https://github.com/swiftlang/swift-docc-plugin.git
Computed https://github.com/swiftlang/swift-docc-plugin.git at 1.5.0 (4.12s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3832] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.55s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (0.82s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.20s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin.git
Working copy of https://github.com/swiftlang/swift-docc-plugin.git resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.3.2-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.3.2-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.20s)
[1/1] Compiling plugin SwiftDebtBuildPlugin
[2/2] Compiling plugin SwiftDebtCommandPlugin
[3/3] Compiling plugin Swift-DocC Preview
[4/4] Compiling plugin Swift-DocC
Building for debugging...
[4/81] Write sources
[16/81] Copying SwiftDebtKit.docc
[17/81] Write sources
[31/81] Copying SwiftDebtKit.docc
[32/81] Write sources
[40/81] Compiling _SwiftSyntaxCShims PlatformMutex.c
[42/81] Write swift-version-272D24FF697CF451.txt
[44/97] Emitting module SwiftSyntax510
[45/97] Compiling SwiftSyntax600 Empty.swift
[46/97] Emitting module SwiftSyntax600
[48/98] Compiling SwiftSyntax602 Empty.swift
[49/98] Emitting module SwiftSyntax602
[51/103] Compiling SwiftSyntax509 Empty.swift
[52/103] Emitting module SwiftSyntax509
[55/104] Compiling SwiftSyntax509 Empty.swift
[56/105] Emitting module SwiftSyntax602
[57/105] Compiling SwiftSyntax602 Empty.swift
[60/106] Emitting module SwiftSyntax510
[61/106] Compiling SwiftSyntax510 Empty.swift
[62/106] Emitting module SwiftSyntax600
[63/106] Compiling SwiftSyntax600 Empty.swift
[65/115] Wrapping AST for SwiftSyntax600 for debugging
[67/158] Emitting module SwiftSyntax601
[68/158] Compiling SwiftSyntax601 Empty.swift
[68/189] Wrapping AST for SwiftSyntax602 for debugging
[71/195] Wrapping AST for SwiftSyntax509 for debugging
[72/195] Wrapping AST for SwiftSyntax600 for debugging
[74/195] Compiling SwiftSyntax510 Empty.swift
[74/196] Wrapping AST for SwiftSyntax509 for debugging
[76/196] Wrapping AST for SwiftSyntax601 for debugging
[77/197] Wrapping AST for SwiftSyntax510 for debugging
[80/259] Emitting module SwiftSyntax601
[81/259] Compiling SwiftSyntax601 Empty.swift
[82/260] Wrapping AST for SwiftSyntax601 for debugging
[84/323] Compiling SwiftSyntax Convenience.swift
[85/323] Compiling SwiftSyntax CustomTraits.swift
[86/323] Compiling SwiftSyntax EditorPlaceholder.swift
[87/323] Compiling SwiftSyntax SourceLength.swift
[88/323] Compiling SwiftSyntax SourceLocation.swift
[89/323] Compiling SwiftSyntax SourcePresence.swift
[90/329] Compiling SwiftSyntax TokenKind.swift
[91/329] Compiling SwiftSyntax Tokens.swift
[92/329] Compiling SwiftSyntax TriviaPieces.swift
[93/329] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[94/329] Compiling SwiftSyntax RawSyntaxNodesC.swift
[95/329] Compiling SwiftSyntax RawSyntaxNodesD.swift
[96/335] Compiling SwiftSyntax AbsolutePosition.swift
[97/335] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[98/335] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[99/335] Compiling SwiftSyntax Assert.swift
[100/335] Compiling SwiftSyntax BumpPtrAllocator.swift
[101/335] Compiling SwiftSyntax CommonAncestor.swift
[102/335] Emitting module SwiftDebtCore
[113/343] Compiling SwiftDebtCore RuleIdentity.swift
[114/343] Compiling SwiftDebtCore SemanticCompatibility.swift
[115/343] Compiling SwiftDebtCore SourcePath.swift
[116/343] Compiling SwiftDebtCore StructuralDebt.swift
[117/343] Compiling SwiftDebtCore StructuralDebtAggregateItems.swift
[118/343] Compiling SwiftDebtCore StructuralDebtCallableItems.swift
[125/343] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[126/343] Compiling SwiftSyntax Syntax.swift
[127/343] Compiling SwiftSyntax SyntaxChildren.swift
[128/343] Compiling SwiftSyntax SyntaxCollection.swift
[129/343] Compiling SwiftSyntax SyntaxHashable.swift
[130/343] Compiling SwiftSyntax SyntaxIdentifier.swift
[137/343] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[138/343] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[139/343] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[140/343] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[141/343] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[142/343] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[147/343] Compiling SwiftSyntax RawSyntaxArena.swift
[148/343] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[149/343] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[150/343] Compiling SwiftSyntax RawSyntaxTokenView.swift
[151/343] Compiling SwiftSyntax SourceEdit.swift
[158/343] Compiling SwiftSyntax TokenSyntax.swift
[159/343] Compiling SwiftSyntax Trivia.swift
[160/343] Compiling SwiftSyntax Utils.swift
[161/343] Compiling SwiftSyntax SyntaxRewriter.swift
[162/343] Compiling SwiftSyntax SyntaxTraits.swift
[163/343] Compiling SwiftSyntax SyntaxVisitor.swift
[191/351] Compiling SwiftSyntax SyntaxNodeStructure.swift
[192/351] Compiling SwiftSyntax SyntaxProtocol.swift
[193/351] Compiling SwiftSyntax SyntaxText.swift
[194/351] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[195/351] Compiling SwiftSyntax TokenDiagnostic.swift
[196/351] Compiling SwiftSyntax TokenSequence.swift
[239/367] Wrapping AST for SwiftDebtCore for debugging
[241/430] Compiling SwiftDebtLifecycle LegacyIntroductionConclusionEvaluator+Trace.swift
[242/430] Compiling SwiftDebtLifecycle LegacyIntroductionConclusionEvaluator+Validation.swift
[243/430] Compiling SwiftDebtLifecycle LegacyIntroductionConclusionEvaluator.swift
[244/430] Compiling SwiftDebtLifecycle LegacyLifecycleReconciliationValidation.swift
[245/430] Compiling SwiftDebtLifecycle LegacyResolutionCoverageEvaluator+Relocation.swift
[246/430] Compiling SwiftDebtLifecycle LegacyResolutionCoverageEvaluator.swift
[247/431] Wrapping AST for SwiftDebtCore for debugging
[249/509] Compiling SwiftDebtReporting DebtDashboardReportScript.swift
[250/510] Emitting module SwiftDebtInteractive
[251/510] Compiling SwiftDebtReporting DebtReportGraphProjection.swift
[252/510] Compiling SwiftDebtLifecycle LifecycleReconciliationProfile.swift
[253/510] Compiling SwiftDebtLifecycle LifecycleReconciliationValidation.swift
[254/510] Compiling SwiftDebtInteractive TerminalEditorLaunch.swift
[255/510] Emitting module SwiftDebtReporting
[256/510] Compiling SwiftDebtLifecycle LifecycleReducer+Processing.swift
[257/510] Compiling SwiftDebtLifecycle LifecycleReducer+Recording.swift
[258/510] Compiling SwiftDebtInteractive POSIXTerminalIO.swift
[259/510] Compiling SwiftDebtInteractive TerminalDebtExplorerDependencies.swift
[260/510] Compiling SwiftDebtInteractive TerminalDebtExplorerDriver.swift
[261/510] Compiling SwiftDebtReporting RuleAnalysisRenderer.swift
[262/510] Emitting module SwiftDebtLifecycle
[263/518] Compiling SwiftDebtInteractive DebtExplorerReducer.swift
[264/518] Compiling SwiftDebtInteractive DebtExplorerDetail.swift
[265/518] Compiling SwiftDebtInteractive TerminalDebtExplorer.swift
[266/519] Wrapping AST for SwiftDebtInteractive for debugging
[268/519] Emitting module SwiftDebtReporting
[271/520] Compiling SwiftDebtReporting ReportRenderer.swift
[272/520] Compiling SwiftDebtReporting DebtReportRenderer.swift
[273/520] Compiling SwiftDebtReporting DebtReportProjectionBuilder.swift
[274/520] Compiling SwiftDebtLifecycle LegacyIntroductionConclusionEvaluator+Trace.swift
[275/520] Compiling SwiftDebtLifecycle LegacyIntroductionConclusionEvaluator+Validation.swift
[276/520] Compiling SwiftDebtLifecycle LegacyIntroductionConclusionEvaluator.swift
[277/520] Compiling SwiftDebtLifecycle LegacyLifecycleReconciliationValidation.swift
[278/520] Compiling SwiftDebtLifecycle LegacyResolutionCoverageEvaluator+Relocation.swift
[279/520] Compiling SwiftDebtLifecycle LegacyResolutionCoverageEvaluator.swift
[280/520] Compiling SwiftDebtLifecycle LifecycleArtifact+SchemaOne.swift
[281/520] Compiling SwiftDebtLifecycle LifecycleArtifact+SchemaTwo.swift
[282/521] Compiling SwiftDebtReporting DebtDashboardReportScript.swift
[283/521] Compiling SwiftDebtReporting DebtReportProjectionBuilder.swift
[284/521] Compiling SwiftDebtReporting DebtReportGraphProjection.swift
[285/521] Wrapping AST for SwiftDebtReporting for debugging
[287/521] Compiling SwiftDebtLifecycle ContinuityReconciler+Divergence.swift
[288/521] Compiling SwiftDebtLifecycle ContinuityReconciler+Groups.swift
[289/521] Compiling SwiftDebtLifecycle ContinuityReconciler+Relations.swift
[290/521] Compiling SwiftDebtLifecycle ContinuityReconciler.swift
[291/521] Compiling SwiftDebtLifecycle Finding+EventGraph.swift
[292/521] Compiling SwiftDebtLifecycle Finding.swift
[293/521] Compiling SwiftDebtLifecycle FindingProjection.swift
[294/521] Compiling SwiftDebtLifecycle LegacyIntroductionConclusionEvaluator+Assessment.swift
[299/521] Compiling SwiftDebtLifecycle LifecycleReducer.swift
[300/521] Compiling SwiftDebtLifecycle LifecycleSHA256.swift
[301/521] Compiling SwiftDebtLifecycle ObservationOutcome.swift
[302/521] Compiling SwiftDebtLifecycle ObservationProvenance.swift
[303/521] Emitting module SwiftDebtLifecycle
[304/529] Compiling SwiftDebtLifecycle LifecycleArtifactStore.swift
[305/529] Compiling SwiftDebtLifecycle LifecycleArtifactValidation.swift
[306/529] Compiling SwiftDebtLifecycle LifecycleAuditExport.swift
[307/529] Compiling SwiftDebtLifecycle LifecycleContract.swift
[308/529] Compiling SwiftDebtLifecycle LifecycleDerivedStateValidation.swift
[309/529] Compiling SwiftDebtLifecycle LifecycleEffectiveConfiguration.swift
[310/529] Compiling SwiftDebtLifecycle LifecycleEvents.swift
[311/529] Compiling SwiftDebtLifecycle ConfigurationComparisonEvaluator.swift
[312/529] Compiling SwiftDebtLifecycle ContinuityCandidateIndex.swift
[313/529] Compiling SwiftDebtLifecycle ObservationRecords.swift
[314/529] Compiling SwiftDebtLifecycle ObservationReferences.swift
[315/529] Compiling SwiftDebtLifecycle ObservationScope.swift
[316/529] Compiling SwiftDebtLifecycle ObservationSnapshot+Analysis.swift
[317/529] Compiling SwiftDebtLifecycle ObservationSnapshot+Codable.swift
[318/529] Compiling SwiftDebtLifecycle ObservationSnapshot.swift
[319/529] Compiling SwiftDebtLifecycle ResolutionCoverageEvaluator+Relocation.swift
[320/529] Compiling SwiftDebtLifecycle ResolutionCoverageEvaluator.swift
[321/529] Compiling SwiftDebtLifecycle LifecycleArtifact.swift
[322/529] Compiling SwiftDebtLifecycle IntroductionConclusionEvaluator+Assessment.swift
[323/529] Compiling SwiftDebtLifecycle IntroductionConclusionEvaluator+Trace.swift
[324/529] Compiling SwiftDebtLifecycle IntroductionConclusionEvaluator+Validation.swift
[325/529] Compiling SwiftDebtLifecycle IntroductionConclusionEvaluator.swift
[326/529] Compiling SwiftDebtLifecycle IntroductionEvidence.swift
[327/529] Compiling SwiftDebtLifecycle LegacyContinuityReconciler+Groups.swift
[328/529] Compiling SwiftDebtLifecycle LegacyContinuityReconciler+Relations.swift
[329/529] Compiling SwiftDebtLifecycle LegacyContinuityReconciler.swift
[330/529] Compiling SwiftDebtLifecycle LifecycleEvidenceValidation.swift
[331/529] Compiling SwiftDebtLifecycle LifecycleIdentifiers.swift
[332/529] Compiling SwiftDebtLifecycle LifecycleMatchedContinuityValidation.swift
[333/529] Compiling SwiftDebtLifecycle LifecycleOpeningValidation.swift
[334/529] Compiling SwiftDebtLifecycle LifecycleQueries.swift
[335/529] Compiling SwiftDebtLifecycle LifecycleQueryRendering.swift
[336/529] Compiling SwiftDebtLifecycle LifecycleQueryRenderingEvent.swift
[337/529] Compiling SwiftDebtLifecycle LifecycleQueryRenderingObservation.swift
[338/529] Compiling SwiftDebtLifecycle IntroductionArtifactValidation.swift
[339/529] Compiling SwiftDebtLifecycle SemanticComparisonBasis.swift
[340/529] Compiling SwiftDebtLifecycle SemanticComparisonEvaluator.swift
[341/529] Compiling SwiftDebtLifecycle SnapshotGraph.swift
[342/529] Compiling SwiftDebtLifecycle SnapshotProvenance+Validation.swift
[343/529] Compiling SwiftDebtLifecycle SnapshotSourceIdentity.swift
[344/529] Compiling SwiftDebtLifecycle SourceDeletionEvidence.swift
[345/529] Compiling SwiftDebtLifecycle SourceRenameEvidence.swift
[346/529] Compiling SwiftDebtLifecycle SourceSelectionEvidence.swift
[347/530] Wrapping AST for SwiftDebtLifecycle for debugging
[366/530] Compiling SwiftDebtInteractive TerminalDebtExplorer.swift
/host/spi-builder-workspace/Sources/SwiftDebtInteractive/TerminalDebtExplorer.swift:27:39: error: cannot find 'STDIN_FILENO' in scope
 25 |     {
 26 |         TerminalEnvironment(
 27 |             standardInputIsTTY: isTTY(STDIN_FILENO),
    |                                       `- error: cannot find 'STDIN_FILENO' in scope
 28 |             standardOutputIsTTY: isTTY(STDOUT_FILENO),
 29 |             term: environment["TERM"],
/host/spi-builder-workspace/Sources/SwiftDebtInteractive/TerminalDebtExplorer.swift:28:40: error: cannot find 'STDOUT_FILENO' in scope
 26 |         TerminalEnvironment(
 27 |             standardInputIsTTY: isTTY(STDIN_FILENO),
 28 |             standardOutputIsTTY: isTTY(STDOUT_FILENO),
    |                                        `- error: cannot find 'STDOUT_FILENO' in scope
 29 |             term: environment["TERM"],
 30 |             ci: environment["CI"]
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:26: error: cannot find 'open' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                          `- error: cannot find 'open' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:41: error: cannot find 'O_CREAT' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                         `- error: cannot find 'O_CREAT' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:51: error: cannot find 'O_RDWR' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                                   `- error: cannot find 'O_RDWR' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:66: error: cannot find 'S_IRUSR' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                                                  `- error: cannot find 'S_IRUSR' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:76: error: cannot find 'S_IWUSR' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                                                            `- error: cannot find 'S_IWUSR' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:156:17: error: cannot find 'close' in scope
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
155 |         }
156 |         defer { close(descriptor) }
    |                 `- error: cannot find 'close' in scope
157 |         guard flock(descriptor, LOCK_EX) == 0 else {
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:157:15: error: cannot find 'flock' in scope
155 |         }
156 |         defer { close(descriptor) }
157 |         guard flock(descriptor, LOCK_EX) == 0 else {
    |               `- error: cannot find 'flock' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:157:33: error: cannot find 'LOCK_EX' in scope
155 |         }
156 |         defer { close(descriptor) }
157 |         guard flock(descriptor, LOCK_EX) == 0 else {
    |                                 `- error: cannot find 'LOCK_EX' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:160:17: error: cannot find 'flock' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
160 |         defer { flock(descriptor, LOCK_UN) }
    |                 `- error: cannot find 'flock' in scope
161 |         return try operation()
162 |     }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:160:35: error: cannot find 'LOCK_UN' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
160 |         defer { flock(descriptor, LOCK_UN) }
    |                                   `- error: cannot find 'LOCK_UN' in scope
161 |         return try operation()
162 |     }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:165:34: error: cannot find 'errno' in scope
163 |
164 |     private func systemErrorDescription() -> String {
165 |         String(cString: strerror(errno))
    |                                  `- error: cannot find 'errno' in scope
166 |     }
167 | }
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:26: error: cannot find 'open' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                          `- error: cannot find 'open' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:41: error: cannot find 'O_CREAT' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                         `- error: cannot find 'O_CREAT' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:51: error: cannot find 'O_RDWR' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                                   `- error: cannot find 'O_RDWR' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:66: error: cannot find 'S_IRUSR' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                                                  `- error: cannot find 'S_IRUSR' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:76: error: cannot find 'S_IWUSR' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                                                            `- error: cannot find 'S_IWUSR' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:156:17: error: cannot find 'close' in scope
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
155 |         }
156 |         defer { close(descriptor) }
    |                 `- error: cannot find 'close' in scope
157 |         guard flock(descriptor, LOCK_EX) == 0 else {
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:157:15: error: cannot find 'flock' in scope
155 |         }
156 |         defer { close(descriptor) }
157 |         guard flock(descriptor, LOCK_EX) == 0 else {
    |               `- error: cannot find 'flock' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:157:33: error: cannot find 'LOCK_EX' in scope
155 |         }
156 |         defer { close(descriptor) }
157 |         guard flock(descriptor, LOCK_EX) == 0 else {
    |                                 `- error: cannot find 'LOCK_EX' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:160:17: error: cannot find 'flock' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
160 |         defer { flock(descriptor, LOCK_UN) }
    |                 `- error: cannot find 'flock' in scope
161 |         return try operation()
162 |     }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:160:35: error: cannot find 'LOCK_UN' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
160 |         defer { flock(descriptor, LOCK_UN) }
    |                                   `- error: cannot find 'LOCK_UN' in scope
161 |         return try operation()
162 |     }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:165:34: error: cannot find 'errno' in scope
163 |
164 |     private func systemErrorDescription() -> String {
165 |         String(cString: strerror(errno))
    |                                  `- error: cannot find 'errno' in scope
166 |     }
167 | }
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:26: error: cannot find 'open' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                          `- error: cannot find 'open' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:41: error: cannot find 'O_CREAT' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                         `- error: cannot find 'O_CREAT' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:51: error: cannot find 'O_RDWR' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                                   `- error: cannot find 'O_RDWR' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:66: error: cannot find 'S_IRUSR' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                                                  `- error: cannot find 'S_IRUSR' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:76: error: cannot find 'S_IWUSR' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                                                            `- error: cannot find 'S_IWUSR' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:156:17: error: cannot find 'close' in scope
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
155 |         }
156 |         defer { close(descriptor) }
    |                 `- error: cannot find 'close' in scope
157 |         guard flock(descriptor, LOCK_EX) == 0 else {
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:157:15: error: cannot find 'flock' in scope
155 |         }
156 |         defer { close(descriptor) }
157 |         guard flock(descriptor, LOCK_EX) == 0 else {
    |               `- error: cannot find 'flock' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:157:33: error: cannot find 'LOCK_EX' in scope
155 |         }
156 |         defer { close(descriptor) }
157 |         guard flock(descriptor, LOCK_EX) == 0 else {
    |                                 `- error: cannot find 'LOCK_EX' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:160:17: error: cannot find 'flock' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
160 |         defer { flock(descriptor, LOCK_UN) }
    |                 `- error: cannot find 'flock' in scope
161 |         return try operation()
162 |     }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:160:35: error: cannot find 'LOCK_UN' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
160 |         defer { flock(descriptor, LOCK_UN) }
    |                                   `- error: cannot find 'LOCK_UN' in scope
161 |         return try operation()
162 |     }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:165:34: error: cannot find 'errno' in scope
163 |
164 |     private func systemErrorDescription() -> String {
165 |         String(cString: strerror(errno))
    |                                  `- error: cannot find 'errno' in scope
166 |     }
167 | }
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:26: error: cannot find 'open' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                          `- error: cannot find 'open' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:41: error: cannot find 'O_CREAT' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                         `- error: cannot find 'O_CREAT' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:51: error: cannot find 'O_RDWR' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                                   `- error: cannot find 'O_RDWR' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:66: error: cannot find 'S_IRUSR' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                                                  `- error: cannot find 'S_IRUSR' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:76: error: cannot find 'S_IWUSR' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                                                            `- error: cannot find 'S_IWUSR' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:156:17: error: cannot find 'close' in scope
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
155 |         }
156 |         defer { close(descriptor) }
    |                 `- error: cannot find 'close' in scope
157 |         guard flock(descriptor, LOCK_EX) == 0 else {
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:157:15: error: cannot find 'flock' in scope
155 |         }
156 |         defer { close(descriptor) }
157 |         guard flock(descriptor, LOCK_EX) == 0 else {
    |               `- error: cannot find 'flock' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:157:33: error: cannot find 'LOCK_EX' in scope
155 |         }
156 |         defer { close(descriptor) }
157 |         guard flock(descriptor, LOCK_EX) == 0 else {
    |                                 `- error: cannot find 'LOCK_EX' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:160:17: error: cannot find 'flock' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
160 |         defer { flock(descriptor, LOCK_UN) }
    |                 `- error: cannot find 'flock' in scope
161 |         return try operation()
162 |     }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:160:35: error: cannot find 'LOCK_UN' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
160 |         defer { flock(descriptor, LOCK_UN) }
    |                                   `- error: cannot find 'LOCK_UN' in scope
161 |         return try operation()
162 |     }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:165:34: error: cannot find 'errno' in scope
163 |
164 |     private func systemErrorDescription() -> String {
165 |         String(cString: strerror(errno))
    |                                  `- error: cannot find 'errno' in scope
166 |     }
167 | }
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:26: error: cannot find 'open' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                          `- error: cannot find 'open' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:41: error: cannot find 'O_CREAT' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                         `- error: cannot find 'O_CREAT' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:51: error: cannot find 'O_RDWR' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                                   `- error: cannot find 'O_RDWR' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:66: error: cannot find 'S_IRUSR' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                                                  `- error: cannot find 'S_IRUSR' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:76: error: cannot find 'S_IWUSR' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                                                            `- error: cannot find 'S_IWUSR' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:156:17: error: cannot find 'close' in scope
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
155 |         }
156 |         defer { close(descriptor) }
    |                 `- error: cannot find 'close' in scope
157 |         guard flock(descriptor, LOCK_EX) == 0 else {
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:157:15: error: cannot find 'flock' in scope
155 |         }
156 |         defer { close(descriptor) }
157 |         guard flock(descriptor, LOCK_EX) == 0 else {
    |               `- error: cannot find 'flock' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:157:33: error: cannot find 'LOCK_EX' in scope
155 |         }
156 |         defer { close(descriptor) }
157 |         guard flock(descriptor, LOCK_EX) == 0 else {
    |                                 `- error: cannot find 'LOCK_EX' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:160:17: error: cannot find 'flock' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
160 |         defer { flock(descriptor, LOCK_UN) }
    |                 `- error: cannot find 'flock' in scope
161 |         return try operation()
162 |     }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:160:35: error: cannot find 'LOCK_UN' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
160 |         defer { flock(descriptor, LOCK_UN) }
    |                                   `- error: cannot find 'LOCK_UN' in scope
161 |         return try operation()
162 |     }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:165:34: error: cannot find 'errno' in scope
163 |
164 |     private func systemErrorDescription() -> String {
165 |         String(cString: strerror(errno))
    |                                  `- error: cannot find 'errno' in scope
166 |     }
167 | }
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:26: error: cannot find 'open' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                          `- error: cannot find 'open' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:41: error: cannot find 'O_CREAT' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                         `- error: cannot find 'O_CREAT' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:51: error: cannot find 'O_RDWR' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                                   `- error: cannot find 'O_RDWR' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:66: error: cannot find 'S_IRUSR' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                                                  `- error: cannot find 'S_IRUSR' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:76: error: cannot find 'S_IWUSR' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                                                            `- error: cannot find 'S_IWUSR' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:156:17: error: cannot find 'close' in scope
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
155 |         }
156 |         defer { close(descriptor) }
    |                 `- error: cannot find 'close' in scope
157 |         guard flock(descriptor, LOCK_EX) == 0 else {
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:157:15: error: cannot find 'flock' in scope
155 |         }
156 |         defer { close(descriptor) }
157 |         guard flock(descriptor, LOCK_EX) == 0 else {
    |               `- error: cannot find 'flock' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:157:33: error: cannot find 'LOCK_EX' in scope
155 |         }
156 |         defer { close(descriptor) }
157 |         guard flock(descriptor, LOCK_EX) == 0 else {
    |                                 `- error: cannot find 'LOCK_EX' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:160:17: error: cannot find 'flock' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
160 |         defer { flock(descriptor, LOCK_UN) }
    |                 `- error: cannot find 'flock' in scope
161 |         return try operation()
162 |     }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:160:35: error: cannot find 'LOCK_UN' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
160 |         defer { flock(descriptor, LOCK_UN) }
    |                                   `- error: cannot find 'LOCK_UN' in scope
161 |         return try operation()
162 |     }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:165:34: error: cannot find 'errno' in scope
163 |
164 |     private func systemErrorDescription() -> String {
165 |         String(cString: strerror(errno))
    |                                  `- error: cannot find 'errno' in scope
166 |     }
167 | }
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[382/530] Compiling SwiftDebtReporting RuleAnalysisRenderer.swift
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:26: error: cannot find 'open' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                          `- error: cannot find 'open' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:41: error: cannot find 'O_CREAT' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                         `- error: cannot find 'O_CREAT' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:51: error: cannot find 'O_RDWR' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                                   `- error: cannot find 'O_RDWR' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:66: error: cannot find 'S_IRUSR' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                                                  `- error: cannot find 'S_IRUSR' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:76: error: cannot find 'S_IWUSR' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                                                            `- error: cannot find 'S_IWUSR' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:156:17: error: cannot find 'close' in scope
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
155 |         }
156 |         defer { close(descriptor) }
    |                 `- error: cannot find 'close' in scope
157 |         guard flock(descriptor, LOCK_EX) == 0 else {
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:157:15: error: cannot find 'flock' in scope
155 |         }
156 |         defer { close(descriptor) }
157 |         guard flock(descriptor, LOCK_EX) == 0 else {
    |               `- error: cannot find 'flock' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:157:33: error: cannot find 'LOCK_EX' in scope
155 |         }
156 |         defer { close(descriptor) }
157 |         guard flock(descriptor, LOCK_EX) == 0 else {
    |                                 `- error: cannot find 'LOCK_EX' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:160:17: error: cannot find 'flock' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
160 |         defer { flock(descriptor, LOCK_UN) }
    |                 `- error: cannot find 'flock' in scope
161 |         return try operation()
162 |     }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:160:35: error: cannot find 'LOCK_UN' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
160 |         defer { flock(descriptor, LOCK_UN) }
    |                                   `- error: cannot find 'LOCK_UN' in scope
161 |         return try operation()
162 |     }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:165:34: error: cannot find 'errno' in scope
163 |
164 |     private func systemErrorDescription() -> String {
165 |         String(cString: strerror(errno))
    |                                  `- error: cannot find 'errno' in scope
166 |     }
167 | }
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:26: error: cannot find 'open' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                          `- error: cannot find 'open' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:41: error: cannot find 'O_CREAT' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                         `- error: cannot find 'O_CREAT' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:51: error: cannot find 'O_RDWR' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                                   `- error: cannot find 'O_RDWR' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:66: error: cannot find 'S_IRUSR' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                                                  `- error: cannot find 'S_IRUSR' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:152:76: error: cannot find 'S_IWUSR' in scope
150 |     private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
151 |         let lockPath = artifactURL.path + ".lock"
152 |         let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
    |                                                                            `- error: cannot find 'S_IWUSR' in scope
153 |         guard descriptor >= 0 else {
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:156:17: error: cannot find 'close' in scope
154 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
155 |         }
156 |         defer { close(descriptor) }
    |                 `- error: cannot find 'close' in scope
157 |         guard flock(descriptor, LOCK_EX) == 0 else {
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:157:15: error: cannot find 'flock' in scope
155 |         }
156 |         defer { close(descriptor) }
157 |         guard flock(descriptor, LOCK_EX) == 0 else {
    |               `- error: cannot find 'flock' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:157:33: error: cannot find 'LOCK_EX' in scope
155 |         }
156 |         defer { close(descriptor) }
157 |         guard flock(descriptor, LOCK_EX) == 0 else {
    |                                 `- error: cannot find 'LOCK_EX' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:160:17: error: cannot find 'flock' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
160 |         defer { flock(descriptor, LOCK_UN) }
    |                 `- error: cannot find 'flock' in scope
161 |         return try operation()
162 |     }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:160:35: error: cannot find 'LOCK_UN' in scope
158 |             throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
159 |         }
160 |         defer { flock(descriptor, LOCK_UN) }
    |                                   `- error: cannot find 'LOCK_UN' in scope
161 |         return try operation()
162 |     }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:165:34: error: cannot find 'errno' in scope
163 |
164 |     private func systemErrorDescription() -> String {
165 |         String(cString: strerror(errno))
    |                                  `- error: cannot find 'errno' in scope
166 |     }
167 | }
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[385/530] Compiling SwiftDebtInteractive TerminalDebtExplorerDependencies.swift
/host/spi-builder-workspace/Sources/SwiftDebtInteractive/POSIXTerminalIO.swift:10:34: error: cannot find type 'termios' in scope
 8 |
 9 | final class RawTerminalMode {
10 |     private var savedAttributes: termios?
   |                                  `- error: cannot find type 'termios' in scope
11 |
12 |     func enter() throws {
[386/530] Compiling SwiftDebtInteractive POSIXTerminalIO.swift
/host/spi-builder-workspace/Sources/SwiftDebtInteractive/POSIXTerminalIO.swift:10:34: error: cannot find type 'termios' in scope
 8 |
 9 | final class RawTerminalMode {
10 |     private var savedAttributes: termios?
   |                                  `- error: cannot find type 'termios' in scope
11 |
12 |     func enter() throws {
/host/spi-builder-workspace/Sources/SwiftDebtInteractive/POSIXTerminalIO.swift:17:24: error: cannot find 'termios' in scope
15 |         }
16 |
17 |         var original = termios()
   |                        `- error: cannot find 'termios' in scope
18 |         guard tcgetattr(STDIN_FILENO, &original) == 0 else {
19 |             throw TerminalInteractionError.posix(operation: "read terminal attributes", code: errno)
/host/spi-builder-workspace/Sources/SwiftDebtInteractive/POSIXTerminalIO.swift:18:15: error: cannot find 'tcgetattr' in scope
16 |
17 |         var original = termios()
18 |         guard tcgetattr(STDIN_FILENO, &original) == 0 else {
   |               `- error: cannot find 'tcgetattr' in scope
19 |             throw TerminalInteractionError.posix(operation: "read terminal attributes", code: errno)
20 |         }
/host/spi-builder-workspace/Sources/SwiftDebtInteractive/POSIXTerminalIO.swift:18:25: error: cannot find 'STDIN_FILENO' in scope
16 |
17 |         var original = termios()
18 |         guard tcgetattr(STDIN_FILENO, &original) == 0 else {
   |                         `- error: cannot find 'STDIN_FILENO' in scope
19 |             throw TerminalInteractionError.posix(operation: "read terminal attributes", code: errno)
20 |         }
/host/spi-builder-workspace/Sources/SwiftDebtInteractive/POSIXTerminalIO.swift:19:95: error: cannot find 'errno' in scope
17 |         var original = termios()
18 |         guard tcgetattr(STDIN_FILENO, &original) == 0 else {
19 |             throw TerminalInteractionError.posix(operation: "read terminal attributes", code: errno)
   |                                                                                               `- error: cannot find 'errno' in scope
20 |         }
21 |
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/SwiftDebtInteractive/POSIXTerminalIO.swift:23:9: error: cannot find 'cfmakeraw' in scope
21 |
22 |         var raw = original
23 |         cfmakeraw(&raw)
   |         `- error: cannot find 'cfmakeraw' in scope
24 |         guard tcsetattr(STDIN_FILENO, TCSANOW, &raw) == 0 else {
25 |             throw TerminalInteractionError.posix(operation: "enable raw terminal mode", code: errno)
/host/spi-builder-workspace/Sources/SwiftDebtInteractive/POSIXTerminalIO.swift:24:15: error: cannot find 'tcsetattr' in scope
22 |         var raw = original
23 |         cfmakeraw(&raw)
24 |         guard tcsetattr(STDIN_FILENO, TCSANOW, &raw) == 0 else {
   |               `- error: cannot find 'tcsetattr' in scope
25 |             throw TerminalInteractionError.posix(operation: "enable raw terminal mode", code: errno)
26 |         }
/host/spi-builder-workspace/Sources/SwiftDebtInteractive/POSIXTerminalIO.swift:24:25: error: cannot find 'STDIN_FILENO' in scope
22 |         var raw = original
23 |         cfmakeraw(&raw)
24 |         guard tcsetattr(STDIN_FILENO, TCSANOW, &raw) == 0 else {
   |                         `- error: cannot find 'STDIN_FILENO' in scope
25 |             throw TerminalInteractionError.posix(operation: "enable raw terminal mode", code: errno)
26 |         }
/host/spi-builder-workspace/Sources/SwiftDebtInteractive/POSIXTerminalIO.swift:24:39: error: cannot find 'TCSANOW' in scope
22 |         var raw = original
23 |         cfmakeraw(&raw)
24 |         guard tcsetattr(STDIN_FILENO, TCSANOW, &raw) == 0 else {
   |                                       `- error: cannot find 'TCSANOW' in scope
25 |             throw TerminalInteractionError.posix(operation: "enable raw terminal mode", code: errno)
26 |         }
/host/spi-builder-workspace/Sources/SwiftDebtInteractive/POSIXTerminalIO.swift:25:95: error: cannot find 'errno' in scope
23 |         cfmakeraw(&raw)
24 |         guard tcsetattr(STDIN_FILENO, TCSANOW, &raw) == 0 else {
25 |             throw TerminalInteractionError.posix(operation: "enable raw terminal mode", code: errno)
   |                                                                                               `- error: cannot find 'errno' in scope
26 |         }
27 |         savedAttributes = original
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/SwiftDebtInteractive/POSIXTerminalIO.swift:32:15: error: cannot find 'tcsetattr' in scope
30 |     func restore() throws {
31 |         guard var original = savedAttributes else { return }
32 |         guard tcsetattr(STDIN_FILENO, TCSANOW, &original) == 0 else {
   |               `- error: cannot find 'tcsetattr' in scope
33 |             throw TerminalInteractionError.posix(operation: "restore terminal attributes", code: errno)
34 |         }
/host/spi-builder-workspace/Sources/SwiftDebtInteractive/POSIXTerminalIO.swift:32:25: error: cannot find 'STDIN_FILENO' in scope
30 |     func restore() throws {
31 |         guard var original = savedAttributes else { return }
32 |         guard tcsetattr(STDIN_FILENO, TCSANOW, &original) == 0 else {
   |                         `- error: cannot find 'STDIN_FILENO' in scope
33 |             throw TerminalInteractionError.posix(operation: "restore terminal attributes", code: errno)
34 |         }
/host/spi-builder-workspace/Sources/SwiftDebtInteractive/POSIXTerminalIO.swift:32:39: error: cannot find 'TCSANOW' in scope
30 |     func restore() throws {
31 |         guard var original = savedAttributes else { return }
32 |         guard tcsetattr(STDIN_FILENO, TCSANOW, &original) == 0 else {
   |                                       `- error: cannot find 'TCSANOW' in scope
33 |             throw TerminalInteractionError.posix(operation: "restore terminal attributes", code: errno)
34 |         }
/host/spi-builder-workspace/Sources/SwiftDebtInteractive/POSIXTerminalIO.swift:33:98: error: cannot find 'errno' in scope
31 |         guard var original = savedAttributes else { return }
32 |         guard tcsetattr(STDIN_FILENO, TCSANOW, &original) == 0 else {
33 |             throw TerminalInteractionError.posix(operation: "restore terminal attributes", code: errno)
   |                                                                                                  `- error: cannot find 'errno' in scope
34 |         }
35 |         savedAttributes = nil
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/SwiftDebtInteractive/POSIXTerminalIO.swift:40:13: error: cannot find 'tcsetattr' in scope
38 |     deinit {
39 |         guard var original = savedAttributes else { return }
40 |         _ = tcsetattr(STDIN_FILENO, TCSANOW, &original)
   |             `- error: cannot find 'tcsetattr' in scope
41 |     }
42 | }
/host/spi-builder-workspace/Sources/SwiftDebtInteractive/POSIXTerminalIO.swift:40:23: error: cannot find 'STDIN_FILENO' in scope
38 |     deinit {
39 |         guard var original = savedAttributes else { return }
40 |         _ = tcsetattr(STDIN_FILENO, TCSANOW, &original)
   |                       `- error: cannot find 'STDIN_FILENO' in scope
41 |     }
42 | }
/host/spi-builder-workspace/Sources/SwiftDebtInteractive/POSIXTerminalIO.swift:40:37: error: cannot find 'TCSANOW' in scope
38 |     deinit {
39 |         guard var original = savedAttributes else { return }
40 |         _ = tcsetattr(STDIN_FILENO, TCSANOW, &original)
   |                                     `- error: cannot find 'TCSANOW' in scope
41 |     }
42 | }
/host/spi-builder-workspace/Sources/SwiftDebtInteractive/POSIXTerminalIO.swift:48:25: error: cannot find 'read' in scope
46 |         var byte: UInt8 = 0
47 |         while true {
48 |             let count = read(STDIN_FILENO, &byte, 1)
   |                         `- error: cannot find 'read' in scope
49 |             if count == 1 { return byte }
50 |             if count == 0 { return nil }
/host/spi-builder-workspace/Sources/SwiftDebtInteractive/POSIXTerminalIO.swift:48:30: error: cannot find 'STDIN_FILENO' in scope
46 |         var byte: UInt8 = 0
47 |         while true {
48 |             let count = read(STDIN_FILENO, &byte, 1)
   |                              `- error: cannot find 'STDIN_FILENO' in scope
49 |             if count == 1 { return byte }
50 |             if count == 0 { return nil }
/host/spi-builder-workspace/Sources/SwiftDebtInteractive/POSIXTerminalIO.swift:51:16: error: cannot find 'errno' in scope
49 |             if count == 1 { return byte }
50 |             if count == 0 { return nil }
51 |             if errno == EINTR { continue }
   |                `- error: cannot find 'errno' in scope
52 |             throw TerminalInteractionError.posix(operation: "read terminal input", code: errno)
53 |         }
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/SwiftDebtInteractive/POSIXTerminalIO.swift:52:90: error: cannot find 'errno' in scope
50 |             if count == 0 { return nil }
51 |             if errno == EINTR { continue }
52 |             throw TerminalInteractionError.posix(operation: "read terminal input", code: errno)
   |                                                                                          `- error: cannot find 'errno' in scope
53 |         }
54 |     }
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[397/530] Compiling SwiftDebtInteractive TerminalEditorLaunch.swift
[398/530] Compiling SwiftDebtInteractive TerminalDebtExplorerDriver.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[399/530] Emitting module SwiftDebtInteractive
/host/spi-builder-workspace/Sources/SwiftDebtInteractive/POSIXTerminalIO.swift:10:34: error: cannot find type 'termios' in scope
 8 |
 9 | final class RawTerminalMode {
10 |     private var savedAttributes: termios?
   |                                  `- error: cannot find type 'termios' in scope
11 |
12 |     func enter() throws {
[400/530] Compiling SwiftDebtInteractive DebtExplorerReducer.swift
[401/530] Compiling SwiftDebtInteractive DebtExplorerDetail.swift
[410/530] Compiling SwiftDebtReporting DebtReportRenderer.swift
BUILD FAILURE 6.3 android