Build Information
Failed to build SwiftDebt, reference v0.10.0 (9302f3), with Swift 6.3 for Android on 30 Sep 2026 01:56:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brunogama/SwiftDebt.git
Reference: v0.10.0
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
* tag v0.10.0 -> FETCH_HEAD
HEAD is now at 9302f3a chore(release): v0.10.0
Cloned https://github.com/brunogama/SwiftDebt.git
Revision (git rev-parse @):
9302f3a5c41c5ba7dba9bca20520bf9184b76ee4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/brunogama/SwiftDebt.git at v0.10.0
========================================
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-54344845-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.44s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.46s)
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.39s)
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.67s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (0.94s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.19s)
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.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.19s)
[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] Emitting module SwiftSyntax600
[46/97] Emitting module SwiftSyntax601
[47/97] Compiling SwiftSyntax601 Empty.swift
[48/97] Emitting module SwiftSyntax600
[49/97] Compiling SwiftSyntax600 Empty.swift
[52/103] Compiling SwiftSyntax509 Empty.swift
[53/103] Emitting module SwiftSyntax509
[54/104] Compiling SwiftSyntax509 Empty.swift
[55/104] Emitting module SwiftSyntax509
[58/105] Emitting module SwiftSyntax601
[59/105] Compiling SwiftSyntax601 Empty.swift
[61/124] Compiling SwiftSyntax510 Empty.swift
[62/179] Compiling SwiftSyntax602 Empty.swift
[63/179] Emitting module SwiftSyntax602
[64/180] Wrapping AST for SwiftSyntax600 for debugging
[66/180] Wrapping AST for SwiftSyntax509 for debugging
[67/180] Compiling SwiftSyntax600 Empty.swift
[68/181] Wrapping AST for SwiftSyntax601 for debugging
[71/181] Wrapping AST for SwiftSyntax602 for debugging
[72/182] Wrapping AST for SwiftSyntax510 for debugging
[74/206] Compiling SwiftSyntax602 Empty.swift
[75/208] Emitting module SwiftSyntax602
[75/208] Wrapping AST for SwiftSyntax509 for debugging
[76/238] Wrapping AST for SwiftSyntax600 for debugging
[79/245] Compiling SwiftSyntax510 Empty.swift
[80/245] Emitting module SwiftSyntax510
[80/246] Wrapping AST for SwiftSyntax602 for debugging
[82/246] Wrapping AST for SwiftSyntax510 for debugging
[84/309] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[85/309] Compiling SwiftSyntax TokenDiagnostic.swift
[86/309] Compiling SwiftSyntax TokenSequence.swift
[87/309] Compiling SwiftSyntax TokenSyntax.swift
[88/309] Compiling SwiftSyntax Trivia.swift
[89/313] Compiling SwiftSyntax SyntaxHashable.swift
[90/313] Compiling SwiftSyntax SyntaxIdentifier.swift
[91/313] Compiling SwiftSyntax SyntaxNodeStructure.swift
[92/313] Compiling SwiftSyntax SyntaxProtocol.swift
[93/313] Compiling SwiftSyntax SyntaxText.swift
[94/317] Emitting module SwiftDebtCore
[95/317] Compiling SwiftSyntax AbsolutePosition.swift
[96/317] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[97/317] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[98/317] Compiling SwiftSyntax Assert.swift
[99/317] Compiling SwiftSyntax BumpPtrAllocator.swift
[100/317] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[101/317] Compiling SwiftSyntax RawSyntaxTokenView.swift
[102/317] Compiling SwiftSyntax SourceEdit.swift
[103/317] Compiling SwiftSyntax SourceLength.swift
[104/317] Compiling SwiftSyntax SourceLocation.swift
[105/317] Compiling SwiftSyntax MemoryLayout.swift
[106/317] Compiling SwiftSyntax MissingNodeInitializers.swift
[107/317] Compiling SwiftSyntax RawSyntax.swift
[108/317] Compiling SwiftSyntax RawSyntaxArena.swift
[109/317] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[110/317] Emitting module SwiftDebtCore
[116/317] Compiling SwiftSyntax CommonAncestor.swift
[117/317] Compiling SwiftSyntax Convenience.swift
[118/317] Compiling SwiftSyntax CustomTraits.swift
[119/317] Compiling SwiftSyntax EditorPlaceholder.swift
[120/317] Compiling SwiftSyntax Identifier.swift
[121/317] Compiling SwiftDebtCore SourcePath.swift
[122/317] Compiling SwiftDebtCore StructuralDebt.swift
[123/317] Compiling SwiftDebtCore StructuralDebtAggregateItems.swift
[124/317] Compiling SwiftDebtCore StructuralDebtCallableItems.swift
[163/325] Compiling SwiftSyntax SourcePresence.swift
[164/325] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[165/325] Compiling SwiftSyntax Syntax.swift
[166/325] Compiling SwiftSyntax SyntaxChildren.swift
[167/325] Compiling SwiftSyntax SyntaxCollection.swift
[180/326] Compiling SwiftSyntax TokenKind.swift
[181/326] Compiling SwiftSyntax Tokens.swift
[182/326] Compiling SwiftSyntax TriviaPieces.swift
[183/326] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[184/326] Compiling SwiftSyntax RawSyntaxNodesC.swift
[185/326] Compiling SwiftSyntax RawSyntaxNodesD.swift
[186/326] Wrapping AST for SwiftDebtCore for debugging
[224/378] Compiling SwiftDebtLifecycle ObservationReferences.swift
[225/378] Compiling SwiftDebtLifecycle LifecycleDerivedStateValidation.swift
[226/378] Compiling SwiftDebtLifecycle LifecycleEvents.swift
[227/378] Compiling SwiftDebtLifecycle LifecycleEvidenceValidation.swift
[228/378] Compiling SwiftDebtLifecycle LifecycleIdentifiers.swift
[230/379] Compiling SwiftDebtLifecycle ContinuityReconciler+Groups.swift
[231/379] Compiling SwiftDebtLifecycle ContinuityReconciler+Relations.swift
[232/379] Compiling SwiftDebtLifecycle ContinuityReconciler.swift
[233/379] Compiling SwiftDebtLifecycle Finding.swift
[234/379] Compiling SwiftDebtLifecycle LifecycleArtifact.swift
[235/379] Compiling SwiftDebtLifecycle LifecycleArtifactStore.swift
[236/379] Compiling SwiftDebtLifecycle LifecycleArtifactValidation.swift
[237/379] Compiling SwiftDebtLifecycle LifecycleContract.swift
[238/379] Compiling SwiftDebtLifecycle LifecycleMatchedContinuityValidation.swift
[239/423] Compiling SwiftDebtReporting DebtDashboardReportScript.swift
[240/424] Emitting module SwiftDebtLifecycle
[241/427] Compiling SwiftDebtReporting DebtDashboardReportScript.swift
[242/428] Emitting module SwiftDebtReporting
[243/428] Compiling SwiftDebtReporting DebtReportGraphProjection.swift
[244/428] Compiling SwiftDebtLifecycle LifecycleReconciliationValidation.swift
[245/428] Compiling SwiftDebtLifecycle ObservationProvenance.swift
[246/428] Compiling SwiftDebtLifecycle ObservationRecords.swift
[247/428] Compiling SwiftDebtLifecycle LifecycleArtifactStore.swift
[248/428] Compiling SwiftDebtLifecycle LifecycleArtifactValidation.swift
[249/428] Compiling SwiftDebtLifecycle LifecycleContract.swift
[250/428] Compiling SwiftDebtInteractive TerminalEditorLaunch.swift
[251/428] Compiling SwiftDebtInteractive TerminalDebtExplorerDriver.swift
[252/428] Compiling SwiftDebtReporting RuleAnalysisRenderer.swift
[253/428] Compiling SwiftDebtLifecycle ContinuityReconciler.swift
[254/428] Compiling SwiftDebtLifecycle Finding.swift
[255/428] Compiling SwiftDebtLifecycle ContinuityReconciler+Groups.swift
[256/428] Compiling SwiftDebtLifecycle ContinuityReconciler+Relations.swift
[257/428] Emitting module SwiftDebtReporting
[258/428] Compiling SwiftDebtInteractive TerminalDebtExplorer.swift
[259/428] Compiling SwiftDebtInteractive TerminalDebtExplorerDependencies.swift
[260/428] Compiling SwiftDebtInteractive DebtExplorerReducer.swift
[261/428] Compiling SwiftDebtInteractive POSIXTerminalIO.swift
[266/428] Compiling SwiftDebtLifecycle ResolutionCoverageEvaluator.swift
[267/428] Compiling SwiftDebtLifecycle SnapshotSourceIdentity.swift
[268/428] Compiling SwiftDebtLifecycle SourceRenameEvidence.swift
[269/428] Emitting module SwiftDebtInteractive
[270/428] Compiling SwiftDebtInteractive DebtExplorerDetail.swift
[271/429] Emitting module SwiftDebtLifecycle
[273/432] Compiling SwiftDebtLifecycle LifecycleMatchedContinuityValidation.swift
[274/432] Compiling SwiftDebtLifecycle LifecycleQueries.swift
[275/432] Compiling SwiftDebtLifecycle LifecycleQueryRendering.swift
[276/432] Compiling SwiftDebtLifecycle ObservationReferences.swift
[277/432] Compiling SwiftDebtLifecycle ObservationScope.swift
[278/432] Compiling SwiftDebtLifecycle ObservationSnapshot+Analysis.swift
[279/432] Compiling SwiftDebtLifecycle ObservationSnapshot.swift
[279/432] Wrapping AST for SwiftDebtCore for debugging
[280/432] Wrapping AST for SwiftDebtInteractive for debugging
[282/432] Compiling SwiftDebtLifecycle LifecycleReducer+Processing.swift
[283/432] Compiling SwiftDebtLifecycle LifecycleReducer.swift
[284/432] Compiling SwiftDebtLifecycle ObservationOutcome.swift
[285/432] Compiling SwiftDebtLifecycle LifecycleArtifact.swift
[286/432] Compiling SwiftDebtLifecycle LifecycleDerivedStateValidation.swift
[287/432] Compiling SwiftDebtLifecycle LifecycleEvents.swift
[288/432] Compiling SwiftDebtLifecycle LifecycleEvidenceValidation.swift
[289/432] Compiling SwiftDebtLifecycle LifecycleIdentifiers.swift
[291/433] Compiling SwiftDebtReporting DebtReportProjectionBuilder.swift
[292/433] Compiling SwiftDebtReporting DebtReportGraphProjection.swift
[293/433] Compiling SwiftDebtReporting DebtReportRenderer.swift
[294/433] Compiling SwiftDebtReporting ReportRenderer.swift
[295/434] Wrapping AST for SwiftDebtLifecycle for debugging
[299/434] Wrapping AST for SwiftDebtReporting for debugging
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:100:26: error: cannot find 'open' in scope
98 | private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
99 | let lockPath = artifactURL.path + ".lock"
100 | let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
| `- error: cannot find 'open' in scope
101 | guard descriptor >= 0 else {
102 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:100:41: error: cannot find 'O_CREAT' in scope
98 | private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
99 | let lockPath = artifactURL.path + ".lock"
100 | let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
| `- error: cannot find 'O_CREAT' in scope
101 | guard descriptor >= 0 else {
102 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:100:51: error: cannot find 'O_RDWR' in scope
98 | private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
99 | let lockPath = artifactURL.path + ".lock"
100 | let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
| `- error: cannot find 'O_RDWR' in scope
101 | guard descriptor >= 0 else {
102 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:100:66: error: cannot find 'S_IRUSR' in scope
98 | private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
99 | let lockPath = artifactURL.path + ".lock"
100 | let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
| `- error: cannot find 'S_IRUSR' in scope
101 | guard descriptor >= 0 else {
102 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:100:76: error: cannot find 'S_IWUSR' in scope
98 | private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
99 | let lockPath = artifactURL.path + ".lock"
100 | let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
| `- error: cannot find 'S_IWUSR' in scope
101 | guard descriptor >= 0 else {
102 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:104:17: error: cannot find 'close' in scope
102 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
103 | }
104 | defer { close(descriptor) }
| `- error: cannot find 'close' in scope
105 | guard flock(descriptor, LOCK_EX) == 0 else {
106 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:105:15: error: cannot find 'flock' in scope
103 | }
104 | defer { close(descriptor) }
105 | guard flock(descriptor, LOCK_EX) == 0 else {
| `- error: cannot find 'flock' in scope
106 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
107 | }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:105:33: error: cannot find 'LOCK_EX' in scope
103 | }
104 | defer { close(descriptor) }
105 | guard flock(descriptor, LOCK_EX) == 0 else {
| `- error: cannot find 'LOCK_EX' in scope
106 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
107 | }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:108:17: error: cannot find 'flock' in scope
106 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
107 | }
108 | defer { flock(descriptor, LOCK_UN) }
| `- error: cannot find 'flock' in scope
109 | return try operation()
110 | }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:108:35: error: cannot find 'LOCK_UN' in scope
106 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
107 | }
108 | defer { flock(descriptor, LOCK_UN) }
| `- error: cannot find 'LOCK_UN' in scope
109 | return try operation()
110 | }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:113:34: error: cannot find 'errno' in scope
111 |
112 | private func systemErrorDescription() -> String {
113 | String(cString: strerror(errno))
| `- error: cannot find 'errno' in scope
114 | }
115 | }
/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:100:26: error: cannot find 'open' in scope
98 | private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
99 | let lockPath = artifactURL.path + ".lock"
100 | let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
| `- error: cannot find 'open' in scope
101 | guard descriptor >= 0 else {
102 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:100:41: error: cannot find 'O_CREAT' in scope
98 | private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
99 | let lockPath = artifactURL.path + ".lock"
100 | let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
| `- error: cannot find 'O_CREAT' in scope
101 | guard descriptor >= 0 else {
102 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:100:51: error: cannot find 'O_RDWR' in scope
98 | private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
99 | let lockPath = artifactURL.path + ".lock"
100 | let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
| `- error: cannot find 'O_RDWR' in scope
101 | guard descriptor >= 0 else {
102 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:100:66: error: cannot find 'S_IRUSR' in scope
98 | private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
99 | let lockPath = artifactURL.path + ".lock"
100 | let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
| `- error: cannot find 'S_IRUSR' in scope
101 | guard descriptor >= 0 else {
102 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:100:76: error: cannot find 'S_IWUSR' in scope
98 | private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
99 | let lockPath = artifactURL.path + ".lock"
100 | let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
| `- error: cannot find 'S_IWUSR' in scope
101 | guard descriptor >= 0 else {
102 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:104:17: error: cannot find 'close' in scope
102 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
103 | }
104 | defer { close(descriptor) }
| `- error: cannot find 'close' in scope
105 | guard flock(descriptor, LOCK_EX) == 0 else {
106 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:105:15: error: cannot find 'flock' in scope
103 | }
104 | defer { close(descriptor) }
105 | guard flock(descriptor, LOCK_EX) == 0 else {
| `- error: cannot find 'flock' in scope
106 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
107 | }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:105:33: error: cannot find 'LOCK_EX' in scope
103 | }
104 | defer { close(descriptor) }
105 | guard flock(descriptor, LOCK_EX) == 0 else {
| `- error: cannot find 'LOCK_EX' in scope
106 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
107 | }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:108:17: error: cannot find 'flock' in scope
106 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
107 | }
108 | defer { flock(descriptor, LOCK_UN) }
| `- error: cannot find 'flock' in scope
109 | return try operation()
110 | }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:108:35: error: cannot find 'LOCK_UN' in scope
106 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
107 | }
108 | defer { flock(descriptor, LOCK_UN) }
| `- error: cannot find 'LOCK_UN' in scope
109 | return try operation()
110 | }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:113:34: error: cannot find 'errno' in scope
111 |
112 | private func systemErrorDescription() -> String {
113 | String(cString: strerror(errno))
| `- error: cannot find 'errno' in scope
114 | }
115 | }
/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:100:26: error: cannot find 'open' in scope
98 | private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
99 | let lockPath = artifactURL.path + ".lock"
100 | let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
| `- error: cannot find 'open' in scope
101 | guard descriptor >= 0 else {
102 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:100:41: error: cannot find 'O_CREAT' in scope
98 | private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
99 | let lockPath = artifactURL.path + ".lock"
100 | let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
| `- error: cannot find 'O_CREAT' in scope
101 | guard descriptor >= 0 else {
102 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:100:51: error: cannot find 'O_RDWR' in scope
98 | private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
99 | let lockPath = artifactURL.path + ".lock"
100 | let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
| `- error: cannot find 'O_RDWR' in scope
101 | guard descriptor >= 0 else {
102 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:100:66: error: cannot find 'S_IRUSR' in scope
98 | private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
99 | let lockPath = artifactURL.path + ".lock"
100 | let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
| `- error: cannot find 'S_IRUSR' in scope
101 | guard descriptor >= 0 else {
102 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:100:76: error: cannot find 'S_IWUSR' in scope
98 | private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
99 | let lockPath = artifactURL.path + ".lock"
100 | let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
| `- error: cannot find 'S_IWUSR' in scope
101 | guard descriptor >= 0 else {
102 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:104:17: error: cannot find 'close' in scope
102 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
103 | }
104 | defer { close(descriptor) }
| `- error: cannot find 'close' in scope
105 | guard flock(descriptor, LOCK_EX) == 0 else {
106 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:105:15: error: cannot find 'flock' in scope
103 | }
104 | defer { close(descriptor) }
105 | guard flock(descriptor, LOCK_EX) == 0 else {
| `- error: cannot find 'flock' in scope
106 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
107 | }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:105:33: error: cannot find 'LOCK_EX' in scope
103 | }
104 | defer { close(descriptor) }
105 | guard flock(descriptor, LOCK_EX) == 0 else {
| `- error: cannot find 'LOCK_EX' in scope
106 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
107 | }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:108:17: error: cannot find 'flock' in scope
106 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
107 | }
108 | defer { flock(descriptor, LOCK_UN) }
| `- error: cannot find 'flock' in scope
109 | return try operation()
110 | }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:108:35: error: cannot find 'LOCK_UN' in scope
106 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
107 | }
108 | defer { flock(descriptor, LOCK_UN) }
| `- error: cannot find 'LOCK_UN' in scope
109 | return try operation()
110 | }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:113:34: error: cannot find 'errno' in scope
111 |
112 | private func systemErrorDescription() -> String {
113 | String(cString: strerror(errno))
| `- error: cannot find 'errno' in scope
114 | }
115 | }
/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:100:26: error: cannot find 'open' in scope
98 | private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
99 | let lockPath = artifactURL.path + ".lock"
100 | let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
| `- error: cannot find 'open' in scope
101 | guard descriptor >= 0 else {
102 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:100:41: error: cannot find 'O_CREAT' in scope
98 | private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
99 | let lockPath = artifactURL.path + ".lock"
100 | let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
| `- error: cannot find 'O_CREAT' in scope
101 | guard descriptor >= 0 else {
102 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:100:51: error: cannot find 'O_RDWR' in scope
98 | private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
99 | let lockPath = artifactURL.path + ".lock"
100 | let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
| `- error: cannot find 'O_RDWR' in scope
101 | guard descriptor >= 0 else {
102 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:100:66: error: cannot find 'S_IRUSR' in scope
98 | private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
99 | let lockPath = artifactURL.path + ".lock"
100 | let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
| `- error: cannot find 'S_IRUSR' in scope
101 | guard descriptor >= 0 else {
102 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:100:76: error: cannot find 'S_IWUSR' in scope
98 | private func withExclusiveLock<Result>(_ operation: () throws -> Result) throws -> Result {
99 | let lockPath = artifactURL.path + ".lock"
100 | let descriptor = open(lockPath, O_CREAT | O_RDWR, mode_t(S_IRUSR | S_IWUSR))
| `- error: cannot find 'S_IWUSR' in scope
101 | guard descriptor >= 0 else {
102 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:104:17: error: cannot find 'close' in scope
102 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
103 | }
104 | defer { close(descriptor) }
| `- error: cannot find 'close' in scope
105 | guard flock(descriptor, LOCK_EX) == 0 else {
106 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:105:15: error: cannot find 'flock' in scope
103 | }
104 | defer { close(descriptor) }
105 | guard flock(descriptor, LOCK_EX) == 0 else {
| `- error: cannot find 'flock' in scope
106 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
107 | }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:105:33: error: cannot find 'LOCK_EX' in scope
103 | }
104 | defer { close(descriptor) }
105 | guard flock(descriptor, LOCK_EX) == 0 else {
| `- error: cannot find 'LOCK_EX' in scope
106 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
107 | }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:108:17: error: cannot find 'flock' in scope
106 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
107 | }
108 | defer { flock(descriptor, LOCK_UN) }
| `- error: cannot find 'flock' in scope
109 | return try operation()
110 | }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:108:35: error: cannot find 'LOCK_UN' in scope
106 | throw LifecycleStoreError.lockFailed(path: lockPath, reason: systemErrorDescription())
107 | }
108 | defer { flock(descriptor, LOCK_UN) }
| `- error: cannot find 'LOCK_UN' in scope
109 | return try operation()
110 | }
/host/spi-builder-workspace/Sources/SwiftDebtLifecycle/LifecycleArtifactStore.swift:113:34: error: cannot find 'errno' in scope
111 |
112 | private func systemErrorDescription() -> String {
113 | String(cString: strerror(errno))
| `- error: cannot find 'errno' in scope
114 | }
115 | }
/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
[319/434] 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"]
[320/434] Compiling SwiftDebtInteractive TerminalEditorLaunch.swift
[321/434] Compiling SwiftDebtInteractive DebtExplorerReducer.swift
[326/434] 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
[327/434] Compiling SwiftDebtLifecycle ResolutionCoverageEvaluator.swift
[328/434] Compiling SwiftDebtLifecycle SnapshotSourceIdentity.swift
[329/434] Compiling SwiftDebtLifecycle SourceRenameEvidence.swift
[334/434] Compiling SwiftDebtInteractive DebtExplorerDetail.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[335/434] 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 {
[336/434] Compiling SwiftDebtReporting RuleAnalysisRenderer.swift
[337/434] 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 {
[338/434] Compiling SwiftDebtInteractive TerminalDebtExplorerDriver.swift
[339/434] Compiling SwiftDebtReporting DebtReportProjectionBuilder.swift
BUILD FAILURE 6.3 android