The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftDebt, reference main (9d688a), with Swift 6.2 for Android on 30 Sep 2026 01:57:44 UTC.

Build Command

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

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.2
Building package at path:  $PWD
https://github.com/brunogama/SwiftDebt.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:f47b2a33897778fb58ca39c1139e193fa7f391fa362fe0d23c00db9747030994
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/swiftlang/swift-docc-plugin.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 (4.37s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.39s)
Computing version for https://github.com/swiftlang/swift-docc-plugin.git
Computed https://github.com/swiftlang/swift-docc-plugin.git at 1.5.0 (5.33s)
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.66s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (0.97s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.21s)
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-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-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.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.22s)
[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
[38/81] Copying SwiftDebtKit.docc
[40/81] Compiling _SwiftSyntaxCShims PlatformMutex.c
[42/81] Write swift-version--11D90AFD9DD3AB2.txt
[44/97] Emitting module SwiftSyntax602
[45/97] Emitting module SwiftSyntax601
[46/97] Compiling SwiftSyntax510 Empty.swift
[47/97] Emitting module SwiftSyntax510
[48/98] Compiling SwiftSyntax601 Empty.swift
[50/99] Compiling SwiftSyntax602 Empty.swift
[52/100] Emitting module SwiftSyntax602
[53/100] Compiling SwiftSyntax602 Empty.swift
[55/105] Compiling SwiftSyntax601 Empty.swift
[56/105] Emitting module SwiftSyntax601
[58/106] Compiling SwiftSyntax509 Empty.swift
[59/106] Emitting module SwiftSyntax509
[61/112] Emitting module SwiftSyntax510
[62/114] Compiling SwiftSyntax510 Empty.swift
[63/150] Compiling SwiftSyntax509 Empty.swift
[64/151] Compiling SwiftSyntax600 Empty.swift
[66/151] Emitting module SwiftSyntax600
[67/151] Emitting module SwiftSyntax509
[68/151] Compiling SwiftSyntax600 Empty.swift
[69/151] Emitting module SwiftSyntax600
[72/154] Wrapping AST for SwiftSyntax602 for debugging
[74/155] Wrapping AST for SwiftSyntax601 for debugging
[75/197] Wrapping AST for SwiftSyntax509 for debugging
[76/197] Wrapping AST for SwiftSyntax601 for debugging
[77/197] Wrapping AST for SwiftSyntax600 for debugging
[78/197] Wrapping AST for SwiftSyntax510 for debugging
[79/197] Wrapping AST for SwiftSyntax602 for debugging
[80/197] Wrapping AST for SwiftSyntax600 for debugging
[81/197] Wrapping AST for SwiftSyntax510 for debugging
[82/202] Wrapping AST for SwiftSyntax509 for debugging
[84/323] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[85/323] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[86/323] Compiling SwiftSyntax SyntaxBaseNodes.swift
[87/323] Compiling SwiftSyntax SyntaxCollections.swift
[88/323] Compiling SwiftSyntax SyntaxEnum.swift
[89/323] Compiling SwiftSyntax SyntaxKind.swift
[90/329] Compiling SwiftSyntax AbsolutePosition.swift
[91/329] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[92/329] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[93/329] Compiling SwiftSyntax Assert.swift
[94/329] Compiling SwiftSyntax BumpPtrAllocator.swift
[95/329] Compiling SwiftSyntax CommonAncestor.swift
[96/329] Compiling SwiftSyntax TokenSyntax.swift
[97/329] Compiling SwiftSyntax Trivia.swift
[98/329] Compiling SwiftSyntax Utils.swift
[99/329] Compiling SwiftSyntax Identifier.swift
[100/329] Compiling SwiftSyntax MemoryLayout.swift
[101/329] Compiling SwiftSyntax MissingNodeInitializers.swift
[102/335] Emitting module SwiftDebtCore
[110/335] Compiling SwiftDebtCore RuleIdentity.swift
[111/335] Compiling SwiftDebtCore SemanticCompatibility.swift
[112/335] Compiling SwiftDebtCore SourcePath.swift
[113/335] Compiling SwiftDebtCore StructuralDebt.swift
[114/335] Compiling SwiftDebtCore StructuralDebtAggregateItems.swift
[115/335] Compiling SwiftDebtCore StructuralDebtCallableItems.swift
[122/335] Compiling SwiftSyntax Convenience.swift
[123/335] Compiling SwiftSyntax CustomTraits.swift
[124/335] Compiling SwiftSyntax EditorPlaceholder.swift
[125/335] Compiling SwiftSyntax ChildNameForKeyPath.swift
[126/335] Compiling SwiftSyntax Keyword.swift
[127/335] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[128/335] Compiling SwiftSyntax SyntaxNodeStructure.swift
[129/335] Compiling SwiftSyntax SyntaxProtocol.swift
[130/335] Compiling SwiftSyntax SyntaxText.swift
[131/335] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[132/335] Compiling SwiftSyntax TokenDiagnostic.swift
[133/335] Compiling SwiftSyntax TokenSequence.swift
[152/351] Compiling SwiftSyntax RawSyntax.swift
[153/351] Compiling SwiftSyntax RawSyntaxArena.swift
[154/351] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[155/351] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[156/351] Compiling SwiftSyntax RawSyntaxTokenView.swift
[157/351] Compiling SwiftSyntax SourceEdit.swift
[194/351] Compiling SwiftSyntax SourceLength.swift
[195/351] Compiling SwiftSyntax SourceLocation.swift
[196/351] Compiling SwiftSyntax SourcePresence.swift
[197/351] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[198/351] Compiling SwiftSyntax Syntax.swift
[199/351] Compiling SwiftSyntax SyntaxChildren.swift
[200/354] Wrapping AST for SwiftDebtCore for debugging
[202/430] Compiling SwiftDebtLifecycle Finding+EventGraph.swift
[203/430] Compiling SwiftDebtLifecycle Finding.swift
[204/430] Compiling SwiftDebtLifecycle FindingProjection.swift
[205/430] Compiling SwiftDebtLifecycle LegacyIntroductionConclusionEvaluator+Assessment.swift
[206/430] Compiling SwiftDebtLifecycle LegacyIntroductionConclusionEvaluator+Trace.swift
[207/430] Compiling SwiftDebtLifecycle LegacyIntroductionConclusionEvaluator+Validation.swift
[208/430] Compiling SwiftDebtLifecycle LifecycleReconciliationValidation.swift
[209/430] Compiling SwiftDebtLifecycle LifecycleReducer+Processing.swift
[210/430] Compiling SwiftDebtLifecycle LifecycleReducer+Recording.swift
[211/430] Compiling SwiftDebtLifecycle LifecycleReducer.swift
[212/430] Compiling SwiftDebtLifecycle LifecycleSHA256.swift
[213/430] Compiling SwiftDebtLifecycle ObservationOutcome.swift
[214/430] Compiling SwiftDebtLifecycle LegacyIntroductionConclusionEvaluator.swift
[215/430] Compiling SwiftDebtLifecycle LegacyLifecycleReconciliationValidation.swift
[216/430] Compiling SwiftDebtLifecycle LegacyResolutionCoverageEvaluator+Relocation.swift
[217/430] Compiling SwiftDebtLifecycle LegacyResolutionCoverageEvaluator.swift
[218/430] Compiling SwiftDebtLifecycle LifecycleArtifact+SchemaOne.swift
[219/430] Compiling SwiftDebtLifecycle LifecycleArtifact+SchemaTwo.swift
[221/509] Emitting module SwiftDebtReporting
[222/510] Emitting module SwiftDebtInteractive
[223/510] Compiling SwiftDebtReporting DebtReportGraphProjection.swift
[224/510] Compiling SwiftDebtLifecycle ConfigurationComparisonEvaluator.swift
[225/510] Compiling SwiftDebtLifecycle ContinuityCandidateIndex.swift
[226/510] Compiling SwiftDebtLifecycle ContinuityReconciler+Divergence.swift
[227/510] Compiling SwiftDebtLifecycle ContinuityReconciler+Groups.swift
[228/510] Compiling SwiftDebtInteractive TerminalDebtExplorerDependencies.swift
[229/510] Compiling SwiftDebtInteractive DebtExplorerDetail.swift
[230/510] Compiling SwiftDebtInteractive DebtExplorerReducer.swift
[231/510] Compiling SwiftDebtReporting RuleAnalysisRenderer.swift
[232/510] Compiling SwiftDebtInteractive TerminalDebtExplorerDriver.swift
[233/510] Compiling SwiftDebtInteractive TerminalEditorLaunch.swift
[234/510] Compiling SwiftDebtReporting DebtDashboardReportScript.swift
[235/510] Compiling SwiftDebtReporting DebtReportProjectionBuilder.swift
[236/510] Compiling SwiftDebtInteractive TerminalDebtExplorer.swift
[237/510] Compiling SwiftDebtInteractive POSIXTerminalIO.swift
[238/511] Wrapping AST for SwiftDebtCore for debugging
[239/511] Wrapping AST for SwiftDebtInteractive for debugging
[241/511] Compiling SwiftDebtReporting DebtDashboardReportScript.swift
[242/511] Compiling SwiftDebtReporting DebtReportProjectionBuilder.swift
[243/511] Compiling SwiftDebtReporting DebtReportGraphProjection.swift
[244/512] Compiling SwiftDebtLifecycle ObservationRecords.swift
[245/512] Compiling SwiftDebtLifecycle ObservationReferences.swift
[246/512] Compiling SwiftDebtLifecycle ObservationScope.swift
[247/512] Compiling SwiftDebtLifecycle ObservationSnapshot+Analysis.swift
[248/512] Compiling SwiftDebtLifecycle ObservationSnapshot+Codable.swift
[249/512] Compiling SwiftDebtLifecycle ObservationSnapshot.swift
[250/512] Compiling SwiftDebtLifecycle ResolutionCoverageEvaluator+Relocation.swift
[251/512] Compiling SwiftDebtLifecycle ResolutionCoverageEvaluator.swift
[256/520] Compiling SwiftDebtLifecycle ContinuityReconciler+Relations.swift
[257/520] Compiling SwiftDebtLifecycle ContinuityReconciler.swift
[258/520] Compiling SwiftDebtLifecycle Finding+EventGraph.swift
[259/520] Compiling SwiftDebtLifecycle Finding.swift
[260/520] Compiling SwiftDebtLifecycle FindingProjection.swift
[261/520] Emitting module SwiftDebtLifecycle
[262/520] Compiling SwiftDebtReporting DebtReportRenderer.swift
[263/520] Compiling SwiftDebtReporting ReportRenderer.swift
[264/521] Wrapping AST for SwiftDebtReporting for debugging
[266/521] Compiling SwiftDebtLifecycle LifecycleEvidenceValidation.swift
[267/521] Compiling SwiftDebtLifecycle LifecycleIdentifiers.swift
[268/521] Compiling SwiftDebtLifecycle LifecycleMatchedContinuityValidation.swift
[269/521] Compiling SwiftDebtLifecycle LifecycleOpeningValidation.swift
[270/521] Compiling SwiftDebtLifecycle LifecycleQueries.swift
[271/521] Compiling SwiftDebtLifecycle LifecycleQueryRendering.swift
[272/521] Compiling SwiftDebtLifecycle LifecycleQueryRenderingEvent.swift
[273/521] Compiling SwiftDebtLifecycle LifecycleQueryRenderingObservation.swift
[274/521] Compiling SwiftDebtLifecycle LifecycleReconciliationProfile.swift
[275/521] Compiling SwiftDebtLifecycle LifecycleReconciliationValidation.swift
[276/521] Compiling SwiftDebtLifecycle LifecycleReducer+Processing.swift
[277/521] Compiling SwiftDebtLifecycle LifecycleReducer+Recording.swift
[278/521] Compiling SwiftDebtLifecycle LifecycleReducer.swift
[279/521] Compiling SwiftDebtLifecycle LifecycleSHA256.swift
[280/521] Compiling SwiftDebtLifecycle ObservationOutcome.swift
[281/521] Compiling SwiftDebtLifecycle ObservationProvenance.swift
[291/529] Emitting module SwiftDebtLifecycle
[300/529] Compiling SwiftDebtLifecycle LifecycleArtifact.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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[301/529] Compiling SwiftDebtLifecycle LifecycleArtifactStore.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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[302/529] Compiling SwiftDebtLifecycle LifecycleArtifactValidation.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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[303/529] Compiling SwiftDebtLifecycle LifecycleAuditExport.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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[304/529] Compiling SwiftDebtLifecycle LifecycleContract.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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[305/529] Compiling SwiftDebtLifecycle LifecycleDerivedStateValidation.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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[306/529] Compiling SwiftDebtLifecycle LifecycleEffectiveConfiguration.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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[307/529] Compiling SwiftDebtLifecycle LifecycleEvents.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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[308/529] Compiling SwiftDebtInteractive TerminalDebtExplorerDriver.swift
[309/529] Compiling SwiftDebtLifecycle LegacyIntroductionConclusionEvaluator+Assessment.swift
[310/529] Compiling SwiftDebtLifecycle LegacyIntroductionConclusionEvaluator+Trace.swift
[311/529] Compiling SwiftDebtLifecycle LegacyIntroductionConclusionEvaluator+Validation.swift
[312/529] Compiling SwiftDebtLifecycle LegacyIntroductionConclusionEvaluator.swift
[313/529] Compiling SwiftDebtLifecycle LegacyLifecycleReconciliationValidation.swift
[314/529] Compiling SwiftDebtLifecycle LegacyResolutionCoverageEvaluator+Relocation.swift
[315/529] Compiling SwiftDebtLifecycle LegacyResolutionCoverageEvaluator.swift
[316/529] Compiling SwiftDebtLifecycle LifecycleArtifact+SchemaOne.swift
[317/529] Compiling SwiftDebtLifecycle LifecycleArtifact+SchemaTwo.swift
[318/529] Compiling SwiftDebtLifecycle IntroductionArtifactValidation.swift
[319/529] Compiling SwiftDebtLifecycle IntroductionConclusionEvaluator+Assessment.swift
[320/529] Compiling SwiftDebtLifecycle IntroductionConclusionEvaluator+Trace.swift
[321/529] Compiling SwiftDebtLifecycle IntroductionConclusionEvaluator+Validation.swift
[322/529] Compiling SwiftDebtLifecycle IntroductionConclusionEvaluator.swift
[323/529] Compiling SwiftDebtLifecycle IntroductionEvidence.swift
[324/529] Compiling SwiftDebtLifecycle LegacyContinuityReconciler+Groups.swift
[325/529] Compiling SwiftDebtLifecycle LegacyContinuityReconciler+Relations.swift
[326/529] Compiling SwiftDebtLifecycle LegacyContinuityReconciler.swift
[329/529] Emitting module SwiftDebtReporting
[332/529] Compiling SwiftDebtReporting ReportRenderer.swift
[333/529] 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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[334/529] 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"]
[335/529] 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 {
[336/529] Compiling SwiftDebtInteractive DebtExplorerReducer.swift
[337/529] Compiling SwiftDebtInteractive TerminalEditorLaunch.swift
[338/529] Compiling SwiftDebtReporting DebtReportRenderer.swift
[339/529] Compiling SwiftDebtInteractive DebtExplorerDetail.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[340/529] 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 {
[341/529] Compiling SwiftDebtReporting RuleAnalysisRenderer.swift
BUILD FAILURE 6.2 android